Skip to content

Releases: zlib-ng/minizip-ng

3.0.8

31 Dec 19:18
Compare
Choose a tag to compare

Fixed symbolic links don't extract on macOS. #620
Search system for GTest before downloading. #654
Check that the whole entry has been read before checking CRC checksum in compat mode. #655
Close any open entry in unzOpenCurrentFile3 in compat mode. #655
Added missing include for FSCTL_GET_REPARSE_POINT on Windows. #656
Add liblzma library directory to pkgconfig. #658
Rewrite test certificates using more modern algorithms. #661
Allow CMake to handle optimization flags.
Disable MZ_SIGNING due to extra test requirements.
Upgrades to GitHub actions workflows.

3.0.7

15 Oct 23:15
Compare
Choose a tag to compare

Fixed generation of minizip.pc with OpenSSL and Iconv. #624
Added unit test for mz_os_get_file_date. #626
Generate test files in binary temp directory. #623
Set default startup project to minizip_cmd when using MZ_BUILD_TESTS.
Fix unused function compiler warning if !HAVE_PKCRYPT. #638
Mention support for ZIP64 on features list. #639
Fix mz_os_open_dir handle leak in low memory situations. #643
Rename libraries directory to third-party.
Fixed writing backslashes in zip on Windows. #644
Fixed GCC build compilation with ctest due to missing zlib.h. #646
Build using libbsd-overlay instead of libbsd. #648
Switch getrandom and arc4random_buf usage order. #651
Perform bitshift when converting POSIX to win32 attributes. #652
Implement Google test framework.
Various CI fixes.

3.0.6

27 Apr 18:20
Compare
Choose a tag to compare

CMakeLists.txt: fix build without C++. #621
Update old references to dev environment.
Added mz_zip_entry_get_compress_stream to get the compression stream for an entry.
Only add OPENSSL_INCLUDE_DIR to include directories if variable is set.
memstream delete -> stream delete. #618
Added build directory to public interface when using compat mode. #588

3.0.5

05 Mar 22:59
Compare
Choose a tag to compare

Link system zlib-ng if available. #574
Generated files unzip.h and zip.h shall be in build directory. #587
Fixed improper null termination in mz_os_get_file_date. #601
Fixed various issues related to setting external ZLIB repository. #603
Fixed buffer overrun in mz_path_combine. #609
Fixed issues related to building for PSP. #610
Fixed improper null termination in mz_zip_writer_open_file. #611
Fixed buffer overrun in mz_dir_make. #611
Default to -ng project suffix when MZ_COMPAT is not enabled.
Change minizip cmake alias name to be consistent.
Added SHA224, SHA384, SHA512 to crypt.

3.0.4

29 Nov 18:08
Compare
Choose a tag to compare

Fixed not writing ZIP64 central directory when number of entries is UINT16_MAX. #596

3.0.3

06 Sep 19:51
Compare
Choose a tag to compare

Use only major project version as soversion. #592
Ensure .pc variables use absolute directories. #584 #590
Replace use of GNU C definitions with standard definitions for non-GNU C comforming compilers when checking if we need to define fixed-width integer types. #585
Fixed OpenSSL crypto for use with BoringSSL. #583
Fixed not recognizing AppleClang for Xcode when building fuzzer executables. #582
Fixed memory leak if mz_zip_writer_add_path fails. #576

3.0.2

09 May 23:49
Compare
Choose a tag to compare

Made cmake _IMPORT_PREFIX relative. #569
Add support for ioapi in compatibility layer. #566
Fix inclusion of fetched bzip2 sources. #562
Disable hash extrafield if crypto library is not enabled by encryption or signing features. #560
Replace _WINDOWS by _WIN32. #475

3.0.1

05 Mar 01:39
Compare
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
Compare
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
Compare
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