Releases: zip-rs/zip2
Releases · zip-rs/zip2
v7.2.0
🚀 Features
🐛 Bug Fixes
- Need to include zip64 extra field in central directory (fix #353) (#360)
- Fails to extract file which might or might not be malformed (#376) (#426)
- (aes) Allow AES encryption while streaming (#463)
- Default "platform" field in zip files should be set to the local platform, rather than always "Unix" (#470) (#471)
🚜 Refactor
- Define cfg_if! and cfg_if_expr! internal macros (#438)
⚡ Performance
- Change an assert to debug_assert when encrypting/decrypting AES, and eliminate a fallible operation (#521)
- eliminate a String clone per new file added to archive, and other related refactors (#522)
⚙️ Miscellaneous Tasks
- Fix another merge error, this one affecting only builds with flate2 and not zopfli
- Fix more merge issues
- Fix merge
- Fix write_dir build errors on specific feature configs
- Fix clippy warning
- Fix --all-features build error
- Fix merge
v7.1.0
🚀 Features
- display the underlying error in Display impl for ZipError::Display (#483)
- Enable creation of
ZipArchivewithout reparsing (#485)
🐛 Bug Fixes
- Return InvalidPassword rather than panic when AES key is the wrong length (#457)
- bench with auto zip64 comment (#505)
- add condition for
getrandomdependency (#504) - (zipcrypto) Support streaming ZipCrypto encryption, don't store entire file in memory (#462)
🚜 Refactor
⚙️ Miscellaneous Tasks
- Lock
lzma-rust2to at least 0.15.5 (#491)
v7.0.0
⚠️ Breaking Changes
- Removed the following features:
getrandom,hmac,pbkdf2,sha1,zeroize. - Removed
lzma-staticandxz-staticfeature flags, which were deprecated synonyms oflzmaandxz. (#405, #425)
🚀 Features
- (
SimpleFileOptions) const DEFAULT implementation (#474) - ZipWriter
set_auto_large_file()method to enable large-file data descriptor when necessary (#468)
🐛 Bug Fixes
- print previous error when failing to search another cde (#460)
- cargo doc warnings (#472)
- Write ZIP64 data descriptors when large_file option is true (#467)
- Pin generic-array to an old version to work around RustCrypto/traits#2036 until next RustCrypto & aes-crypto releases (#458)
⚙️ Miscellaneous Tasks
- Revert version bump so that release-plz will trigger
- expose more flate2 feature flags (#476)
- Next release will be 7.0.0
- release v6.0.0 (#442)