|
1 | 1 | Release Notes |
2 | 2 | ============= |
3 | 3 |
|
| 4 | +## 8.2.0 - 2025-11-12 |
| 5 | + |
| 6 | +#### Breaking changes |
| 7 | + |
| 8 | +- [Some security fixes for Giraffe](https://github.com/giraffe-fsharp/Giraffe/pull/691) - Credits @Thorium |
| 9 | + - New handlers added to improve security aspects, like `safeRedirectTo`, `safeRedirectToExt`, `validateCsrfTokenExt` and more. Those deal with: |
| 10 | + - URL validation in `redirectTo` to prevent cross-site scripting (XSS) |
| 11 | + - Cross-Site Request Forgery (CSRF) token validation helpers |
| 12 | + - XML serializer's `Deserialize<'T>(xml: string)` method now uses a configuration to prevent XXE attacks. |
| 13 | +- [Remove [\<AllowNullLiteral\>] attribute from Json.ISerializer and Xml.ISerializer](https://github.com/giraffe-fsharp/Giraffe/pull/685) - Credits @64J0 |
| 14 | + - With the release of .NET 9 we have [nullable reference types](https://devblogs.microsoft.com/dotnet/nullable-reference-types-in-fsharp-9/). |
| 15 | + - When this feature is enabled (`<Nullable>enable</Nullable>`), our users started running into problems that boils down to `Json.ISerializer` having the `AllowNullLiteral` attribute. |
| 16 | + - Due to it, we decided to remove this attribute from both the `Json.ISerializer` and the `Xml.ISerializer`. |
| 17 | + - New automated tests were added to assert that the serializers are still working properly. |
| 18 | + - We also updated some sample projects to use this feature. |
| 19 | + |
| 20 | +#### Other updates |
| 21 | + |
| 22 | +- [Remove Obsolete from redirectTo](https://github.com/giraffe-fsharp/Giraffe/pull/695) - Credits @kerams |
| 23 | +- [Could we avoid allocation of UTF8 byte array?](https://github.com/giraffe-fsharp/Giraffe/pull/692) - Credits @Thorium |
| 24 | +- [Update fsharp-analyzers and the analyzer packages](https://github.com/giraffe-fsharp/Giraffe/pull/662) - Credits @Numpsy |
| 25 | +- [Improve JSON docs](https://github.com/giraffe-fsharp/Giraffe/pull/665) - Credits @64J0 |
| 26 | +- [Add issue templates](https://github.com/giraffe-fsharp/Giraffe/pull/671) - Credits @64J0 |
| 27 | +- [Enhance routef support for named parameters and improve documentation](https://github.com/giraffe-fsharp/Giraffe/pull/656) - Credits @RJSonnenberg |
| 28 | +- [Fix assembly version](https://github.com/giraffe-fsharp/Giraffe/pull/655) |
| 29 | +- [Add GitHub dependabot configuration](https://github.com/giraffe-fsharp/Giraffe/pull/621) - Credits @64J0 |
| 30 | +- [Add global rate limiting sample](https://github.com/giraffe-fsharp/Giraffe/pull/622) - Credits @64J0 |
| 31 | +- [Add OpenApi section to the documentation](https://github.com/giraffe-fsharp/Giraffe/pull/624) - Credits @64J0 |
| 32 | +- [Add AssemblyVersion attribute](https://github.com/giraffe-fsharp/Giraffe/pull/629) - Credits @64J0 |
| 33 | +- [Add more links](https://github.com/giraffe-fsharp/Giraffe/pull/633) - Credits @64J0 |
| 34 | +- [Code scanning fix patches](https://github.com/giraffe-fsharp/Giraffe/pull/638) - Credits @64J0 |
| 35 | +- [Add .NET 9 as target framework, fine-tune dependabot, update CI and clean tests removing .NET 6/7 from target frameworks](https://github.com/giraffe-fsharp/Giraffe/pull/639) - Credits @64J0 |
| 36 | +- [[Alpha] Add Endpoint routing functions ...WithExtensions](https://github.com/giraffe-fsharp/Giraffe/pull/634) - Credits @64J0 |
| 37 | + |
4 | 38 | ## 8.2.0-alpha-002 - 2025-11-11 |
5 | 39 |
|
6 | 40 | - [Remove Obsolete from redirectTo](https://github.com/giraffe-fsharp/Giraffe/pull/695) - Credits @kerams |
|
0 commit comments