Giraffe v0.1.0-alpha017 Release Notes

  • ๐Ÿ†• New features

    • โž• Added plain/text as a new supported mime type to the default negotiate 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>() and ctx.GetLogger<'T>()

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿšš Completely removed the HttpHandlerContext type and replaced all usage with the original HttpContext object from ASP.NET Core.
    • 0๏ธโƒฃ Extended the ErrorHandler function with a parameter to retrieve a default ILogger object
    • ๐Ÿšš Moved model binding functions from the Giraffe.ModelBinding module into the Giraffe.HttpContextExtensions module and made them extension methods of the HttpContext object

    โšก๏ธ Also updated the giraffe-template NuGet package with the latest changes.