Skip to content

Commit 97323fa

Browse files
committed
Prepare for 4.6.0 release
1 parent 53a9480 commit 97323fa

7 files changed

Lines changed: 33 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.6.0-test
6+
module_version: 4.6.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.6.0-test
10+
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.6.0
1111
theme: fullwidth
1212

1313
custom_categories:

CHANGELOG.md

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

3+
## 4.6.0
4+
5+
- Swift 4.2 is no longer supported.
6+
- Minimum iOS deployment version (when installed via CocoaPods or Carthage) is now 9.0.
7+
- Increased the lowest required version of BitByteData dependency to 2.0.
8+
- Added the `TarContainer.create(from:force:)` function which allows to specify TAR format.
9+
- It is now possible to create TAR containers of GNU, ustar (POSIX), and pre-POSIX formats.
10+
- The `TarContainer.create(from:)` function (alongside with the newly added function) no longer throws.
11+
- The `TarCreateError.utf8NonEncodable` error is now never thrown.
12+
- Handling of truncated TAR containers should now be more consistent.
13+
- Previously introduced check for truncated containers now throws the `TarError.tooSmallFileIsPassed` error instead
14+
of `TarError.wrongField`.
15+
- Documentation has been updated:
16+
- Adjusted documentation of the `TarEntryInfo` properties to account for other formats used in creation of a
17+
container.
18+
- Adjusted documentation of the `TarError.tooSmallFileIsPassed` error to mention its use in all situations when
19+
truncated data is encountered.
20+
- swcomp changes:
21+
- `zip -i` command now prints entry comments only if they are not empty.
22+
- Slight grammatical improvements to the help messages of swcomp.
23+
324
## 4.5.11
425

526
- Fixed a crash when processing a truncated TAR file.

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.6.0-test"
4+
s.version = "4.6.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.6.0-test</string>
18+
<string>4.6.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>79</string>
20+
<string>80</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.6.0-test</string>
18+
<string>4.6.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>79</string>
20+
<string>80</string>
2121
</dict>
2222
</plist>

SWCompression.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@
12701270
CLANG_WARN_SUSPICIOUS_MOVE = YES;
12711271
CLANG_WARN_UNREACHABLE_CODE = YES;
12721272
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1273-
CURRENT_PROJECT_VERSION = 79;
1273+
CURRENT_PROJECT_VERSION = 80;
12741274
DEBUG_INFORMATION_FORMAT = dwarf;
12751275
ENABLE_STRICT_OBJC_MSGSEND = YES;
12761276
ENABLE_TESTABILITY = YES;
@@ -1351,7 +1351,7 @@
13511351
CLANG_WARN_SUSPICIOUS_MOVE = YES;
13521352
CLANG_WARN_UNREACHABLE_CODE = YES;
13531353
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1354-
CURRENT_PROJECT_VERSION = 79;
1354+
CURRENT_PROJECT_VERSION = 80;
13551355
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
13561356
ENABLE_STRICT_OBJC_MSGSEND = YES;
13571357
"FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = (
@@ -1412,7 +1412,7 @@
14121412
APPLICATION_EXTENSION_API_ONLY = YES;
14131413
DEFINES_MODULE = YES;
14141414
DYLIB_COMPATIBILITY_VERSION = 1;
1415-
DYLIB_CURRENT_VERSION = 79;
1415+
DYLIB_CURRENT_VERSION = 80;
14161416
DYLIB_INSTALL_NAME_BASE = "@rpath";
14171417
INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist;
14181418
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -1439,7 +1439,7 @@
14391439
APPLICATION_EXTENSION_API_ONLY = YES;
14401440
DEFINES_MODULE = YES;
14411441
DYLIB_COMPATIBILITY_VERSION = 1;
1442-
DYLIB_CURRENT_VERSION = 79;
1442+
DYLIB_CURRENT_VERSION = 80;
14431443
DYLIB_INSTALL_NAME_BASE = "@rpath";
14441444
INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist;
14451445
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.6.0-test",
10+
let cli = CLI(name: "swcomp", version: "4.6.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)