Releases: trezy/next-safe
Releases · trezy/next-safe
v3.1.1
v3.1.0
3.1.0 (2021-10-17)
Bug Fixes
- prevent dev mode from causing errors if connect, script, or style are undefined (51def8b)
- properly set dev headers instead of throwing away the concatenated value (970486e)
- remove semicolon added in error (c107ddc)
- use correct src directory for prepublish step (12f1f69)
Features
v3.0.1
v3.0.0
3.0.0 (2021-05-21)
TL;DR
✅ Support for the latest version of Permissions-Policy
✅ No more require(‘next-safe’).default when importing
Code Refactoring
- convert source to commonjs (1a61f97), closes #2
- update
permissions-policy
format (872dd0d), closes #4
BREAKING CHANGES
- removes the
.default
export - Changes the format of the
permissions-policy
header
v2.0.0
2.0.0 (2021-01-05)
Bug Fixes
- buildcspheaders: handle error when passing empty object or no arg (1b56177)
- buildpermissionspolicyheaders: allow empty permissions policy to use all defaults (2edd5b6)
Build System
- switch from Rollup to Webpack (201ea67)
BREAKING CHANGES
- Eliminates the .mjs module in favor of UMD pattern