Warning
Minor releases (a.B.c) of the Readium toolkit may now include minor breaking changes, such as dependency upgrades or small API modifications. Major version numbers are reserved for significant architectural changes.
Documentation
- Versioned Documentation – Complete API reference on readium.org.
- Migration Guide – Instructions for upgrading from previous versions.
Changelog
Deprecated
Shared
- The
Instantutility class is deprecated in favor ofkotlin.time.Instant. UseClock.System.now()to get the current time.- Note:
kotlin.time.Instantdoes not implementParcelable. If you were passingInstantvia Intents or Bundles, you must now passLongprimitives usingtoEpochMilliseconds()and reconstruct the instant withkotlin.time.Instant.fromEpochMilliseconds(). - Note:
kotlin.time.Instant.parse()only accepts ISO-8601 strings with a UTC offset. If you were relying onInstant.parse()to handle date-only strings (e.g."2020-12-09") or strings without a timezone offset (e.g."2020-12-09T09:16:56"), you must handle these formats manually before parsing.
- Note:
Fixed
Navigator
- Fixed loading of EPUB assets, such as fonts, referenced from publication resources. They were previously blocked by cross-origin (CORS) restrictions.
What's Changed
- Remove material icons extended dependency by @stevenzeck in #778
- Fix Dokka by @stevenzeck in #792
- Deprecate Shared Instant and replace uses of it with Kotlin Instant by @stevenzeck in #781
- Add release automation scripts by @mickael-menu in #791
- Refactor LCP to remove koi and joda by @stevenzeck in #780
- Allow assets to be consumed in publication resources by @qnga in #797
- 3.3.0 by @mickael-menu in #798
Full Changelog: 3.2.0...3.3.0