Release Notes
Since I started Caliban 2 years ago, there were 3 validation rules that I left aside because they were pretty tricky to implement. Motivated by @frekw who bravely tackled the hardest one, I've implemented the last 2 and Caliban is now 100% compliant with the GraphQL spec! 🎉
If you had invalid queries that were accepted in the past, they might be rejected now so make sure to test before you upgrade Caliban straight to production 😉
Server
- Implemented "Field Selection Merging" validation #1084 by @frekw
- Implemented "All Variable Usages are Allowed" validation #1092 by @ghostdogpr
- Implemented "Values of Correct Type" validation #1093 by @ghostdogpr
- Added a new parameter
isScalar
to the@GQLValueType
annotation to generate a scalar #1127 by @ghostdogpr - Fixed a few mistakes in validation #1090 #1101 #1112 by @frekw
- Fixed
LocationInfo
Play Json serializer #1096 by @ghostdogpr
Adapters
- Removed blaze dependency from the http4s module #1110 by @kubukoz
- Extended request wrapper support to websockets in the Play Adapter #1063 by @easel
- Fixed variable parsing from query params in the ZIO HTTP Adapter #1118 by @ghostdogpr
- Fixed UTF-8 handling for request bodies in the ZIO HTTP Adapter #1120 by @frekw
- Fixed
application/graphql
handling in the ZIO HTTP Adapter #1124 by @frekw
Client
- Added a new generated function for union types that allows to not specify a selection for every subtype of the union #1099 by @ghostdogpr based on earlier work from @anotherhale