Skip to content

Releases: zlib-ng/minizip-ng

3.0.1

05 Mar 01:39

Choose a tag to compare

Fixed CMake minimum required version.
Fixed CMake find_package not working if lib is install in custom location.
Added CMake alias target for consistence between find_package, FetchContent, ExternalProject.
Changes to CMake config to respect MZ_PROJECT_SUFFIX.
Improved CMake ZStd detection.
Fixed signed/unsigned comparison warning in MSVC.
Fixed ASAN integer-overflow if cd_offset + cd_size > INT64_MAX.

3.0.0

24 Jan 01:01

Choose a tag to compare

Updated name of project to minizip-ng.
Added append argument to mz_zip_writer_open function. #544
Remove BRG dependency:

  • WinZip AES encryption will now require OpenSSL on Linux.
  • PKWARE traditional encryption will still be supported without it.
  • On macOS and Windows, system crypto libraries will be used. #545

2.10.6

29 Dec 21:25

Choose a tag to compare

Use COMPRESSION_ZLIB when compiling against Apple's libCompression. #478
Fixed ZSTD still being fetched when MZ_FETCH_LIBS is OFF. #539
Exposed function to seek to local header mz_zip_entry_seek_local_header.
Added max_seek parameter to mz_zip_extrafield_find to limit the amount we search for extrafield. #543
Always store compressed and uncompressed sizes in zip64 extension. #543
Update zip64 extension size values if not using data descriptor. #543
Don't use zip64 for local header directory entries. #543

2.10.5

13 Dec 23:38

Choose a tag to compare

Fixed pk_verify not being set when writing encrypted entries.
Silent message about BZip2 not being found from find_package.
Add MZ_FETCH_LIBS and MZ_FORCE_FETCH_LIBS options to enable/disable fetching of third-party libraries. #539
Fix simple typo in docs

2.10.4

07 Dec 00:37

Choose a tag to compare

Fixed unzGetCurrentFileInfo compat function when pfile_info is NULL. #536
Fixed bugs compiling with MZ_WINRT_API. #534
Added MZ_ICONV to cmake to allow user to explicitely disable iconv. #533
Fixed zconf.h not found in out-of-source-tree builds. #532
Fixed potential null dereference in reader/writer create functions. #531
Fixed compiling with libressl 2.7.0 and above. #530
Fixed mismatching NTFS date/time causing decryption failure. #527

2.10.3

09 Nov 00:08

Choose a tag to compare

Several fixes to compatibility layer. #529.
Added XZ archive to unzip fuzz corpus.
Only run libbsd check when MZ_BRG is enabled.
Include all libraries in release.

2.10.2

25 Oct 22:59

Choose a tag to compare

Added support for XZ format with liblzma and libcompression.
Added support for using unmodified verison of liblzma.
Fetch third-party libraries from official git repositories if not available on the system.
Set aes option when creating archive in minizip. #525
Add support for third-party library directories for libzstd on macOS. #509
Added missing extrafield doc.
Simplified cmake project.

2.10.1

11 Oct 20:09

Choose a tag to compare

Fixed HMAC bug on Windows when key size is 1. #523
Remove usage of lseek64 on Android < 21, instead use MZ_FILE32_API.
Fixed infinite loop when recovering a zip entry with local file header containing data descriptor.
Added support for setting recover option in mz_zip_reader before opening the file.
Remove minizipConfig.cmake.in after it is no longer needed.
Fixed build uses with inttypes.h on GCC 4.8. #515
Fixed error message fetching zstd. #512

2.10.0

25 Jun 17:21

Choose a tag to compare

Don't link Apple's Security framework when no crypt feature #505
Added support for Zstd compression #498
Fixed TOC links don't work in API docs #496
Removed unused -j command line param #495
Allow libbsd to be explicitly disabled #494
Added more docs about mz_zip_file fields. #492
Use lseek64 on Android < 21 #489
Use __has_include in mz header. #484
Use pkg-config to find openssl.
Use FetchContent instead of ExternalProject in cmake.
Turn off _FILE_OFFSET_BITS by default.
Added support for setting MZ_FILE32_API from cmake.
Only set library prefix when using MSVC. #483
Move warning about limited encoding support to cmake. #481
Changed formatting to use same bracing as zlib

2.9.3

21 May 14:37

Choose a tag to compare

Removed _cmd suffix from the minigzip and minizip targets. #451
Added MZ_PROJECT_SUFFIX option to cmake. #452
Added CIFuzz action. #453
Fixed ZIP64 files containing more than 64k entries only report 64k entries. #460
Fixed unzOpen2_64() when it fails keeps file handle open. #461
Fixed compilation when iconv is not supported on platform. #463
Fixed return value description for mz_zip_reader_entry_read in docs. #465
Added documentation for mz_zip_set_data_descriptor.
Added backwards compatibility shim for iCaseSenitivity param in unzLocateFile for original minizip.
Set version in CMake project() and make version config. #470
Allow CMake to use minizip as a subproject with add_subdirectory. #472
Fixed bug in local comment not being written with compatibility layer.
Added compatibility layer unit tests.
Removed Cocoapods spec