Skip to content

Update Rust crate zip to v8#22

Open
oxide-renovate[bot] wants to merge 1 commit intomainfrom
renovate/zip-8.x
Open

Update Rust crate zip to v8#22
oxide-renovate[bot] wants to merge 1 commit intomainfrom
renovate/zip-8.x

Conversation

@oxide-renovate
Copy link
Contributor

@oxide-renovate oxide-renovate bot commented Feb 17, 2026

This PR contains the following updates:

Package Type Update Change
zip dependencies major 4.0.08.2.0

Release Notes

zip-rs/zip2 (zip)

v8.2.0

Compare Source

🚀 Features
  • allow custom salt (#​680)
  • Support compressing bzip2 when feature bzip2-rs is enabled, since bzip2/bzip2-sys now supports it (#​685)
  • enforce clippy in CI (#​674)
🐛 Bug Fixes
  • zip64 central header (issue 617) (#​629)
  • allow aes password as bytes (#​686)
  • handle extra field padding (#​682)
🚜 Refactor
  • Simplify 2 type conversions in src/write.rs (#​687)
⚡ Performance
  • AI tweaks for string type conversions in src/types.rs (#​670)

v8.1.0

Compare Source

🚀 Features
  • (writer) Allow getting underlying writer of ZipWriter (#​464)
  • add system to FileOption, so byte-for-byte identical archives can be created across platforms (#​660)
🐛 Bug Fixes
  • Bugs in extra-data length calculation in src/write.rs (#​662)

v8.0.0

Compare Source

🚀 Features
  • document zip flags as enum (#​639)
  • Migrate to Rust 2024 (#​650)
  • [breaking] Remove deprecated methods of DateTime (#​597)

v7.4.0

Compare Source

🚀 Features
  • Increase MSRV to 1.88 and update dependencies (#​626)

v7.3.0

Compare Source

🚀 Features
  • cleanup the benchmarks and Cargo.toml (#​606)
  • Add support for per-file comments (#​543)
🐛 Bug Fixes
  • Document feature unreserved and make the mapping of extra fields public (#​616)
  • Return an error if abort_file() fails when exceeding non-large-file limit (#​598)
⚙️ Miscellaneous Tasks
  • Bump version to 7.3.0 (semver checks fail if it's still 7.3.0-pre1)

v7.2.0

Compare Source

🚀 Features
  • add read_zipfile_from_stream_with_compressed_size (#​70)
  • Allow choosing bzip2 rust backend (#​329)
🐛 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)

v7.1.0

Compare Source

🚀 Features
  • display the underlying error in Display impl for ZipError (#​483)
  • Enable creation of ZipArchive without 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 getrandom dependency (#​504)
  • (zipcrypto) Support streaming ZipCrypto encryption, don't store entire file in memory (#​462)
🚜 Refactor
  • Clean up imports and move types (#​461)
  • Replace handwritten Ord and PartialOrd for DateTime (#​484)
⚙️ Miscellaneous Tasks
  • Lock lzma-rust2 to at least 0.15.5 (#​491)

v7.0.0

Compare Source

⚠️ Breaking Changes
  • Removed the following features: getrandom, hmac, pbkdf2, sha1, zeroize.
  • Removed lzma-static and xz-static feature flags, which were deprecated synonyms of lzma and xz. (#​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)
Deps
  • Bump lzma-rust2 to v0.15 (#​465)

v6.0.0

Compare Source

⚠️ Breaking Changes
  • Removed the following features: getrandom, hmac, pbkdf2, sha1, zeroize.
  • Removed lzma-static and xz-static feature flags, which were deprecated synonyms of lzma and xz. (#​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)
Deps
  • Bump lzma-rust2 to v0.15 (#​465)

v5.1.1

Compare Source

🐛 Bug Fixes
  • panic when reading empty extended-timestamp field (#​404) (#​422)
  • Restore original file timestamp when unzipping with chrono (#​46)
⚙️ Miscellaneous Tasks
  • Configure Amazon Q rules (#​421)

v5.1.0

Compare Source

🚀 Features
  • Add legacy shrink/reduce/implode compression (#​303)

v5.0.1

Compare Source

🐛 Bug Fixes
  • AES metadata was not copied correctly in raw copy methods, which could corrupt the copied file. (#​417)

v5.0.0

Compare Source

🚀 Features
  • Implement by_path*() methods on ZipArchive (#​382)

v4.6.1

Compare Source

🐛 Bug Fixes
  • Fixes an issue introduced by the swap from lzma-rs to liblzma (#​407)

v4.6.0

Compare Source

🚀 Features
  • Allow to read zip files with unsupported extended timestamps (#​400)
🐛 Bug Fixes
  • enable clamp_opt for ppmd and xz (#​401)

v4.5.0

Compare Source

🚀 Features
  • Allow reading ZIP files where the central directory comes before the files (#​384) (#​396)

v4.4.0

Compare Source

🚀 Features
  • Add lzma-static and xz-static features that enable liblzma/static (#​393)
⚙️ Miscellaneous Tasks
  • Move deprecated annotations to fix a Clippy warning (#​391)

v4.3.0

Compare Source

🚀 Features

v4.2.0

Compare Source

🚀 Features
  • Write ZIP file to stream (#​246)

v4.1.0

Compare Source

🚀 Features
  • Add has_overlapping_files method

Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants