4.8.2
- Swift 5.1 is no longer supported.
- Increased minimum deployment versions for Darwin platforms: macOS from 10.10 to 10.13, iOS from 9.0 to 11.0, tvOS from 9.0 to 11.0, and watchOS from 2.0 to 4.0.
Comment: This is mostly relevant to users who install SWCompression using CocoaPods or Carthage.
- Fixed issues when building for the iOS platform either directly or via Carthage on systems with Xcode 14.
- Fixed potential crashes that could occur during Deflate decompression of truncated inputs.
- swcomp changes:
- swcomp is now enabled by default in the Swift Package Manager manifest.
- Added
-l
,--list
option to container commands (7z
,tar
, andzip
). - Systematized error exit codes and messages.
- Added
-s
,--save
option to thebenchmark
command. - Added
-c
,--compare
option to thebenchmark
command which allows comparison with previously saved results. - Added
-i
,--iteration-count
option to thebenchmark
command. - Added
-W
,--no-warmup
option to thebenchmark
command. - Benchmarks now output standard deviation instead of speed uncertainty.