secure_headers breaking changes
secure_headers 7.0.0 (October 16, 2024) is its newest release with breaking changes. The first: Default changed X-XSS-Protection. Every breaking API change we have recorded in secure_headers on RubyGems: 5 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.3.0. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 6.0.0 to 7.0.0: 1 breaking change in 1 version.
- From 2.0.0 to 7.0.0: 3 breaking changes in 3 versions.
secure_headers 7.0.0 breaking changes
- Default changed
X-XSS-Protection
The default X-XSS-Protection value is now 0 instead of the previous default. Code relying on the old default header value must set it explicitly. github.com
secure_headers 6.0.0 breaking changes
- Configuration changed
The changelog points to a separate upgrading guide for the breaking changes, which is not included in the provided text, so the specific changes cannot be listed here. Read the upgrading guide before upgrading. github.com
secure_headers 5.0.1 breaking changes
- Behavior changed
The Expect-CT header output changed to use a comma separator between directives, following the current spec. Code that depends on the exact header string may need to be updated. github.com
secure_headers 2.0.0 breaking changes
- Removed
hpkp
HPKP support is left out of this release because the implementations are considered unstable. Code that uses HPKP configuration must be removed or changed. github.com - Default changed
X-Permitted-Cross-Domain-Policies
The release adds X-Permitted-Cross-Domain-Policies to the headers sent by default. Code that expects the default header set must account for this extra header. github.com
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.