github ghostdogpr/caliban v2.6.0

29 days ago

Release Notes

The highlight of this release is that Websocket support has been added to the QuickAdapter (the adapter that's the fastest to use and also provides the best performance). Since this adapter is using zio-http under the hood, we deprecated the existing tapir-based ZHttpAdapter which you can simply replace by the QuickAdapter. A small breaking change coming with this change is that we moved WebSocketHooks to another package and changed the type to describe transformation from StreamTransformer to ZPipeline.

Apart from that, there are quite a few performance improvements, in particular some coming from zio-query that should make things a lot faster if you use queries with a DataSource.

New features

  • Added WebSocket support to caliban-quick #2150 by @kyri-petrou
  • Added excludeDeprecated option to client code generation #2163 by @jeejeeone
  • Allowed prepending input path to HttpInterpreter-generated Tapir endpoints #2188 by @olisikh
  • Allowed providing a custom zio.query.Cache when executing queries by @kyri-petrou
  • Added interpreterUnsafe method to GraphQL #2160 by @kyri-petrou

Bug fixes

Performance improvements

Important dependency upgrades

Don't miss a new caliban release

NewReleases is sending notifications on new releases.