- Bugfix: Add style/script directive if nonce is true
- Bugfix: style-src nonce updates properly, speed improvement on match
- Support for nonce for either style-src, script-src, or both
- Lower case headers for improved performance
- Support for referrer-policy
- Allow CSRF cookie options to be set
- Bugfix: return to suppress promise warning
- Bugfix: typo in
nosniff
header
- Add
nosniff
middleware - Add new method signatures for more flexible csp configuration
- Add
req.csrfToken
method to (re)generate token
- Add angular convenience wrapper around CSRF cookie configuration
- Fix csrf header case-sensitivity
- Add
preload
flag to HSTS options
- Add support for HTTP Strict Transport (HSTS) header