You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/Migration Guide.md
+14-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,15 @@
2
2
3
3
All migration steps necessary in reading apps to upgrade to major versions of the Swift Readium toolkit will be documented in this file.
4
4
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
6
14
7
15
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:
8
16
@@ -11,7 +19,11 @@ To avoid [name collision with GCDWebServer](https://github.com/readium/swift-too
11
19
* Update the Carthage dependencies and make sure the new `ReadiumGCDWebServer.xcframework` was built.
12
20
* Replace `GCDWebServer.xcframework` with `ReadiumGCDWebServer.xcframework` in your project.
13
21
* 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'
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ If you're stuck, find more information at [developer.apple.com](https://develope
44
44
Add the following to your `Cartfile`:
45
45
46
46
```
47
-
github "readium/swift-toolkit" ~> 2.6.1
47
+
github "readium/swift-toolkit" ~> 2.7.0
48
48
```
49
49
50
50
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
71
71
Add the following `pod` statements to your `Podfile` for the Readium libraries you want to use:
72
72
73
73
```
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'
80
80
81
81
# 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'
83
83
```
84
84
85
85
Take a look at [CocoaPods's documentation](https://guides.cocoapods.org/using/using-cocoapods.html) for more information.
0 commit comments