{"full_name":"ghostdogpr/caliban","owner":"ghostdogpr","name":"caliban","shard":"1","url":"https://github.com/ghostdogpr/caliban","description":"Functional GraphQL library for Scala","homepage":"https://ghostdogpr.github.io/caliban/","topics":["scala","graphql","graphql-server","functional-programming","graphql-client"],"tag_pages":["functional-programming","graphql","graphql-client","graphql-server","scala"],"language":"Scala","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/7413894?u=63dea832171801401441412ebfe6a1dbe00e15b4&v=4","created_at":"2019-09-12T07:17:45Z","pushed_at":"2026-11-16T09:16:01Z","metrics":{"stars":994,"forks":261,"watchers":19,"issues":435,"prs":2790,"releases":93,"issues_open":18,"issues_closed":417,"prs_open":7,"prs_closed":455,"prs_merged":2328,"discussions":0},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[994,994,994,994,994,994,994],"forks":[261,261,261,261,261,261,261],"watchers":[null,19,19,19,19,19,19],"issues_open":[null,22,22,22,22,24,18],"prs_open":[null,6,6,6,8,7,7]},"boards":{},"same_owner":[],"issues":[{"number":1743,"title":"Supporting Scala.js / Scala Native on the server","comments":7,"created_at":"2023-05-31T01:38:27Z"},{"number":574,"title":"Client: autogenerate view classes from query","comments":7,"created_at":"2020-08-31T16:38:43Z"},{"number":2755,"title":"Another way to generate schema for @oneOf type","comments":5,"created_at":"2025-09-15T17:12:41Z"},{"number":2184,"title":"Fine-grained support for `null` values.","comments":4,"created_at":"2024-04-11T10:32:13Z"},{"number":2795,"title":"Field Cost Estimation Function","comments":3,"created_at":"2025-11-14T08:08:27Z"},{"number":2661,"title":"Handling `extend type` directive","comments":3,"created_at":"2025-05-30T17:43:56Z"},{"number":2569,"title":"Empty objects/enums - `_: String! = __typename` instead of `_: Boolean = null`","comments":3,"created_at":"2025-03-03T13:22:07Z"},{"number":2235,"title":"Setup CI to run benchmarks and access results","comments":3,"created_at":"2024-05-17T06:27:34Z"}],"discussions":[],"latest_release":{"name":"v3.2.1","tag":"v3.2.1","published_at":"2026-11-06T05:16:11Z","body":"# Release Notes\r\n\r\nThis release adds `@defer` support to Caliban Gateway and fixes queries with repeated fragment spreads taking exponential time to process. It also includes a few bug fixes and forks fewer fibers per gateway request.\r\n\r\n## New Features\r\n* Added `@defer` support to the gateway, enabled by default and using the `deferSpec=20220824` format, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3160\r\n\r\n## Bug Fixes\r\n* Fixed exponential processing of queries that spread the same fragments several times at each level, in `maxDepth`, `maxFields`, cost estimation, cache control and the gateway, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3160\r\n* Fixed recursive `@oneOf` input types, whose schema never finished building, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3140\r\n* Fixed `@interfaceObject` support in the gateway, for `Gateway.fromSupergraph` and for `Subgraph.federation` without SDL, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3137\r\n* Fixed `@defer` multipart responses in the Quick and Tapir adapters, where the delimiter ending a part was only sent once the next part was ready, by @xsistens in https://github.com/ghostdogpr/caliban/pull/3148\r\n* Stopped using `$` in variable names generated by the client codegen, which failed to compile on Scala 3.9 with `-Werror`, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3181\r\n\r\n**Note:** the gateway now rejects operations that select more than 100,000 fields once their fragments are expanded. Use `GatewayConfig.withMaxOperationFields` to change this limit. `GatewayConfig` has a new field, so its `copy` and `apply` signatures change.\r\n\r\n## Performance Improvements\r\n* Reduced the fibers forked per gateway request from 51 to 24 on the ChilliCream gateway benchmark, using 7% less CPU per request, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3145\r\n\r\n## Other Small Improvements\r\n* Set `PaginationError` as the `innerThrowable` of the errors returned for rejected pagination arguments, so that wrappers can identify them, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3180\r\n* Stitched queries that reuse a fragment's fields in several places now contain generated fragments (`F0`, `F1`, …) by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3160\r\n* The tracer's `document` attribute is now the operation itself, with its real operation type, instead of wrapping the root as `query{{…}}`, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3160\r\n","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}