Skip to content

Commit

Permalink
3.1.0 (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu authored Jan 31, 2025
1 parent 464122d commit fa74341
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 34 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ All notable changes to this project will be documented in this file. Take a look

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

## [Unreleased]
<!-- ## [Unreleased] -->

## [3.1.0]

### Added

#### Shared

* 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.
* A new `ReadiumAdapterMinizip` library ships the old `ArchiveOpener` using Minizip. Compared to the newer default `ZIPArchiveOpener`, it has the following differences:
* It does not support HTTP streaming of ZIP packages.
* It offers better performance for LCP-protected publications containing large resources that are `deflated` instead of `stored` in the archive, which is not recommended.

### Deprecated

Expand Down Expand Up @@ -863,3 +862,4 @@ progression. Now if no reading progression is set, the `effectiveReadingProgress
[3.0.0-alpha.3]: https://github.com/readium/swift-toolkit/compare/3.0.0-alpha.2...3.0.0-alpha.3
[3.0.0-beta.1]: https://github.com/readium/swift-toolkit/compare/3.0.0-alpha.3...3.0.0-beta.1
[3.0.0-beta.2]: https://github.com/readium/swift-toolkit/compare/3.0.0-beta.1...3.0.0-beta.2
[3.1.0]: https://github.com/readium/swift-toolkit/compare/3.0.0...3.1.0
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ If you're stuck, find more information at [developer.apple.com](https://develope
Add the following to your `Cartfile`:

```
github "readium/swift-toolkit" ~> 3.0.0
github "readium/swift-toolkit" ~> 3.1.0
```

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

Take a look at [CocoaPods's documentation](https://guides.cocoapods.org/using/using-cocoapods.html) for more information.
Expand Down
6 changes: 3 additions & 3 deletions Support/CocoaPods/ReadiumAdapterGCDWebServer.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

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

s.dependency 'ReadiumShared', '~> 3.0.0'
s.dependency 'ReadiumInternal', '~> 3.0.0'
s.dependency 'ReadiumShared', '~> 3.1.0'
s.dependency 'ReadiumInternal', '~> 3.1.0'
s.dependency 'ReadiumGCDWebServer', '~> 4.0.0'

end
6 changes: 3 additions & 3 deletions Support/CocoaPods/ReadiumAdapterLCPSQLite.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

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

s.dependency 'ReadiumLCP', '~> 3.0.0'
s.dependency 'ReadiumShared', '~> 3.0.0'
s.dependency 'ReadiumLCP', '~> 3.1.0'
s.dependency 'ReadiumShared', '~> 3.1.0'
s.dependency 'SQLite.swift', '~> 0.15.0'

end
2 changes: 1 addition & 1 deletion Support/CocoaPods/ReadiumInternal.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "ReadiumInternal"
s.version = "3.0.0"
s.version = "3.1.0"
s.license = "BSD 3-Clause License"
s.summary = "Private utilities used by the Readium modules"
s.homepage = "http://readium.github.io"
Expand Down
6 changes: 3 additions & 3 deletions Support/CocoaPods/ReadiumLCP.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

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

s.dependency 'ReadiumShared' , '~> 3.0.0'
s.dependency 'ReadiumInternal', '~> 3.0.0'
s.dependency 'ReadiumShared' , '~> 3.1.0'
s.dependency 'ReadiumInternal', '~> 3.1.0'
s.dependency 'ReadiumZIPFoundation', '~> 2.0.0'
s.dependency 'CryptoSwift', '~> 1.8.0'
end
6 changes: 3 additions & 3 deletions Support/CocoaPods/ReadiumNavigator.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "ReadiumNavigator"
s.version = "3.0.0"
s.version = "3.1.0"
s.license = "BSD 3-Clause License"
s.summary = "Readium Navigator"
s.homepage = "http://readium.github.io"
Expand All @@ -19,8 +19,8 @@ Pod::Spec.new do |s|
s.platform = :ios
s.ios.deployment_target = "13.4"

s.dependency 'ReadiumShared', '~> 3.0.0'
s.dependency 'ReadiumInternal', '~> 3.0.0'
s.dependency 'ReadiumShared', '~> 3.1.0'
s.dependency 'ReadiumInternal', '~> 3.1.0'
s.dependency 'DifferenceKit', '~> 1.0'
s.dependency 'SwiftSoup', '~> 2.7.0'

Expand Down
6 changes: 3 additions & 3 deletions Support/CocoaPods/ReadiumOPDS.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

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

s.dependency 'ReadiumShared', '~> 3.0.0'
s.dependency 'ReadiumInternal', '~> 3.0.0'
s.dependency 'ReadiumShared', '~> 3.1.0'
s.dependency 'ReadiumInternal', '~> 3.1.0'
s.dependency 'ReadiumFuzi', '~> 4.0.0'

end
4 changes: 2 additions & 2 deletions Support/CocoaPods/ReadiumShared.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "ReadiumShared"
s.version = "3.0.0"
s.version = "3.1.0"
s.license = "BSD 3-Clause License"
s.summary = "Readium Shared"
s.homepage = "http://readium.github.io"
Expand All @@ -20,6 +20,6 @@ Pod::Spec.new do |s|
s.dependency 'SwiftSoup', '~> 2.7.0'
s.dependency 'ReadiumFuzi', '~> 4.0.0'
s.dependency 'ReadiumZIPFoundation', '~> 2.0.0'
s.dependency 'ReadiumInternal', '~> 3.0.0'
s.dependency 'ReadiumInternal', '~> 3.1.0'

end
6 changes: 3 additions & 3 deletions Support/CocoaPods/ReadiumStreamer.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

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

s.dependency 'ReadiumFuzi', '~> 4.0.0'
s.dependency 'ReadiumShared', '~> 3.0.0'
s.dependency 'ReadiumInternal', '~> 3.0.0'
s.dependency 'ReadiumShared', '~> 3.1.0'
s.dependency 'ReadiumInternal', '~> 3.1.0'
s.dependency 'CryptoSwift', '~> 1.8.0'

end
4 changes: 2 additions & 2 deletions TestApp/Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.0.0</string>
<string>3.1.0</string>
<key>CFBundleVersion</key>
<string>3.0.0</string>
<string>3.1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
Expand Down
6 changes: 5 additions & 1 deletion docs/Migration Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

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

## Unreleased
<!-- ## Unreleased -->

## 3.1.0

### Bringing back Minizip

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

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.

:warning: When upgrading to 3.1.0 instead of 3.0.0, keep `Minizip.xcframework in your Carthage dependencies.

### Migration of HREFs and Locators (bookmarks, annotations, etc.)

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

0 comments on commit fa74341

Please sign in to comment.