Repository navigation
Releases
v2.0.0-beta6
SwiftPM and Carthage source builds now report the same release version and build number as the published XCFramework. Releases are published by pushing an annotated tag on a commit that has passed CI. #121
v2.0.0-beta5
Addressed in this beta:
- Fixed concurrent access to the same ZIP from multiple
UZKArchiveinstances. Readers can work together, and writers wait for other reads and writes to finish. (#103) - Preserved ZIP64 archive comments across edits and appends, including on archives with more than 65,535 entries.
Changes to main release:
-
Fixed concurrent access to the same ZIP from multiple
UZKArchiveinstances. Readers can run together and writers have exclusive access through archive close. (Issue #103, PR #120, @abbeycode) -
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)
v2.0.0-beta4
Addressed 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)
v2.0-beta3
Addressed in this beta:
- Removed methods deprecated in v1.9 (Issue #90, PR #92)
- 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)
In this release:
Changes to main release:
- Removed methods deprecated in v1.9 (Issue #90, PR #92)
- 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)
v2.0-beta2
Addressed in this beta:
- Removed methods deprecated in v1.9 (Issue #90, PR #92)
- 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)
In this release:
- Fixed some potential crashing bugs
- Fixed some newer Xcode/Swift warnings
Changes to main release:
- Removed methods deprecated in v1.9 (Issue #90, PR #92)
- 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)
v2.0-beta
- Removed methods deprecated in v1.9 (Issue #90, PR #92)
- 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)
v1.9
- Added support for
NSProgressandNSProgressReportingin all extraction and iteration methods (Issue #32) - Added detailed logging using new unified logging framework. See the readme for more details (Issue #47)
- Added support for archiving and restoring files' POSIX permissions (PRs #84, #86, #87 - Thanks, @MartinLau7!)
- Added methods to check data integrity of an individual archived file, or the entire archive (Issue #63)
- Fixed a crasher in
extractBufferedDataFromFile:error:action:, which also manifested in other methods that use it, likevalidatePassword(Issue #51 - Thanks, @amosavian, @monobono, and @segunlee!) - Upgraded project to Xcode 9 and to the macOS 10.13 and iOS 11 SDKs (Issue #61)
- Consolidated targets so they're shared between iOS and macOS (Issue #62)
- Added a CocoaPods test spec (Issue #59)
- Improved the way warnings are ignored to be more consistent, and so they're only ignored in
minizip, and not the UnzipKit sources (Issue #68)