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
orField => (Args => A)
withField
beingcaliban.execution.Field
and containing information about the query. Caliban will "feed" it for you. More info in the docs.
- This allows you to know which fields were selected in your resolvers. To use it, just make your field
- 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
orOption
instead of using the existing ones. This shouldn't affect existing code but in case of ambiguities, add explicit calls togen[A]
orgenMacro[A].schema
(the latter will provide more detailed error messages).
- This should improve cases where Magnolia tries to auto-derive schemas for types like
- 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