All Versions
48
Latest Version
Avg Release Cycle
59 days
Latest Release
-

Changelog History
Page 4

  • v0.1.0-alpha018 Changes

    • โž• Added two new HttpContext extension methods:
      • TryGetRequestHeader (key : string) which returns an Option<string>
      • GetRequestHeader (key : string) which returns a Result<string, string>
    • โž• Added default computation expressions for the Option<'T> and Result<'T, 'TError> types under Giraffe.ComputationExpressions
  • v0.1.0-alpha017 Changes

    ๐Ÿ†• 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.

  • v0.1.0-alpha016 Changes

    ๐Ÿ›  Fixes #46

  • v0.1.0-alpha015 Changes

    ๐Ÿ”„ Changed the signature of the redirectTo http handler (swapped permanent with location).

  • 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 include bindQueryString when the HTTP method is not POST or PUT
  • 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 and bindModel #### ๐Ÿ‘Œ Improvements
    • ๐Ÿ‘Œ Improved the negotiateWith and negotiate http handlers by making use of ASP.NET Core's MediaTypeHeaderValue class
    • โž• Added *.cshtml files to the DotNet watcher in the template #### ๐Ÿ› Bug fixes
    • ๐Ÿ›  Fixed AssemblyName and PackageId values in the template
  • v0.1.0-alpha010 Changes

    โž• Added two new HttpHandler functions:

    • negotiate checks the Accept header of a request and determines automatically if a response should be sent in JSON or XML
    • 0๏ธโƒฃ negotiateWith is the same as negotiate, but additionally accepts an IDictionary<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 named renderHtml to return views from the new view engine