Skip to content

Releases: zip-rs/zip2

v1.2.0

06 May 14:30
026b26b
Compare
Choose a tag to compare

🚀 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

v1.1.4

04 May 16:24
a9482ea
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Rare bug where find_and_parse would give up prematurely on detecting a false end-of-CDR header

v1.1.3

30 Apr 18:16
2156d88
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Alignment was previously handled incorrectly (#33)

🚜 Refactor

  • deprecate deflate-miniz feature since it's now equivalent to deflate (#35)

v1.1.2

28 Apr 17:51
12b988b
Compare
Choose a tag to compare

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 the ZipArchive.
  • 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 using AsRef<Path> arguments

Changed

  • add_directory_from_path and start_file_from_path are no longer deprecated, and they now normalize .. as well as
    ..