Skip to content

Releases: miurahr/py7zr

v0.14.0

28 Feb 03:07

Choose a tag to compare

Added
-----

* Introduce writed() method that accept dict[name, BinaryIO](#302)

Changed
-------

* READ_BLOCKSIZE configurable on constructor(#307)
* Use pyzstd for zstandard algorithm on CPython(#304)
* Use bcj-cffi library for lzma+bcj performance(#303)
* CLI: Fix getting module_name on 3.6.13(#308)

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

Release v0.13.0

23 Feb 10:35

Choose a tag to compare

Added
-----

* Add writestr() and writef() methods in SevenZipFile class.(#290,#293)
* Add benchmark tests for compression algorithms(#295)
* Track benchmark results on Github issue(#296)

Changed
-------

* Refactoring BCF Filter classes, and move to individual module.(#292)

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

Fix crash when appending to empty archive

05 Feb 00:09

Choose a tag to compare

Prepare for release v0.12.0

Changed
-------

* PPMd and ZStandard is now one of default algorithms(#269)
* Increment copyright year

Fixed
-----

* Crash when append files to an empty files archive(#286)

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

Security: remove trojan affected archive in test files

20 Jan 01:41

Choose a tag to compare

Prepare for v0.10.2

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

Security: remove trojan affected archive in test files

20 Jan 01:41

Choose a tag to compare

Prepare for v0.9.10

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

Security: remove trojan affected archive in test files

20 Jan 01:40

Choose a tag to compare

Prepare for v0.11.3

Fix release changelog and tag

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

Support PPMd; Fix Zstd and Append Mode

21 Nov 00:55

Choose a tag to compare

Changed

  • PPMd: Use stream encoder/decoder instead of buffered one.
  • PPMd: Use ppmd-cffi@v0.3.1 and later.(#268)

Added

  • PPMd compression/decompression support.(#255)
  • New API to set methods to set header encode mode, encode or encrypted.(#259)
  • Support Python 3.9.(#261)
  • Support arm64/aarch64 architecture on Linux.(#262)

Fixed

  • Append mode cause error when target archive use LZMA2+BCJ.(#266)
  • Fix zstandard compression/decompression.(#258)

Deprecated

  • Drop support for python 3.5 which become end-of-life in Sept. 2020.

Fix header error when larger archive extraction

05 Oct 01:12

Choose a tag to compare

Fixed

  • Fix exception when reading header which size is larger than buffer size (#252)
    A bug affected from v0.10.0a1 to v0.10.0

Support "Append" mode

04 Oct 09:48

Choose a tag to compare

The version 0.10.0 and its pre-released versions have a critical known bug on header parsing.
You are strongly recommended to use v0.10.1 and later, or v0.9.9.

Changes from v0.9.2

Fixed

  • Fix BCJ(x86) filter code with a missing logic which cause extraction error
    for certain data. (#249, #250)
  • Raise PasswordRequired when encrypted header without passing password (#234, #237)
  • CLI: don't raise exception when password is wrong or not given.(#229)
  • Fix specification typo.
  • Catch exception in threading extraction(#218,#219)

Added

  • Compatibility test with python-libarchive-c/libarchive for compression(#247)
  • Document: express how to handle multi-volume archive (#243)
  • SevenZipFile.needs_password() method.(#208, #235)
  • CLI: Support append mode command line.(#228)
  • Support "APPEND" mode. User can open SevenZipFile() class with mode='a' (#227)

Changed

  • Calculate CRC32 of header without re-reading header from disk again.(#245)
  • read(), extract(): improve performance when specifying parts of archived file,
    by skipping rest of arcvhive when target file has extracted.(#239,#242)
  • read(), extract(): improve performance when specifying parts of archived file,
    by not running threads for unused compression blocks(folders).(#239,#242)
  • docs: improve API documentation.(#244)
  • setup: set minimum required python version as >=3.5
  • Compression will be happened when call write() not close() (#222, #226)
  • Handle file read/write in SevenZipCompressor/Decompressor class (#213)

Fix BCJ filter failure when certain LZMA+BCJ

04 Oct 08:35
32eb53c

Choose a tag to compare

Merge pull request #251 from miurahr/backport-lzma-bcj-249

Backport BCJ filter fix