diff --git a/.jazzy.yaml b/.jazzy.yaml index ead4a9bd..f556b310 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -3,11 +3,11 @@ sourcekitten_sourcefile: docs.json clean: false author: Timofey Solomko module: SWCompression -module_version: 4.8.2 +module_version: 4.8.3 copyright: '© 2022 Timofey Solomko' readme: README.md github_url: https://github.com/tsolomko/SWCompression -github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.8.2 +github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.8.3 theme: fullwidth custom_categories: diff --git a/CHANGELOG.md b/CHANGELOG.md index 015b1914..1245227a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 4.8.3 + +- There are now minimum deployment targets specified in Swift Package Manager manifest. +- The properties of `GzipHeader` are now `var`-properties (instead of `let`). +- GZip extra fields are now supported. + - Added `GzipHeader.ExtraField` struct. + - Added `GzipHeader.extraFields` property. + - Added a new `extraFields` argument to `GzipArchive.archive` function (with a default array empty value). +- Fixed potential crashes that could occur when processing GZip archives truncated in a header or a "footer". +- Some non-well-formed values of PAX extended header records no longer cause `TarError.wrongPaxHeaderEntry` to be thrown. + - The record values with newline characters are now fully processed. + - The record values that do not contain UTF-8 strings are now ignored. +- swcomp changes: + - The symbolic links are now extracted with the values recorded in the containers. + - The hard links are now extracted from TAR containers instead of being ignored. + - Fixed build issues on Linux and Windows. + - `benchmark` is now a command group with two commands, `run` and `show`. + - Added `-a`, `--append` option to the `benchmark run` command. + - Added `-d`, `--description` option to the `benchmark run` command. + - Added `-t`, `--preserve-timestamp` option to the `benchmark run` command. + - The file format of saved results is now more flexible and allows multi-way comparisons. + - Improved precision of time measurements in benchmarks. + ## 4.8.2 - Swift 5.1 is no longer supported. diff --git a/SWCompression.podspec b/SWCompression.podspec index e99e1f00..351a2daf 100644 --- a/SWCompression.podspec +++ b/SWCompression.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SWCompression" - s.version = "4.8.2" + s.version = "4.8.3" s.summary = "A framework with functions for working with compression, archives and containers." s.description = "A framework with (de)compression algorithms and functions for processing various archives and containers." diff --git a/SWCompression.xcodeproj/SWCompression.plist b/SWCompression.xcodeproj/SWCompression.plist index f0328189..327e7b10 100644 --- a/SWCompression.xcodeproj/SWCompression.plist +++ b/SWCompression.xcodeproj/SWCompression.plist @@ -15,9 +15,9 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.8.2 + 4.8.3 CFBundleVersion - 87 + 88 NSHumanReadableCopyright Copyright © 2022 Timofey Solomko diff --git a/SWCompression.xcodeproj/TestSWCompression.plist b/SWCompression.xcodeproj/TestSWCompression.plist index 921e4d3e..f40b8805 100644 --- a/SWCompression.xcodeproj/TestSWCompression.plist +++ b/SWCompression.xcodeproj/TestSWCompression.plist @@ -15,8 +15,8 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 4.8.2 + 4.8.3 CFBundleVersion - 87 + 88 diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj index 45674ab7..b83aea5c 100644 --- a/SWCompression.xcodeproj/project.pbxproj +++ b/SWCompression.xcodeproj/project.pbxproj @@ -1528,7 +1528,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CURRENT_PROJECT_VERSION = 87; + CURRENT_PROJECT_VERSION = 88; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; EAGER_LINKING = YES; @@ -1613,7 +1613,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CURRENT_PROJECT_VERSION = 87; + CURRENT_PROJECT_VERSION = 88; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; EAGER_LINKING = YES; @@ -1678,7 +1678,7 @@ APPLICATION_EXTENSION_API_ONLY = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 87; + DYLIB_CURRENT_VERSION = 88; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; @@ -1705,7 +1705,7 @@ APPLICATION_EXTENSION_API_ONLY = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 87; + DYLIB_CURRENT_VERSION = 88; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; diff --git a/Sources/swcomp/main.swift b/Sources/swcomp/main.swift index 0c4247f7..e023b90b 100644 --- a/Sources/swcomp/main.swift +++ b/Sources/swcomp/main.swift @@ -7,7 +7,7 @@ import Foundation import SWCompression import SwiftCLI -let _SWC_VERSION = "4.8.2" +let _SWC_VERSION = "4.8.3" let cli = CLI(name: "swcomp", version: _SWC_VERSION, description: """