3.0.0-beta.2
Pre-release
Pre-release
mickael-menu
released this
14 Jan 13:37
·
1 commit
to develop
since this release
Take a look at the migration guide
Changelog
- The Readium Swift toolkit now requires a minimum of iOS 13.4.
- All the libraries are now available on a dedicated Readium CocoaPods Specs repository. Take a look at the migration guide to migrate.
Added
Navigator
- The
EPUBNavigatorViewController.Configuration.disablePageTurnsWhileScrolling
property disables horizontal swipes for navigating to previous or next resources when scroll mode is enabled. When set totrue
, you must implement your own mechanism to move to the next resource (contributed by @alecdhansen).
Changed
Shared
- The default
ZIPArchiveOpener
is now using ZIPFoundation instead of Minizip, with improved performances when reading ranges ofstored
ZIP entries. - Improvements in the HTTP client:
- The
consume
closure ofHTTPClient.stream()
can now return an error to abort the HTTP request. HTTPError
has been refactored for improved type safety and a clearer separation of connection errors versus HTTP errors.DefaultHTTPClient
no longer automatically restarts a failedHEAD
request as aGET
to retrieve the response body. If you relied on this behavior, you can implement it using a customDefaultHTTPClientDelegate.httpClient(_:recoverRequest:fromError:)
.
- The
Fixed
Shared
- Fixed a crash using
HTTPClient.download()
when the device storage is full.
Navigator
- #509 Removed the "Copy Link with Highlight" and "Writing Tools" EPUB editing actions on newer devices.
OPDS
- Fixed a data race in the OPDS 1 parser.
Commits
- Main actor conformance for the navigator delegates by @mickael-menu in #511
- Fix
PublicationService.get()
by @mickael-menu in #513 - Remove unused Minizip from ReadiumStreamer by @mickael-menu in #517
- Migrate to ZIPFoundation by @mickael-menu in #518
- Fix various crashes and memory leaks by @mickael-menu in #520
- Update file headers by @mickael-menu in #525
- Fix EPUB deobfuscation of ranges by @mickael-menu in #526
- Optimize two-pages spread computation by @mickael-menu in #527
- Don't crash the app if the LCP database cannot be opened by @mickael-menu in #528
- Fix data race in
OPDS1Parser
by @mickael-menu in #529 - Improve the HTTP client by @mickael-menu in #530
- feat: add option to disable horizontal swiping when settings.scroll is true by @alecdhansen in #531
- Remove the "Copy Link with Highlight" and "Writing Tools" EPUB editing actions by @mickael-menu in #532
- Fix concurrency warnings by @mickael-menu in #533
- 3.0.0-beta.2 by @mickael-menu in #534
New Contributors
- @alecdhansen made their first contribution in #531
Full Changelog: 3.0.0-beta.1...3.0.0-beta.2