Release 4.1.0
What's new
What's new
This release focuses on robustness improvements, particularly around language detection, file loading, and error handling.
Features
- Task type system: Introduced dataclass-based task type storage for better type safety [7c95e3c]
- Source tag logging: Added failure count and success rate tracking to source tag logging [69dca45]
Fixes
- PowerPoint loader: Fixed TypeError when loading PowerPoint files [ebfc66c]
- Anki loader: Resolved forward reference error [73924e1]
- Language detection: Fixed potential edge case issue [2d928ab]
- Infinite loop detection:
Enhancements
- Language detection improvements:
- Batch file loader: Reduced verbosity of progress logging [d207d98]
- Testing: Improved model detection logic [5257c5a]
- Post-install: Use logger.error instead of print during installation [c0795e9]
Refactoring
- wdoc class: Added dynamic interaction_settings property [f806b98]
- Type hints: Improved type annotations across multiple modules [a94a889, 920e5d3]
Documentation
- Help text: Fixed powerpoint filetype documentation incorrectly mentioning .doc/.docx instead of .ppt/.pptx [e9b29eb]
Dependencies
- Bumped litellm to enable latest OpenRouter pricing [577e6f6]
Maintenance
- Removed debug print statement [80f7f32]
- Better warning messages [faa5d3b]
- Fixed setup.py logger usage [4a672c1]
Commits details since the last release
- [5adc87e] by @thiswillbeyourgithub, 72 seconds ago:
bump version 4.0.4 -> 4.1.0
bumpver.toml
docs/source/conf.py
setup.py
wdoc/wdoc.py
- [0b9c6da] by @thiswillbeyourgithub, 2 hours ago:
enh: better exception catcher in language detecction
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [80f7f32] by @thiswillbeyourgithub, 3 hours ago:
remove a debug print
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders/init.py
- [d7589cc] by @thiswillbeyourgithub, 3 hours ago:
enh: language detector reduce debug logs
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [c0e2ce7] by @thiswillbeyourgithub, 3 hours ago:
enh: language detector
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [2d928ab] by @thiswillbeyourgithub, 3 hours ago:
fix: potential issue in edge case when detecting language
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/misc.py
- [69dca45] by @thiswillbeyourgithub, 4 hours ago:
feat: add failure count and success rate to source tag logging
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4.5) aider@aider.chat
wdoc/utils/batch_file_loader.py
- [f806b98] by @thiswillbeyourgithub, 4 hours ago:
refactor: add dynamic interaction_settings property to wdoc class
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4.5) aider@aider.chat
wdoc/wdoc.py
- [a94a889] by @thiswillbeyourgithub, 4 hours ago:
minor: type hints
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/wdoc.py
- [7c95e3c] by @thiswillbeyourgithub, 4 hours ago:
new: use a dataclass to store the type of tasks
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/main.py
wdoc/utils/batch_file_loader.py
wdoc/utils/loaders/init.py
wdoc/utils/misc.py
wdoc/utils/retrievers.py
wdoc/utils/tasks/parse.py
wdoc/utils/tasks/summarize.py
wdoc/utils/tasks/types.py
wdoc/wdoc.py
- [5257c5a] by @thiswillbeyourgithub, 5 hours ago:
better way to check for testing model
Signed-off-by: thiswillbeyourgithub
26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/llm.py
wdoc/utils/misc.py
wdoc/wdoc.py
- [73924e1] by @thiswillbeyourgithub, 7 hours ago:
fix: forward reference error in anki
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders/anki.py
- [ebfc66c] by @thiswillbeyourgithub, 7 hours ago:
fix: typeerror when loading powerpoint files
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders/powerpoint.py
- [d207d98] by @thiswillbeyourgithub, 25 hours ago:
enh: reduice verbosity of something that looked like an infinite loop but was not
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/batch_file_loader.py
- [920e5d3] by @thiswillbeyourgithub, 25 hours ago:
fix: typehint in pdf
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/loaders/pdf.py
- [bb147b3] by @thiswillbeyourgithub, 25 hours ago:
refactor: replace loop counter with hash-based infinite loop detection
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4.5) aider@aider.chat
wdoc/utils/batch_file_loader.py
- [4a672c1] by @thiswillbeyourgithub, 25 hours ago:
fix: actually no we can't use loguru in setup.py
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
setup.py
- [faa5d3b] by @thiswillbeyourgithub, 26 hours ago:
minor: better warning
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/batch_file_loader.py
- [fcf9ca5] by @thiswillbeyourgithub, 26 hours ago:
fix: the loop counter has to be high enough to detect infinite loop
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/utils/batch_file_loader.py
- [e9b29eb] by @thiswillbeyourgithub, 26 hours ago:
doc: powerpoint filetype doc mentionned .doc and .docx instead of .ppt and .pptx
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
wdoc/docs/help.md
- [577e6f6] by @thiswillbeyourgithub, 5 days ago:
bump litellm, allows using the latest openrouter price by litellm
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
setup.py
- [c0795e9] by @thiswillbeyourgithub, 6 days ago:
enh: use logger.error instead of print during the postinstall process
Signed-off-by: thiswillbeyourgithub 26625900+thiswillbeyourgithub@users.noreply.github.com
setup.py