Skip to content

Releases: giraffe-fsharp/Giraffe

8.2.0

12 Nov 23:11
f16466b

Choose a tag to compare

Breaking changes

  • Some security fixes for Giraffe - Credits @Thorium
    • New handlers added to improve security aspects, like safeRedirectTo, safeRedirectToExt, validateCsrfTokenExt and more. Those deal with:
      • URL validation in redirectTo to prevent cross-site scripting (XSS)
      • Cross-Site Request Forgery (CSRF) token validation helpers
    • XML serializer's Deserialize<'T>(xml: string) method now uses a configuration to prevent XXE attacks.
  • Remove [<AllowNullLiteral>] attribute from Json.ISerializer and Xml.ISerializer - Credits @64J0
    • With the release of .NET 9 we have nullable reference types.
    • When this feature is enabled (<Nullable>enable</Nullable>), our users started running into problems that boils down to Json.ISerializer having the AllowNullLiteral attribute.
    • Due to it, we decided to remove this attribute from both the Json.ISerializer and the Xml.ISerializer.
      • New automated tests were added to assert that the serializers are still working properly.
      • We also updated some sample projects to use this feature.

Other updates

8.2.0-alpha-002

11 Nov 22:54
436bef7

Choose a tag to compare

8.2.0-alpha-002 Pre-release
Pre-release

8.2.0-alpha-001

10 Nov 23:23
9d605df

Choose a tag to compare

8.2.0-alpha-001 Pre-release
Pre-release

Breaking changes

  • Some security fixes for Giraffe - Credits @Thorium
    • New handlers added to improve security aspects, like safeRedirectTo, safeRedirectToExt, validateCsrfTokenExt and more. Those deal with:
      • URL validation in redirectTo to prevent cross-site scripting (XSS)
      • Cross-Site Request Forgery (CSRF) token validation helpers
    • XML serializer's Deserialize<'T>(xml: string) method now uses a configuration to prevent XXE attacks.
    • redirectTo handler now marked as Obsolete.

Other updates

8.1.0-alpha-001

25 Oct 14:42
6e74ccf

Choose a tag to compare

8.1.0-alpha-001 Pre-release
Pre-release

Breaking changes

  • Remove [<AllowNullLiteral>] attribute from Json.ISerializer and Xml.ISerializer - Credits @64J0
    • With the release of .NET 9 we have nullable reference types.
    • When this feature is enabled (<Nullable>enable</Nullable>), our users started running into problems that boils down to Json.ISerializer having the AllowNullLiteral attribute.
    • Due to it, we decided to remove this attribute from both the Json.ISerializer and the Xml.ISerializer.
      • New automated tests were added to assert that the serializers are still working properly.
      • We also updated some sample projects to use this feature.

Other updates

8.0.0-alpha-003

09 Jun 20:45
77634b0

Choose a tag to compare

8.0.0-alpha-002

14 Apr 20:20
e548019

Choose a tag to compare

8.0.0-alpha-002 Pre-release
Pre-release

8.0.0-alpha-001

11 Feb 23:33
880dcd7

Choose a tag to compare

8.0.0-alpha-001 Pre-release
Pre-release

With this release, we're improving the codebase a bit by fixing warnings triggered by Ionide.Analyzers, and adding .NET 9 as a target framework to the project.

Other than that, we're adding new router functions for the EndpointRouting module which will let the user interact with Giraffe's ConfigureEndpoint directly. This will let you use Asp.Net extensions directly, like rate limiting, response caching, etc. Just remember its type definition:

type ConfigureEndpoint = IEndpointConventionBuilder -> IEndpointConventionBuilder

And here we have the list of PRs related to this release:

7.0.2

16 Oct 20:32
7d085c5

Choose a tag to compare

7.0.2-alpha-002

20 Sep 20:14
9770699

Choose a tag to compare

7.0.2-alpha-001

06 Sep 21:27

Choose a tag to compare

7.0.2-alpha-001 Pre-release
Pre-release