Repository navigation
Releases
Releases · RayanceKing/ZIPFoundation
0.9.20
Added
- Added support for file modification date attributes on non-Darwin platforms
- Added code page 437 string decoding for paths on non-Darwin platforms
Updated
- Fixed resource leak in
Archive.makeBackingConfiguration - Fixed memory leak in
Data.readChunk - Fixed memory alignment crash in debug mode
- Fixed API type reason ID in privacy manifest
- Improved error handling in
MemoryFiletype - Improved
StringtoDataconversion to use non-optional API - Improved error handling for
ftellooperations - Improved README examples to use non-deprecated API
- Improved CI configuration and linting
0.9.19
Updated
- Fixed privacy manifest
- Fixed deprecation warning in package manifest
- Fixed resource bundling instruction in the podspec
0.9.18
Added
- Added ability to enforce symlink containment
Updated
- Fixed path escape vulnerability
- Fixed platform requirement warnings
- Improved error info when encountering permission errors
0.9.17
Added
- Added visionOS support
- Added Xcode privacy manifest
- Added throwing initializers for
Archive
Updated
- Improved symlink handling
- Improved forwarding of underlying errors
0.9.16
Added
- Added
isCompressedaccessor toEntry
Updated
- Improved README and documentation
- Fixed deprecation in the random test data generator
0.9.15
Added
- Added initial support for building for Android
Updated
- Fixed CRC32 calculation for non-final compression streams
- Fixed evaluation of CRC32 checksums when using FileManager.unzipItem
0.9.14
Updated
- Fixed missing extra field data after entry removal
0.9.13
Added
- Added large file support (ZIP64)
Updated
- Fixed an
UInt16overflow when calculating the number of entries - Fixed entry removal for in-memory archives
- Fixed a crash when
fopen()fails during archive replacement - Improved CRC32 calculation performance via zlib (when available)
0.9.12
Added
- Added check to disallow removal of entries from readonly archives
- Added guard against API misuse by providing zero byte buffer sizes
Updated
- Fixed an
UInt16overflow when calculating the end of the central directory record - Fixed detection of ZIP version required to extract
- Fixed missing consumer closure call for zero byte entries
- Fixed erroneous application of
.deflatecompression on.symlinkand.directoryentries - Improved detection of
.directoryentries - Improved performance when looking up entries via subscripting
- Improved consistency of URL format used in the Swift package description
0.9.11
Added
- Read/Write support for in-memory archives
Updated
- Fixed a memory safety issue during (de)compression
- Fixed dangling pointer warnings when serializing ZIP internal structs to
Data - Fixed missing Swift 5 language version when integrating via CocoaPods
- Fixed inconsistent usage of the optional
preferredEncodingparameter during entry addition - Improved documentation for compression settings