3.0.0-alpha.1
Pre-release
Pre-release
·
79 commits
to develop
since this release
Take a look at the migration guide
Changelog
Changed
- The
R2Shared
,R2Streamer
andR2Navigator
packages are now calledReadiumShared
,ReadiumStreamer
andReadiumNavigator
. - Many APIs now expect one of the new URL types (
RelativeURL
,AbsoluteURL
,HTTPURL
andFileURL
). This is helpful because:- It validates at compile time that we provide a URL that is supported.
- The API's capabilities are better documented, e.g. a download API could look like this :
download(url: HTTPURL) -> FileURL
.
Shared
Link
andLocator
'shref
are normalized as valid URLs to improve interoperability with the Readium Web toolkits.- You MUST migrate your database if you were persisting HREFs and Locators. Take a look at the migration guide for guidance.
- Links are not resolved to the
self
URL of a manifest anymore. However, you can still normalize the HREFs yourselves by callingManifest.normalizeHREFsToSelf()
. Publication.localizedTitle
is now optional, as we cannot guarantee a publication will always have a title.
What's Changed
- Refactor HREF normalization and models by @mickael-menu in #358
- Validate
Link
'shref
when creating aURL
by @mickael-menu in #379 - Fix audiobook regression by @mickael-menu in #380
- Prevent crash when reporting the currently spoken word by @mickael-menu in #381
- Validate Link HREFs only when they are not templated by @mickael-menu in #387
- Fix audiobook regression by @mickael-menu in #393
- Drop
R2
prefix by @mickael-menu in #412 - Don't require a
self
link to enable HTTP requests in a RWPM by @mickael-menu in #415 - Documentation by @mickael-menu in #384
- 3.0.0-alpha.1 by @mickael-menu in #420
Full Changelog: 2.7.1...3.0.0-alpha.1