Skip to content

v2.0.0-beta5

Pre-release
Pre-release

Choose a tag to compare

@abbeycode abbeycode released this 03 Dec 19:02
· 1 commit to master since this release
a885496

Addressed in this beta:

  • Fixed concurrent access to the same ZIP from multiple UZKArchive instances. 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 UZKArchive instances. 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.

  • 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 new ZipFileProperties. 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)