Releases: zlib-ng/minizip-ng
4.0.0
Breaking Changes
- Functions ending in
_create(
will no longer accept a first parameter. This forces a single way to get a pointer to new object and is more likely to result in a check of its value. - Removing signing features. It is too difficult to maintain across platforms and maintain in continuous integration environments. Anybody who still needs such functionality can stick with an older 3.x version.
- Removing SHA224 support for Windows as part of the cryptographic functions since Windows does not support it natively.
- Added support for different AES modes. Some AES parameters and function names have changed.
Full Changelog: 3.0.10...4.0.0
3.0.10
What's Changed
- CMake: set newer POSIX_C_SOURCE by @thesamesam in #682
- Use POSIX implementation if platform is not Windows by @lawadr in #684
- Fix MZ_FETCH_LIBS option for non-WIN32 systems by @lawadr in #686
- Add test for CLOCK_MONOTONIC support by @lawadr in #683
Full Changelog: 3.0.9...3.0.10
3.0.9
What's Changed
- Fix private linking of LibLZMA by @p2004a in #667
- Fixed split disk archives being created with 0 bytes. #669
- Fix passed AES crypt test if native encrypt/decrypt functions fail by @sergio-nsk in #672
- Fix odd length key buffer overrun in mz_crypt_hmac_init() by @sergio-nsk in #673
- Encryption support on UWP by @sergio-nsk in #674
- Add NUL terminator to linkname by @jonathan-conder-sm in #679
- Create parent directory before extracting symlink by @jonathan-conder-sm in #677
- Fixed incorrect handling of long odd length passwords by @bajamircea in #681
- Removed MZ_CUSTOM_ALLOC, MZ_CUSTOM_FREE, and MZ_WINRT_API.
- Fixed typo in VS_STARTUP_PROJECT cmake setting.
New Contributors
- @p2004a made their first contribution in #667
- @jonathan-conder-sm made their first contribution in #679
- @bajamircea made their first contribution in #681
Full Changelog: 3.0.8...3.0.9
3.0.8
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
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
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
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
3.0.3
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