Skip to content

Commit

Permalink
Update version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr committed Jun 2, 2024
1 parent ed6f7e9 commit d112398
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To run the examples without the rest of the project, add this to your build.sbt:

```scala
val calibanVersion = "2.7.0"
val calibanVersion = "2.7.1"

libraryDependencies ++= Seq(
"com.github.ghostdogpr" %% "caliban" % calibanVersion,
Expand Down
28 changes: 14 additions & 14 deletions vuepress/docs/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0"
"com.github.ghostdogpr" %% "caliban" % "2.7.1"
```

Creating a GraphQL API with Caliban is as simple as creating a case class in Scala.
Expand Down Expand Up @@ -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.7.0"
"com.github.ghostdogpr" %% "caliban-quick" % "2.7.1"
```

You can then serve your GraphQL API over HTTP using a single command:
Expand All @@ -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.7.0" // routes for http4s
"com.github.ghostdogpr" %% "caliban-akka-http" % "2.7.0" // routes for akka-http
"com.github.ghostdogpr" %% "caliban-pekko-http" % "2.7.0" // routes for pekko-http
"com.github.ghostdogpr" %% "caliban-play" % "2.7.0" // routes for play

"com.github.ghostdogpr" %% "caliban-cats" % "2.7.0" // interop with cats-effect
"com.github.ghostdogpr" %% "caliban-monix" % "2.7.0" // interop with monix
"com.github.ghostdogpr" %% "caliban-tapir" % "2.7.0" // interop with tapir

"com.github.ghostdogpr" %% "caliban-federation" % "2.7.0" // apollo federation
"com.github.ghostdogpr" %% "caliban-reporting" % "2.7.0" // apollo schema reporting
"com.github.ghostdogpr" %% "caliban-tracing" % "2.7.0" // open-telemetry
"com.github.ghostdogpr" %% "caliban-http4s" % "2.7.1" // routes for http4s
"com.github.ghostdogpr" %% "caliban-akka-http" % "2.7.1" // routes for akka-http
"com.github.ghostdogpr" %% "caliban-pekko-http" % "2.7.1" // routes for pekko-http
"com.github.ghostdogpr" %% "caliban-play" % "2.7.1" // routes for play

"com.github.ghostdogpr" %% "caliban-cats" % "2.7.1" // interop with cats-effect
"com.github.ghostdogpr" %% "caliban-monix" % "2.7.1" // interop with monix
"com.github.ghostdogpr" %% "caliban-tapir" % "2.7.1" // interop with tapir

"com.github.ghostdogpr" %% "caliban-federation" % "2.7.1" // apollo federation
"com.github.ghostdogpr" %% "caliban-reporting" % "2.7.1" // apollo schema reporting
"com.github.ghostdogpr" %% "caliban-tracing" % "2.7.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:
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0"
libraryDependencies += "com.github.ghostdogpr" %% "caliban-quick" % "2.7.1"
```

By adding `import caliban.quick._`, we expose a few convenient extension methods on our `GraphQL` api.
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/client-codegen.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0")
addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.7.1")
```

## CalibanPlugin
Expand Down
6 changes: 3 additions & 3 deletions vuepress/docs/docs/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0"
"com.github.ghostdogpr" %% "caliban-client" % "2.7.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.7.0"
"com.github.ghostdogpr" %%% "caliban-client" % "2.7.1"
```

## Code generation
Expand All @@ -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.7.0")
addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.7.1")
```

And to enable the plugin in your `build.sbt` file:
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/federation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
To use, add the following dependency to your `build.sbt` file:

```scala
"com.github.ghostdogpr" %% "caliban-federation" % "2.7.0"
"com.github.ghostdogpr" %% "caliban-federation" % "2.7.1"
```

## Federating
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/laminext.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0"
"com.github.ghostdogpr" %%% "caliban-client-laminext" % "2.7.1"
```

Add the following import to your code:
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0"
"com.github.ghostdogpr" %% "caliban-tracing" % "2.7.1"
```

Then add it to your schema as any other wrapper:
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/server-codegen.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0")
addSbtPlugin("com.github.ghostdogpr" % "caliban-codegen-sbt" % "2.7.1")
```

You then enable it in your `build.sbt` file:
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/stitching.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0"
"com.github.ghostdogpr" %% "caliban-tools" % "2.7.1"
```

## Stitching in Action
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0"
"com.github.ghostdogpr" %% "caliban-tools" % "2.7.1"
```

0 comments on commit d112398

Please sign in to comment.