From 461fb58a0257689204ed6b314b4c3d48239b8fc0 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Thu, 16 May 2024 21:03:31 -0700 Subject: [PATCH] chore: release --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64d914b02..b3585452e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Changelog +## [1.3.0](https://github.com/zip-rs/zip2/compare/v1.2.3...v1.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`, 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://github.com/zip-rs/zip2/pull/125)) +- Fix CI failure involving conversion to OsString for symlinks (see my comments on [#125](https://github.com/zip-rs/zip2/pull/125)) +- Move path join into platform-independent code + ## [1.2.3](https://github.com/zip-rs/zip2/compare/v1.2.2...v1.2.3) - 2024-05-10 ### 🐛 Bug Fixes diff --git a/Cargo.toml b/Cargo.toml index 7492316fd..0e85fef24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zip" -version = "1.2.3" +version = "1.3.0" authors = [ "Mathijs van de Nes ", "Marli Frost ",