Releases: zip-rs/zip2
Releases · zip-rs/zip2
v1.2.0
🚀 Features
- Add method
decompressed_size()
so non-recursive ZIP bombs can be detected
🚜 Refactor
- Make
ZipWriter::finish()
consume theZipWriter
⚙️ 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
v1.1.4
🐛 Bug Fixes
- Rare bug where find_and_parse would give up prematurely on detecting a false end-of-CDR header
v1.1.3
v1.1.2
Added
index_for_name
,index_for_path
,name_for_index
: get the index of a file given its path or vice-versa, without
initializing metadata from the local-file header or needing to mutably borrow theZipArchive
.add_symlink_from_path
,shallow_copy_file_from_path
,deep_copy_file_from_path
,raw_copy_file_to_path
: copy a
file or create a symlink usingAsRef<Path>
arguments
Changed
add_directory_from_path
andstart_file_from_path
are no longer deprecated, and they now normalize..
as well as
.
.