- new:
xssFilternow supportsreportUrioption
- update: main Helmet middleware is now named to help with debugging
-
new:
cspnow supportsprefix-srcdirective -
update:
cspno longer loads JSON files internally, helping some module bundlers -
fix:
falseshould be able to disable a CSP directive
-
new:
cspnow supportsstrict-dynamicvalue -
new:
cspnow supportsrequire-sri-fordirective -
remove:
connectdependency
- update:
connectdependency to latest
- fix:
cspdoes not automatically setreport-towhen settingreport-uri
- update:
hstsno longer cares whether it's HTTPS and always sets the header
-
new:
cspnow supportsreport-todirective -
update: throw an error when used incorrectly
-
update: add a few documentation files to
npmignore
- update: bump
connectversion
- new:
expectCtmiddleware for setting theExpect-CTheader
- new:
cspnow supports theworker-srcdirective
- update: bump
connectversion
- new:
cspnow supports moresandboxdirectives
- update:
referrerPolicyallowsstrict-originandstrict-origin-when-cross-origindirectives - update: bump
connectversion
- update: CSP now allows
manifest-srcdirective
- update: CSP now allows
frame-srcdirective
-
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-srcorobject-src), use the standardscriptSrc: ["'none'"]. Thesandboxdirective can besandbox: trueto block everything. -
update:
falsecan disable a CSP directive. For example,scriptSrc: falseis the same as not specifying it. -
update: in CSP,
reportOnly: trueno longer requires areport-urito be set. -
update:
hsts'smaxAgenow defaults to 180 days (instead of 1 day) -
update:
hsts'smaxAgeparameter is seconds, not milliseconds -
update:
hstsincludes subdomains by default -
update:
hpkp'smaxAgeparameter is seconds, not milliseconds -
update:
domainparameter inframeguardcannot be empty -
remove:
noEtagoption no longer present innoCache -
remove: iOS Chrome
connect-srcworkaround in CSP module
-
new:
hpkpmiddleware now supports theincludeSubDomainsproperty with a capital D -
fix:
hpkpwas settingincludeSubdomainsinstead ofincludeSubDomains
- new:
referrerPolicymiddleware
- update: top-level aliases (like
helmet.xssFilter) are no longer dynamically required
-
update:
nocache'snoEtagoption is now deprecated -
fix:
cspnow better handles Firefox on mobile
-
update: remove several dependencies from
helmet-csp -
fix:
frameguardhad a documentation error about its default value -
fix:
frameguarddocs in main Helmet readme saidframeguard, nothelmet.frameguard
- new:
csplets you dynamically setreportOnly
-
new: pass configuration to enable/disable default middlewares
-
update:
dnsPrefetchControlmiddleware is now default -
fix: make
hpkplowercase in documentation -
fix: update
hpkpspec URL in readmes -
fix: update
frameguardheader name in readme -
remove: module aliases. There is now just one way to include each middleware
-
remove:
frameguardcan no longer be initialized with strings; you must use an object
- new:
hpkphas asetIfoption to conditionally set the header
-
new:
cspnow has abrowserSniffoption to disable all user-agent sniffing -
update:
frameguardcan now be initialized with options -
update: add
npmignorefile to speed up installs slightly
-
new: code of conduct
-
new:
dnsPrefetchControlmiddleware -
fix:
cspreadme had syntax errors
- fix:
cspwouldn't recognizeIE Mobilebrowsers - fix:
csphad some errors in its readme - fix: main readme had a syntax error
- fix:
cspwith no User Agent would cause errors
-
new:
cspmodule supports dynamically-generated values -
update:
cspdirectives are now under thedirectiveskey -
update:
hpkp'sReport-Onlyheader is now opt-in, not opt-out -
update: tweak readmes of every sub-repo
-
fix: old Firefox Content-Security-Policy behavior for
unsafe-inlineandunsafe-eval -
fix: dynamic
csppolicies is no longer recursive -
remove:
crossdomainmiddleware -
remove:
cspno longer throws errors when some directives aren't quoted ('self', for example) -
remove:
maxageoption in thehpkpmiddleware -
remove:
safari5option fromcspmodule
- update:
hpkpallows areport-uriwithout theReport-Onlyheader
-
new:
nocachenow sends theSurrogate-Controlheader -
update:
nocacheno longer contains theprivatedirective in theCache-Controlheader
-
new:
xssFilternow has a function name -
update: add new CSP docs to readme
-
update: HSTS option renamed from
includeSubdomainstoincludeSubDomains
-
new:
cspnow supports Microsoft Edge -
new: CSP Level 2 support
-
update:
connectto 3.4.0 -
update:
depdto 1.1.0 -
fix: add
licensekey tocsp'spackage.json -
fix: empty
cspdirectives support every directive, not justsandbox
-
new: add "Handling CSP violations" to
cspreadme -
new: add license to
package.json -
update:
hpkphad a link to the wrong place in its readme -
update:
hpkprequires 2 or more pins -
fix:
hpkpmight have miscalculatedmaxAgeslightly wrong
- update:
nocacheaddsprivateto itsCache-Controldirective - update:
package.jsondescription
-
update: deprecate
crossdomainmiddleware -
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:
crossdomainis 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:
hpkpmiddleware -
update: Travis CI should test 0.10 and 0.12
-
update: minor code cleanup
- update: improve
xssFilterperformance - update: Lodash versions
-
new: "Other recommended modules" in README
-
update: Lodash version
-
fix:
frameguardmiddleware exported a function calledxframe
-
new: you can disable
cspfor Android -
fix:
cspon Chrome Mobile on Android and iOS
- update:
nocacheshould 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
cspbugfixes
-
new: Travis CI for everyone
-
update: URLs in
package.jsonfor new URL -
fix: CSP would set all headers forever after receiving an unknown user agent
-
new: most middlewares have some aliases now
-
update:
xframenow calledframeguard(thoughxframestill works) -
update:
frameguardchooses sameorigin by default -
update:
frameguardunderstands "SAME-ORIGIN" in addition to "SAMEORIGIN" -
update:
nocacheremoved 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.