Hot Chocolate v0.7.0 Release Notes

Release Date: 2019-02-03 // about 5 years ago
  • ➕ Added

    • Query Middleware #338.
    • Field Middleware #338.
    • Implemented the relay cursor connections specification.
    • ➕ Added another ReportError overload to IResolverContext that takes IError #359.
    • ➕ Added a schema endpoint that will let you download the server schema file #370.
    • ➕ Added SyntaxRewriter and SyntaxWalker classes to enable developers to extend the execution pipeline more easily.
    • 🏗 Introduced a new execution builder which allows to fully customize the execution pipeline.
    • 👻 Introduced exception filter #317.
    • ↔ Integrated RequestTimeoutMiddleware into default pipeline #418.
    • ➕ Added support for repeatable directive. Spec.
    • 👍 Apollo Tracing Support #352.
    • Query complexity validation rules #80
    • ➕ Added support for relay global object identification specification specification.
    • ➕ Added Source Code Link for NuGet support.
    • ➕ Added support for a executor scoped field middleware #482.
    • ➕ Added schema stitching capabilities #341.
    • ➕ Added generic interface type #546.
    • ➕ Added directives support for input objects #548.
    • ➕ Added optional totalCount field to the connection type #558.
    • ➕ Added support for dynamic generated schema types #558.
    • ➕ Added generic union type #552.
    • ➕ Added options to AddStitchedSchema #556.
    • ➕ Added scoped context data to the resolver context #537.

    🔄 Changed

    • Merged ASP.NET core and classic codebases #349.
    • 0️⃣ Made the type conversion API extendable and added more default type converter #384.
    • Separated the schema config from the execution config #324
    • 🔄 Changed how max query depth is validated and configured.
    • The DataLoader API is now offering a simpler interface.
    • 🔧 Extended Scalar Types must now be explicitly registered during schema configuration. #433
    • 0️⃣ Authorization directive is now repeatable and can use the default authorization policy #485
    • 👉 UsePaging can now be used without specifying the clr type #558.
    • The edge node type can now be any output type including list #558.

    🛠 Fixed

    • 🔀 Field merging of node fields did not work properly.
    • 📜 DateTime is now parsed independent of the current culture #547.

    🗄 Deprecated

    • 🚚 The Schema.Execute... extension methods are depricated and will be removed with the next version.

    ✂ Removed

    • 🔧 Execution options from the schema options. They can now be configured with the QueryExecutionBuilder.