github ghostdogpr/caliban v0.9.4

latest releases: v2.6.0, v2.5.3, v2.5.2...
3 years ago

Release Notes

Server (Core)

  • Added support for field metadata optimizations #646 by @jweaver-personal
    • This allows you to know which fields were selected in your resolvers. To use it, just make your field Field => A or Field => (Args => A) with Field being caliban.execution.Field and containing information about the query. Caliban will "feed" it for you. More info in the docs.
  • Improved laziness of typeclass derivation #658 by @ghostdogpr and @darl
    • This should improve cases where Magnolia tries to auto-derive schemas for types like List or Option instead of using the existing ones. This shouldn't affect existing code but in case of ambiguities, add explicit calls to gen[A] or genMacro[A].schema (the latter will provide more detailed error messages).
  • Fixed a bug with interfaces when they're used both in Queries and Mutations #628 by @iRevive
  • Added Schema#rename #639 by @ghostdogpr
  • Fixed wrapPureValues behavior in field wrappers #666 😈 by @ghostdogpr
  • Fixed response from fake field _ (used in union members without fields) #673 by @ghostdogpr

Server (Adapters)

  • Added support for query query string parameter in POST endpoint of the Play Adapter #641 by @jessenr
  • Added support for application/graphql content type in the Play Adapter #643 by @dgeyer-mdsol
  • Added support for multipart requests to the Play Adapter. It now requires a runtime with Blocking with Random capabilities #500 by @igorfialko

Client

  • Renamed classes to avoid conflicts in generated code #642 by @xirc
    • Breaking: you will need to re-generate your client if you upgrade to this version
  • Made exceptions override getMessage for better printing #640 by @tdrozdowski
  • Added guarantee of case-insensitive name uniqueness #644 by @javimartinez
  • Added mapEither #651 by @ghostdogpr

Don't miss a new caliban release

NewReleases is sending notifications on new releases.