---
title: "secure_headers 7.0.0 Breaking Changes on RubyGems"
description: "What each secure_headers release removed, renamed or changed: 5 breaking changes in 4 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/secure_headers
last_updated: 2026-12-04
---

# 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

Latest version `7.3.0`. [Source repository](https://github.com/twitter/secureheaders)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [7.0.0](#v-7-0-0): 3 breaking changes in 3 versions.

## secure_headers 7.0.0 breaking changes

secure_headers 7.0.0, released October 16, 2024: 1 breaking change.

- **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](https://github.com/github/secure%5Fheaders/releases/tag/v7.0.0)

## secure_headers 6.0.0 breaking changes

secure_headers 6.0.0, released May 8, 2018: 1 breaking change.

- **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](https://github.com/twitter/secureheaders/blob/v6.0.0/CHANGELOG.md)

## secure_headers 5.0.1 breaking changes

secure_headers 5.0.1, released October 19, 2017: 1 breaking change.

- **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](https://github.com/twitter/secureheaders/blob/v5.0.1/CHANGELOG.md)

## secure_headers 2.0.0 breaking changes

secure_headers 2.0.0, released January 23, 2015: 2 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](https://github.com/github/secure%5Fheaders/releases/tag/2.0.0)
- **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](https://github.com/github/secure%5Fheaders/releases/tag/2.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
