owaspheaders.core breaking changes
owaspheaders.core 11.0.0 (November 10, 2026) is its newest release with breaking changes, 54 of them. The first: Drops support for .NET 8 and .NET 9 targets in OwaspHeaders.Core 11.0.0. Every breaking API change we have recorded in owaspheaders.core on NuGet: 54 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 11.0.0, released November 10, 2026. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
owaspheaders.core 11.0.0 breaking changes
- Removed
Version 11 targets .NET 10 and .NET 11 only, so projects on .NET 8 or .NET 9 must change their target framework. gaprogman.github.io - Removed
ClearSiteDataConfiguration
Subclasses must call a public constructor with parameters instead. gaprogman.github.io - Removed
ContentSecurityPolicySandBox
Subclasses must call a public constructor with parameters instead. gaprogman.github.io - Removed
OwaspHeaders.Core.Constants.ExpectCtHeaderName
OwaspHeaders.Core.Constants.ExpectCtHeaderName was removed in OwaspHeaders.Core 11.0.0 nuget.org - Removed
OwaspHeaders.Core.Extensions.HttpContextExtensions
The type is no longer public, so replace calls with your own code or a BCL equivalent. nuget.org - Removed
OwaspHeaders.Core.Extensions.SecureHeadersMiddlewareBuilder.UseExpectCt
OwaspHeaders.Core.Extensions.SecureHeadersMiddlewareBuilder.UseExpectCt was removed in OwaspHeaders.Core 11.0.0 nuget.org - Removed
OwaspHeaders.Core.Extensions.StringBuilderExtensions
The type is no longer public, so replace calls with your own code or a BCL equivalent. nuget.org - Removed
OwaspHeaders.Core.Guards.BoolValueGuardClauses
The type is no longer public, so replace calls with your own code or a BCL equivalent. nuget.org - Removed
OwaspHeaders.Core.Guards.HeaderValueGuardClauses
The type is no longer public, so replace calls with your own code or a BCL equivalent. nuget.org - Removed
OwaspHeaders.Core.Guards.ObjectGuardClauses
The type is no longer public, so replace calls with your own code or a BCL equivalent. nuget.org - Removed
OwaspHeaders.Core.Helpers.ArgumentExceptionHelper
The type is no longer public, so replace calls with your own code or a BCL equivalent. nuget.org - Removed
OwaspHeaders.Core.Models.ExpectCt
OwaspHeaders.Core.Models.ExpectCt was removed in OwaspHeaders.Core 11.0.0 nuget.org - Removed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.ExpectCt
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.ExpectCt was removed in OwaspHeaders.Core 11.0.0 nuget.org - Removed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseExpectCt
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseExpectCt was removed in OwaspHeaders.Core 11.0.0 nuget.org - Removed
SecureHeadersMiddlewareConfiguration
Properties on the configuration can no longer be assigned, so use the matching builder method instead. gaprogman.github.io - Removed
UseExpectCt
The Expect-CT header has been removed entirely, so delete any call to UseExpectCt and any use of ExpectCt on a configuration object. Nothing replaces it. gaprogman.github.io - Behavior changed
Configuration is validated while the pipeline is built, so problems throw at startup rather than on the first request. gaprogman.github.io - Behavior changed
Builds write SKILL.md and a .gitignore into .agents and .claude skill folders, so opt out if unwanted. gaprogman.github.io - Behavior changed
SetCspUris
Browsers will start sending violation reports to your report-uri, so make sure that endpoint is ready. gaprogman.github.io - Behavior changed
SetUrlsToIgnore
A list containing a null, empty or whitespace entry now throws an ArgumentException, and the list is copied. gaprogman.github.io - Behavior changed
UseContentSecurityPolicyReportUriOnly
Passing useXContentSecurityPolicy: true to the report-only method now throws; pass it to UseContentSecurityPolicy instead. gaprogman.github.io - Behavior changed
UseReportingEndpointsPolicy
A null dictionary, empty endpoint name or null Uri now throws, and later changes to the input have no effect. gaprogman.github.io - Default changed
UseCacheControl
The default value is now no-cache, no-store, max-age=0, and options passed to UseCacheControl combine. gaprogman.github.io - Signature changed
ContentSecurityPolicyElement
Object initialisers that omit DirectiveOrUri no longer compile, so set it explicitly. gaprogman.github.io - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.CacheControl
Subclasses must call a public constructor with parameters instead. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.ClearSiteDataPathConfiguration
Was OwaspHeaders.Core.Models.ClearSiteDataPathConfiguration ClearSiteDataPathConfiguration {get; set;}; now OwaspHeaders.Core.Models.ClearSiteDataPathConfiguration ClearSiteDataPathConfiguration {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.ContentSecurityPolicyConfiguration
Subclasses must call a public constructor with parameters instead. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.ContentSecurityPolicyReportOnlyConfiguration
Was OwaspHeaders.Core.Models.ContentSecurityPolicyReportOnlyConfiguration ContentSecurityPolicyReportOnlyConfiguration {get; set;}; now OwaspHeaders.Core.Models.ContentSecurityPolicyReportOnlyConfiguration... nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.CrossOriginEmbedderPolicy
Was OwaspHeaders.Core.Models.CrossOriginEmbedderPolicy CrossOriginEmbedderPolicy {get; set;}; now OwaspHeaders.Core.Models.CrossOriginEmbedderPolicy CrossOriginEmbedderPolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.CrossOriginOpenerPolicy
Was OwaspHeaders.Core.Models.CrossOriginOpenerPolicy CrossOriginOpenerPolicy {get; set;}; now OwaspHeaders.Core.Models.CrossOriginOpenerPolicy CrossOriginOpenerPolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.CrossOriginResourcePolicy
Was OwaspHeaders.Core.Models.CrossOriginResourcePolicy CrossOriginResourcePolicy {get; set;}; now OwaspHeaders.Core.Models.CrossOriginResourcePolicy CrossOriginResourcePolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.HstsConfiguration
Subclasses must call a public constructor with parameters instead. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.LoggingConfiguration
Was OwaspHeaders.Core.Models.SecureHeadersLoggingConfiguration LoggingConfiguration {get; set;}; now OwaspHeaders.Core.Models.SecureHeadersLoggingConfiguration LoggingConfiguration {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.PermittedCrossDomainPolicyConfiguration
Subclasses must call a public constructor with parameters instead. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.ReferrerPolicy
Subclasses must call a public constructor with parameters instead. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.ReportingEndpointsPolicy
Subclasses must call a public constructor with parameters instead. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UrlsToIgnore
Was System.Collections.Generic.List<string> UrlsToIgnore {get; set;}; now System.Collections.Generic.List<string> UrlsToIgnore {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseCacheControl
Was bool UseCacheControl {get; set;}; now bool UseCacheControl {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseClearSiteData
Was bool UseClearSiteData {get; set;}; now bool UseClearSiteData {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseContentSecurityPolicy
Was bool UseContentSecurityPolicy {get; set;}; now bool UseContentSecurityPolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseContentSecurityPolicyReportOnly
Rename calls to UseContentSecurityPolicyReportUriOnly; the old name is obsolete and removed in version 12. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseCrossOriginEmbedderPolicy
Was bool UseCrossOriginEmbedderPolicy {get; set;}; now bool UseCrossOriginEmbedderPolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseCrossOriginOpenerPolicy
Was bool UseCrossOriginOpenerPolicy {get; set;}; now bool UseCrossOriginOpenerPolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseCrossOriginResourcePolicy
Was bool UseCrossOriginResourcePolicy {get; set;}; now bool UseCrossOriginResourcePolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseHsts
Was bool UseHsts {get; set;}; now bool UseHsts {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UsePermittedCrossDomainPolicy
Was bool UsePermittedCrossDomainPolicy {get; set;}; now bool UsePermittedCrossDomainPolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseReferrerPolicy
Was bool UseReferrerPolicy {get; set;}; now bool UseReferrerPolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseReportingEndPoints
Was bool UseReportingEndPoints {get; set;}; now bool UseReportingEndPoints {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseXContentSecurityPolicy
Was bool UseXContentSecurityPolicy {get; set;}; now bool UseXContentSecurityPolicy {get;}. nuget.org - Signature changed
OwaspHeaders.Core.Models.SecureHeadersMiddlewareConfiguration.UseXContentTypeOptions
Was bool UseXContentTypeOptions {get; set;}; now bool UseXContentTypeOptions {get;}. nuget.org
And 4 more in this version. Sign up to see every change
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.