Skip to content

Commit b8631bc

Browse files
authored
2.7.0 (#410)
1 parent 58065b8 commit b8631bc

11 files changed

+42
-27
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ 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+
## [2.7.0]
810

911
### Added
1012

@@ -661,3 +663,4 @@ progression. Now if no reading progression is set, the `effectiveReadingProgress
661663
[2.5.1]: https://github.com/readium/swift-toolkit/compare/2.5.0...2.5.1
662664
[2.6.0]: https://github.com/readium/swift-toolkit/compare/2.5.1...2.6.0
663665
[2.6.1]: https://github.com/readium/swift-toolkit/compare/2.6.0...2.6.1
666+
[2.7.0]: https://github.com/readium/swift-toolkit/compare/2.6.1...2.7.0

Documentation/Migration Guide.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
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-
## 2.6.0
5+
## 2.7.0
6+
7+
### `AudioNavigator` is now stable
8+
9+
`AudioNavigator` is now stable. Follow the deprecation errors to automatically rename the types.
10+
11+
All the setting properties (e.g. `navigator.rate`) are now in `navigator.settings`.
12+
13+
### GCDWebServer was renamed
614

715
To avoid [name collision with GCDWebServer](https://github.com/readium/swift-toolkit/issues/402), we renamed [our fork](https://github.com/readium/gcdwebserver) to `ReadiumGCDWebServer`. You will need to update your project to replace the old dependency:
816

@@ -11,7 +19,11 @@ To avoid [name collision with GCDWebServer](https://github.com/readium/swift-too
1119
* Update the Carthage dependencies and make sure the new `ReadiumGCDWebServer.xcframework` was built.
1220
* Replace `GCDWebServer.xcframework` with `ReadiumGCDWebServer.xcframework` in your project.
1321
* CocoaPods:
14-
* Rename the `pod 'GCDWebServer'` statement in your `Podfile` with `pod 'ReadiumGCDWebServer'`, then run `pod install`.
22+
* Replace the `pod 'GCDWebServer'` statement in your `Podfile` with the following, before running `pod install`.
23+
```
24+
pod 'ReadiumGCDWebServer', podspec: 'https://raw.githubusercontent.com/readium/GCDWebServer/4.0.0/GCDWebServer.podspec'
25+
```
26+
1527

1628
## 2.5.0
1729

README.md

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

4646
```
47-
github "readium/swift-toolkit" ~> 2.6.1
47+
github "readium/swift-toolkit" ~> 2.7.0
4848
```
4949

5050
Then, [follow the usual Carthage steps](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add the Readium libraries to your project.
@@ -71,15 +71,15 @@ Refer to the following table to know which dependencies are required for each Re
7171
Add the following `pod` statements to your `Podfile` for the Readium libraries you want to use:
7272

7373
```
74-
pod 'R2Shared', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.6.1/Support/CocoaPods/ReadiumShared.podspec'
75-
pod 'R2Streamer', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.6.1/Support/CocoaPods/ReadiumStreamer.podspec'
76-
pod 'R2Navigator', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.6.1/Support/CocoaPods/ReadiumNavigator.podspec'
77-
pod 'ReadiumOPDS', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.6.1/Support/CocoaPods/ReadiumOPDS.podspec'
78-
pod 'ReadiumLCP', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.6.1/Support/CocoaPods/ReadiumLCP.podspec'
79-
pod 'ReadiumInternal', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.6.1/Support/CocoaPods/ReadiumInternal.podspec'
74+
pod 'R2Shared', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.0/Support/CocoaPods/ReadiumShared.podspec'
75+
pod 'R2Streamer', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.0/Support/CocoaPods/ReadiumStreamer.podspec'
76+
pod 'R2Navigator', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.0/Support/CocoaPods/ReadiumNavigator.podspec'
77+
pod 'ReadiumOPDS', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.0/Support/CocoaPods/ReadiumOPDS.podspec'
78+
pod 'ReadiumLCP', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.0/Support/CocoaPods/ReadiumLCP.podspec'
79+
pod 'ReadiumInternal', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/2.7.0/Support/CocoaPods/ReadiumInternal.podspec'
8080
8181
# Required if you use R2Streamer.
82-
pod 'ReadiumGCDWebServer', podspec: 'https://raw.githubusercontent.com/readium/GCDWebServer/3.7.4/GCDWebServer.podspec'
82+
pod 'ReadiumGCDWebServer', podspec: 'https://raw.githubusercontent.com/readium/GCDWebServer/4.0.0/GCDWebServer.podspec'
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

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

33
s.name = "ReadiumAdapterGCDWebServer"
4-
s.version = "2.6.1"
4+
s.version = "2.7.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"
88
s.author = { "Readium" => "[email protected]" }
9-
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" }
9+
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.0" }
1010
s.requires_arc = true
1111
s.source_files = "Sources/Adapters/GCDWebServer/**/*.{m,h,swift}"
1212
s.platform = :ios

Support/CocoaPods/ReadiumInternal.podspec

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

33
s.name = "ReadiumInternal"
4-
s.version = "2.6.1"
4+
s.version = "2.7.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"
88
s.author = { "Readium" => "[email protected]" }
9-
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" }
9+
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.0" }
1010
s.requires_arc = true
1111
s.source_files = "Sources/Internal/**/*.{m,h,swift}"
1212
s.platform = :ios

Support/CocoaPods/ReadiumLCP.podspec

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

33
s.name = "ReadiumLCP"
4-
s.version = "2.6.1"
4+
s.version = "2.7.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Readium LCP"
77
s.homepage = "http://readium.github.io"
88
s.author = { "Readium" => "[email protected]" }
9-
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" }
9+
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.0" }
1010
s.requires_arc = true
1111
s.resource_bundles = {
1212
'ReadiumLCP' => [

Support/CocoaPods/ReadiumNavigator.podspec

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

33
s.name = "R2Navigator"
4-
s.version = "2.6.1"
4+
s.version = "2.7.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "R2 Navigator"
77
s.homepage = "http://readium.github.io"
88
s.author = { "Readium" => "[email protected]" }
9-
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" }
9+
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.0" }
1010
s.requires_arc = true
1111
s.resource_bundles = {
1212
'ReadiumNavigator' => [

Support/CocoaPods/ReadiumOPDS.podspec

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

33
s.name = "ReadiumOPDS"
4-
s.version = "2.6.1"
4+
s.version = "2.7.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "Readium OPDS"
77
s.homepage = "http://readium.github.io"
88
s.author = { "Readium" => "[email protected]" }
9-
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" }
9+
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.0" }
1010
s.requires_arc = true
1111
s.resource_bundles = {
1212
'ReadiumOPDS' => ['Sources/OPDS/Resources/**'],

Support/CocoaPods/ReadiumShared.podspec

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

33
s.name = "R2Shared"
4-
s.version = "2.6.1"
4+
s.version = "2.7.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "R2 Shared"
77
s.homepage = "http://readium.github.io"
88
s.author = { "Readium" => "[email protected]" }
9-
s.source = { :git => 'https://github.com/readium/swift-toolkit.git', :branch => "develop" }
9+
s.source = { :git => 'https://github.com/readium/swift-toolkit.git', :tag => "2.7.0" }
1010
s.exclude_files = ["Sources/Shared/Toolkit/Archive/ZIPFoundation.swift"]
1111
s.requires_arc = true
1212
s.resource_bundles = {

Support/CocoaPods/ReadiumStreamer.podspec

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

33
s.name = "R2Streamer"
4-
s.version = "2.6.1"
4+
s.version = "2.7.0"
55
s.license = "BSD 3-Clause License"
66
s.summary = "R2 Streamer"
77
s.homepage = "http://readium.github.io"
88
s.author = { "Readium" => "[email protected]" }
9-
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :branch => "develop" }
9+
s.source = { :git => "https://github.com/readium/swift-toolkit.git", :tag => "2.7.0" }
1010
s.requires_arc = true
1111
s.resource_bundles = {
1212
'ReadiumStreamer' => [

TestApp/Sources/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@
228228
<key>CFBundlePackageType</key>
229229
<string>APPL</string>
230230
<key>CFBundleShortVersionString</key>
231-
<string>2.6.1</string>
231+
<string>2.7.0</string>
232232
<key>CFBundleVersion</key>
233-
<string>2.6.1</string>
233+
<string>2.7.0</string>
234234
<key>LSRequiresIPhoneOS</key>
235235
<true/>
236236
<key>LSSupportsOpeningDocumentsInPlace</key>

0 commit comments

Comments
 (0)