4.1
This release is focused on separating out the LZ77/DEFLATE implementation from the rest of the library, and making it available for use as a general-purpose data compressor. The package now vends a separate library target, LZ77
, which exposes the DEFLATE implementation.
Currently, only the deflate
wrapper format is supported, although we plan on supporting the gzip
wrapper format in a future release. An example of how to use the new API can be found in the BasicCompression.swift snippet.
While preparing this release, it was discovered that SIMD-accelerated encoding backend was broken on Apple Silicon; a problem that was only uncovered upon upgrading the CI runners to macOS 14. This bug has been fixed in 4.1.