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 aDataSource
) 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 tocirce
andplay-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)
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
- Fixed input fields in
SchemaLoader.fromCaliban
#681 by @ghostdogpr - Fixed schema comparison for descriptions #751 by @kpbochenek