diff --git a/.jazzy.yaml b/.jazzy.yaml
index 7477ff3c..5862bddd 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.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:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f998a37e..3849999e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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.
diff --git a/SWCompression.podspec b/SWCompression.podspec
index ee1ad5c5..f57a55f2 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.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."
diff --git a/SWCompression.xcodeproj/SWCompression.plist b/SWCompression.xcodeproj/SWCompression.plist
index 24a6b85e..24d437c0 100644
--- a/SWCompression.xcodeproj/SWCompression.plist
+++ b/SWCompression.xcodeproj/SWCompression.plist
@@ -15,9 +15,9 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 4.2.0-test.2
+ 4.2.0
CFBundleVersion
- 56
+ 57
NSHumanReadableCopyright
Copyright © 2018 Timofey Solomko. All rights reserved.
diff --git a/SWCompression.xcodeproj/TestSWCompression.plist b/SWCompression.xcodeproj/TestSWCompression.plist
index 54ed00e0..b939b417 100644
--- a/SWCompression.xcodeproj/TestSWCompression.plist
+++ b/SWCompression.xcodeproj/TestSWCompression.plist
@@ -15,8 +15,8 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 4.2.0-test.2
+ 4.2.0
CFBundleVersion
- 56
+ 57
diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj
index cd7dbca3..e6be36d8 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 = 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\"";
diff --git a/Sources/swcomp/main.swift b/Sources/swcomp/main.swift
index e28e24aa..12680ab5 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.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.