diff --git a/README.md b/README.md index eaaed48528..a8d0008d9b 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ tapir documentation is available at [tapir.softwaremill.com](http://tapir.softwa Add the following dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.13.1" ``` You'll need partial unification enabled in the compiler (alternatively, you'll need to manually provide type arguments in some cases): diff --git a/doc/endpoint/json.md b/doc/endpoint/json.md index 557eac2875..d687b2bf56 100644 --- a/doc/endpoint/json.md +++ b/doc/endpoint/json.md @@ -19,7 +19,7 @@ the json codec that is in scope. To use Circe add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "0.13.1" ``` Next, import the package (or extend the `TapirJsonCirce` trait, see [MyTapir](../mytapir.html)): @@ -87,7 +87,7 @@ Now the above JSON object will render as To use µPickle add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-upickle" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-json-upickle" % "0.13.1" ``` Next, import the package (or extend the `TapirJsonuPickle` trait, see [MyTapir](../mytapir.html) and add `TapirJsonuPickle` not `TapirCirceJson`): @@ -121,7 +121,7 @@ For more examples, including making a custom encoder/decoder, see [TapirJsonuPic To use Play JSON add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-play" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-json-play" % "0.13.1" ``` Next, import the package (or extend the `TapirJsonPlay` trait, see [MyTapir](../mytapir.html) and add `TapirJsonPlay` not `TapirCirceJson`): @@ -137,7 +137,7 @@ Play JSON requires `Reads` and `Writes` implicit values in scope for each type y To use Spray JSON add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-spray" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-json-spray" % "0.13.1" ``` Next, import the package (or extend the `TapirJsonSpray` trait, see [MyTapir](../mytapir.html) and add `TapirJsonSpray` not `TapirCirceJson`): diff --git a/doc/openapi.md b/doc/openapi.md index d4b74a2d03..5fa59c5ca9 100644 --- a/doc/openapi.md +++ b/doc/openapi.md @@ -3,8 +3,8 @@ To use, add the following dependencies: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "0.13.0" -"com.softwaremill.sttp.tapir" %% "tapir-openapi-circe-yaml" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "0.13.1" +"com.softwaremill.sttp.tapir" %% "tapir-openapi-circe-yaml" % "0.13.1" ``` Tapir contains a case class-based model of the openapi data structures in the `openapi/openapi-model` subproject (the @@ -63,17 +63,17 @@ akka-http/http4s routes for exposing documentation using [Swagger UI](https://sw [Redoc](https://github.com/Redocly/redoc): ```scala -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.13.0" -"com.softwaremill.sttp.tapir" %% "tapir-redoc-akka-http" % "0.13.0" -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-http4s" % "0.13.0" -"com.softwaremill.sttp.tapir" %% "tapir-redoc-http4s" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.13.1" +"com.softwaremill.sttp.tapir" %% "tapir-redoc-akka-http" % "0.13.1" +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-http4s" % "0.13.1" +"com.softwaremill.sttp.tapir" %% "tapir-redoc-http4s" % "0.13.1" ``` Note: `tapir-swagger-ui-akka-http` transitively pulls some Akka modules in version 2.6. If you want to force your own Akka version (for example 2.5), use sbt exclusion. Mind the Scala version in artifact name: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.13.0" exclude("com.typesafe.akka", "akka-stream_2.12") +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.13.1" exclude("com.typesafe.akka", "akka-stream_2.12") ``` Usage example for akka-http: diff --git a/doc/quickstart.md b/doc/quickstart.md index eda02079a0..ce711f927b 100644 --- a/doc/quickstart.md +++ b/doc/quickstart.md @@ -3,7 +3,7 @@ To use tapir, add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.13.1" ``` This will import only the core classes needed to create endpoint descriptions. To generate a server or a client, you diff --git a/doc/server/akkahttp.md b/doc/server/akkahttp.md index ce0e118dae..dfd0c96e1a 100644 --- a/doc/server/akkahttp.md +++ b/doc/server/akkahttp.md @@ -4,14 +4,14 @@ To expose an endpoint as an [akka-http](https://doc.akka.io/docs/akka-http/curre dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.13.1" ``` This will transitively pull some Akka modules in version 2.6. If you want to force your own Akka version (for example 2.5), use sbt exclusion. Mind the Scala version in artifact name: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.13.0" exclude("com.typesafe.akka", "akka-stream_2.12") +"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.13.1" exclude("com.typesafe.akka", "akka-stream_2.12") ``` Now import the package: diff --git a/doc/server/finatra.md b/doc/server/finatra.md index 7ed9149cb1..db5da93b8b 100644 --- a/doc/server/finatra.md +++ b/doc/server/finatra.md @@ -4,7 +4,7 @@ To expose an endpoint as an [finatra](https://twitter.github.io/finatra/) server dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-finatra-server" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-finatra-server" % "0.13.1" ``` and import the package: @@ -16,7 +16,7 @@ import sttp.tapir.server.finatra._ or if you would like to use cats-effect project, you can add the following dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-finatra-server-cats" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-finatra-server-cats" % "0.13.1" ``` and import the packate: diff --git a/doc/server/http4s.md b/doc/server/http4s.md index 21b2fda989..f0d9006571 100644 --- a/doc/server/http4s.md +++ b/doc/server/http4s.md @@ -4,7 +4,7 @@ To expose an endpoint as an [http4s](https://http4s.org) server, first add the f dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % "0.13.1" ``` and import the package: diff --git a/doc/server/play.md b/doc/server/play.md index 3972a82b39..bbf25089d1 100644 --- a/doc/server/play.md +++ b/doc/server/play.md @@ -2,7 +2,7 @@ To expose endpoint as a [play-server](https://www.playframework.com/) first add the following dependencies: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-play-server" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-play-server" % "0.13.1" ``` and ```scala diff --git a/doc/sttp.md b/doc/sttp.md index 5341afa1a6..898a45c4ed 100644 --- a/doc/sttp.md +++ b/doc/sttp.md @@ -3,7 +3,7 @@ Add the dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-sttp-client" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-sttp-client" % "0.13.1" ``` To make requests using an endpoint definition using the [sttp client](https://github.com/softwaremill/sttp), import: diff --git a/doc/testing.md b/doc/testing.md index 4c49ff3a4a..ca01875e92 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -12,7 +12,7 @@ details on how the stub works). Add the dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "0.13.0" +"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "0.13.1" ``` And the following import: diff --git a/version.sbt b/version.sbt index 7e7c28a06f..beb9953b43 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.13.1-SNAPSHOT" +version in ThisBuild := "0.13.1"