---
title: "github.com/tsolomko/swcompression 4.0.0 Breaking Changes"
description: "What each github.com/tsolomko/swcompression release removed, renamed or changed: 46 breaking changes in 6 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/tsolomko/swcompression
last_updated: 2026-12-04
---

# 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

Latest version `4.9.1`, released June 13, 2026. [Source repository](https://github.com/tsolomko/SWCompression)

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 32 breaking changes in 2 versions.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 44 breaking changes in 5 versions.

## github.com/tsolomko/swcompression 4.0.0 breaking changes

github.com/tsolomko/swcompression 4.0.0: 24 breaking changes.

- **Removed** `ContainerEntry.entryAttributes`  

ContainerEntry.entryAttributes is removed without replacement. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `GzipHeader.CompressionMethod`  

GzipHeader.CompressionMethod is removed in favor of the common CompressionMethod type. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `GzipHeader.FileSystemType`  

GzipHeader.FileSystemType is removed in favor of the common FileSystemType type. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `SevenZipEntry`  

SevenZipEntry now has only two members, info and data; its other members are removed. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `SevenZipEntryInfo.isDirectory`  

SevenZipEntryInfo.isDirectory is removed; use the type property instead. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `TarEntry`  

TarEntry now has only two members, info and data; its other members are removed. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `TarEntry.EntryType`  

TarEntry.EntryType is removed in favor of ContainerEntryType. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `TarError.notAsciiString`  

TarError.notAsciiString is removed; TarError.wrongField is thrown instead. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `TarError.wrongUstarVersion`  

The TarError.wrongUstarVersion error case is removed. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `XZError.wrongFieldValue`  

XZError.wrongFieldValue is removed; XZError.wrongField is thrown instead. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Removed** `ZipEntry`  

ZipEntry now has only two members, info and data; its other members are removed. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Renamed** `BZip2Error.wrongCompressionMethod`  

BZip2Error.wrongCompressionMethod is renamed to BZip2Error.wrongVersion. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Renamed** `TarError.fieldIsNotNumber`  

TarError.fieldIsNotNumber is renamed to TarError.wrongField. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Renamed** `XZArchive.multiUnarchive`  

XZArchive.multiUnarchive is renamed to XZArchive.splitUnarchive. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Renamed** `XZError.reservedFieldValue`  

XZError.reservedFieldValue is renamed to XZError.wrongField. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **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](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **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](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Behavior changed** `GzipArchive.multiUnarchive`  

Errors with names like wrongCRC now include all successfully unpacked data, and some use arrays for split data. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Behavior changed** `XZArchive.splitUnarchive`  

Errors with names like wrongCRC now include all successfully unpacked data, and some use arrays for split data. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Behavior changed** `XZArchive.unarchive`  

XZArchive.unarchive processes all XZ streams like splitUnarchive but combines them into one Data output. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Behavior changed** `ZipContainer.open`  

Errors with names like wrongCRC now include all successfully unpacked data, and some use arrays for split data. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **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](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **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](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)
- **Signature changed** `SevenZipEntryInfo.name`  

SevenZipEntryInfo.name is no longer Optional; entries get empty strings when no names are found. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0)

## github.com/tsolomko/swcompression 4.0.0-test.2 breaking changes

github.com/tsolomko/swcompression 4.0.0-test.2: 8 breaking changes.

- **Removed** `LZMA2Error.wrongProperties`  

LZMA2Error.wrongProperties is removed; LZMA2Error.wrongDictionarySize is thrown instead. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0-test.2)
- **Removed** `LZMAError.decoderIsNotInitialised`  

The LZMAError.decoderIsNotInitialised error case is removed. Code that matches on it must be updated. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0-test.2)
- **Removed** `SevenZipError.dataIsUnavailable`  

The SevenZipError.dataIsUnavailable error case is removed. Code that matches on it must be updated. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0-test.2)
- **Renamed** `BZip2Error.wrongHuffmanLengthCode`  

BZip2Error.wrongHuffmanLengthCode is renamed to BZip2Error.wrongHuffmanCodeLength. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0-test.2)
- **Signature changed** `ContainerEntryInfo.name`  

ContainerEntryInfo.name is no longer Optional and 7-Zip now throws internalStructureError when it cannot process file names. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0-test.2)
- **Signature changed** `FileSystemType`  

Various FileSystemType variables are no longer Optional and use the .other value where they were nil before. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0-test.2)
- **Signature changed** `TarEntryInfo.linkName`  

TarEntryInfo.linkName is no longer Optional, so code handling nil must change. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0-test.2)
- **Signature changed** `ZlibHeader.compressionMethod`  

ZlibHeader.compressionMethod now uses the common CompressionMethod enum instead of its own type. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v4.0.0-test.2)

## github.com/tsolomko/swcompression 3.0.0 breaking changes

github.com/tsolomko/swcompression 3.0.0: 9 breaking changes.

- **Removed**  

Entry data is no longer read through the ZipContainer function; call ZipEntry.data() instead. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)
- **Renamed**  

All errors were renamed to lowerCamelCase, so code matching error cases must use the new names. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)
- **Renamed** `GzipHeader.originalFileName`  

Use GzipHeader.fileName in place of the old originalFileName property. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)
- **Behavior changed**  

BZip2 decompression checks the CRC32 checksum and throws an error with the decompressed data when it fails. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)
- **Behavior changed** `unarchive`  

Unarchiving a multi-member GZip archive now yields only the first member instead of all data concatenated. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)
- **Configuration changed**  

With CocoaPods, LZMA and BZip2 ZIP support is enabled only when the matching subspecs are installed. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)
- **Signature changed**  

Most methods have shorter argument labels, so calls using the old labels must be updated. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)
- **Signature changed** `GzipHeader.modificationTime`  

The modification time is now optional; nil means no modification time was set in the archive. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)
- **Signature changed** `ZipError.wrongCRC32`  

The associated value of wrongCRC32 now contains the entry's data, so pattern matches must account for it. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0)

## github.com/tsolomko/swcompression 3.0.0-test2 breaking changes

github.com/tsolomko/swcompression 3.0.0-test2: 1 breaking change.

- **Renamed**  

Error names were changed to lowerCamelCase, so code matching specific error cases must use the new names. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0-test2)

## github.com/tsolomko/swcompression 3.0.0-test1 breaking changes

github.com/tsolomko/swcompression 3.0.0-test1: 2 breaking changes.

- **Behavior changed**  

BZip2 decompression verifies the CRC32 checksum and throws an error when it does not match. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0-test1)
- **Signature changed** `GZipHeader.modificationTime`  

The modification time is now an optional value, so code reading it must handle nil. [github.com](https://github.com/tsolomko/SWCompression/releases/tag/v3.0.0-test1)

## github.com/tsolomko/swcompression 2.0.0 breaking changes

github.com/tsolomko/swcompression 2.0.0: 2 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](https://github.com/tsolomko/SWCompression/releases/tag/v2.0.0)
- **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](https://github.com/tsolomko/SWCompression/releases/tag/v2.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
