Skip to content

Releases: ghostdogpr/caliban

v2.0.1

30 Jul 02:27
f3b9210
Compare
Choose a tag to compare

Release Notes

Server

  • Fixed the annotations macro on Scala 3 which caused runtime errors when using Schema for java.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

  • Added Scala 3 support for caliban-tools, making the compile-time plugin usable #1415 by @pmeheut

v1.4.3

30 Jul 02:08
c443841
Compare
Choose a tag to compare

Release Notes

Server

  • Fixed the annotations macro on Scala 3 which caused runtime errors when using Schema for java.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

19 Jul 12:43
Compare
Choose a tag to compare

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

19 Jul 11:36
0d86829
Compare
Choose a tag to compare

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

Client

v1.4.1

21 May 11:09
543ebc6
Compare
Choose a tag to compare

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

  • Fixed generated code for views with more than 22 fields #1363 by @ollyw

Plugins

v2.0.0-RC2

01 Mar 10:25
Compare
Choose a tag to compare
v2.0.0-RC2 Pre-release
Pre-release

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

01 Mar 09:56
8f3802d
Compare
Choose a tag to compare

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

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

New Goodies

v2.0.0-RC1

01 Feb 09:54
Compare
Choose a tag to compare
v2.0.0-RC1 Pre-release
Pre-release

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

29 Jan 04:45
5fb2862
Compare
Choose a tag to compare

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

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

07 Jan 11:22
b1764be
Compare
Choose a tag to compare

Release Notes

This release fixes a few bugs.

Server

Tools