Releases: giraffe-fsharp/Giraffe
Releases · giraffe-fsharp/Giraffe
8.0.0-alpha-001
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:
- Add GitHub dependabot configuration - Credits @64J0
- Add global rate limiting sample - Credits @64J0
- Add OpenApi section to the documentation - Credits @64J0
- Add AssemblyVersion attribute - Credits @64J0
- Add more links - Credits @64J0
- Code scanning fix patches - Credits @64J0
- Add .NET 9 as target framework, fine-tune dependabot, update CI and clean tests removing .NET 6/7 from target frameworks - Credits @64J0
- [Alpha] Add Endpoint routing functions ...WithExtensions - Credits @64J0
7.0.2
- Moar fantomas - Credits @nojaf
- Format all F# source code using fantomas.
- Started checking the
samples/
,tests/
andsrc/
contents to know if they are complying with fantomas format.
- HandleOptionGracefullyAnalyzer for ETag and Last-Modified at Preconditional.fs - Credits @64J0
- feat: add request limits on accept, content-type, and content-length headers - Credits @stijnmoreels
- Add request guards/limitation on:
Accept
headerContent-Type
headerContent-Length
header
- Add request guards/limitation on:
- Add maintainers info - Credits @nojaf
- Fix ReadBodyFromRequestAsync disposing ctx.Request.Body - Credits @64J0
7.0.2-alpha-002
- Add maintainers info - Credits @nojaf
- Fix ReadBodyFromRequestAsync disposing ctx.Request.Body - Credits @64J0
7.0.2-alpha-001
- Moar fantomas - Credits @nojaf
- Format all F# source code using fantomas.
- Started checking the
samples/
,tests/
andsrc/
contents to know if they are complying with fantomas format.
- HandleOptionGracefullyAnalyzer for ETag and Last-Modified at Preconditional.fs - Credits @64J0
- feat: add request limits on accept, content-type, and content-length headers - Credits @stijnmoreels
- Add request guards/limitation on:
Accept
headerContent-Type
headerContent-Length
header
- Add request guards/limitation on:
7.0.1
- Add F# Analyzers - Credits @1eyewonder
- Add F# compatible json serializer - Credits @fpellet
- Add F# compatible json serializer with
FSharp.SystemTextJson
:Json.FsharpFriendlySerializer
- Add F# compatible json serializer with
- Update .vscode samples debug configuration - Credits @64J0
7.0.0
Combination of the tags:
Credits: @64J0, @dbrattli, @mrtz-j and @esbenbjerre.
7.0.0-alpha-001
Breaking changes
NewtonsoftJson
andSystemTextJson
modules are removed, the latter is now moduleJson
, NewtonSoft is not supported anymore, see PR Promote System.Text.Json as default JSON serializer.- For more information, check the updated JSON documentation section: link. This has instructions on how to setup
NewtonsoftJson
back if you need to keep it for your project.
- For more information, check the updated JSON documentation section: link. This has instructions on how to setup
Other updates
- Add ability to Configure Endpoints via IEndpointConventionBuilder - Credits @mrtz-j
- This PR enables us to reuse some of the built-in OpenApi generation to generate OpenApi schemas from code.
- There's an example mentioned at the PR description, and a complete sample project available at this repository.
- It was inspired by Oxpecker from @Lanayx.
- Improve DEVGUIDE with SemVer pre-release observation - Credits @64J0
- Promote System.Text.Json as default JSON serializer - Credits @esbenbjerre
- This PR removes the Newtonsoft JSON serializer and promotes System.Text.Json as the default.
- The JSON section of the documentation was updated, showing how someone could configure the project to use the Newtonsoft JSON again.
6.4.1-alpha-3
- Fix pre-release/release workflows - Credits @64J0
6.4.1-alpha-2
- Hotfix pre-release workflow - Credits @64J0