diff --git a/CHANGELOG.md b/CHANGELOG.md index d3fd4ed6..1da803c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ # Changelog +v1.1.0 +---------------- +- Added BZip2 decompression. +- Introduced subspecs with parts of functionality. +- Additional performance improvements. +- Fixed potential memory problems. +- Added a lot of (educational) comments for Deflate v1.0.3 ---------------- diff --git a/README.md b/README.md index 18c902bc..9c542c8b 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,12 @@ And here comes SWCompression: no Objective-C, pure Swift. Features ---------------- -- Decompress data which were compressed with DEFLATE algorithm. -- Extract data from GZip archives. -- Unarchive zlib compressed data. +- (De)compression algorithms: + - Deflate + - BZip2 +- Archives: + - GZip + - Zlib - Platform independent. - _Swift only_ @@ -37,10 +40,16 @@ SWCompression can be integrated into your project either using CocoaPods, Cartha ##### CocoaPods Add to your Podfile `pod 'SWCompression'`. +Since 1.1.0 version of SWCompression there are several sub-podspecs +if you need only parts of functionality of SWCompression. +There are `pod 'SWCompression/GZip'`, `pod 'SWCompression/Zlib'`, `pod 'SWCompression/Deflate'` and `pod 'SWCompression/BZip2'` subspecs. You can add some or all of them instead of `pod 'SWCompression'` + Also, do not forget to have `use_frameworks!` line in the Podfile. To complete installation, run `pod install`. +_Note:_ Actually, there is one more subspec (SWCompression/Common) but it does not contain any end-user functions. This subspec is included in other subspecs such as SWCompression/GZip and should not be specified directly in Podfile. + ##### Carthage Add to your Cartfile `github "tsolomko/SWCompression"`. @@ -90,7 +99,6 @@ you are responsible for handling them. Future plans ------------- - Performance improvement. -- BZip2 decompression support. - LZMA decompression. - XZ decompression. - Tar unarchiving. diff --git a/SWCompression.podspec b/SWCompression.podspec index a4d638c1..61ad9c9c 100644 --- a/SWCompression.podspec +++ b/SWCompression.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SWCompression" - s.version = "1.0.3" + s.version = "1.1.0" s.summary = "Framework with implementations in Swift of different (de)compression algorithms" s.description = <<-DESC diff --git a/Sources/Service/Info-iOS.plist b/Sources/Service/Info-iOS.plist index c3bbb001..9c590b82 100644 --- a/Sources/Service/Info-iOS.plist +++ b/Sources/Service/Info-iOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.3 + 1.1.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Service/Info-tvOS.plist b/Sources/Service/Info-tvOS.plist index c3bbb001..9c590b82 100644 --- a/Sources/Service/Info-tvOS.plist +++ b/Sources/Service/Info-tvOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.3 + 1.1.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Service/Info-watchOS.plist b/Sources/Service/Info-watchOS.plist index c3bbb001..9c590b82 100644 --- a/Sources/Service/Info-watchOS.plist +++ b/Sources/Service/Info-watchOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.3 + 1.1.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/Sources/Service/Info.plist b/Sources/Service/Info.plist index 3650744d..4925fb7e 100644 --- a/Sources/Service/Info.plist +++ b/Sources/Service/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.3 + 1.1.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSHumanReadableCopyright