All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Update dependencies.
- Clean up unnecessary NPM package files.
- Clean up unnecessary dependencies.
- Don't cache response for SW.
- Support crossorigin setting in push-manifest.
- Add
as=fetch
as a valid value for preload headers.
- Update browser-capabilities to pick up the latest user agent information for modules and service workers. Support for dynamic
import()
andimport.meta
are now requirements for themodules
capability. - If a build with a push manifest is served to a browser that does not support push (according to browser-capabilities), then we will still set preload headers, but with the
nopush
attribute set.
- Add
forwardErrors
option to pass 404s and other HTTP errors down to the next Express error-handling middleware. - Recommend
npm
instead ofyarn
and switch tonpm
lock file. - Check file existence asynchronously so the event loop is not blocked.
- Add
unregisterMissingServiceWorkers
option (default true) which serves a tiny self-unregistering service worker for would-be 404 service worker requests, to prevent clients from getting stuck with invalid service workers indefinitely.
- Require latest browser capabilities, which removes Firefox from push capable browsers due to https://bugzilla.mozilla.org/show_bug.cgi?id=1409570.
- Bump Yarn lock dependencies.
- Check the original URL path against the push manifest in addition to the resolved filename. This allows mapping application route patterns to push resources.
- Push manifest keys are now regular expression patterns instead of exact paths.
- The
Cache-Control
header is now set to 1 minute by default (except for the entrypoint). Added thecacheControl
config property and--cache-control
flag to override.
- Add
--bot-proxy
flag to proxy requests from bots through Rendertron.
- Switch to https://github.com/Polymer/browser-capabilities library.
- Add
modules
capability. - Declare TypeScript typings in package.
- Add
--version
flag.
- Relative push manifest paths are now interpreted as relative to the location of the push manifest file itself. Previously they were always interpreted as relative to the server root.
- Extra safeguard against directory traversal attacks.
- Add
serviceworker
to browser capability detection.
- Add HTTP to HTTPS redirection.
- The commandline server now compresses responses.
- Fixed Windows bugs; now tested on AppVeyor.
- Initial release.