Releases: giraffe-fsharp/Giraffe
Releases · giraffe-fsharp/Giraffe
0.1.0-alpha015
Changed the signature of the redirectTo http handler (swapped permanent with location).
0.1.0-alpha014
Added redirectTo http handler.
v0.1.0-alpha013
Using culture invariant converters in model binders.
0.1.0-alpha012
- Added
bindQueryStringwhich can automatically bind a model from query string parameters - Extended
bindModelto includebindQueryStringwhen the HTTP method is notPOSTorPUT
0.1.0-alpha011
New features
- Added a
warblerfunction - Added model binding capabilities which can automatically bind a HTTP payload to a strongly typed model:
bindJson,bindXml,bindFormandbindModel
Improvements
- Improved the
negotiateWithandnegotiatehttp handlers by making use of ASP.NET Core'sMediaTypeHeaderValueclass - Added
*.cshtmlfiles to the DotNet watcher in the template
Bug fixes
- Fixed
AssemblyNameandPackageIdvalues in the template
0.1.0-alpha010
Added two new HttpHandler functions:
negotiatechecks theAcceptheader of a request and determines automatically if a response should be sent in JSON or XMLnegotiateWithis the same asnegotiate, but additionally accepts anIDictionary<string, obj -> HttpHandler>which allows users to extend the default negotiation rules (e.g. change default serialization if a client is indifferent, or add more supported mime types, etc.)
0.1.0-alpha009
- Added a new programmatic view engine called
Giraffe.HtmlEngine - Addd a new
HttpHandlernamedrenderHtmlto return views from the new view engine
0.1.0-alpha008
- Updated
Newtonsoft.Jsonto version10.0.* - Updated the Giraffe
dotnet newtemplate
0.1.0-alpha007
- NuGet package is being built with official VS 2017 build image by AppVeyor (using .NET Core SDK 1.0.1)
- Created a NuGet package called
giraffe-templatewhich is a newdotnet newtemplate for Giraffe projects - Removed
RazorLightas a dependency and replaced it with the official razor engine by ASP.NET Core MVC - Renamed the HttpHandler
htmlTemplatetodotLiquidHtmlView - Added a new HttpHandler named
dotLiquidTemplate. The difference is that it let's the caller decide whatContent-Typethe response shall be. - Renamed the HttpHandler
razorViewtorazorHtmlView - Added a new HttpHandler named
razorView. The difference is that it let's the caller decide whatContent-Typethe response shall be.
0.1.0-alpha006
Attention, this release creates a new NuGet package named Giraffe.nupkg, which will be the new NuGet library for this project going forward.
The old package AspNetCore.Lambda.nupkg will remain as is for backwards compatibility and not be removed or updated anymore.
- Added a default logger to the
HttpHandlerContext - Renamed NuGet package to Giraffe