Skip to content

Commit 1e8ad0e

Browse files
committed
Prepare for 4.7.0 release
1 parent 6971656 commit 1e8ad0e

7 files changed

Lines changed: 32 additions & 12 deletions

File tree

.jazzy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ sourcekitten_sourcefile: docs.json
33
clean: false
44
author: Timofey Solomko
55
module: SWCompression
6-
module_version: 4.7.0-test
6+
module_version: 4.7.0
77
copyright: '© 2021 Timofey Solomko'
88
readme: README.md
99
github_url: https://github.com/tsolomko/SWCompression
10-
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.7.0-test
10+
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.7.0
1111
theme: fullwidth
1212

1313
custom_categories:

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## 4.7.0
4+
5+
- Added full-featured support for LZ4 compression and decompression by introducing 5 new functions inside `LZ4` enum.
6+
- This enum conforms to the `DecompressionAlgorithm` and `CompressionAlgorithm` protocols.
7+
- Added SWCompression/LZ4 subspec for CocoaPods users.
8+
- Added support for LZ4 algorithm used in 7-Zip containers.
9+
- Added `DataError` enum which conforms to `Error` and `Equatable` protocols.
10+
- Swift 5.0 is no longer supported.
11+
- Fixed an issue where in some cases Deflate compression would produce incorrect output.
12+
- Optimized performance of Deflate compression.
13+
- swcomp changes:
14+
- Increased the lowest required version of SwiftCLI dependency to 6.0.0.
15+
- Added `lz4` command with many options to support all LZ4 features (both compression and decompression).
16+
- Added `--use-format` option to the `tar` command which when used with the `-c` option allows to force usage of a
17+
selected TAR format when creating a TAR container.
18+
- The `-j` and `-z` options of the `tar` command can now be used together with the `-c` option to create compressed
19+
TAR containers.
20+
- Added `un-lz4`, `comp-lz4`, and `comp-lz4-bd` subcommands to the `benchmark` command.
21+
- Benchmark commands for compression now report compression ratio.
22+
323
## 4.6.1
424

525
- Fixed a crash in LZMA2 when trying to process an empty `Data`.

SWCompression.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "SWCompression"
4-
s.version = "4.7.0-test"
4+
s.version = "4.7.0"
55
s.summary = "A framework with functions for working with compression, archives and containers."
66

77
s.description = "A framework with (de)compression algorithms and functions for processing various archives and containers."

SWCompression.xcodeproj/SWCompression.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>4.7.0-test</string>
18+
<string>4.7.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>82</string>
20+
<string>83</string>
2121
<key>NSHumanReadableCopyright</key>
2222
<string>Copyright © 2021 Timofey Solomko</string>
2323
</dict>

SWCompression.xcodeproj/TestSWCompression.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>4.7.0-test</string>
18+
<string>4.7.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>82</string>
20+
<string>83</string>
2121
</dict>
2222
</plist>

SWCompression.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@
14921492
CLANG_WARN_SUSPICIOUS_MOVE = YES;
14931493
CLANG_WARN_UNREACHABLE_CODE = YES;
14941494
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1495-
CURRENT_PROJECT_VERSION = 82;
1495+
CURRENT_PROJECT_VERSION = 83;
14961496
DEBUG_INFORMATION_FORMAT = dwarf;
14971497
ENABLE_STRICT_OBJC_MSGSEND = YES;
14981498
ENABLE_TESTABILITY = YES;
@@ -1573,7 +1573,7 @@
15731573
CLANG_WARN_SUSPICIOUS_MOVE = YES;
15741574
CLANG_WARN_UNREACHABLE_CODE = YES;
15751575
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1576-
CURRENT_PROJECT_VERSION = 82;
1576+
CURRENT_PROJECT_VERSION = 83;
15771577
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
15781578
ENABLE_STRICT_OBJC_MSGSEND = YES;
15791579
"FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = (
@@ -1634,7 +1634,7 @@
16341634
APPLICATION_EXTENSION_API_ONLY = YES;
16351635
DEFINES_MODULE = YES;
16361636
DYLIB_COMPATIBILITY_VERSION = 1;
1637-
DYLIB_CURRENT_VERSION = 82;
1637+
DYLIB_CURRENT_VERSION = 83;
16381638
DYLIB_INSTALL_NAME_BASE = "@rpath";
16391639
INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist;
16401640
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -1661,7 +1661,7 @@
16611661
APPLICATION_EXTENSION_API_ONLY = YES;
16621662
DEFINES_MODULE = YES;
16631663
DYLIB_COMPATIBILITY_VERSION = 1;
1664-
DYLIB_CURRENT_VERSION = 82;
1664+
DYLIB_CURRENT_VERSION = 83;
16651665
DYLIB_INSTALL_NAME_BASE = "@rpath";
16661666
INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist;
16671667
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";

Sources/swcomp/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Foundation
77
import SWCompression
88
import SwiftCLI
99

10-
let cli = CLI(name: "swcomp", version: "4.7.0-test",
10+
let cli = CLI(name: "swcomp", version: "4.7.0",
1111
description: """
1212
swcomp - a small command-line client for SWCompression framework.
1313
Serves as an example of SWCompression usage.

0 commit comments

Comments
 (0)