zip-rs/zip2 (zip)
### [`v2.0.0`](https://togithub.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#200---2024-05-24)
[Compare Source](https://togithub.com/zip-rs/zip2/compare/v1.3.1...v2.0.0)
##### π Features
- Add `fmt::Display` for `DateTime`
- Implement more traits for `DateTime`
##### π Refactor
- Change type of `last_modified_time` to `Option`
- \[**breaking**] Rename `from_msdos` to `from_msdos_unchecked`, make it unsafe, and add `try_from_msdos` ([#145](https://togithub.com/zip-rs/zip2/pull/145))
##### βοΈ Miscellaneous Tasks
- Continue to accept archives with invalid DateTime, and use `now_utc()` as default only when writing, not reading
### [`v1.3.1`](https://togithub.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#131---2024-05-21)
[Compare Source](https://togithub.com/zip-rs/zip2/compare/v1.3.0...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 for DateTime` to `impl TryFrom for NaiveDateTime` ([#136](https://togithub.com/zip-rs/zip2/pull/136))
##### β‘ Performance
- Change default compression implementation to `flate2/zlib-ng`
##### βοΈ Miscellaneous Tasks
- chore([#132](https://togithub.com/zip-rs/zip2/pull/132)): Attribution for some copied test data
- chore([#133](https://togithub.com/zip-rs/zip2/pull/133)): chmod -x src/result.rs
### [`v1.3.0`](https://togithub.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#130---2024-05-17)
[Compare Source](https://togithub.com/zip-rs/zip2/compare/v1.2.3...v1.3.0)
##### π 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`, 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](https://togithub.com/zip-rs/zip2/pull/125))
- Fix CI failure involving conversion to OsString for symlinks (see my comments on [#125](https://togithub.com/zip-rs/zip2/pull/125))
- Move path join into platform-independent code
### [`v1.2.3`](https://togithub.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#123---2024-05-10)
[Compare Source](https://togithub.com/zip-rs/zip2/compare/v1.2.2...v1.2.3)
##### π Bug Fixes
- Remove a window when an extracted directory might be unexpectedly listable and/or `cd`able by non-owners
- Extract directory contents on Unix even if the directory doesn't have write permission ([https://github.com/zip-rs/zip-old/issues/423](https://togithub.com/zip-rs/zip-old/issues/423))
##### βοΈ Miscellaneous Tasks
- More conditionally-unused imports
### [`v1.2.2`](https://togithub.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#122---2024-05-09)
[Compare Source](https://togithub.com/zip-rs/zip2/compare/v1.2.1...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
### [`v1.2.1`](https://togithub.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#121---2024-05-06)
[Compare Source](https://togithub.com/zip-rs/zip2/compare/v1.2.0...v1.2.1)
##### π 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](https://togithub.com/zip-rs/zip2/pull/100))
- file paths shouldn't start with slashes ([#102](https://togithub.com/zip-rs/zip2/pull/102))
##### π Refactor
- Overhaul `impl Arbitrary for FileOptions`
- Remove unused `atomic` module
### [`v1.2.0`](https://togithub.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#120---2024-05-06)
[Compare Source](https://togithub.com/zip-rs/zip2/compare/v1.1.4...v1.2.0)
##### π 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
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 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 Mend Renovate. View repository job log here.
This PR contains the following updates:
1.1.4
->2.0.0
Release Notes
zip-rs/zip2 (zip)
### [`v2.0.0`](https://togithub.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#200---2024-05-24) [Compare Source](https://togithub.com/zip-rs/zip2/compare/v1.3.1...v2.0.0) ##### π Features - Add `fmt::Display` for `DateTime` - Implement more traits for `DateTime` ##### π Refactor - Change type of `last_modified_time` to `OptionConfiguration
π 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 becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.