Releases: xp-forge/frontend
Releases · xp-forge/frontend
2.3.1: Vary: Accept-Encoding
- Added
Vary: Accept-Encoding
to prevent CDNs from caching incorrectly,
see https://blog.stackpath.com/accept-encoding-vary-important/
(@thekid)
2.3.0: Asset fingerprinting
- Merged PR #17: Implement asset fingerprinting. This makes the bundler
generate assets named[name].[contenthash].[extension]
, which can
then be delivered with immutable caching, see
https://webhint.io/docs/user-guide/hints/hint-http-cache/
(@thekid) - Merged PR #16: Introduce globals, which are passed to the template
context. This is a prerequisite for being able to pass the asset
manifest to the frontend, see #15.
(@thekid)
2.2.0: Bundling & caching
- Merged PR #14: Set Cache-Control to no-cache & allow overwriting via
View::cache()
(@thekid) - Merged PR #13: Add
web.handler.AssetsFrom
to serve frontend assets.
(@thekid) - Merged PR #12: Add
xp bundle
subcommand. This tool can compile NPM
libraries into bundled frontend assets and serves as a lightweight
alternative to a more complicated npm & webpack build system.
(@thekid)
2.1.0: X-Content-Type-Options: nosniff
- Added
X-Content-Type-Options: nosniff
to headers to prevent UAs
from performing guesswork. See https://mimesniff.spec.whatwg.org/ and
https://webhint.io/docs/user-guide/hints/hint-x-content-type-options/
(@thekid)
2.0.0: Drop PHP 5 support
- Implemented xp-framework/rfc#334: Drop PHP 5.6:
. Heads up: Minimum required PHP version now is PHP 7.0.0
. Rewrote code base, grouping use statements
. Convertednewinstance
to anonymous classes
. Rewroteisset(X) ? X : default
toX ?? default
(@thekid)
1.0.2: Annotation syntax
- Implemented RFC #335: Remove deprecated key/value pair annotation syntax
(@thekid)
1.0.1: XP10 compatibility
- Made compatible with XP 10 - @thekid
1.0.0: Handlers
0.7.1: Stacktrace fix
- Added PHP 7.4 support - @thekid
- Fixed wrapped exceptions' stacktraces from appearing. See PR #9 for
discussions, examples and the (easy) fix.
(@thekid, @johannes85)
0.7.0: Request in templates
- Merged PR #8: Request in templates - @johannes85, @thekid