Repository navigation
v2.0.0-beta4
Pre-releaseAddressed in this beta:
- Added Swift Package Manager support for macOS 12 and iOS 15 or later.
- Added a specific error for archives that use unsupported AES compression.
Changes to main release:
-
Added native visionOS 1.0+ support for creating and extracting ZIP archives with the Xcode project, Swift package, and Carthage XCFramework. The XCFramework includes both device and simulator slices. (PR #118, @abbeycode)
-
Added an Apple privacy manifest to the Swift package and Carthage framework. (UnrarKit issue #114)
-
Entries written with a trailing slash are recognized as directories and can be deleted, recreated, or overwritten without duplicating them (Issue #55).
-
Reading an encrypted entry without a password now reports an invalid-password error consistently. Password validation uses an encrypted entry in archives that also contain unencrypted files.
-
CircleCI groups tests into macOS, iOS, and visionOS jobs, followed by one Carthage and SwiftPM validation job. It reports XCTest results and can rerun failed test classes for the macOS, iOS, and demo suites.
-
Added Fast, Complete, and Rigorous Xcode test plans. CircleCI runs the full suite both normally and under the Rigorous memory and thread diagnostics on macOS and the iOS simulator.
-
Added Swift Package Manager support. CircleCI validates SwiftPM and Carthage on macOS and iOS. The library requires macOS 12 or iOS 15 or later.
-
Removed CocoaPods support. Apps that used the pod can install UnzipKit through Swift Package Manager or Carthage.
-
Fixed behavior of
-extractFilesTo:overwrite:error:, so it shows the progress of each individual file as they extract (Issue #91, PR #94) -
Deprecated the initializers that take a file path instead of an
NSURL(Issue #90, PR #95) -
Fixed a crasher for unreadable files in
+pathIsAZip:(Issue #99) -
Deprecated all overloads of
-writeData:...and-writeIntoBuffer:...that take any file properties other than the path, replacing them each with a single call that takes an instance of the newZipFileProperties. This allows for all the default values to be defined in one place, so you can specify only where you want to deviate from the defaults (Issue #89, PR #97) -
Fixed buffer overrun vulnerability when deleting a file in an archive where not every file has a file comment (Issue #106)
-
Fixed deallocated pointer use when a file write occurs inside the block of a file write operation, already an error condition (Issue #107)
-
Added error code to report when an archive was compressed using AES, which is not yet supported (Issue #110, PR #113)