Release Notes
This version brings a few bug fixes and improvements related to schema derivation on Scala 3.
In addition to that, it contains a new adapter named QuickAdapter
and based on zio-http, that serves 2 purposes:
-
Offer the best performance among all adapters. This adapter is not using Tapir under the hood to prevent any overhead. We picked zio-http and jsoniter-scala because they gave the best benchmarks results among all our supported adapters and json libraries. The only drawback is that it doesn't include WebSocket support at the moment. If you care about performance above all, use this adapter!
-
Be super quick and easy to get started. With this adapter you can simply do that to go from your api to a running server:
import caliban._
import caliban.quick._ // adds syntax to `GraphQL`
val api: GraphQL[Any] = ???
api.runServer(
port = 8080,
apiPath = "/api/graphql",
graphiqlPath = Some("/graphiql")
)
Server
- Added
QuickAdapter
(see above) #1998 by @kyri-petrou - Fixed derivation of nested sum types with Scala 3 #2005 by @kyri-petrou
- Fixed incorrect enum value renaming with Scala 3 #2006 by @kyri-petrou
- Optimized schema derivation with Scala 3 #1995 by @kyri-petrou
Tools
- Fixed incorrect interface description in server code gen #2000 by @ghostdogpr