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
mickael-menu
released this
14 Apr 11:06
·
45 commits
to develop
since this release
Take a look at the migration guide
Added
PublicationServiceContext
now holds a weak reference to the parentPublication
. This can be used to access other services from a givenPublicationService
implementation.- The default
LocatorService
implementation can be used to get aLocator
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.