Download Latest Version v3.2.0 source code.zip (1.9 MB) Google Add to Preferred Sources
Home / v3.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-09-30 3.6 kB
v3.2.0 source code.tar.gz 2026-09-30 1.3 MB
v3.2.0 source code.zip 2026-09-30 1.9 MB
Totals: 3 Items   3.2 MB 0

Release Notes

This release introduces Caliban Gateway, a new module that serves several GraphQL services behind one endpoint. It is an alternative to Apollo Router, Hive Router and Cosmo Router.

This is a large feature that has been in the works for a long time, with a first PoC written more than 3 years ago! The module is still very fresh, even though it shows excellent performance πŸš€. Try it and let us know if you find any bugs or anything that should be improved.

The release also includes a few bug fixes and a big speedup for validating fragment-heavy queries.

Caliban Gateway

caliban-gateway combines Apollo Federation subgraphs, plain GraphQL services and local Caliban APIs into a single graph. It can also load an existing supergraph.

:::scala
val gateway = Gateway.compose(
  Subgraph.federation("products", url"http://products:8080/graphql"),
  Subgraph.graphql("reviews", url"http://reviews:8080/graphql")
)

for {
  interpreter <- gateway.interpreter
  _           <- QuickAdapter(interpreter).runServer(4000, "/graphql")
} yield ()

At startup, the gateway fetches both schemas and composes them. Clients then query localhost:4000/graphql as if it were a single service. The gateway can also:

  • plan each operation across subgraphs, with batched, multi-hop entity joins, and show the plan with explain
  • run queries, mutations and subscriptions
  • rename or hide types, fields and arguments in the public schema
  • reload subgraph schemas while the server keeps running
  • run hooks for persisted documents, authorization and subgraph headers
  • report ZIO metrics, with tracing available in the caliban-gateway-tracing module
  • apply timeouts, retries, authentication and request limits

It passes all 199 cases of the Federation Gateway Audit, which now runs in CI. Check the documentation to get started, and the gateway-examples project for local, remote, mixed and Federation setups.

New Features

Note: the Quick adapter now rejects request bodies larger than 1 MB by default (16 MB for uploads and responses). Use configureHttp to raise these limits.

Bug Fixes

Performance Improvements

Other Small Improvements

Source: README.md, updated 2026-09-30