Skip to content

2.5.1

Compare
Choose a tag to compare
@mickael-menu mickael-menu released this 07 Jul 18:25
· 125 commits to main since this release

Take a look at the migration guide

  • The Readium toolkit now requires iOS 11.0+.

Added

Navigator

  • The auto spread setting is now available for fixed-layout EPUBs. It will display two pages in landscape and a single one in portrait.

Streamer

  • The EPUB content iterator now returns audio and video elements and fill in the progression and totalProgression locator properties.

Changed

Navigator

  • EPUBNavigatorViewController.firstVisibleElementLocator() now returns the first block element that is visible on the screen, even if it starts on previous pages.
    • This is used to make sure the user will not miss any context when restoring a TTS session in the middle of a resource.

Fixed

Navigator

  • Fixed the PDF auto spread setting and scaling pages when rotating the screen.
  • Fixed navigating to the first chapter of an audiobook with a single resource (contributed by @grighakobian).
  • Prevent auto-playing videos in EPUB publications.
  • Fixed various memory leaks and data races.
  • The WKWebView is now inspectable again with Safari starting from iOS 16.4.
  • Fixed crash in the PublicationSpeechSynthesizer when closing the navigator without stopping it first.
  • Fixed pausing the PublicationSpeechSynthesizer right before starting the utterance.
  • Fixed the audio session kept opened while the app is in the background and paused.
  • Fixed the Attribute dir redefined error when the EPUB resource already has a dir attribute.
  • #309 Fixed restoring the EPUB location when the application was killed in the background (contributed by @triin-ko).

Streamer

  • Fix issue with the TTS starting from the beginning of the chapter instead of the current position.