Releases: openzim/python-libzim
Releases · openzim/python-libzim
v1.1.1
v1.1.0
v1.0.0
- using libzim 7.x
- Python 3.9 support
- [breaking] Using new libzim 7-based API for both reader and writer
- No more namespaces
- Defaulting to zstd compression
- https://github.com/openzim/libzim/blob/master/ChangeLog
- Rewrote all tests for new API ; using libzim's own test ZIM files to test reader
- Code-coverage now includes Cython code as well
- macOS releases are signed and notarized
- Early-failure on invalid destination ZIM path
v0.1
0.0.3.post0
- fixed access to bundled libzim on macOS (missing rpath)
0.0.3
- [reader] fixed
main_page
retrieval - [reader] provide access to redirect target via
get_redirect_article()
(#51) - [reader] fixed
ReadArticle.__repr__
(#37) - [reader] raising
IndexError
andKeyError
on incorrect url/ID (#38) - [reader]
File.get_metadata()
now returnsbytes
(#30) - [reader] cleaner reader API
- added/fixed all docstrings, including annotations
File
can be used as a contextmanagerFile.get_namespaces_count()
renamed toget_namespace_count()
- [writer] removed ZIM filename printed on stdout at Creator init
- [writer] Creator now closed upon deletion (#31)
- [writer]
min_chunk_size
andindex_language
now optional at Creator init (#29) - [writer] Creator now uses
pathlib.Path
forfilename
(#45) - [writer] cleaner Creator API
- added/fixed all docstrings, including annotations
- added
_closed
property - removed
_get_counter_string()
- removed
write_metadata()
- removed
_update_article_counter)_
- removed
pascalize()
update_metadata()
acceptsdatetime.datetime
forDate
- [writer] exceptions in
Article
methods now forwarded to python (asRuntimeError
with details in message) - [writer] fixed creation of redirect from
Article
(get_redirect_url()
) - added macOS support (#35)
- building with Cython 0.29.20+
- using libzim 6.1.7
0.0.2
Same as version 0.0.1.
We need a new release number as version 0.0.1 already exists on pypi and we can't modify it.
0.0.1
First release of python-libzim.