Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate zip to v2.2.2 #748

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 28, 2024

This PR contains the following updates:

Package Type Update Change
zip dependencies minor 2.1.0 -> 2.2.2

Release Notes

zip-rs/zip2 (zip)

v2.2.2

Compare Source

🐛 Bug Fixes
  • rewrite the EOCD/EOCD64 detection to fix extreme performance regression (#​247)

v2.2.1

Compare Source

🐛 Bug Fixes
  • remove executable bit (#​238)
  • (lzma) fixed panic in case of invalid lzma stream (#​259)
  • resolve new clippy warnings on nightly (#​262)
  • resolve clippy warning in nightly (#​252)
⚡ Performance

v2.2.0

Compare Source

🚀 Features
  • Expose ZipArchive::central_directory_start (#​232)

v2.1.6

Compare Source

🐛 Bug Fixes
  • (#​33) Rare combination of settings could lead to writing a corrupt archive with overlength extra data, and data_start locations when reading the archive back were also wrong (#​221)
🚜 Refactor
  • Eliminate some magic numbers and unnecessary path prefixes (#​225)

v2.1.5

Compare Source

🚜 Refactor
  • change invalid_state() return type to io::Result

v2.1.4

Compare Source

🐛 Bug Fixes
  • fix(#​215): Upgrade to deflate64 0.1.9
  • Panic when reading a file truncated in the middle of an XZ block header
  • Some archives with over u16::MAX files were handled incorrectly or slowly (#​189)
  • Check number of files when deciding whether a CDE is the real one
  • Could still select a fake CDE over a real one in some cases
  • May have to consider multiple CDEs before filtering for validity
  • We now keep searching for a real CDE header after read an invalid one from the file comment
  • Always search for data start when opening an archive for append, and reject the header if data appears to start after central directory
  • deep_copy_file no longer allows overwriting an existing file, to match the behavior of shallow_copy_file
  • File start position was wrong when extra data was present
  • Abort file if central extra data is too large
  • Overflow panic when central directory extra data is too large
  • ZIP64 header was being written twice when copying a file
  • ZIP64 header was being written to central header twice
  • Start position was incorrect when file had no extra data
  • Allow all reserved headers we can create
  • Fix a bug where alignment padding interacts with other extra-data fields
  • Fix bugs involving alignment padding and Unicode extra fields
  • Incorrect header when adding AES-encrypted files
  • Parse the extra field and reject it if invalid
  • Incorrect behavior following a rare combination of merge_archive, abort_file and deep_copy_file. As well, we now return an error when a file is being copied to itself.
  • path_to_string now properly handles the case of an empty path
  • Implement Debug for ZipWriter even when it's not implemented for the inner writer's type
  • Fix an issue where the central directory could be incorrectly detected
  • finish_into_readable() would corrupt the archive if the central directory had moved
🚜 Refactor
  • Verify with debug assertions that no FixedSizeBlock expects a multi-byte alignment (#​198)
  • Use new do_or_abort_file method
⚡ Performance
  • Speed up CRC when encrypting small files
  • Limit the number of extra fields
  • Refactor extra-data validation
  • Store extra data in plain vectors until after validation
  • Only build one IndexMap after choosing among the possible valid headers
  • Simplify validation of empty extra-data fields
  • Validate automatic extra-data fields only once, even if several are present
  • Remove redundant validate_extra_data() call
  • Skip searching for the ZIP32 header if a valid ZIP64 header is present (#​189)
⚙️ Miscellaneous Tasks
  • Fix a bug introduced by c934c82
  • Fix a failing unit test
  • Fix build errors on older Rust versions
  • Fix build
  • Fix another fuzz failure
  • Switch to ok_or_abort_file, and inline when that fails borrow checker
  • Switch to ok_or_abort_file, and inline when that fails borrow checker
  • Fix a build error
  • Fix boxed_local warning (can borrow instead)
  • Partial debug
  • Fix more errors when parsing multiple extra fields
  • Fix an error when decoding AES header
  • Fix an error caused by not allowing 0xa11e field
  • Bug fix: crypto_header was being counted toward extra_data_end
  • Bug fix: revert a change where crypto_header was incorrectly treated as an extra field
  • Fix a bug where a modulo of 0 was used
  • Fix a bug when ZipCrypto, alignment and a custom header are used
  • Fix a bug when both ZipCrypto and alignment are used
  • Fix another bug: header_end vs extra_data_end
  • Fix use of a stale value in a debug_assert_eq!
  • Fix: may still get an incorrect size if opening an invalid file for append
  • Fix: may need the absolute start as tiebreaker to ensure deterministic behavior

v2.1.3

Compare Source

🐛 Bug Fixes
  • Some date/time filters were previously unreliable (i.e. later-pass filters had no earliest-pass or latest-fail, and vice-versa)
  • Decode Zip-Info UTF8 name and comment fields (#​159)
🚜 Refactor
  • Return extended timestamp fields copied rather than borrowed (#​183)
⚙️ Miscellaneous Tasks
  • Fix a new Clippy warning
  • Fix a bug and inline deserialize for safety
  • Add check for wrong-length blocks, and incorporate fixed-size requirement into the trait name
  • Fix a fuzz failure by using checked_sub
  • Add feature gate for new unit test

v2.1.2

Compare Source

🐛 Bug Fixes
  • Derive Debug for ZipWriter
  • lower default version to 4.5 and use the version-needed-to-extract where feasible.
🚜 Refactor
  • use a MIN_VERSION constant
⚙️ Miscellaneous Tasks
  • Bug fixes for debug implementation
  • Bug fixes for debug implementation
  • Update unit tests
  • Remove unused import

v2.1.1

Compare Source

🐛 Bug Fixes
  • Derive Debug for ZipWriter
  • lower default version to 4.5 and use the version-needed-to-extract where feasible.
🚜 Refactor
  • use a MIN_VERSION constant
⚙️ Miscellaneous Tasks
  • Bug fixes for debug implementation
  • Bug fixes for debug implementation
  • Update unit tests
  • Remove unused import

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the automerge label May 28, 2024
@renovate renovate bot requested a review from mbround18 as a code owner May 28, 2024 12:46
@renovate renovate bot added the dependencies Update one or more dependencies version label May 28, 2024
@renovate renovate bot force-pushed the renovate/zip-2.x-lockfile branch from 420faa3 to d637609 Compare June 2, 2024 21:40
@renovate renovate bot changed the title Update Rust crate zip to v2.1.1 Update Rust crate zip to v2.1.2 Jun 2, 2024
@renovate renovate bot force-pushed the renovate/zip-2.x-lockfile branch from d637609 to 1ea3e63 Compare June 5, 2024 09:29
@renovate renovate bot changed the title Update Rust crate zip to v2.1.2 Update Rust crate zip to v2.1.3 Jun 5, 2024
@renovate renovate bot force-pushed the renovate/zip-2.x-lockfile branch from 1ea3e63 to 7ef2b24 Compare July 19, 2024 11:30
@renovate renovate bot changed the title Update Rust crate zip to v2.1.3 Update Rust crate zip to v2.1.4 Jul 19, 2024
@renovate renovate bot force-pushed the renovate/zip-2.x-lockfile branch from 7ef2b24 to 87410ce Compare July 20, 2024 23:20
@renovate renovate bot changed the title Update Rust crate zip to v2.1.4 Update Rust crate zip to v2.1.5 Jul 20, 2024
@renovate renovate bot force-pushed the renovate/zip-2.x-lockfile branch from 87410ce to fcf2869 Compare July 31, 2024 12:39
@renovate renovate bot changed the title Update Rust crate zip to v2.1.5 Update Rust crate zip to v2.1.6 Jul 31, 2024
@renovate renovate bot changed the title Update Rust crate zip to v2.1.6 Update Rust crate zip to v2.2.0 Oct 1, 2024
@renovate renovate bot force-pushed the renovate/zip-2.x-lockfile branch from fcf2869 to 85bf1cf Compare October 1, 2024 03:58
@renovate renovate bot changed the title Update Rust crate zip to v2.2.0 Update Rust crate zip to v2.2.1 Nov 21, 2024
@renovate renovate bot force-pushed the renovate/zip-2.x-lockfile branch from 85bf1cf to 4644f56 Compare November 21, 2024 16:13
@renovate renovate bot force-pushed the renovate/zip-2.x-lockfile branch from 4644f56 to 49998ed Compare December 16, 2024 19:43
@renovate renovate bot changed the title Update Rust crate zip to v2.2.1 Update Rust crate zip to v2.2.2 Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Update one or more dependencies version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants