github.com/tsolomko/swcompression breaking changes
github.com/tsolomko/swcompression 4.0.0 is its newest release with breaking changes, 24 of them. The first: Removed ContainerEntry.entryAttributes. Every breaking API change we have recorded in github.com/tsolomko/swcompression on Swift Package Index: 46 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.9.1, released June 13, 2026. Source repository
- From 3.0.0 to 4.0.0: 32 breaking changes in 2 versions.
- From 2.0.0 to 4.0.0: 44 breaking changes in 5 versions.
github.com/tsolomko/swcompression 4.0.0 breaking changes
- Removed
ContainerEntry.entryAttributes
ContainerEntry.entryAttributes is removed without replacement. github.com - Removed
GzipHeader.CompressionMethod
GzipHeader.CompressionMethod is removed in favor of the common CompressionMethod type. github.com - Removed
GzipHeader.FileSystemType
GzipHeader.FileSystemType is removed in favor of the common FileSystemType type. github.com - Removed
SevenZipEntry
SevenZipEntry now has only two members, info and data; its other members are removed. github.com - Removed
SevenZipEntryInfo.isDirectory
SevenZipEntryInfo.isDirectory is removed; use the type property instead. github.com - Removed
TarEntry
TarEntry now has only two members, info and data; its other members are removed. github.com - Removed
TarEntry.EntryType
TarEntry.EntryType is removed in favor of ContainerEntryType. github.com - Removed
TarError.notAsciiString
TarError.notAsciiString is removed; TarError.wrongField is thrown instead. github.com - Removed
TarError.wrongUstarVersion
The TarError.wrongUstarVersion error case is removed. github.com - Removed
XZError.wrongFieldValue
XZError.wrongFieldValue is removed; XZError.wrongField is thrown instead. github.com - Removed
ZipEntry
ZipEntry now has only two members, info and data; its other members are removed. github.com - Renamed
BZip2Error.wrongCompressionMethod
BZip2Error.wrongCompressionMethod is renamed to BZip2Error.wrongVersion. github.com - Renamed
TarError.fieldIsNotNumber
TarError.fieldIsNotNumber is renamed to TarError.wrongField. github.com - Renamed
XZArchive.multiUnarchive
XZArchive.multiUnarchive is renamed to XZArchive.splitUnarchive. github.com - Renamed
XZError.reservedFieldValue
XZError.reservedFieldValue is renamed to XZError.wrongField. github.com - Behavior changed
BZip2.decompress
Errors with names like wrongCRC now include all successfully unpacked data in their associated values, including the data that caused the checksum error. github.com - Behavior changed
ContainerEntry.data
ContainerEntry.data is nil for directories, for unavailable data without a thrown error, and for 7-Zip anti-files. github.com - Behavior changed
GzipArchive.multiUnarchive
Errors with names like wrongCRC now include all successfully unpacked data, and some use arrays for split data. github.com - Behavior changed
XZArchive.splitUnarchive
Errors with names like wrongCRC now include all successfully unpacked data, and some use arrays for split data. github.com - Behavior changed
XZArchive.unarchive
XZArchive.unarchive processes all XZ streams like splitUnarchive but combines them into one Data output. github.com - Behavior changed
ZipContainer.open
Errors with names like wrongCRC now include all successfully unpacked data, and some use arrays for split data. github.com - Signature changed
ContainerEntry.data
Entry data is read through a constant property rather than a function, so ZIP containers can no longer be unpacked asynchronously. github.com - Signature changed
open
The open function returns an array of the container's associated Entry type, so casts to specific entry types are no longer needed. github.com - Signature changed
SevenZipEntryInfo.name
SevenZipEntryInfo.name is no longer Optional; entries get empty strings when no names are found. github.com
github.com/tsolomko/swcompression 4.0.0-test.2 breaking changes
- Removed
LZMA2Error.wrongProperties
LZMA2Error.wrongProperties is removed; LZMA2Error.wrongDictionarySize is thrown instead. github.com - Removed
LZMAError.decoderIsNotInitialised
The LZMAError.decoderIsNotInitialised error case is removed. Code that matches on it must be updated. github.com - Removed
SevenZipError.dataIsUnavailable
The SevenZipError.dataIsUnavailable error case is removed. Code that matches on it must be updated. github.com - Renamed
BZip2Error.wrongHuffmanLengthCode
BZip2Error.wrongHuffmanLengthCode is renamed to BZip2Error.wrongHuffmanCodeLength. github.com - Signature changed
ContainerEntryInfo.name
ContainerEntryInfo.name is no longer Optional and 7-Zip now throws internalStructureError when it cannot process file names. github.com - Signature changed
FileSystemType
Various FileSystemType variables are no longer Optional and use the .other value where they were nil before. github.com - Signature changed
TarEntryInfo.linkName
TarEntryInfo.linkName is no longer Optional, so code handling nil must change. github.com - Signature changed
ZlibHeader.compressionMethod
ZlibHeader.compressionMethod now uses the common CompressionMethod enum instead of its own type. github.com
github.com/tsolomko/swcompression 3.0.0 breaking changes
- Removed
Entry data is no longer read through the ZipContainer function; call ZipEntry.data() instead. github.com - Renamed
All errors were renamed to lowerCamelCase, so code matching error cases must use the new names. github.com - Renamed
GzipHeader.originalFileName
Use GzipHeader.fileName in place of the old originalFileName property. github.com - Behavior changed
BZip2 decompression checks the CRC32 checksum and throws an error with the decompressed data when it fails. github.com - Behavior changed
unarchive
Unarchiving a multi-member GZip archive now yields only the first member instead of all data concatenated. github.com - Configuration changed
With CocoaPods, LZMA and BZip2 ZIP support is enabled only when the matching subspecs are installed. github.com - Signature changed
Most methods have shorter argument labels, so calls using the old labels must be updated. github.com - Signature changed
GzipHeader.modificationTime
The modification time is now optional; nil means no modification time was set in the archive. github.com - Signature changed
ZipError.wrongCRC32
The associated value of wrongCRC32 now contains the entry's data, so pattern matches must account for it. github.com
github.com/tsolomko/swcompression 3.0.0-test2 breaking changes
- Renamed
Error names were changed to lowerCamelCase, so code matching specific error cases must use the new names. github.com
github.com/tsolomko/swcompression 3.0.0-test1 breaking changes
- Behavior changed
BZip2 decompression verifies the CRC32 checksum and throws an error when it does not match. github.com - Signature changed
GZipHeader.modificationTime
The modification time is now an optional value, so code reading it must handle nil. github.com
github.com/tsolomko/swcompression 2.0.0 breaking changes
- Removed
HuffmanTableError
DeflateError now has a few more specific cases instead of HuffmanTableError, so code matching on HuffmanTableError must be updated. github.com - Behavior changed
GZip and Zlib decompression now calculates the checksum of unarchived data and throws a new error if it differs from the stored one, so code that previously succeeded may now throw; the data is returned as the error's associated value. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.