v0.7.0
Release Notes
ZIO upgrade
Caliban is now using ZIO 1.0.0-RC18-2 which should be one of the last versions before it reaches 1.0.0. All the examples have been updated to make use of the new ZLayer
data type for building and providing environments (#279 by @ghostdogpr ).
In addition to this, ZQuery
and GraphQLInterpreter
now have provideLayer
variants (#270 #271 by @adamgfraser @ghostdogpr).
Type name validation
When turning your API into an interpreter, Caliban will now verify that each type is defined only once and return an error if for example it finds a clash between 2 case classes with the same name from different packages. In the process, the check
method was moved from GraphQL
to GraphQLInterpreter
(#274 by @ghostdogpr ).
Caliban Client bug fixes and improvements
- Fixed an error when receiving a response with no data field #252 by @ghostdogpr
- Fixed input values encoding #253 by @ghostdogpr
- Added a default value for arguments of type
Option
andList
#254 by @kitlangton
Other Changes
- Fixed handling of variables nested inside lists and objects #257 by @Krever
- Improved schema validation #243 #244 by @TobiasPfeifer @mriceron
- Added
skipValidation
parameter to all adapters #260 by @javimartinez - Added support for error extensions #246 by @DJLemkes
- Upgraded Finch to 0.32.1 and added support for Scala 2.13 #278 by @ghostdogpr
- Allowed defining an empty root query (useful when you break your API in multiple parts and combine them) #274 by @ghostdogpr
- Added parser support for Type System Extensions #266 by @jorge-vasquez-2301