diff --git a/README.md b/README.md index ca026cf63b..b862e142a8 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ tapir documentation is available at [tapir-scala.readthedocs.io](http://tapir-sc Add the following dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.12.3" ``` 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 66c5db6ee9..6f29154460 100644 --- a/doc/endpoint/json.md +++ b/doc/endpoint/json.md @@ -9,7 +9,7 @@ needed for actual json parsing/printing. Currently, [Circe](https://github.com/c To use Circe add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "0.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "0.12.3" ``` Next, import the package (or extend the `TapirJsonCirce` trait, see [MyTapir](../mytapir.html)): @@ -74,7 +74,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.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-json-upickle" % "0.12.3" ``` Next, import the package (or extend the `TapirJsonuPickle` trait, see [MyTapir](../mytapir.html) and add `TapirJsonuPickle` not `TapirCirceJson`): @@ -108,7 +108,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.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-json-play" % "0.12.3" ``` Next, import the package (or extend the `TapirJsonPlay` trait, see [MyTapir](../mytapir.html) and add `TapirJsonPlay` not `TapirCirceJson`): @@ -124,7 +124,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.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-json-spray" % "0.12.3" ``` 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 8d6bbcf551..33ef76f6c9 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.12.2" -"com.softwaremill.sttp.tapir" %% "tapir-openapi-circe-yaml" % "0.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "0.12.3" +"com.softwaremill.sttp.tapir" %% "tapir-openapi-circe-yaml" % "0.12.3" ``` Tapir contains a case class-based model of the openapi data structures in the `openapi/openapi-model` subproject (the @@ -49,16 +49,16 @@ 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.12.2" -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-http4s" % "0.12.2" -"com.softwaremill.sttp.tapir" %% "tapir-redoc-http4s" % "0.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.12.3" +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-http4s" % "0.12.3" +"com.softwaremill.sttp.tapir" %% "tapir-redoc-http4s" % "0.12.3" ``` 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.12.2" exclude("com.typesafe.akka", "akka-stream_2.12") +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.12.3" exclude("com.typesafe.akka", "akka-stream_2.12") ``` Usage example for akka-http: diff --git a/doc/quickstart.md b/doc/quickstart.md index bdd9ccf482..7faa8dd0ff 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.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.12.3" ``` 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 e7b8ba115d..25516f5b5a 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.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.12.3" ``` 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.12.2" exclude("com.typesafe.akka", "akka-stream_2.12") +"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.12.3" exclude("com.typesafe.akka", "akka-stream_2.12") ``` diff --git a/doc/server/finatra.md b/doc/server/finatra.md index 3aa12df1b7..f8e510a5b6 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.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-finatra-server" % "0.12.3" ``` 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-support" % "0.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-finatra-server-cats-support" % "0.12.3" ``` and import the packate: diff --git a/doc/server/http4s.md b/doc/server/http4s.md index 93425be52b..143fc16417 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.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % "0.12.3" ``` and import the package: diff --git a/doc/sttp.md b/doc/sttp.md index 6fa9876909..1604058822 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.12.2" +"com.softwaremill.sttp.tapir" %% "tapir-sttp-client" % "0.12.3" ``` To make requests using an endpoint definition using the [sttp client](https://github.com/softwaremill/sttp), import: diff --git a/version.sbt b/version.sbt index 7f95cc7ec2..0aa7b79fb4 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.12.3-SNAPSHOT" +version in ThisBuild := "0.12.3"