3.1.0
New features
-
Added a new http handler called
validatePreconditionsto 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
SubRoutingmodule: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
htmlViewhandler. - Upgraded to the latest
TaskBuilder.fsNuGet package which also has the SourceLink integration now.
Bug fixes
- Fixed the
Successful.NO_CONTENThttp handler, which threw an exception when calling from ASP.NET Core 2.1.