Prepare for 4.2.0 release

This commit is contained in:
Timofey Solomko
2018-03-04 12:34:32 +03:00
parent 08473e1aff
commit d0a6263ea5
7 changed files with 17 additions and 28 deletions
+2 -2
View File
@@ -3,11 +3,11 @@ sourcekitten_sourcefile: docs.json
clean: true
author: Timofey Solomko
module: SWCompression
module_version: 4.2.0-test.2
module_version: 4.2.0
copyright: '© 2018 Timofey Solomko'
readme: README.md
github_url: https://github.com/tsolomko/SWCompression
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.2.0-test.2
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.2.0
theme: fullwidth
custom_categories:
+5 -16
View File
@@ -2,33 +2,22 @@
## 4.2.0
### Test 2
- Minuimum required version of BitByteData is now 1.1.0.
- (Reverted Test 1 change) Removed "several public APIs which use BitByteData's classes as its arguments":
- `ZlibArchive.unarchive(from:)`
- `BZip2.decompress(from:)`
- `LZMA.decompress(from:)`
- Added `ownerID` and `groupID` properties to `ZipEntryInfo`, which stores uid and gid from Info-ZIP New Unix and
Info-Zip Unix extra fields.
- Added `unknownExtendedHeaderRecords` property to `TarEntryInfo` which includes unrecognized entries from PAX
extended headers.
- Prevent double slashes in `TarEntryInfo.name` when prefix header's field was used, but it had trailing slash,
which, by the way, contradicts TAR format.
- Additionally improved speed of BZip2 compression: Now doesn't create more Huffman trees when they cannot be used.
which is, by the way, against TAR format.
- Additionally improved speed of BZip2 compression: Now doesn't create more Huffman trees when they cannot be used,
since maximum amount of Huffman tables was generated.
- Disable symbol stripping in archives generated by Carthage and published on GitHub Releases.
- swcomp changes:
- Replaced 9 block size options of `bz2` command with a single one: `-b` (`--block-size`).
- Now prints entry type-specific properties in output of `tar`, `zip` and `7z` commands with
`-i` (`--info`) option.
- Renamed `perf-test` command group to `benchmark`.
### Test 1
- Added several public APIs which use BitByteData's classes as its arguments:
- `ZlibArchive.unarchive(from:)`
- `BZip2.decompress(from:)`
- `LZMA.decompress(from:)`
- Added support for Info-ZIP New Unix and Info-Zip Unix extra fields in ZIP containers.
## 4.1.1
- Fixed incorrect value of `TarEntryInfo.name` when ustar format's "prefix" field was used.
+1 -1
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "SWCompression"
s.version = "4.2.0-test.2"
s.version = "4.2.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."
+2 -2
View File
@@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.2.0-test.2</string>
<string>4.2.0</string>
<key>CFBundleVersion</key>
<string>56</string>
<string>57</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018 Timofey Solomko. All rights reserved.</string>
</dict>
@@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>4.2.0-test.2</string>
<string>4.2.0</string>
<key>CFBundleVersion</key>
<string>56</string>
<string>57</string>
</dict>
</plist>
+4 -4
View File
@@ -1140,7 +1140,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CURRENT_PROJECT_VERSION = 56;
CURRENT_PROJECT_VERSION = 57;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
@@ -1184,7 +1184,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CURRENT_PROJECT_VERSION = 56;
CURRENT_PROJECT_VERSION = 57;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;
@@ -1212,7 +1212,7 @@
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 56;
DYLIB_CURRENT_VERSION = 57;
DYLIB_INSTALL_NAME_BASE = "@rpath";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
@@ -1241,7 +1241,7 @@
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 56;
DYLIB_CURRENT_VERSION = 57;
DYLIB_INSTALL_NAME_BASE = "@rpath";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
+1 -1
View File
@@ -7,7 +7,7 @@ import Foundation
import SWCompression
import SwiftCLI
let cli = CLI(name: "swcomp", version: "4.2.0-test.2",
let cli = CLI(name: "swcomp", version: "4.2.0",
description: """
swcomp - small command-line client for SWCompression framework.
Serves as an example of SWCompression usage.