github ghostdogpr/caliban v0.9.5

latest releases: v2.7.1, v2.7.0, v2.6.0...
3 years ago

Release Notes

Server (Core)

  • Introduced a new parameter queryExecution which allows controlling the parallelism of effectful fields in queries #692 by @ghostdogpr with support from @adamgfraser in zio-query. Possible values are:
    • sequential: effects are executed sequentially
    • parallel (default, same behavior as previous versions): effects are executed in parallel
    • batched: arbitrary effects are executed sequentially but batched queries (queries optimized with ZQuery and a DataSource) are executed in parallel. This provides better performance if you use mostly batched queries.
  • Added helpers to easily generate schemas manually #687 by @paulpdaniels
    • This is especially useful when having problems with auto-derivation (e.g. when magnolia has issues with recursive types). See documentation on how to do that. You can generate manual schemas only for parts of your API and keep using auto-derivation for the rest.
  • Added zio-json interop in addition to circe and play-json #649 by @paulpdaniels
  • Implemented federation tracing #701 by @paulpdaniels (see docs)
  • Added a new wrapper type IntrospectionWrapper that is only applied to introspection, making it possible to control what introspection returns #753 by @macchiatow
  • Improved render to display descriptions on fields and scalars #675 by @jamonkko and #759 by @kpbochenek
  • Improved render to display deprecated fields and enum vals #685 by @heyrutvik
  • Improved printErrors wrapper to print full stack trace (in red) #695 by @palanga
  • Fixed partial error handling #699 by @ghostdogpr
  • Fixed handling of queries with a root fragment #729 by @ghostdogpr
  • Fixed schema for Either #730 by @ghostdogpr
  • Fixed rename on a union type #728 by @ghostdogpr

Server (Adapters)

  • Added support for chunked websocket messages in Akka Http Adapter #726 by @moonkev

Client

  • Upgraded sttp to 3.x #748 by @javimartinez
  • Added a new option to code generation to generate "view" case classes and selections containing all fields #734 by @iRevive

Tools

Don't miss a new caliban release

NewReleases is sending notifications on new releases.