Giraffe v1.1.0 Release Notes

  • ๐Ÿ†• New features

    • โž• Added subRoutef http handler (see subRoutef)
    • โž• Added routex and routeCix http handler (see routex)
    • ๐Ÿ‘Œ Improved model binding (see Model Binding)
      • Fixed issues: #121, #206
      • Added a TryBindFormAsync and a TryBindQueryString HttpContext extension methods
      • Added new HttpHandler functions to offer a more functional API for model binding:
        • bindJson<'T>
        • bindXml<'T>
        • bindForm<'T>
        • tryBindForm<'T>
        • bindQuery<'T>
        • tryBindQuery<'T>
        • bindModel<'T>
    • โž• Added new Model Validation API

    ๐Ÿš€ To see an example of the new features you can check the official Giraffe 1.1.0 release blog post.

    ๐Ÿ› Bug fixes

    • routeBind works when nested in a subRoute handler now
    • routeBind doesn't crate a model object any more if the route arguments do not match the provided model