|
| 1 | +## Changes in 1.0.0 |
| 2 | + |
| 3 | +This marks the first major release of the _NetEscapades.AspNetCore.SecurityHeaders_. For simplicity, all the changes since 0.24.0 are included below. |
| 4 | + |
| 5 | +Breaking Changes: |
| 6 | + |
| 7 | +* Drop support for .NET Standard 2.0, raises minimum framework to .NET Core 3.1 #167, #171 |
| 8 | +* Removed "document header" functionality, in favour of always adding all headers #186 |
| 9 | +* Remove `X-XSS-Protection` from default headers and mark obsolete #168 |
| 10 | +* Add `cross-origin-opener-policy: same-origin` to default headers #184 |
| 11 | +* Mark `Feature-Policy` as obsolete #187 |
| 12 | +* Mark `Expect-CT` as obsolete #197 |
| 13 | +* Make nonce generation lazy on call to `HttpContext.GetNonce()` #198 |
| 14 | +* Remove ambient-light-sensor=() from `DefaultSecureDirectives()` for permissions policy #203 (Thanks [damienbod](https://github.com/damienbod)!) |
| 15 | +* Update COOP, COEP, and CORP for `AddDefaultSecurityHeaders()` and `AddDefaultApiSecurityHeaders()` #204 (Thanks [damienbod](https://github.com/damienbod)!) |
| 16 | +* Removes obsolete APIs (#217) |
| 17 | + |
| 18 | +Features: |
| 19 | + |
| 20 | +* Allow configuring "named" policies, and applying different policies to different endpoints #172, #173, #185 |
| 21 | +* Allow customizing the `HeaderPolicyCollection` just before it is applied, customizing per request #174, #185 |
| 22 | +* Make adding directives to `Content-Security-Policy` idempotent to avoid duplicates #169 |
| 23 | +* Add `AddDefaultApiSecurityHeaders()` for adding default headers to APIs #183, #184 |
| 24 | +* Add `AddPermissionsPolicyWithRecommendedDirectives()` and `PermissionsPolicyBuilder.AddDefaultSecureDirectives()` for adding secure `Permissions-Policy` directives in bulk #183, #184 |
| 25 | +* NetEscapades.AspNetCore.SecurityHeaders now has an icon, thanks @khalidabuhakmeh! #195 |
| 26 | +* Allow accessing an `IServiceProvider` when configuring a `SecurityHeaderPolicyBuilder` #200 |
| 27 | +* Adds support for Trusted Types to Content-Security-Policy (#216, #218) |
| 28 | + |
1 | 29 | Build updates: |
2 | 30 |
|
| 31 | +* Allow building from forks #232 |
| 32 | +* Fix release generation #231, #235, #236 |
3 | 33 | * Fix recording test results #221 |
4 | 34 | * Define version in the build project instead #223 |
5 | 35 | * Generate SBOM #222 |
6 | 36 | * Generate SBOM attestation #224 |
7 | 37 | * Generate artifact provenance attestation #225 |
8 | | -* Automatically create releases #229 |
| 38 | +* Automatically create releases #229 |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | +Changes from 1.0.0-preview.4 to 1.0.0: |
| 43 | + |
| 44 | +* Allow building from forks #232 |
| 45 | +* Fix release generation #231, #235, #236 |
0 commit comments