---
title: "zip 9.5.0 Breaking Changes on crates.io | Since.dev"
description: "What each zip release removed, renamed or changed: 250 breaking changes in 30 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/zip
last_updated: 2026-12-04
---

# zip breaking changes

zip 9.5.0 (November 9, 2026) is its newest release with breaking changes, 9 of them. The first: Signature changed zip::read::ExtractOptions. Every breaking API change we have recorded in zip on crates.io: 250 breaking changes in 30 versions. Below, its 30 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `9.9.0`, released November 28, 2026. [Source repository](https://github.com/zip-rs/zip2)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [8.6.0](#v-8-6-0) to [9.5.0](#v-9-5-0): 107 breaking changes in 13 versions.
- From [0.6.0](#v-0-6-0) to [9.5.0](#v-9-5-0): 243 breaking changes in 29 versions.

## zip 9.5.0 breaking changes

zip 9.5.0, released November 9, 2026: 9 breaking changes.

- **Signature changed** `zip::read::ExtractOptions`  

Was struct ExtractOptions; now struct ExtractOptions\<F = fn(&Path) -> bool>. [crates.io](https://crates.io/crates/zip/9.5.0)
- **Signature changed** `zip::read::ZipArchive::extract_with_options`  

Was fn extract_with_options\<P: AsRef\<Path>>(&mut self, directory: P, extract_options: ExtractOptions) -> ZipResult<()>; now fn extract_with_options\<P: AsRef\<Path>>(&mut self, directory: P, extract_options: ExtractOptions\<impl... [crates.io](https://crates.io/crates/zip/9.5.0)
- **Signature changed** `zip::read::ZipArchive::par_extract_from_path_with_options`  

Was fn par_extract_from_path_with_options\<P: AsRef\<Path>, Q: AsRef\<Path>>(&mut self, archive_path: P, destination: Q, options: ExtractOptions) -> ZipResult<()>; now fn par_extract_from_path_with_options\<P: AsRef\<Path>, Q: AsRef\<Path>>(&mut... [crates.io](https://crates.io/crates/zip/9.5.0)
- **Signature changed** `zip::read::ZipArchive::par_extract_with_options`  

Was fn par_extract_with_options\<P: AsRef\<Path>>(&mut self, directory: P, options: ExtractOptions) -> ZipResult<()>; now fn par_extract_with_options\<P: AsRef\<Path>>(&mut self, directory: P, options: ExtractOptions\<impl RootDirFilter>) ->... [crates.io](https://crates.io/crates/zip/9.5.0)
- **Signature changed** `zip::read::ZipArchive::par_extract_with_reader_factory_and_options`  

Was fn par_extract_with_reader_factory_and_options\<P, F, Filter>(&mut self, directory: P, reader_factory: F, extract_options: ExtractOptions, root_dir_filter: Option\<Filter>) -> ZipResult<()> where P: AsRef\<Path>, F: Fn() ->... [crates.io](https://crates.io/crates/zip/9.5.0)
- **Signature changed** `zip::ZipArchive::extract_with_options`  

Was fn extract_with_options\<P: AsRef\<Path>>(&mut self, directory: P, extract_options: ExtractOptions) -> ZipResult<()>; now fn extract_with_options\<P: AsRef\<Path>>(&mut self, directory: P, extract_options: ExtractOptions\<impl... [crates.io](https://crates.io/crates/zip/9.5.0)
- **Signature changed** `zip::ZipArchive::par_extract_from_path_with_options`  

Was fn par_extract_from_path_with_options\<P: AsRef\<Path>, Q: AsRef\<Path>>(&mut self, archive_path: P, destination: Q, options: ExtractOptions) -> ZipResult<()>; now fn par_extract_from_path_with_options\<P: AsRef\<Path>, Q: AsRef\<Path>>(&mut... [crates.io](https://crates.io/crates/zip/9.5.0)
- **Signature changed** `zip::ZipArchive::par_extract_with_options`  

Was fn par_extract_with_options\<P: AsRef\<Path>>(&mut self, directory: P, options: ExtractOptions) -> ZipResult<()>; now fn par_extract_with_options\<P: AsRef\<Path>>(&mut self, directory: P, options: ExtractOptions\<impl RootDirFilter>) ->... [crates.io](https://crates.io/crates/zip/9.5.0)
- **Signature changed** `zip::ZipArchive::par_extract_with_reader_factory_and_options`  

Was fn par_extract_with_reader_factory_and_options\<P, F, Filter>(&mut self, directory: P, reader_factory: F, extract_options: ExtractOptions, root_dir_filter: Option\<Filter>) -> ZipResult<()> where P: AsRef\<Path>, F: Fn() ->... [crates.io](https://crates.io/crates/zip/9.5.0)

## zip 9.4.1 breaking changes

zip 9.4.1, released November 6, 2026: 2 breaking changes.

- **Signature changed** `zip::write::ZipWriter::merge_archive`  

Was fn merge_archive\<R>(&mut self, mut source: ZipArchive\<R>) -> ZipResult<()> where R: Read + Seek,; now fn merge_archive\<R>(&mut self, source: ZipArchive\<R>) -> ZipResult<()> where R: Read + Seek,. [crates.io](https://crates.io/crates/zip/9.4.1)
- **Signature changed** `zip::ZipWriter::merge_archive`  

Was fn merge_archive\<R>(&mut self, mut source: ZipArchive\<R>) -> ZipResult<()> where R: Read + Seek,; now fn merge_archive\<R>(&mut self, source: ZipArchive\<R>) -> ZipResult<()> where R: Read + Seek,. [crates.io](https://crates.io/crates/zip/9.4.1)

## zip 9.1.3 breaking changes

zip 9.1.3, released October 27, 2026: 1 breaking change.

- **Behavior changed**  

When only the zopfli feature is enabled, writing with a deflate compression level below 10 now returns an error. Code that passes lower levels must use a level of 10 or higher. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.1.3)

## zip 9.1.2 breaking changes

zip 9.1.2, released October 26, 2026: 2 breaking changes.

- **Behavior changed**  

File creation during extraction no longer follows symbolic links. Code that relied on extracting through existing symlinks will see different results. [github.com](https://github.com/zip-rs/zip2/blob/v9.1.2/CHANGELOG.md)
- **Behavior changed**  

Archives with a Unicode Path extra field that would rename the entry are now rejected when written. Check that code writing such entries handles the error. [github.com](https://github.com/zip-rs/zip2/blob/v9.1.2/CHANGELOG.md)

## zip 9.1.1 breaking changes

zip 9.1.1, released October 25, 2026: 1 breaking change.

- **Behavior changed** `merge_archive`  

merge_archive now returns an error when the archives contain duplicate names, where it previously accepted them. Check merged archives for duplicate names before calling it. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.1.1)

## zip 9.1.0 breaking changes

zip 9.1.0, released October 24, 2026: 3 breaking changes.

- **Behavior changed**  

Member names in CP437-encoded archives are decoded differently than before, so code comparing names may see different results. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.1.0)
- **Behavior changed** `extract_with_options`  

Extraction now checks that archive headers are consistent, so archives that were previously accepted may now fail to extract. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.1.0)
- **Behavior changed** `raw_copy_file`  

Copied entries now keep their original name bytes and UTF-8 flag instead of having them rewritten. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.1.0)

## Older versions

24 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### zip 9.0.5 breaking changes

zip 9.0.5, released October 17, 2026: 2 breaking changes.

- **Signature changed** `zip::unstable::stream::ZipStreamReader`  

Was struct ZipStreamReader\<R>(R); now struct ZipStreamReader\<R>. [crates.io](https://crates.io/crates/zip/9.0.5)
- **Signature changed** `zip::unstable::stream::ZipStreamReader::visit`  

Was fn visit\<V: ZipStreamVisitor>(mut self, visitor: &mut V) -> ZipResult<()>; now fn visit\<V: ZipStreamVisitor>(self, visitor: &mut V) -> ZipResult<()>. [crates.io](https://crates.io/crates/zip/9.0.5)

### zip 9.0.4 breaking changes

zip 9.0.4, released October 16, 2026: 1 breaking change.

- **Signature changed** `zip::read::read_zipfile_from_stream_with_options`  

Was fn read_zipfile_from_stream_with_options<'a, R: Read>(reader: &'a mut R, mut options: ZipReadOptions<'a>) -> ZipResult\<Option\<ZipFile<'a, R>>>; now fn read_zipfile_from_stream_with_options<'a, R: Read>(reader: &'a mut R, options... [crates.io](https://crates.io/crates/zip/9.0.4)

### zip 9.0.3 breaking changes

zip 9.0.3, released October 13, 2026: 1 breaking change.

- **Behavior changed**  

On non-Unix systems, extracted directories now preserve their read-only status from the archive. Code relying on extracted directories always being writable may need adjusting. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.0.3)

### zip 9.0.1 breaking changes

zip 9.0.1, released October 10, 2026: 4 breaking changes.

- **Behavior changed**  

set_permissions no longer follows symlinks when extracting without streaming, so code relying on the old symlink-following behavior must change. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.0.1)
- **Behavior changed**  

Archives that were previously accepted, with an empty central directory whose offset lies past the end-of-central-directory record, now fail to open. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.0.1)

And 2 more in this version.

### zip 9.0.0 breaking changes

zip 9.0.0, released October 9, 2026: 73 breaking changes.

- **Removed**  

Deprecated elements were removed from the package. Code that uses them must be updated. [github.com](https://github.com/zip-rs/zip2/commit/279ebdb02f7f538e22182b352d9d1249aca25b6a)
- **Removed** `*_zip64_comment`  

The deprecated \*\_zip64_comment methods were removed. Code that still calls them will no longer compile. [github.com](https://github.com/zip-rs/zip2/commit/b1a5a381462779d576327f352f7d71619b5e9628)

And 71 more in this version.

### zip 9.0.0-pre3 breaking changes

zip 9.0.0-pre3, released October 9, 2026: 1 breaking change.

- **Signature changed** `zip::read::ZipFile::extra_data`  

The extra_data name was changed to extra_fields. Update code that uses the old name. [crates.io](https://crates.io/crates/zip/9.0.0)

### zip 9.0.0-pre1 breaking changes

zip 9.0.0-pre1, released October 9, 2026: 7 breaking changes.

- **Removed**  

A macro export was removed from the package. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.0.0-pre1)
- **Removed**  

Deprecated elements were removed from the package. Code that uses them must be updated. [github.com](https://github.com/zip-rs/zip2/releases/tag/v9.0.0-pre1)

And 5 more in this version.

### zip 8.6.0 breaking changes

zip 8.6.0, released April 25, 2026: 1 breaking change.

- **Behavior changed** `ZipFlags`  

Code that matches exhaustively on ZipFlags will no longer compile and needs a wildcard arm added. [github.com](https://github.com/zip-rs/zip2/releases/tag/v8.6.0)

### zip 8.5.0 breaking changes

zip 8.5.0, released April 1, 2026: 10 breaking changes.

- **Removed** `zip64 comment`  

The zip64 comment is removed and replaced by the zip64 extensible data sector. Code that uses the zip64 comment must switch to the new sector. [github.com](https://github.com/zip-rs/zip2/releases/tag/v8.5.0)
- **Signature changed** `extra_field`  

The extra_field type changed from Arc\<Vec\<u8>> to Arc<\[u8\]>. Code that names or constructs this type must be updated. [github.com](https://github.com/zip-rs/zip2/releases/tag/v8.5.0)

And 8 more in this version.

### zip 8.4.0 breaking changes

zip 8.4.0, released March 23, 2026: 2 breaking changes.

- **Signature changed** `zip::read::ZipArchive::get_aes_verification_key_and_salt`  

Was fn get_aes_verification_key_and_salt(&mut self, file_number: usize) -> ZipResult\<Option\<AesInfo>>; now fn get_aes_verification_key_and_salt(&mut self, file_number: usize) -> ZipResult\<Option\<crate::aes::AesInfo>>. [crates.io](https://crates.io/crates/zip/8.4.0)
- **Signature changed** `zip::ZipArchive::get_aes_verification_key_and_salt`  

Was fn get_aes_verification_key_and_salt(&mut self, file_number: usize) -> ZipResult\<Option\<AesInfo>>; now fn get_aes_verification_key_and_salt(&mut self, file_number: usize) -> ZipResult\<Option\<crate::aes::AesInfo>>. [crates.io](https://crates.io/crates/zip/8.4.0)

### zip 8.0.0 breaking changes

zip 8.0.0, released February 15, 2026: 4 breaking changes.

- **Removed** `DateTime`  

The deprecated methods of DateTime are removed in this release, so code calling them will no longer compile and must be updated. [github.com](https://github.com/zip-rs/zip2/releases/tag/v8.0.0)
- **Removed** `zip::DateTime::from_time`  

Use DateTime::try_from instead. [crates.io](https://crates.io/crates/zip/8.0.0)

And 2 more in this version.

### zip 7.4.0 breaking changes

zip 7.4.0, released February 6, 2026: 1 breaking change.

- **Configuration changed**  

The minimum supported Rust version is now 1.88, and dependencies were updated. Users on older Rust toolchains must upgrade before building this release. [github.com](https://github.com/zip-rs/zip2/releases/tag/v7.4.0)

### zip 7.3.0 breaking changes

zip 7.3.0, released February 4, 2026: 29 breaking changes.

- **Removed** `zip::extra_fields::test_bad_extended_timestamp`  

zip::extra_fields::test_bad_extended_timestamp was removed in zip 7.3.0 [crates.io](https://crates.io/crates/zip/7.3.0)
- **Behavior changed** `abort_file`  

When abort_file() fails while the non-large-file limit is exceeded, it now returns an error instead of succeeding silently. Callers that ignored its result may now see errors. [github.com](https://github.com/zip-rs/zip2/releases/tag/v7.3.0)

And 27 more in this version.

### zip 7.3.0-pre1 breaking changes

zip 7.3.0-pre1, released February 4, 2026: 1 breaking change.

- **Behavior changed**  

Encrypting files with an empty ZipCrypto password now fails. Decryption with an empty password still works, so callers that encrypt with an empty password must supply a non-empty one. [github.com](https://github.com/zip-rs/zip2/releases/tag/v7.3.0-pre1)

### zip 7.2.0 breaking changes

zip 7.2.0, released January 20, 2026: 2 breaking changes.

- **Default changed**  

Zip files created without an explicit platform now record the local platform rather than always Unix. Code that relies on the old Unix value in archive metadata may see different output. [github.com](https://github.com/zip-rs/zip2/releases/tag/v7.2.0)
- **Signature changed** `zip::read::ZipFile`  

Was struct ZipFile<'a, R: Read>; now struct ZipFile<'a, R: Read + ?Sized>. [crates.io](https://crates.io/crates/zip/7.2.0)

### zip 7.0.0 breaking changes

zip 7.0.0, released December 19, 2025: 7 breaking changes.

- **Removed** `getrandom`  

The getrandom feature flag is removed in this release; code that enables it must drop it or find another way to get that support. [github.com](https://github.com/zip-rs/zip2/releases/tag/v7.0.0)
- **Removed** `hmac`  

The hmac feature flag is removed in this release; code that enables it must drop it or find another way to get that support. [github.com](https://github.com/zip-rs/zip2/releases/tag/v7.0.0)

And 5 more in this version.

### zip 6.0.0 breaking changes

zip 6.0.0, released October 9, 2025: 2 breaking changes.

- **Signature changed** `zip::write::ExtendedFileOptions::add_extra_data`  

Was fn add_extra_data(&mut self, header_id: u16, data: Box<\[u8\]>, central_only: bool) -> ZipResult<()>; now fn add_extra_data\<D: AsRef<\[u8\]>>(&mut self, header_id: u16, data: D, central_only: bool) -> ZipResult<()>. [crates.io](https://crates.io/crates/zip/6.0.0)
- **Signature changed** `zip::write::FileOptions::add_extra_data`  

Was fn add_extra_data(&mut self, header_id: u16, data: Box<\[u8\]>, central_only: bool) -> ZipResult<()>; now fn add_extra_data\<D: AsRef<\[u8\]>>(&mut self, header_id: u16, data: D, central_only: bool) -> ZipResult<()>. [crates.io](https://crates.io/crates/zip/6.0.0)

### zip 4.1.0 breaking changes

zip 4.1.0, released June 15, 2025: 8 breaking changes.

- **Signature changed** `zip::read::ZipArchive::by_index_seek`  

Was fn by_index_seek(&mut self, index: usize) -> ZipResult\<ZipFileSeek\<R>>; now fn by_index_seek(&mut self, index: usize) -> ZipResult\<ZipFileSeek<'\_, R>>. [crates.io](https://crates.io/crates/zip/4.1.0)
- **Signature changed** `zip::read::ZipArchive::by_name`  

Was fn by_name(&mut self, name: &str) -> ZipResult\<ZipFile\<R>>; now fn by_name(&mut self, name: &str) -> ZipResult\<ZipFile<'\_, R>>. [crates.io](https://crates.io/crates/zip/4.1.0)

And 6 more in this version.

### zip 4.0.0 breaking changes

zip 4.0.0, released May 21, 2025: 1 breaking change.

- **Configuration changed**  

Optional dependencies now use dep: syntax, so they no longer create implicit feature flags with the same name. Users who enable those implicit features must declare the features explicitly. [github.com](https://github.com/zip-rs/zip2/commit/89fd4ffd6a75cccccb546d05d98bb9ee7c6aaa1c)

### zip 3.0.0 breaking changes

zip 3.0.0, released May 15, 2025: 1 breaking change.

- **Removed** `deflate-miniz`  

The deprecated deflate-miniz feature flag is gone. Code or Cargo.toml that enables it must switch to another deflate backend feature. [github.com](https://github.com/zip-rs/zip2/releases/tag/v3.0.0)

### zip 2.6.0 breaking changes

zip 2.6.0, released April 3, 2025: 21 breaking changes.

- **Signature changed** `zip::read::read_zipfile_from_stream`  

Was fn read_zipfile_from_stream\<R: Read>(reader: &mut R) -> ZipResult\<Option\<ZipFile<'\_>>>; now fn read_zipfile_from_stream\<R: Read>(reader: &mut R) -> ZipResult\<Option\<ZipFile<'\_, R>>>. [crates.io](https://crates.io/crates/zip/2.6.0)
- **Signature changed** `zip::read::ZipArchive::by_index`  

Was fn by_index(&mut self, file_number: usize) -> ZipResult\<ZipFile<'\_>>; now fn by_index(&mut self, file_number: usize) -> ZipResult\<ZipFile<'\_, R>>. [crates.io](https://crates.io/crates/zip/2.6.0)

And 19 more in this version.

### zip 2.5.0 breaking changes

zip 2.5.0, released March 23, 2025: 2 breaking changes.

- **Signature changed** `zip::result::ZipError::InvalidArchive`  

Was InvalidArchive(&'static str); now InvalidArchive(Cow<'static, str>). [crates.io](https://crates.io/crates/zip/2.5.0)
- **Signature changed** `zip::result::ZipError::Io`  

Was Io(#\[from\] io::Error); now Io(io::Error). [crates.io](https://crates.io/crates/zip/2.5.0)

### zip 1.1.0 breaking changes

zip 1.1.0, released April 20, 2024: 44 breaking changes.

- **Removed** `zip::result::InvalidPassword`  

zip::result::InvalidPassword was removed in zip 1.1.0 [crates.io](https://crates.io/crates/zip/1.1.0)
- **Removed** `zip::write::ZipWriter::end_extra_data`  

zip::write::ZipWriter::end_extra_data was removed in zip 1.1.0 [crates.io](https://crates.io/crates/zip/1.1.0)

And 42 more in this version.

### zip 0.6.0 breaking changes

zip 0.6.0, released March 20, 2022: 7 breaking changes.

- **Signature changed** `zip::DateTime::from_time`  

Was fn from_time(tm: ::time::Tm) -> Result\<DateTime, ()>; now fn from_time(dt: OffsetDateTime) -> Result\<DateTime, ()>. [crates.io](https://crates.io/crates/zip/0.6.0)
- **Signature changed** `zip::DateTime::to_time`  

Was fn to_time(&self) -> ::time::Tm; now fn to_time(&self) -> Result\<OffsetDateTime, ComponentRange>. [crates.io](https://crates.io/crates/zip/0.6.0)

And 5 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
