- fix:
csp
does not automatically setreport-to
when settingreport-uri
- update:
hsts
no longer cares whether it's HTTPS and always sets the header
-
new:
csp
now supportsreport-to
directive -
update: throw an error when used incorrectly
-
update: add a few documentation files to
npmignore
- update: bump
connect
version
- new:
expectCt
middleware for setting theExpect-CT
header
- new:
csp
now supports theworker-src
directive
- update: bump
connect
version
- new:
csp
now supports moresandbox
directives
- update:
referrerPolicy
allowsstrict-origin
andstrict-origin-when-cross-origin
directives - update: bump
connect
version
- update: CSP now allows
manifest-src
directive
- update: CSP now allows
frame-src
directive
-
update: CSP will check your directives for common mistakes and throw errors if it finds them. This can be disabled with
loose: true
. -
update: empty arrays are no longer allowed in CSP. For source lists (like
script-src
orobject-src
), use the standardscriptSrc: ["'none'"]
. Thesandbox
directive can besandbox: true
to block everything. -
update:
false
can disable a CSP directive. For example,scriptSrc: false
is the same as not specifying it. -
update: in CSP,
reportOnly: true
no longer requires areport-uri
to be set. -
update:
hsts
'smaxAge
now defaults to 180 days (instead of 1 day) -
update:
hsts
'smaxAge
parameter is seconds, not milliseconds -
update:
hsts
includes subdomains by default -
update:
hpkp
'smaxAge
parameter is seconds, not milliseconds -
update:
domain
parameter inframeguard
cannot be empty -
remove:
noEtag
option no longer present innoCache
-
remove: iOS Chrome
connect-src
workaround in CSP module
-
new:
hpkp
middleware now supports theincludeSubDomains
property with a capital D -
fix:
hpkp
was settingincludeSubdomains
instead ofincludeSubDomains
- new:
referrerPolicy
middleware
- update: top-level aliases (like
helmet.xssFilter
) are no longer dynamically required
-
update:
nocache
'snoEtag
option is now deprecated -
fix:
csp
now better handles Firefox on mobile
-
update: remove several dependencies from
helmet-csp
-
fix:
frameguard
had a documentation error about its default value -
fix:
frameguard
docs in main Helmet readme saidframeguard
, nothelmet.frameguard
- new:
csp
lets you dynamically setreportOnly
-
new: pass configuration to enable/disable default middlewares
-
update:
dnsPrefetchControl
middleware is now default -
fix: make
hpkp
lowercase in documentation -
fix: update
hpkp
spec URL in readmes -
fix: update
frameguard
header name in readme -
remove: module aliases. There is now just one way to include each middleware
-
remove:
frameguard
can no longer be initialized with strings; you must use an object
- new:
hpkp
has asetIf
option to conditionally set the header
-
new:
csp
now has abrowserSniff
option to disable all user-agent sniffing -
update:
frameguard
can now be initialized with options -
update: add
npmignore
file to speed up installs slightly
-
new: code of conduct
-
new:
dnsPrefetchControl
middleware -
fix:
csp
readme had syntax errors
- fix:
csp
wouldn't recognizeIE Mobile
browsers - fix:
csp
had some errors in its readme - fix: main readme had a syntax error
- fix:
csp
with no User Agent would cause errors
-
new:
csp
module supports dynamically-generated values -
update:
csp
directives are now under thedirectives
key -
update:
hpkp
'sReport-Only
header is now opt-in, not opt-out -
update: tweak readmes of every sub-repo
-
fix: old Firefox Content-Security-Policy behavior for
unsafe-inline
andunsafe-eval
-
fix: dynamic
csp
policies is no longer recursive -
remove:
crossdomain
middleware -
remove:
csp
no longer throws errors when some directives aren't quoted ('self'
, for example) -
remove:
maxage
option in thehpkp
middleware -
remove:
safari5
option fromcsp
module
- update:
hpkp
allows areport-uri
without theReport-Only
header
-
new:
nocache
now sends theSurrogate-Control
header -
update:
nocache
no longer contains theprivate
directive in theCache-Control
header
-
new:
xssFilter
now has a function name -
update: add new CSP docs to readme
-
update: HSTS option renamed from
includeSubdomains
toincludeSubDomains
-
new:
csp
now supports Microsoft Edge -
new: CSP Level 2 support
-
update:
connect
to 3.4.0 -
update:
depd
to 1.1.0 -
fix: add
license
key tocsp
'spackage.json
-
fix: empty
csp
directives support every directive, not justsandbox
-
new: add "Handling CSP violations" to
csp
readme -
new: add license to
package.json
-
update:
hpkp
had a link to the wrong place in its readme -
update:
hpkp
requires 2 or more pins -
fix:
hpkp
might have miscalculatedmaxAge
slightly wrong
- update:
nocache
addsprivate
to itsCache-Control
directive - update:
package.json
description
-
update: deprecate
crossdomain
middleware -
update: remove hefty Lodash dependency from HSTS and CSP
-
update: update string detection module in Frameguard
-
update: change readme slightly to better reflect project's focus
-
remove:
crossdomain
is no longer a default middleware
- update: all outdated dependencies (insofar as possible)
- update: HSTS now uses Lodash like all the rest of the libraries
-
new:
hpkp
middleware -
update: Travis CI should test 0.10 and 0.12
-
update: minor code cleanup
- update: improve
xssFilter
performance - update: Lodash versions
-
new: "Other recommended modules" in README
-
update: Lodash version
-
fix:
frameguard
middleware exported a function calledxframe
-
new: you can disable
csp
for Android -
fix:
csp
on Chrome Mobile on Android and iOS
- update:
nocache
should force revalidation
-
update: Platform version in CSP and X-XSS-Protection
-
fix: bad wording in frameguard docs
-
update: Connect version
-
update: Sinon version
-
fix: minor
csp
bugfixes
-
new: Travis CI for everyone
-
update: URLs in
package.json
for new URL -
fix: CSP would set all headers forever after receiving an unknown user agent
-
new: most middlewares have some aliases now
-
update:
xframe
now calledframeguard
(thoughxframe
still works) -
update:
frameguard
chooses sameorigin by default -
update:
frameguard
understands "SAME-ORIGIN" in addition to "SAMEORIGIN" -
update:
nocache
removed from default middleware stack -
update: middleware split out into their own modules
-
update: documentation
-
update: supported Node version to at least 0.10.0
-
update: Connect version
-
fix: readme link was broken
-
remove: deprecation warnings
- new: support preload in HSTS header
- update: use helmet-crossdomain to test the waters
- update: 2 spaces instead of 4 throughout the code
-
new: nocache now sets the Expires and Pragma headers
-
new: nocache now allows you to crush ETags
-
update: improve the docs for nosniff
-
update: revert HSTS behavior of requiring a specified max-age
-
fix: allow HSTS to have a max-age of 0
-
new: all middleware functions are named
-
new: throw error with non-positive HSTS max-age
-
update: add semicolons in README
-
update: make some Errors more specific
-
fix:
helmet()
was having issues -
fix: syntax errors in README
-
remove: all comment headers; refer to the readme
This file was started after the release of 0.3.1.