Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

2.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mickael-menu mickael-menu released this 14 Apr 11:06
· 45 commits to develop since this release
f6ce578

Take a look at the migration guide

Added

  • PublicationServiceContext now holds a weak reference to the parent Publication. This can be used to access other services from a given PublicationService implementation.
  • The default LocatorService implementation can be used to get a Locator from a global progression in the publication.
    • publication.locate(progression: 0.5)

Changed

  • The Archive API now supports resource ownership at the entry level.
    • The default ZIP implementation takes advantage of this by opening a new ZIP stream for each resource to be served. This improves performances and memory safety.

Fixed

  • Improved performances when reading consecutive ranges of a deflated ZIP entry.
  • HREF normalization when a resource path contains special characters.