August 23, 2023
- Add
ZIP_LENGTH_TO_END
and ZIP_LENGTH_UNCHECKED
. Unless ZIP_LENGTH_UNCHECKED
is used as length
, it is an error for a file to shrink between the time when the source is created and when its data is read.
- Fix test on Windows.
Download release:
June 23, 2023
- Make support for layered sources public.
- Add
zip_source_zip_file
and zip_source_zip_file_create
, deprecate zip_source_zip
and zip_source_zip_create
.
- Allow reading changed file data.
- Fix handling of files of size 4294967295.
zipmerge
: copy extra fields.
zipmerge
: add option to keep files uncompressed.
- Switch test framework to use nihtest instead of Perl.
- Fix reading/writing compressed data with buffers > 4GiB.
- Restore support for torrentzip.
- Add warnings when using deprecated functions.
- Allow keeping files for empty archives.
- Support mbedTLS>=3.3.0.
- Support OpenSSL 3.
- Use ISO C secure library functions, if available.
Download release:
June 28, 2022
- Fix version number in header file.
Download release:
June 28, 2022
- Fix
zip_file_is_seekable()
.
Download release:
June 13, 2022
- Add
zip_file_is_seekable()
.
- Improve compatibility with WinAES.
- Fix encoding handling in
zip_name_locate()
.
- Add option to
zipcmp
to output summary of changes.
- Various bug fixes and documentation improvements.
Download release:
June 18, 2021
- Add support for zstd (Zstandard) compression.
- Add support for lzma (ID 14) compression.
- Add
zip_source_window_create()
.
- Add
zip_source_zip_create()
variant to zip_source_zip()
.
- Allow method specific
comp_flags
in zip_set_file_compression()
.
- Allow
zip_source_tell()
on sources that don’t support seeking and zip_ftell()
on compressed data.
- Provide more details for consistency check errors.
- Improve output of
zipcmp
.
- In
zipcmp
, don’t ignore empty directories when comparing directory listing.
- Treat empty string as no password given in
zip_file_set_encryption()
, zip_fopen_encrypted()
, and zip_set_default_password()
.
Download release:
July 15, 2020
- Support cmake < 3.17 again.
- Fix pkgconfig file (regression in 1.7.2).
Download release:
July 11, 2020
- Fixes for the CMake find_project() files.
- libzip moved to the CMake libzip:: NAMESPACE.
- CMake usage best practice cleanups.
Download release:
June 13, 2020
- Restore
LIBZIP_VERSION_{MAJOR,MINOR,MICRO}
symbols.
- Fixes warnings reported by PVS-Studio.
- Add
LIBZIP_DO_INSTALL
build setting to make it easier to use libzip as subproject.
Download release:
June 5, 2020
- Add support for encrypting using traditional PKWare encryption.
- Add
zip_compression_method_supported()
.
- Add
zip_encryption_method_supported()
.
- Add the
ZIP_SOURCE_GET_FILE_ATTRIBUTES
source command.
- Refactor stdio file backend.
- Add CMake find_project() support.
Download release:
February 3, 2020
- Bugfix for double-free in zipcmp(1) during cleanup.
Download release:
January 24, 2020
- Avoid using umask() since it’s not thread-safe.
- Set close-on-exec flag when opening files.
- Do not accept empty files as valid zip archives any longer.
- Add support for XZ compressed files (using liblzma).
- Add support for cancelling while closing zip archives.
- Add support for setting the time in the on-disk format.
Download release:
March 12, 2019
- Fix bug in AES encryption affecting certain file sizes
- Keep file permissions when modifying zip archives
- Support systems with small stack size.
- Support mbed TLS as crypto backend.
- Add nullability annotations.
Download release:
April 11, 2018
- Choose format of installed documentation based on available tools.
- Fix visibility of symbols.
- Fix zipcmp directory support.
- Don’t set RPATH on Linux.
- Use Libs.private for link dependencies in pkg-config file.
- Fix build with LibreSSL.
- Various bugfixes.
Download release:
March 11, 2018
- Use standard cryptographic library instead of custom AES implementation.
This also simplifies the license.
- Use
clang-format
to format the source code.
- More Windows improvements.
Download release: