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.3.1 #135

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Updates the requirements on zip to permit the latest version.

Release notes

Sourced from zip's releases.

v1.3.1

🚜 Refactor

  • Make deflate enable both default implementations
  • Merge the hidden deflate-flate2 flag into the public one
  • Rename _deflate-non-zopfli to _deflate-flate2
  • Reject encrypted and using_data_descriptor files slightly faster in read_zipfile_from_stream
  • Convert impl TryInto<NaiveDateTime> for DateTime to impl TryFrom<DateTime> for NaiveDateTime (#136)

⚡ Performance

  • Change default compression implementation to flate2/zlib-ng

⚙️ Miscellaneous Tasks

  • chore(#132): Attribution for some copied test data
  • chore(#133): chmod -x src/result.rs
Changelog

Sourced from zip's changelog.

1.3.1 - 2024-05-21

🚜 Refactor

  • Make deflate enable both default implementations
  • Merge the hidden deflate-flate2 flag into the public one
  • Rename _deflate-non-zopfli to _deflate-flate2
  • Reject encrypted and using_data_descriptor files slightly faster in read_zipfile_from_stream
  • Convert impl TryInto<NaiveDateTime> for DateTime to impl TryFrom<DateTime> for NaiveDateTime (#136)

⚡ Performance

  • Change default compression implementation to flate2/zlib-ng

⚙️ Miscellaneous Tasks

  • chore(#132): Attribution for some copied test data
  • chore(#133): chmod -x src/result.rs

1.3.0 - 2024-05-17

🚀 Features

  • Add is_symlink method

🐛 Bug Fixes

  • Extract symlinks into symlinks on Unix and Windows, and fix a bug that affected making directories writable on MacOS

🚜 Refactor

  • Eliminate deprecation warning when --all-features implicitly enables the deprecated feature
  • Check if archive contains a symlink's target, without borrowing both at the same time
  • Eliminate a clone that's no longer necessary
  • is_dir only needs to look at the filename
  • Remove unnecessary #[cfg] attributes

⚙️ Miscellaneous Tasks

  • Fix borrow-of-moved-value
  • Box doesn't directly convert to PathBuf, so convert back to String first
  • partial revert - only &str has chars(), but Box should auto-deref
  • contains_key needs a Box<str>, so generify is_dir to accept one
  • Add missing ZipFileData::is_dir() method
  • Fix another Windows-specific error
  • More bug fixes for Windows-specific symlink code
  • More bug fixes for Windows-specific symlink code
  • Bug fix: variable name change
  • Bug fix: need both internal and output path to determine whether to symlink_dir
  • Another bug fix
  • Fix another error-type conversion error
  • Fix error-type conversion on Windows
  • Fix conditionally-unused import
  • Fix continued issues, and factor out the Vec-to-OsString conversion (cc: #125)
  • Fix CI failure involving conversion to OsString for symlinks (see my comments on #125)
  • Move path join into platform-independent code

... (truncated)

Commits
  • 6c60c67 Merge pull request #140 from zip-rs/release-plz-2024-05-21T19-09-46Z
  • 65a0bde chore: release
  • dbf2543 ci: Condition isn't working, so use continue-on-error
  • 7d7e425 ci: Disable attestation step if nothing's been built
  • fdc3935 ci: Fix variable reference in release-plz workflow
  • edd6a58 Merge pull request #139 from sorairolake/zip-dt-to-time-offset-dt
  • d171f2e test: Add .gitattributes to force test data files to be binary
  • 42af715 style: cargo fmt --all
  • ac8b04c feat: Add TryFrom\<DateTime> for OffsetDateTime
  • 20fa9ed refactor: Make deflate enable both default implementations
  • 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 5 months ago

Superseded by #136.