diff --git a/.jazzy.yaml b/.jazzy.yaml
index 8fe69a73..7477ff3c 100644
--- a/.jazzy.yaml
+++ b/.jazzy.yaml
@@ -3,11 +3,11 @@ sourcekitten_sourcefile: docs.json
clean: true
author: Timofey Solomko
module: SWCompression
-module_version: 4.2.0-test.1
+module_version: 4.2.0-test.2
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.1
+github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.2.0-test.2
theme: fullwidth
custom_categories:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f1f32ff4..f998a37e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,25 @@
## 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 `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.
+ since maximum amount of Huffman tables was generated.
+- 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:
@@ -9,8 +28,6 @@
- `BZip2.decompress(from:)`
- `LZMA.decompress(from:)`
- Added support for Info-ZIP New Unix and Info-Zip Unix extra fields in ZIP containers.
-- Fixed storing BitByteData's bcsymbolmaps in Carthage generated binary archives
- (which are distributed on GitHub Releases).
## 4.1.1
diff --git a/SWCompression.podspec b/SWCompression.podspec
index 24846b21..ee1ad5c5 100644
--- a/SWCompression.podspec
+++ b/SWCompression.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "SWCompression"
- s.version = "4.2.0-test.1"
+ s.version = "4.2.0-test.2"
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 8acb1114..24a6b85e 100644
--- a/SWCompression.xcodeproj/SWCompression.plist
+++ b/SWCompression.xcodeproj/SWCompression.plist
@@ -15,9 +15,9 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 4.2.0-test.1
+ 4.2.0-test.2
CFBundleVersion
- 55
+ 56
NSHumanReadableCopyright
Copyright © 2018 Timofey Solomko. All rights reserved.
diff --git a/SWCompression.xcodeproj/TestSWCompression.plist b/SWCompression.xcodeproj/TestSWCompression.plist
index 4dc4e9f9..54ed00e0 100644
--- a/SWCompression.xcodeproj/TestSWCompression.plist
+++ b/SWCompression.xcodeproj/TestSWCompression.plist
@@ -15,8 +15,8 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 4.2.0-test.1
+ 4.2.0-test.2
CFBundleVersion
- 55
+ 56
diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj
index 6f943807..5a45a749 100644
--- a/SWCompression.xcodeproj/project.pbxproj
+++ b/SWCompression.xcodeproj/project.pbxproj
@@ -1140,7 +1140,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CURRENT_PROJECT_VERSION = 55;
+ CURRENT_PROJECT_VERSION = 56;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
@@ -1183,7 +1183,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CURRENT_PROJECT_VERSION = 55;
+ CURRENT_PROJECT_VERSION = 56;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;
@@ -1210,7 +1210,7 @@
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 55;
+ DYLIB_CURRENT_VERSION = 56;
DYLIB_INSTALL_NAME_BASE = "@rpath";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
@@ -1239,7 +1239,7 @@
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 55;
+ DYLIB_CURRENT_VERSION = 56;
DYLIB_INSTALL_NAME_BASE = "@rpath";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
diff --git a/Sources/swcomp/main.swift b/Sources/swcomp/main.swift
index 1aca1755..e28e24aa 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.2.0-test.1",
+let cli = CLI(name: "swcomp", version: "4.2.0-test.2",
description: """
swcomp - small command-line client for SWCompression framework.
Serves as an example of SWCompression usage.