3.1.0
New features
-
Added a new http handler called
validatePreconditions
to help with conditional requests:let someHandler (eTag : string) (content : string) = let eTagHeader = Some (EntityTagHeaderValue.FromString true eTag) validatePreconditions eTagHeader None >=> setBodyFromString content
-
Made previously internal functionality for sub routing available through the
SubRouting
module:SubRouting.getSavedPartialPath
: Returns the currently partially resolved path.SubRouting.getNextPartOfPath
: Returns the yet unresolved part of the path.SubRouting.routeWithPartialPath
: Invokes a route handler as part of a sub route.
Improvements
- Performance improvements for Giraffe's default response writers.
- Performance improvements of the
htmlView
handler. - Upgraded to the latest
TaskBuilder.fs
NuGet package which also has the SourceLink integration now.
Bug fixes
- Fixed the
Successful.NO_CONTENT
http handler, which threw an exception when calling from ASP.NET Core 2.1.