Skip to content

Commit fa74341

Browse files
authored
3.1.0 (#552)
1 parent 464122d commit fa74341

12 files changed

+38
-34
lines changed

CHANGELOG.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ All notable changes to this project will be documented in this file. Take a look
44

55
**Warning:** Features marked as *alpha* may change or be removed in a future release without notice. Use with caution.
66

7-
## [Unreleased]
7+
<!-- ## [Unreleased] -->
8+
9+
## [3.1.0]
810

911
### Added
1012

1113
#### Shared
1214

1315
* Support for streaming ZIP packages over HTTP. This lets you open a remote EPUB, audiobook, or any other ZIP-based publication without needing to download it first.
14-
* A new `ReadiumAdapterMinizip` library ships the old `ArchiveOpener` using Minizip. Compared to the newer default `ZIPArchiveOpener`, it has the following differences:
15-
* It does not support HTTP streaming of ZIP packages.
16-
* It offers better performance for LCP-protected publications containing large resources that are `deflated` instead of `stored` in the archive, which is not recommended.
1716

1817
### Deprecated
1918

@@ -863,3 +862,4 @@ progression. Now if no reading progression is set, the `effectiveReadingProgress
863862
[3.0.0-alpha.3]: https://github.com/readium/swift-toolkit/compare/3.0.0-alpha.2...3.0.0-alpha.3
864863
[3.0.0-beta.1]: https://github.com/readium/swift-toolkit/compare/3.0.0-alpha.3...3.0.0-beta.1
865864
[3.0.0-beta.2]: https://github.com/readium/swift-toolkit/compare/3.0.0-beta.1...3.0.0-beta.2
865+
[3.1.0]: https://github.com/readium/swift-toolkit/compare/3.0.0...3.1.0

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ If you're stuck, find more information at [developer.apple.com](https://develope
4545
Add the following to your `Cartfile`:
4646

4747
```
48-
github "readium/swift-toolkit" ~> 3.0.0
48+
github "readium/swift-toolkit" ~> 3.1.0
4949
```
5050

5151
Then, [follow the usual Carthage steps](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add the Readium libraries to your project.
@@ -75,11 +75,11 @@ Add the following `pod` statements to your `Podfile` for the Readium libraries y
7575
source 'https://github.com/readium/podspecs'
7676
source 'https://cdn.cocoapods.org/'
7777
78-
pod 'ReadiumShared', '~> 3.0.0'
79-
pod 'ReadiumStreamer', '~> 3.0.0'
80-
pod 'ReadiumNavigator', '~> 3.0.0'
81-
pod 'ReadiumOPDS', '~> 3.0.0'
82-
pod 'ReadiumLCP', '~> 3.0.0'
78+
pod 'ReadiumShared', '~> 3.1.0'
79+
pod 'ReadiumStreamer', '~> 3.1.0'
80+
pod 'ReadiumNavigator', '~> 3.1.0'
81+
pod 'ReadiumOPDS', '~> 3.1.0'
82+
pod 'ReadiumLCP', '~> 3.1.0'
8383
```
8484

8585
Take a look at [CocoaPods's documentation](https://guides.cocoapods.org/using/using-cocoapods.html) for more information.

Support/CocoaPods/ReadiumAdapterGCDWebServer.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "ReadiumAdapterGCDWebServer"
4-
s.version = "3.0.0"
4+
s.version = "3.1.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Adapter to use GCDWebServer as an HTTP server in Readium"
77
s.homepage = "http://readium.github.io"
@@ -14,8 +14,8 @@ Pod::Spec.new do |s|
1414
s.ios.deployment_target = "13.4"
1515
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
1616

17-
s.dependency 'ReadiumShared', '~> 3.0.0'
18-
s.dependency 'ReadiumInternal', '~> 3.0.0'
17+
s.dependency 'ReadiumShared', '~> 3.1.0'
18+
s.dependency 'ReadiumInternal', '~> 3.1.0'
1919
s.dependency 'ReadiumGCDWebServer', '~> 4.0.0'
2020

2121
end

Support/CocoaPods/ReadiumAdapterLCPSQLite.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "ReadiumAdapterLCPSQLite"
4-
s.version = "3.0.0"
4+
s.version = "3.1.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Adapter to use SQLite.swift for the Readium LCP repositories"
77
s.homepage = "http://readium.github.io"
@@ -14,8 +14,8 @@ Pod::Spec.new do |s|
1414
s.ios.deployment_target = "13.4"
1515
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
1616

17-
s.dependency 'ReadiumLCP', '~> 3.0.0'
18-
s.dependency 'ReadiumShared', '~> 3.0.0'
17+
s.dependency 'ReadiumLCP', '~> 3.1.0'
18+
s.dependency 'ReadiumShared', '~> 3.1.0'
1919
s.dependency 'SQLite.swift', '~> 0.15.0'
2020

2121
end

Support/CocoaPods/ReadiumInternal.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "ReadiumInternal"
4-
s.version = "3.0.0"
4+
s.version = "3.1.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Private utilities used by the Readium modules"
77
s.homepage = "http://readium.github.io"

Support/CocoaPods/ReadiumLCP.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "ReadiumLCP"
4-
s.version = "3.0.0"
4+
s.version = "3.1.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Readium LCP"
77
s.homepage = "http://readium.github.io"
@@ -20,8 +20,8 @@ Pod::Spec.new do |s|
2020
s.ios.deployment_target = "13.4"
2121
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2'}
2222

23-
s.dependency 'ReadiumShared' , '~> 3.0.0'
24-
s.dependency 'ReadiumInternal', '~> 3.0.0'
23+
s.dependency 'ReadiumShared' , '~> 3.1.0'
24+
s.dependency 'ReadiumInternal', '~> 3.1.0'
2525
s.dependency 'ReadiumZIPFoundation', '~> 2.0.0'
2626
s.dependency 'CryptoSwift', '~> 1.8.0'
2727
end

Support/CocoaPods/ReadiumNavigator.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "ReadiumNavigator"
4-
s.version = "3.0.0"
4+
s.version = "3.1.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Readium Navigator"
77
s.homepage = "http://readium.github.io"
@@ -19,8 +19,8 @@ Pod::Spec.new do |s|
1919
s.platform = :ios
2020
s.ios.deployment_target = "13.4"
2121

22-
s.dependency 'ReadiumShared', '~> 3.0.0'
23-
s.dependency 'ReadiumInternal', '~> 3.0.0'
22+
s.dependency 'ReadiumShared', '~> 3.1.0'
23+
s.dependency 'ReadiumInternal', '~> 3.1.0'
2424
s.dependency 'DifferenceKit', '~> 1.0'
2525
s.dependency 'SwiftSoup', '~> 2.7.0'
2626

Support/CocoaPods/ReadiumOPDS.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "ReadiumOPDS"
4-
s.version = "3.0.0"
4+
s.version = "3.1.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Readium OPDS"
77
s.homepage = "http://readium.github.io"
@@ -14,8 +14,8 @@ Pod::Spec.new do |s|
1414
s.ios.deployment_target = "13.4"
1515
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
1616

17-
s.dependency 'ReadiumShared', '~> 3.0.0'
18-
s.dependency 'ReadiumInternal', '~> 3.0.0'
17+
s.dependency 'ReadiumShared', '~> 3.1.0'
18+
s.dependency 'ReadiumInternal', '~> 3.1.0'
1919
s.dependency 'ReadiumFuzi', '~> 4.0.0'
2020

2121
end

Support/CocoaPods/ReadiumShared.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "ReadiumShared"
4-
s.version = "3.0.0"
4+
s.version = "3.1.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Readium Shared"
77
s.homepage = "http://readium.github.io"
@@ -20,6 +20,6 @@ Pod::Spec.new do |s|
2020
s.dependency 'SwiftSoup', '~> 2.7.0'
2121
s.dependency 'ReadiumFuzi', '~> 4.0.0'
2222
s.dependency 'ReadiumZIPFoundation', '~> 2.0.0'
23-
s.dependency 'ReadiumInternal', '~> 3.0.0'
23+
s.dependency 'ReadiumInternal', '~> 3.1.0'
2424

2525
end

Support/CocoaPods/ReadiumStreamer.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "ReadiumStreamer"
4-
s.version = "3.0.0"
4+
s.version = "3.1.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Readium Streamer"
77
s.homepage = "http://readium.github.io"
@@ -22,8 +22,8 @@ Pod::Spec.new do |s|
2222
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
2323

2424
s.dependency 'ReadiumFuzi', '~> 4.0.0'
25-
s.dependency 'ReadiumShared', '~> 3.0.0'
26-
s.dependency 'ReadiumInternal', '~> 3.0.0'
25+
s.dependency 'ReadiumShared', '~> 3.1.0'
26+
s.dependency 'ReadiumInternal', '~> 3.1.0'
2727
s.dependency 'CryptoSwift', '~> 1.8.0'
2828

2929
end

TestApp/Sources/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@
252252
<key>CFBundlePackageType</key>
253253
<string>APPL</string>
254254
<key>CFBundleShortVersionString</key>
255-
<string>3.0.0</string>
255+
<string>3.1.0</string>
256256
<key>CFBundleVersion</key>
257-
<string>3.0.0</string>
257+
<string>3.1.0</string>
258258
<key>LSRequiresIPhoneOS</key>
259259
<true/>
260260
<key>LSSupportsOpeningDocumentsInPlace</key>

docs/Migration Guide.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
All migration steps necessary in reading apps to upgrade to major versions of the Swift Readium toolkit will be documented in this file.
44

5-
## Unreleased
5+
<!-- ## Unreleased -->
6+
7+
## 3.1.0
68

79
### Bringing back Minizip
810

@@ -65,6 +67,8 @@ The default `ZIPArchiveOpener` is now using ZIPFoundation instead of Minizip, wi
6567

6668
If you use Carthage, remove `Minizip.xcframework` from your dependencies and add `ReadiumZIPFoundation.xcframework` instead. No changes are needed when using Swift Package Manager or CocoaPods.
6769

70+
:warning: When upgrading to 3.1.0 instead of 3.0.0, keep `Minizip.xcframework in your Carthage dependencies.
71+
6872
### Migration of HREFs and Locators (bookmarks, annotations, etc.)
6973

7074
:warning: This requires a database migration in your application, if you were persisting `Locator` objects.

0 commit comments

Comments
 (0)