Releases: ghostdogpr/caliban
v2.0.1
Release Notes
Server
- Fixed the annotations macro on Scala 3 which caused runtime errors when using
Schema
forjava.time
on JDK 17 #1414 by @ghostdogpr - Prevented validation errors during variable coercion when
skipValidation
is true #1421 by @ghostdogpr - Upgraded zio-query to 0.3.1, which brings a performance improvement in some cases (thanks to @adamgfraser)
Adapters
- Fixed http4s websocket support that was broken in the last release #1417 by @ghostdogpr
Tools
v1.4.3
Release Notes
Server
- Fixed the annotations macro on Scala 3 which caused runtime errors when using
Schema
forjava.time
on JDK 17 #1414 by @ghostdogpr - Prevented validation errors during variable coercion when
skipValidation
is true #1421 by @ghostdogpr
Adapters
- Fixed http4s websocket support that was broken in the last release #1417 by @ghostdogpr
v2.0.0
Release Notes
This release contains the same features as 1.4.2, but is based on ZIO 2.0.0. You can consult this guide about the upgrade and the differences between ZIO 1.x and 2.x.
Going forward, all new features will be made on this branch. We might backport important bug fixes to the 1.x branch if necessary.
v1.4.2
Release Notes
Server
- Fixed floating point numbers input validation #1370 by @moonkev
- Properly escaped special characters in description strings when rendering the schema #1372 #1373 by @joheriks
- Improved persisted query performance by caching the document #1371 by @paulpdaniels
- Fixed field types in field metadata for interface fields on union #1375 by @guymers
- Fixed coercion of non-null values into lists of size one #1376 by @guymers
Adapters
- Added support the more recent
graphql-transport-ws
WebSocket protocol #1354 by @paulpdaniels - Updated zio-http to 1.0.0.0-RC29 #1412 by @guizmaii
Client
- Handled the case of a type named
Option
in the generated code #1377 by @alterationx10
v1.4.1
Release Notes
Server
- Fixed parsing of empty comment lines in Scala 3 #1337 by @sergeykolbasov
- Fixed rendering of object arguments to directives #1353 by @joheriks
- Fixed some edge cases of input type validation #1347 by @frekw
- Fixed a potential security vulnerability in the
ApolloPersistedQuery
wrapper #1362 by @paulpdaniels - Added
targets
to field metadata to expose the type conditions of a field #1315 by @frekw
Adapters
- Ensured the subscription Websockets are interrupted properly #1342 by @moonkev
- Added support for lower-case content-type headers #1321 by @frekw
- Upgraded zio-http to 1.0.0.0-RC27 #1361 by @strokyl
Client
Plugins
- Added support for Apollo Federation v2 #1344 by @paulpdaniels
v2.0.0-RC2
Release Notes
This release contains the same changes as 1.4.0, but for ZIO 2.0. It is based on ZIO 2.0.0-RC2.
v1.4.0
Release Notes
This release contains a few bug fixes, better ergonomics for cats-interop and adapters, as well as a support for Apollo schema reporting.
Server Core
- Made the parser support inputs and enums with empty bodies #1283 by @jyoo980
- Added support for passing interfaces to
Types.makeObject
#1294 by @Fluxx - Ensured the subscription streams are interruptible #1308 by @ghostdogpr
- Added support for
Long
passed asString
inputs #1304 by @mdulac - Fixed custom directive parsing in Scala 3 #1313 by @sergeykolbasov
Interop
- Refactored the cats-effect interop to support passing context with Kleisli or MTL, see docs #1246 by @iRevive
Adapters
- Improved adapter ergonomics: accepting their respective server options, changed
RequestInterceptor
to return more than just a status code #1288 by @paulpdaniels - Upgraded zio-http to 1.0.0.0-RC25 #1216 by @uryyyyyyy
Relay Support
- Ensured validation errors gets propagated to the user #1302 by @SvenW
- Fixed connection from list #1307 by @dojusa
- Added forward and backward pagination #1310 by @dojusa
New Goodies
- Added support for Apollo schema reporting #1280 by @paulpdaniels
v2.0.0-RC1
Release Notes
This release is the first one to support ZIO 2.0. It is based on ZIO 2.0.0-RC1.
For simplicity, I decided to align the version number with ZIO, so you can immediately recognize which ZIO version it corresponds to.
Keep in mind that this is an early stage version, as ZIO and a bunch of other dependencies are still release candidates.
Note: caliban-monix
is not published for Scala 3 (a bug in ZIO 2.0.0-RC1 prevented this from working). It should be enabled when a version using ZIO 2.0.0-RC2 or higher is published.
v1.3.3
Release Notes
This release contains a few bug fixes and improvements, in particular support for Relay.
Server
- Added basic support for Relay #1196 by @frekw
- Fixed variable resolution in directives #1263 by @ghostdogpr
- Improved
render
to show directives at the top of the schema #1270 by @Fluxx - Added missing directives from annotations when deriving Schemas for enums, unions, input objects and interfaces #1275 by @Fluxx
Client
- Added support for
BigInt
&BigDecimal
encoded as Strings #1250 by @nicoburniske - Added
ArgEncoder
forUUID
#1266 by @smiklos
Tools
- Used fully-qualified name for
Vector
in generated code so that it doesn't conflict with user types #1254 by @cornerman - Ensured code generated by the compile-time plugin does not trigger any warnings #1247 by @guizmaii
v1.3.2
Release Notes
This release fixes a few bugs.
Server
- Fixed selection merging with conflicting fragments #1213 by @ghostdogpr
- Fixed rendering of empty field list #1220 by @Fluxx
- Removed useless
Has
constraint in ZHttpAdapter #1241 by @ghostdogpr
Tools
- Made compile time codegen plugin work with sbt 1.6.x #1236 by @ghostdogpr
- Fixed interface/union client code generation #1217 #1223 #1237 by @ghostdogpr @iRevive
- Escaped function name properly in interface client generation #1225 by @ghostdogpr