GzipSwift/CHANGELOG.md

2.8 KiB

Change Log

6.0.1

Changes

  • Add Sendable to GzipError and CompressionLevel.

6.0.0

New

  • Support decompression for combined compression.
  • Add wBits optional parameter to gzipped(level:) and .gunzipped() to support managing the size of the history buffer.

Changes

  • Remove support for CocoaPods and Carthage.
  • Update minimum Swift version to 5.4.
  • Break immediately when inflate exactly reaches the end of the buffer.

5.2.0

Changes

  • Enable “build library for distribution” flag.

5.1.1

Fixes

  • Fix CocoaPods distribution.

5.1.0

Fixes

  • Fix chunk size.

5.0.0

Changes

  • Update for Swift 5.0

4.1.0

Changes

  • Support Bitcode.
  • Update for Swift 4.2.
  • Conform GzipError to Equatable.

4.0.4

Fixes

  • Fix CocoaPods distribution.

4.0.3

Fixes

  • Fix running on Linux.
  • Fix a runtime crash with Xcode 9.1.

4.0.2

Fixes

  • Fix disabling code coverage support.

4.0.1

Changes

  • Disable code coverage test.

4.0.0

No change since 4.0.0-beta.2.

4.0.0-beta.2

Changes

  • Make CompressionLevel struct.
  • Make GzipError struct.

4.0.0-beta

Changes

  • Update project for Xcode 9.

3.1.4

Fixes

  • Fix a possible error on watchOS and tvOS.

3.1.3

Changes

  • Update Xcode to 8.2.

3.1.2

New

  • Support CocoaPods.

3.1.1

Fixes

  • Fix the Swift Package Manager support.

3.1.0

New

  • Support the Swift Package Manager.

3.0.1

Changes

  • Update Swift to 3.0.1.

3.0.0

Changes

  • Migrate code to Swift 3.0
  • Become framework.
  • Support watchOS and tvOS
  • Rename from "NSData+GZIP" to "Data+Gzip"
  • Add level option to gzipped() method.
  • Add isGzipped property (readonly).

2.0.0

Changes

  • Migrate code to Swift 2.0
  • Change to throw error instead returning nil.
  • Use Modulemap for zlib instead of Bridging-Header.h (see README for how to install).

1.1.0

Changes

  • Change to return just an empty NSData instead of nil if given data is empty
  • Log error message if compression/decompression is failed.
    • [Note] This is a temporaly improvement. I'll migrate functions to throw NSError when Swift 2.0 becomes stable. -> Done.