NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
crates.io, #410 most downloaded on crates.io
Library to support the reading and writing of zip files.
Latest stable
9.8.1
Last release 2 days ago
20 Nov 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
17 versions withdrawn
withdrawn after publishing
12 years old
159 releases Β· first in 2014
Drag across the ruler to compare, or tap a release to open it.
file-header length check in central directory neglected file comment, and in local header was too stringent by one byte
Add zstd-rs feature, which enables zstd support on more architectures via zstd/rust-backend (new in zstd 0.14.4)
Your coding agent can read these notes before it upgrades. Set up the MCP server β
(extract) normalize stat.st_mode to libc::mode_t for 32-bit Android
(write) write ExtendedTimestamp access and creation times only to local headers
(write) preserve extended modification timestamps in raw copies
expose safe fixed-header parse methods
extended timestamp in central header refers to the local header
(extra_fields) add type-safe constructors and FileOptions builders for ExtendedTimestamp and NTFS
(write) raw_copy_file corrupted ZipCrypto metadata
π Features ExtractOptions root_dir filter
ExtractOptions root_dir filter (#1279)Replace std::num and std::cmp with core::num and core::cmp
Add a OwnedZipFileEntry for #177
OwnedZipFileEntry for #177 (#1270)Implement ZipIterable::files_with_reader
(write) implement TryFrom for PreparedZipFile
(ci) resolve typos false-positive, fix upath smuggling test, and add Turkish tests
Eliminate the use of SwitchWriterFunction (a Box<dyn FnOnce<_>>)
Box<dyn FnOnce<_>> when starting and finishing an entry (#1235)Eliminate the use of SwitchWriterFunction (a Box<dyn FnOnce<_>>)
*(write)* add parallel compression and batch appending for ZipWriter with Rayon
ZipIterable, an iterable ZIP reader that doesn't store the archive directory in memory (#1218)by_name().get_metadata() and by_index().get_metadata() now succeed even when compression method is unsupported (#1228)*(extra_fields)* support 0xd935 Android ZIP alignment extra field
chore: release v9.1.2
chore: release v9.1.2 (#1176)
store the raw count instead of a bool
*(read)* enforce header consistency on extract_with_options and expose duplicate name detection
inner method to reader wrappers (#1050)use mode_t for fchmodat's mode, which is u32 on NetBSD and OpenBSD
enclosed_name rejects a separator inside one verbatim path component
Preserve directories' read-only status when extracting on non-Unix systems
doc: Manually update CHANGELOG for 9.0.2
doc: Manually update CHANGELOG for 9.0.2
set_permissions was still following symlinks in non-streaming extraction
add ZipFileBuilder for parallelizing compression
by_index_with_data_descriptor (#994)ZipWriter::hide_file for in-place entry deletion (#924)aes_mode to aes_settings() in ZipFileData (#925)ZipFileFlags to wrap flags (#947)crate::format with zip::unstable::format (#944)format/functions.rs (#943)make_reader() function (#936)initialize_local_block (#934)write/options.rs (#931)add example for memory allocation
external attributes (#851)move types to zip format folder
[breaking] remove deprecated method *_zip64_comment methods
add compression not supported as enum error
change magic finder to stack buffer
remove zip64 comment and add zip64 extensible data sector
add a check for building benches
update tests to add big endian miri check
improve and fix extended timestamp extra field parsing
src/read/stream.rs (#731)zeroize_derive (#720)Support compressing bzip2 when feature bzip2-rs is enabled, since bzip2/bzip2-sys now supports it
bzip2-rs is enabled, since bzip2/bzip2-sys now supports it (#685)*(writer)* Allow getting underlying writer of ZipWriter
[breaking] Remove deprecated methods of DateTime
Increase MSRV to 1.88 and update dependencies
cleanup the benchs and Cargo.toml
unreserved and make the mapping of extra fields public (#616)Reject empty ZipCrypto password when encrypting files (can still be used when decrypting)
add read_zipfile_from_stream_with_compressed_size
display the underlying error in Display impl for ZipError::Display
ZipArchive without reparsing (#485)getrandom dependency (#504)lzma-rust2 to at least 0.15.5 (#491)Removed lzma-static and xz-static feature flags, which were deprecated synonyms of lzma and xz. (#405, #425)
getrandom, hmac, pbkdf2, sha1, zeroize.lzma-static and xz-static feature flags, which were deprecated synonyms of lzma and xz. (#405, #425)SimpleFileOptions) const DEFAULT implementation (#474)set_auto_large_file() method to enable large-file data descriptor when necessary (#468)lzma-static and xz-static feature flags, which are deprecated synonyms of lzma and xz. (#405, #425)panic when reading empty extended-timestamp field
FileOptions::add_extra_data is now generic and accepts any AsRef<[u8]>. (#435)panic when reading empty extended-timestamp field
Add legacy shrink/reduce/implode compression
AES metadata was not copied correctly in raw copy methods, which could corrupt the copied file.
Implement by_path*() methods on ZipArchive
Fixes an issue introduced by the swap from lzma-rs to liblzma
lzma-rs to liblzma (#407)Allow to read zip files with unsupported extended timestamps
Allow reading ZIP files where the central directory comes *before* the files
Move deprecated annotations to fix a Clippy warning
### <!-- 0 -->π Features - Add support for PPMd
### <!-- 0 -->π Features - Write ZIP file to stream
Add has_overlapping_files method
Allow extraction of Zip64 where "Version needed to extract" is higher than "Version made by"
[breaking] Drop deprecated deflate-miniz feature flag
One column per quarter.