This repository has been archived by the owner on Aug 12, 2022. It is now read-only.
Releases: readium/r2-streamer-swift
Releases · readium/r2-streamer-swift
2.2.0
Take a look at the migration guide
Nothing new for r2-streamer-swift
in Readium Swift 2.2.0.
2.1.0
Take a look at the migration guide
Added
- Support for Swift Package Manager (contributed by @stevenzeck).
- EPUB publications implement a
SearchService
to search through the content.
Changed
- The default EPUB positions service now uses the archive entry length when available. This is similar to how Adobe RMSDK generates page numbers.
- To use the former strategy, create the
Streamer
with:Streamer(parsers: [EPUBParser(reflowablePositionsStrategy: .originalLength(pageLength: 1024))])
- To use the former strategy, create the
Fixed
- #208 Crash when reading obfuscated EPUB resources with an empty publication identifier.
2.0.0
Take a look at the migration guide
Deprecated
- All APIs deprecated in previous versions are now unavailable.
2.0.0-beta.2
Take a look at the migration guide
Changed
- The HTTP server now requests that publication resources are not cached by browsers.
- Caching poses a security risk for protected publications.
2.0.0-beta.1
Take a look at the migration guide
Changed
Streamer
is now expecting aPublicationAsset
instead of aFile
. You can create custom implementations of
PublicationAsset
to open a publication from different medium, such as a file, a remote URL, in-memory bytes, etc.FileAsset
can be used to replaceFile
and provides the same behavior.
2.0.0-alpha.2
Take a look at the migration guide
Added
- Streamer API offers a simple interface to parse a publication and replace standalone parsers.
- A generic
ImageParser
for bitmap-based archives (CBZ or exploded directories) and single image files. - A generic
AudioParser
for audio-based archives (Zipped Audio Book or exploded directories) and single audio files.
Changed
Container
andContentFilters
were replaced by a shared implementation of aFetcher
.PDFFileParser
was replaced in favor of a sharedPDFDocument
protocol. This version ships with two implementations using PDFKit and CoreGraphics.
Fixed
- Deobfuscating ranges of EPUB resources.
2.0.0-alpha.1
Added
ReadiumWebPubParser
to parse all Readium Web Publication profiles, including Audiobooks and LCP for PDF. It parses both manifests and packages.
Fixed
- Significant performance improvement when opening PDF documents protected with LCP.
- Prevent the embedded HTTP server from stopping when the device is locked, to allow background playback of audiobooks.
1.2.5: Merge pull request #144 from readium/develop
1.2.4: Merge pull request #138 from readium/fixes/gcd-server
updated gcd server dependency
1.2.3
Update .travis.yml