diff --git a/examples/README.md b/examples/README.md index 4b58a49c01..88837188a5 100644 --- a/examples/README.md +++ b/examples/README.md @@ -3,7 +3,7 @@ To run the examples without the rest of the project, add this to your build.sbt: ```scala -val calibanVersion = "2.8.0" +val calibanVersion = "2.8.1" libraryDependencies ++= Seq( "com.github.ghostdogpr" %% "caliban" % calibanVersion, diff --git a/vuepress/docs/docs/README.md b/vuepress/docs/docs/README.md index ec1e2350e3..13112a5213 100644 --- a/vuepress/docs/docs/README.md +++ b/vuepress/docs/docs/README.md @@ -15,7 +15,7 @@ The design principles of Caliban are the following: First, add the following dependency to your `build.sbt` file: ```scala -"com.github.ghostdogpr" %% "caliban" % "2.8.0" +"com.github.ghostdogpr" %% "caliban" % "2.8.1" ``` Creating a GraphQL API with Caliban is as simple as creating a case class in Scala. @@ -77,7 +77,7 @@ The interpreter is not tied any web framework, so you are free to expose this fu The easiest (and most performant!) way to expose your API over HTTP is to use the optional `caliban-quick` module based on [zio-http](https://github.com/zio/zio-http). ```scala -"com.github.ghostdogpr" %% "caliban-quick" % "2.8.0" +"com.github.ghostdogpr" %% "caliban-quick" % "2.8.1" ``` You can then serve your GraphQL API over HTTP using a single command: @@ -98,18 +98,18 @@ And that's it - now you have a fully functional GraphQL server running on port 8 If you have any specific server requirements or need to interop with other libraries, Caliban offers a wide range of modules to help you do that. ```scala -"com.github.ghostdogpr" %% "caliban-http4s" % "2.8.0" // routes for http4s -"com.github.ghostdogpr" %% "caliban-akka-http" % "2.8.0" // routes for akka-http -"com.github.ghostdogpr" %% "caliban-pekko-http" % "2.8.0" // routes for pekko-http -"com.github.ghostdogpr" %% "caliban-play" % "2.8.0" // routes for play - -"com.github.ghostdogpr" %% "caliban-cats" % "2.8.0" // interop with cats-effect -"com.github.ghostdogpr" %% "caliban-monix" % "2.8.0" // interop with monix -"com.github.ghostdogpr" %% "caliban-tapir" % "2.8.0" // interop with tapir - -"com.github.ghostdogpr" %% "caliban-federation" % "2.8.0" // apollo federation -"com.github.ghostdogpr" %% "caliban-reporting" % "2.8.0" // apollo schema reporting -"com.github.ghostdogpr" %% "caliban-tracing" % "2.8.0" // open-telemetry +"com.github.ghostdogpr" %% "caliban-http4s" % "2.8.1" // routes for http4s +"com.github.ghostdogpr" %% "caliban-akka-http" % "2.8.1" // routes for akka-http +"com.github.ghostdogpr" %% "caliban-pekko-http" % "2.8.1" // routes for pekko-http +"com.github.ghostdogpr" %% "caliban-play" % "2.8.1" // routes for play + +"com.github.ghostdogpr" %% "caliban-cats" % "2.8.1" // interop with cats-effect +"com.github.ghostdogpr" %% "caliban-monix" % "2.8.1" // interop with monix +"com.github.ghostdogpr" %% "caliban-tapir" % "2.8.1" // interop with tapir + +"com.github.ghostdogpr" %% "caliban-federation" % "2.8.1" // apollo federation +"com.github.ghostdogpr" %% "caliban-reporting" % "2.8.1" // apollo schema reporting +"com.github.ghostdogpr" %% "caliban-tracing" % "2.8.1" // open-telemetry ``` Support for JSON encoding / decoding of the inputs and responses for tapir-based adapters is enabled by adding **one** of the following dependencies to your `build.sbt` file: diff --git a/vuepress/docs/docs/adapters.md b/vuepress/docs/docs/adapters.md index abc52c3578..69f48499d3 100644 --- a/vuepress/docs/docs/adapters.md +++ b/vuepress/docs/docs/adapters.md @@ -125,7 +125,7 @@ and [jsoniter-scala](https://github.com/plokhotnyuk/jsoniter-scala) without tapi In order to use it, just add the following to your `build.sbt` file (no other dependencies required!): ```scala -libraryDependencies += "com.github.ghostdogpr" %% "caliban-quick" % "2.8.0" +libraryDependencies += "com.github.ghostdogpr" %% "caliban-quick" % "2.8.1" ``` By adding `import caliban.quick._`, we expose a few convenient extension methods on our `GraphQL` api. diff --git a/vuepress/docs/docs/client-codegen.md b/vuepress/docs/docs/client-codegen.md index 35b6cedc84..29c3c80625 100644 --- a/vuepress/docs/docs/client-codegen.md +++ b/vuepress/docs/docs/client-codegen.md @@ -10,7 +10,7 @@ both need to configure in your project to be able to generate you Caliban client To use any of these two plugins, you'll first need to add following dependency to your `project/plugins.sbt` file: ```scala -addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.8.0") +addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.8.1") ``` ## CalibanPlugin diff --git a/vuepress/docs/docs/client.md b/vuepress/docs/docs/client.md index c63651656e..fc57c28bf7 100644 --- a/vuepress/docs/docs/client.md +++ b/vuepress/docs/docs/client.md @@ -12,13 +12,13 @@ Just like the server module, Caliban Client offers a purely functional interface To use `caliban-client`, add the following dependency to your `build.sbt` file: ```scala -"com.github.ghostdogpr" %% "caliban-client" % "2.8.0" +"com.github.ghostdogpr" %% "caliban-client" % "2.8.1" ``` Caliban-client is available for ScalaJS. To use it in a ScalaJS project, instead add this dependency to your `build.sbt` file: ```scala -"com.github.ghostdogpr" %%% "caliban-client" % "2.8.0" +"com.github.ghostdogpr" %%% "caliban-client" % "2.8.1" ``` ## Code generation @@ -28,7 +28,7 @@ simple sbt command, but you can look at the [Code generation](client-codegen.md) You'll first need to add following dependency to your `project/plugins.sbt` file: ```scala -addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.8.0") +addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.8.1") ``` And to enable the plugin in your `build.sbt` file: diff --git a/vuepress/docs/docs/federation.md b/vuepress/docs/docs/federation.md index f39df71a88..b3259f6928 100644 --- a/vuepress/docs/docs/federation.md +++ b/vuepress/docs/docs/federation.md @@ -9,7 +9,7 @@ To use, add the following dependency to your `build.sbt` file: ```scala -"com.github.ghostdogpr" %% "caliban-federation" % "2.8.0" +"com.github.ghostdogpr" %% "caliban-federation" % "2.8.1" ``` ## Federating diff --git a/vuepress/docs/docs/laminext.md b/vuepress/docs/docs/laminext.md index 487d8c4de3..9be3cc69bd 100644 --- a/vuepress/docs/docs/laminext.md +++ b/vuepress/docs/docs/laminext.md @@ -5,7 +5,7 @@ It is depending on [Laminext](https://laminext.dev), a library that provides nic To use it, import the `caliban-client-laminext` module: ```scala -"com.github.ghostdogpr" %%% "caliban-client-laminext" % "2.8.0" +"com.github.ghostdogpr" %%% "caliban-client-laminext" % "2.8.1" ``` Add the following import to your code: diff --git a/vuepress/docs/docs/middleware.md b/vuepress/docs/docs/middleware.md index 10b2373176..fd44352f97 100644 --- a/vuepress/docs/docs/middleware.md +++ b/vuepress/docs/docs/middleware.md @@ -237,7 +237,7 @@ Caliban ships with support for OpenTelemetry tracing via integration with [zio-t In order to use tracing, first add `caliban-tracing` to your `built.sbt`. ```scala -"com.github.ghostdogpr" %% "caliban-tracing" % "2.8.0" +"com.github.ghostdogpr" %% "caliban-tracing" % "2.8.1" ``` Then add it to your schema as any other wrapper: diff --git a/vuepress/docs/docs/server-codegen.md b/vuepress/docs/docs/server-codegen.md index d248078373..8462ff35da 100644 --- a/vuepress/docs/docs/server-codegen.md +++ b/vuepress/docs/docs/server-codegen.md @@ -4,7 +4,7 @@ If you want a workflow where you first edit a GraphQL schema file, and then gene You'll first need to add the following dependency to your `project/plugins.sbt` file: ```scala -addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.8.0") +addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.8.1") ``` You then enable it in your `build.sbt` file: diff --git a/vuepress/docs/docs/stitching.md b/vuepress/docs/docs/stitching.md index 883ad7b464..546536f568 100644 --- a/vuepress/docs/docs/stitching.md +++ b/vuepress/docs/docs/stitching.md @@ -11,7 +11,7 @@ You should also be careful when using stitching since it's very easy to pull in In order to use stitching, add `caliban-tools` to your dependencies: ```scala -"com.github.ghostdogpr" %% "caliban-tools" % "2.8.0" +"com.github.ghostdogpr" %% "caliban-tools" % "2.8.1" ``` ## Stitching in Action diff --git a/vuepress/docs/docs/tools.md b/vuepress/docs/docs/tools.md index ee17e80ada..d83ca4bb8c 100644 --- a/vuepress/docs/docs/tools.md +++ b/vuepress/docs/docs/tools.md @@ -9,5 +9,5 @@ Caliban comes with a module called `caliban-tools` that exposes some useful feat ## Dependency ```scala -"com.github.ghostdogpr" %% "caliban-tools" % "2.8.0" +"com.github.ghostdogpr" %% "caliban-tools" % "2.8.1" ```