Majored / rs-async-zip

An asynchronous ZIP archive reading/writing crate.
MIT License
135 stars 44 forks source link

Update zip requirement from 0.6.3 to 1.2.2 #132

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Updates the requirements on zip to permit the latest version.

Release notes

Sourced from zip's releases.

v1.2.2

๐Ÿ› Bug Fixes

  • Failed to clear "writing_raw" before finishing a symlink, leading to dropped extra fields

โšก Performance

  • Use boxed slice for archive comment, since it can't be concatenated
  • Optimize for the fact that false signatures can't overlap with real ones
Changelog

Sourced from zip's changelog.

1.2.2 - 2024-05-09

๐Ÿ› Bug Fixes

  • Failed to clear "writing_raw" before finishing a symlink, leading to dropped extra fields

โšก Performance

  • Use boxed slice for archive comment, since it can't be concatenated
  • Optimize for the fact that false signatures can't overlap with real ones

1.2.1 - 2024-05-06

๐Ÿ› Bug Fixes

  • Prevent panic when trying to read a file with an unsupported compression method
  • Prevent panic after reading an invalid LZMA file
  • Make Stored the default compression method if Deflated isn't available, so that zip files are readable by as much software as possible
  • version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 (#100)
  • file paths shouldn't start with slashes (#102)

๐Ÿšœ Refactor

  • Overhaul impl Arbitrary for FileOptions
  • Remove unused atomic module

1.2.0 - 2024-05-06

๐Ÿš€ Features

  • Add method decompressed_size() so non-recursive ZIP bombs can be detected

๐Ÿšœ Refactor

  • Make ZipWriter::finish() consume the ZipWriter

โš™๏ธ Miscellaneous Tasks

  • Use panic! rather than abort to ensure the fuzz harness can process the failure
  • Update fuzz_write to use replace_with
  • Remove a drop that can no longer be explicit
  • Add #![allow(unexpected_cfgs)] in nightly

1.1.4 - 2024-05-04

๐Ÿ› Bug Fixes

  • Build was failing with bzip2 enabled
  • use is_dir in more places where Windows paths might be handled incorrectly

โšก Performance

  • Quick filter for paths that contain "/../" or "/./" or start with "./" or "../"
  • Fast handling for separator-free paths
  • Speed up logic if main separator isn't '/'
  • Drop normalized_components slightly sooner when not using it
  • Speed up path_to_string in cases where the path is already in the proper format

โš™๏ธ Miscellaneous Tasks

... (truncated)

Commits
  • af77679 Merge pull request #104 from zip-rs/release-plz-2024-05-08T04-49-16Z
  • 972d6be chore: release
  • 769fff2 Merge pull request #101 from Jake-Shadle/master
  • c39f5e8 ci(fuzz): Update fuzz_write corpus to account for shift from Vec<> to Box<[]>
  • 13a9643 ci(fuzz): Update fuzz_write corpus to account for shift from Vec<> to Box<[]>
  • bd473ef perf: Use boxed slice for archive comment, since it can't be concatenated
  • d996593 ci(fuzz): Optimize final read-back, and skip it if redundant
  • ed35b9f Merge branch 'master' into master
  • 298f7f5 ci(fuzz): Reduce fuzz_write to 1e6 iterations
  • 5460c9f ci(fuzz): Test using max_len=500 for fuzz_write
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 6 months ago

Superseded by #133.