From 86090a4b67ee1188d31ba4cae1ca0c43395fba15 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Sun, 23 Jan 2022 18:56:51 +0300 Subject: [PATCH] Prepare for 4.8.0 release --- .jazzy.yaml | 4 ++-- CHANGELOG.md | 13 ++++++++++++- SWCompression.podspec | 2 +- SWCompression.xcodeproj/SWCompression.plist | 4 ++-- SWCompression.xcodeproj/TestSWCompression.plist | 4 ++-- SWCompression.xcodeproj/project.pbxproj | 8 ++++---- Sources/swcomp/main.swift | 2 +- 7 files changed, 24 insertions(+), 13 deletions(-) diff --git a/.jazzy.yaml b/.jazzy.yaml index e7a7b508..4e575e03 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.0-test +module_version: 4.8.0 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.0-test +github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.8.0 theme: fullwidth custom_categories: diff --git a/CHANGELOG.md b/CHANGELOG.md index 729620cb..4767b08d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 4.8.0 + +- Added `TarReader` and `TarWriter` structs which allow more iterative work with TAR containers while helping with +reducing memory usage. +- Fixed a crash that could happen when decompressing Deflate and BZip2 inputs truncated in a certain way. +- In API reference documentation the Container category has been split into separate categories for each container type. +- swcomp changes: + - Certain error messages were made a bit clearer. + - Added `reader-tar` and `writer-tar` subcommands to the `benchmark` command. + - Changed the printing format of the benchmark speed. + ## 4.7.0 - Added full-featured support for LZ4 compression and decompression by introducing 5 new functions inside `LZ4` enum. @@ -19,7 +30,7 @@ TAR containers. - Added `un-lz4`, `comp-lz4`, and `comp-lz4-bd` subcommands to the `benchmark` command. - Benchmark commands for compression now report compression ratio. - + ## 4.6.1 - Fixed a crash in LZMA2 when trying to process an empty `Data`. diff --git a/SWCompression.podspec b/SWCompression.podspec index 1e2b3de4..98c7507a 100644 --- a/SWCompression.podspec +++ b/SWCompression.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SWCompression" - s.version = "4.8.0-test" + s.version = "4.8.0" 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 074bd24a..ec74bf5f 100644 --- a/SWCompression.xcodeproj/SWCompression.plist +++ b/SWCompression.xcodeproj/SWCompression.plist @@ -15,9 +15,9 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.8.0-test + 4.8.0 CFBundleVersion - 84 + 85 NSHumanReadableCopyright Copyright © 2022 Timofey Solomko diff --git a/SWCompression.xcodeproj/TestSWCompression.plist b/SWCompression.xcodeproj/TestSWCompression.plist index aeb59106..4f5e43fb 100644 --- a/SWCompression.xcodeproj/TestSWCompression.plist +++ b/SWCompression.xcodeproj/TestSWCompression.plist @@ -15,8 +15,8 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 4.8.0-test + 4.8.0 CFBundleVersion - 84 + 85 diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj index 35351626..0f4f6c98 100644 --- a/SWCompression.xcodeproj/project.pbxproj +++ b/SWCompression.xcodeproj/project.pbxproj @@ -1512,7 +1512,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CURRENT_PROJECT_VERSION = 84; + CURRENT_PROJECT_VERSION = 85; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -1593,7 +1593,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CURRENT_PROJECT_VERSION = 84; + CURRENT_PROJECT_VERSION = 85; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; "FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = ( @@ -1654,7 +1654,7 @@ APPLICATION_EXTENSION_API_ONLY = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 84; + DYLIB_CURRENT_VERSION = 85; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; @@ -1681,7 +1681,7 @@ APPLICATION_EXTENSION_API_ONLY = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 84; + DYLIB_CURRENT_VERSION = 85; 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 48df62ea..b8340a45 100644 --- a/Sources/swcomp/main.swift +++ b/Sources/swcomp/main.swift @@ -7,7 +7,7 @@ import Foundation import SWCompression import SwiftCLI -let cli = CLI(name: "swcomp", version: "4.8.0-test", +let cli = CLI(name: "swcomp", version: "4.8.0", description: """ swcomp - a small command-line client for SWCompression framework. Serves as an example of SWCompression usage.