All Versions
48
Latest Version
Avg Release Cycle
59 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v0.1.0-alpha018 Changes
- โ Added two new
HttpContext
extension methods:TryGetRequestHeader (key : string)
which returns anOption<string>
GetRequestHeader (key : string)
which returns aResult<string, string>
- โ Added default computation expressions for the
Option<'T>
andResult<'T, 'TError>
types underGiraffe.ComputationExpressions
- โ Added two new
-
v0.1.0-alpha017 Changes
๐ New features
- โ Added
plain/text
as a new supported mime type to the defaultnegotiate
handler (it will be using an object's.ToString()
method to serialize an object into plain text) - โ Added new helper functions for retrieving a logger or dependencies as extension methods of the
HttpContext
object:ctx.GetService<'T>()
andctx.GetLogger<'T>()
๐ฅ Breaking changes
- ๐ Completely removed the
HttpHandlerContext
type and replaced all usage with the originalHttpContext
object from ASP.NET Core. - 0๏ธโฃ Extended the
ErrorHandler
function with a parameter to retrieve a defaultILogger
object - ๐ Moved model binding functions from the
Giraffe.ModelBinding
module into theGiraffe.HttpContextExtensions
module and made them extension methods of theHttpContext
object
โก๏ธ Also updated the
giraffe-template
NuGet package with the latest changes. - โ Added
-
v0.1.0-alpha016 Changes
๐ Fixes #46
-
v0.1.0-alpha015 Changes
๐ Changed the signature of the
redirectTo
http handler (swappedpermanent
withlocation
). -
v0.1.0-alpha014 Changes
โ Added
redirectTo
http handler. -
v0.1.0-alpha013 Changes
Using culture invariant converters in model binders.
-
v0.1.0-alpha012 Changes
- โ Added
bindQueryString
which can automatically bind a model from query string parameters - Extended
bindModel
to includebindQueryString
when the HTTP method is notPOST
orPUT
- โ Added
-
v0.1.0-alpha011 Changes
๐ New features
- โ Added a
warbler
function - โ Added model binding capabilities which can automatically bind a HTTP payload to a strongly typed model:
bindJson
,bindXml
,bindForm
andbindModel
#### ๐ Improvements - ๐ Improved the
negotiateWith
andnegotiate
http handlers by making use of ASP.NET Core'sMediaTypeHeaderValue
class - โ Added
*.cshtml
files to the DotNet watcher in the template #### ๐ Bug fixes - ๐ Fixed
AssemblyName
andPackageId
values in the template
- โ Added a
-
v0.1.0-alpha010 Changes
โ Added two new
HttpHandler
functions:negotiate
checks theAccept
header of a request and determines automatically if a response should be sent in JSON or XML- 0๏ธโฃ
negotiateWith
is 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.)
-
v0.1.0-alpha009 Changes
- โ Added a new programmatic view engine called
Giraffe.HtmlEngine
- โ Addd a new
HttpHandler
namedrenderHtml
to return views from the new view engine
- โ Added a new programmatic view engine called