Skip to content

Releases: miurahr/py7zr

Security: remove trojan affected archive in test files

20 Jan 01:41
Compare
Choose a tag to compare
Prepare for v0.9.10

Signed-off-by: Hiroshi Miura <[email protected]>

Security: remove trojan affected archive in test files

20 Jan 01:40
Compare
Choose a tag to compare
Prepare for v0.11.3

Fix release changelog and tag

Signed-off-by: Hiroshi Miura <[email protected]>

Support PPMd; Fix Zstd and Append Mode

21 Nov 00:55
Compare
Choose a tag to compare

Changed

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
Compare
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
Compare
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
Compare
Choose a tag to compare
Merge pull request #251 from miurahr/backport-lzma-bcj-249

Backport BCJ filter fix

Improve compression mode

04 Oct 07:22
Compare
Choose a tag to compare
  • avoid reading header data to calculate crc32 after writing header data, now calculation happened when writing header data.

Support Append mode, needs_password()

19 Sep 08:10
Compare
Choose a tag to compare
Pre-release

Added

  • 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

  • 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)

Fixed

  • 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)

Raise PasswordRequired when encrypted header without password

17 Sep 05:52
Compare
Choose a tag to compare

Fixed

  • Raise PasswordRequired when encrypted header and no password given(#238)

Catch LZMAError when wrong password is given

12 Sep 00:12
Compare
Choose a tag to compare
Update changelog

Signed-off-by: Hiroshi Miura <[email protected]>