4.2.0
Changes since 4.1.0
-
Breaking changes:
- Replace
glos.getAuthor()withglos.author- This looks for "author" and then "publisher" keys in info/metadata
- Rename option
apply_csstocssfor mobi and epub2 glos.getInfoandglos.setInfoonly acceptstras key (or a subclass ofstr)
- Replace
-
Bug fixes:
-
Indirect mode: Fix handling '|' character in words.
- Escape/unescape
|in words when convertingentry<->rawEntry
- Escape/unescape
-
Escape/unescape
|in words when writing/reading text-based file formats -
JSON: Prevent duplicate keys in json output, #344
- Add new method
glos.preventDuplicateWords()
- Add new method
-
-
Features and improvements
-
Add SQLite mode with
--sqliteflag for converting to StarDict.- Eliminates the need to load all entries into RAM, limiting RAM usage.
- You can add
--sqliteto you command, even for running GUI.- For example:
python3 main.py --tk --sqlite
- For example:
- See README.md for more details.
-
Add
--source-langand--target-langflags -
XDXF: support more tags and improvements
-
Add unit tests for
Glossaryclass, and some functions intext_utils.py -
Windows: change cache directory to
%LOCALAPPDATA% -
Some refactoring and optimization
-
Update, improve and re-format documentations
-