helmet breaking changes
helmet 8.0.0 (September 28, 2024) is its newest release with breaking changes, 5 of them. The first: Drops support for Node.js 16 and 17 in helmet 8.0.0. Every breaking API change we have recorded in helmet on npm: 8 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.3.0, released July 12, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
helmet 8.0.0 breaking changes
- Removed
Node.js 16 and 17 are no longer supported. Node.js 18 or later is now required. github.com - Behavior changed
Content-Security-Policy
Content-Security-Policy now throws an error when a directive that needs quotes lacks them, such as self instead of 'self'. Add the quotes to your directive values. github.com - Behavior changed
Content-Security-Policy.getDefaultDirectives
getDefaultDirectives returns a deep copy, so code that mutated the result will no longer change the defaults. github.com - Behavior changed
Strict-Transport-Security
A misspelled includeSubDomains option in Strict-Transport-Security now throws an error instead of logging a warning. Fix the option name. github.com - Default changed
Strict-Transport-Security
The Strict-Transport-Security default max-age is now 365 days instead of 180. Set max-age explicitly if you need the old value. github.com
helmet 7.0.0 breaking changes
- Removed
Helmet 7 requires Node 16 or newer. Upgrade your Node.js runtime before using this version. github.com - Removed
expectCt
expectCt was removed in helmet 7.0.0 npmjs.com - Signature changed
HelmetOptions
Was type HelmetOptions = {contentSecurityPolicy?: ContentSecurityPolicyOptions | boolean crossOriginEmbedderPolicy?: CrossOriginEmbedderPolicyOptions | boolean crossOriginOpenerPolicy?: CrossOriginOpenerPolicyOptions | boolean... npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.