Release Notes
This version contains:
- an important number of performance improvements
- support for new specs and protocols: deprecated input fields, GraphQL over HTTP, new Apollo Caching, Federation 2.5
- usability improvements, small fixes and library upgrades
Warning
Due to an issue in zio-http 3.0.0-RC2
, servers exposing websocket endpoints via the caliban-zio-http
module are required to include additional config for subscriptions to work as shown in this example.
This is a temporary workaround until a new version of zio-http
is released which contains a fix to this issue.
Server
- Optimized core performance #1876 #1922 #1929 by @kyri-petrou
- Added support for deprecated input fields (draft spec) #1932 by @ghostdogpr
- Added a wrapper for the new Apollo Caching Protocol. The old is now deprecated #1878 by @paulpdaniels
- Added a simple wrapper to check directives #1905 by @ghostdogpr
- Updated zio-query to the latest version so that it catches
die
errors happening inside theDataSource
#1916 by @ghostdogpr - Fixed
mocking up superclass for module class macros
warning on Scala 3 #1880 by @kyri-petrou - Fixed duplicate types being output when calling
render
on a schema #1888 by @nox213 - Used the latest version of Magnolia #1858 by @kyri-petrou
- Made Introspection introspectable #1900 by @ghostdogpr
- Removed old deprecated code #1902 by @ghostdogpr
- Added the option to disable tracing of pure fields in ApolloTracing wrapper #1907 by @kyri-petrou
- Added the option to dynamically enable / disable ApolloTracing #1933 by @kyri-petrou
- Stopped generating a stack trace in
CalibanError
(not thatgetCause
will returnnull
inValidationError
) #1924 by @kyri-petrou - Changed tracing span name to adhere to semantic guidelines #1875 by @Fluxx
- Fixed inline character escaping when rendering GraphQL #1936 by @paulpdaniels
Adapters
- Added 100% compliance with GraphQL over HTTP spec #1909 by @kyri-petrou
- Updated zio-http to RC2 #1910 by @kyri-petrou
- Enabled support for play-json in Scala 3 #1893 by @kyri-petrou
Tools
- Properly escaped union types in client code generation #1908 by @ghostdogpr
- Fixed various things in server code generation #1925 by @oyvindberg
- Added support for a
@lazy
directive to generate side-effecting fields in server code generation #1927 by @oyvindberg
Federation
- Added federation 2.5 support #1906 by @paulpdaniels