5.0.0
Breaking changes for library users
-
38f8f91
glossary_v2.Glossary
class raisesError
exception if operation failed, instead oflog.critical
andreturn None
- Applies to these methods:
convert
,read
,write
glossary.Glossary
(andpyglossary.Glossary
) still behaves the same way (returnNone
if failed)
- Applies to these methods:
-
a5204bb Breaking changes in
Glossary.detectInputFormat
andGlossary.detectOutputFormat
methods:format
argument is renamed toformatName
quiet
argument is removed (must handleError
exception instead)
-
9cc2887
Glossary.wordTitleStr
: rename_class
argument toclass_
-
Remove
toBytes
andreplaceStringTable
functions fromtext_utils.py
andplugins/formats_common.py
Breaking change for plugins outside this repo
Deprecated API for library users
glossary.Glossary
is deprecated, useglossary_v2.Glossary
format
variable in plugins is deprecated, rename it toname
info
argument toGlossary()
is deprecated. Useglos.setInfo(key, value)
Glossary
:format
arguments toread
,directRead
andwrite
methods are deprecated, rename them toformatName
What's changed since last version?
We have a web-based user interface by @glowinthedark, a new plugin StardictMergeSyns, new options in various plugins/formats, lots of improvements, refactoring and cleanup.
Full Changelog: 4.7.1...5.0.0