From 24e3ee56b2d022a5338486e7262fc387f15d4b37 Mon Sep 17 00:00:00 2001 From: adamw Date: Fri, 18 Dec 2020 17:41:33 +0100 Subject: [PATCH] Release 3.0.0-RC13 --- README.md | 6 +-- generated-docs/out/backends/akka.md | 2 +- generated-docs/out/backends/catseffect.md | 2 +- generated-docs/out/backends/finagle.md | 2 +- generated-docs/out/backends/fs2.md | 4 +- generated-docs/out/backends/future.md | 6 +-- generated-docs/out/backends/http4s.md | 2 +- .../out/backends/javascript/fetch.md | 4 +- generated-docs/out/backends/monix.md | 6 +-- generated-docs/out/backends/native/curl.md | 2 +- generated-docs/out/backends/scalaz.md | 2 +- generated-docs/out/backends/synchronous.md | 4 +- .../out/backends/wrappers/custom.md | 2 +- .../out/backends/wrappers/logging.md | 4 +- .../out/backends/wrappers/opentracing.md | 2 +- .../out/backends/wrappers/prometheus.md | 2 +- .../out/backends/wrappers/zio-opentracing.md | 2 +- generated-docs/out/backends/zio.md | 4 +- generated-docs/out/examples.md | 42 +++++++++---------- generated-docs/out/json.md | 8 ++-- generated-docs/out/openapi.md | 8 ++-- generated-docs/out/quickstart.md | 6 +-- 22 files changed, 61 insertions(+), 61 deletions(-) diff --git a/README.md b/README.md index 02643b2abc..cae45e27c1 100755 --- a/README.md +++ b/README.md @@ -43,14 +43,14 @@ sttp (v2) documentation is available at [sttp.softwaremill.com/en/v2](http://stt sttp (v1) documentation is available at [sttp.softwaremill.com/en/v1](https://sttp.softwaremill.com/en/v1). -scaladoc is available at [https://www.javadoc.io](https://www.javadoc.io/doc/com.softwaremill.sttp.client3/core_2.12/3.0.0-RC12) +scaladoc is available at [https://www.javadoc.io](https://www.javadoc.io/doc/com.softwaremill.sttp.client3/core_2.12/3.0.0-RC13) ## Quickstart with Ammonite If you are an [Ammonite](http://ammonite.io) user, you can quickly start experimenting with sttp by copy-pasting the following: ```scala -import $ivy.`com.softwaremill.sttp.client3::core:3.0.0-RC12` +import $ivy.`com.softwaremill.sttp.client3::core:3.0.0-RC13` import sttp.client3.quick._ quickRequest.get(uri"http://httpbin.org/ip").send(backend) ``` @@ -62,7 +62,7 @@ This brings in the sttp API and an implicit, synchronous backend. Add the following dependency: ```scala -"com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC13" ``` Then, import: diff --git a/generated-docs/out/backends/akka.md b/generated-docs/out/backends/akka.md index 4c9ee3ff78..2caf2e86a7 100644 --- a/generated-docs/out/backends/akka.md +++ b/generated-docs/out/backends/akka.md @@ -3,7 +3,7 @@ This backend is based on [akka-http](http://doc.akka.io/docs/akka-http/current/scala/http/). To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "akka-http-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "akka-http-backend" % "3.0.0-RC13" ``` A fully **asynchronous** backend. Uses the `Future` effect to return responses. There are also [other `Future`-based backends](future.md), which don't depend on Akka. diff --git a/generated-docs/out/backends/catseffect.md b/generated-docs/out/backends/catseffect.md index 008f39c077..e33d3d55c3 100644 --- a/generated-docs/out/backends/catseffect.md +++ b/generated-docs/out/backends/catseffect.md @@ -5,7 +5,7 @@ The [Cats Effect](https://github.com/typelevel/cats-effect) backend is **asynchr To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "async-http-client-backend-cats" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "async-http-client-backend-cats" % "3.0.0-RC13" ``` You'll need the following imports and implicits to create the backend: diff --git a/generated-docs/out/backends/finagle.md b/generated-docs/out/backends/finagle.md index b1eda7a685..736fa40ee8 100644 --- a/generated-docs/out/backends/finagle.md +++ b/generated-docs/out/backends/finagle.md @@ -3,7 +3,7 @@ To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "finagle-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "finagle-backend" % "3.0.0-RC13" ``` Next you'll need to add an implicit value: diff --git a/generated-docs/out/backends/fs2.md b/generated-docs/out/backends/fs2.md index f6f9b7b84d..1881198474 100644 --- a/generated-docs/out/backends/fs2.md +++ b/generated-docs/out/backends/fs2.md @@ -7,7 +7,7 @@ The [fs2](https://github.com/functional-streams-for-scala/fs2) backend is **asyn To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "async-http-client-backend-fs2" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "async-http-client-backend-fs2" % "3.0.0-RC13" ``` And some imports: @@ -76,7 +76,7 @@ val backend = AsyncHttpClientFs2Backend.usingClient[IO](asyncHttpClient, blocker To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "httpclient-backend-fs2" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "httpclient-backend-fs2" % "3.0.0-RC13" ``` And some imports: diff --git a/generated-docs/out/backends/future.md b/generated-docs/out/backends/future.md index bd085ee503..58c4e3d117 100644 --- a/generated-docs/out/backends/future.md +++ b/generated-docs/out/backends/future.md @@ -20,7 +20,7 @@ Class Supported stream type To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "async-http-client-backend-future" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "async-http-client-backend-future" % "3.0.0-RC13" ``` And some imports: @@ -71,7 +71,7 @@ val backend = AsyncHttpClientFutureBackend.usingClient(asyncHttpClient) To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "okhttp-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "okhttp-backend" % "3.0.0-RC13" ``` and some imports: @@ -103,7 +103,7 @@ This backend depends on [OkHttp](http://square.github.io/okhttp/) and fully supp To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "httpclient-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "httpclient-backend" % "3.0.0-RC13" ``` and some imports: diff --git a/generated-docs/out/backends/http4s.md b/generated-docs/out/backends/http4s.md index 4492ec9b3a..6cd5fceb63 100644 --- a/generated-docs/out/backends/http4s.md +++ b/generated-docs/out/backends/http4s.md @@ -3,7 +3,7 @@ This backend is based on [http4s](https://http4s.org) (blaze client) and is **asynchronous**. To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "http4s-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "http4s-backend" % "3.0.0-RC13" ``` Add some imports as well: diff --git a/generated-docs/out/backends/javascript/fetch.md b/generated-docs/out/backends/javascript/fetch.md index e12783ee76..daa3654fc1 100644 --- a/generated-docs/out/backends/javascript/fetch.md +++ b/generated-docs/out/backends/javascript/fetch.md @@ -5,7 +5,7 @@ A JavaScript backend implemented using the [Fetch API](https://developer.mozilla This is the default backend, available in the main jar for JS. To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %%% "core" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %%% "core" % "3.0.0-RC13" ``` And create the backend instance: @@ -48,7 +48,7 @@ Streaming support is provided via `FetchMonixBackend`. Note that streaming suppo To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %%% "monix" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %%% "monix" % "3.0.0-RC13" ``` An example of streaming a response: diff --git a/generated-docs/out/backends/monix.md b/generated-docs/out/backends/monix.md index c696c9a916..ae66b6f061 100644 --- a/generated-docs/out/backends/monix.md +++ b/generated-docs/out/backends/monix.md @@ -7,7 +7,7 @@ There are several backend implementations which are `monix.eval.Task`-based. The To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "async-http-client-backend-monix" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "async-http-client-backend-monix" % "3.0.0-RC13" ``` This backend depends on [async-http-client](https://github.com/AsyncHttpClient/async-http-client), uses [Netty](http://netty.io) behind the scenes. @@ -50,7 +50,7 @@ val backend = AsyncHttpClientMonixBackend.usingClient(asyncHttpClient) To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "okhttp-backend-monix" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "okhttp-backend-monix" % "3.0.0-RC13" ``` Create the backend using: @@ -76,7 +76,7 @@ This backend depends on [OkHttp](http://square.github.io/okhttp/) and fully supp To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "httpclient-backend-monix" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "httpclient-backend-monix" % "3.0.0-RC13" ``` Create the backend using: diff --git a/generated-docs/out/backends/native/curl.md b/generated-docs/out/backends/native/curl.md index 7f72cc492c..dcd0257478 100644 --- a/generated-docs/out/backends/native/curl.md +++ b/generated-docs/out/backends/native/curl.md @@ -5,7 +5,7 @@ A Scala Native backend implemented using [Curl](https://github.com/curl/curl/blo To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %%% "core" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %%% "core" % "3.0.0-RC13" ``` and initialize one of the backends: diff --git a/generated-docs/out/backends/scalaz.md b/generated-docs/out/backends/scalaz.md index a4cbb0dba7..0324f97361 100644 --- a/generated-docs/out/backends/scalaz.md +++ b/generated-docs/out/backends/scalaz.md @@ -5,7 +5,7 @@ The [Scalaz](https://github.com/scalaz/scalaz) backend is **asynchronous**. Send To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "async-http-client-backend-scalaz" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "async-http-client-backend-scalaz" % "3.0.0-RC13" ``` This backend depends on [async-http-client](https://github.com/AsyncHttpClient/async-http-client) and uses [Netty](http://netty.io) behind the scenes. diff --git a/generated-docs/out/backends/synchronous.md b/generated-docs/out/backends/synchronous.md index d3134f02f6..25a400197c 100644 --- a/generated-docs/out/backends/synchronous.md +++ b/generated-docs/out/backends/synchronous.md @@ -20,7 +20,7 @@ This backend works with all Scala versions. A Scala 3 build is available as well To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "okhttp-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "okhttp-backend" % "3.0.0-RC13" ``` Create the backend using: @@ -48,7 +48,7 @@ This backend depends on [OkHttp](http://square.github.io/okhttp/) and fully supp To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "httpclient-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "httpclient-backend" % "3.0.0-RC13" ``` Create the backend using: diff --git a/generated-docs/out/backends/wrappers/custom.md b/generated-docs/out/backends/wrappers/custom.md index 6530a1e00d..58dee40dab 100644 --- a/generated-docs/out/backends/wrappers/custom.md +++ b/generated-docs/out/backends/wrappers/custom.md @@ -285,7 +285,7 @@ object RateLimitingSttpBackend { Implementing a new backend is made easy as the tests are published in the `core` jar file under the `tests` classifier. Simply add the follow dependencies to your `build.sbt`: ``` -"com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC12" % Test classifier "tests" +"com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC13" % Test classifier "tests" ``` Implement your backend and extend the `HttpTest` class: diff --git a/generated-docs/out/backends/wrappers/logging.md b/generated-docs/out/backends/wrappers/logging.md index b94d5a73bd..25ecef2740 100644 --- a/generated-docs/out/backends/wrappers/logging.md +++ b/generated-docs/out/backends/wrappers/logging.md @@ -25,7 +25,7 @@ Log levels can be configured when creating the `LoggingBackend`, or specified in To use the [slf4j](http://www.slf4j.org) logging backend wrapper, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "slf4j-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "slf4j-backend" % "3.0.0-RC13" ``` There are three backend wrappers available, which log request & response information using a slf4j `Logger`. To see the logs, you'll need to use an slf4j-compatible logger implementation, e.g. [logback](http://logback.qos.ch), or use a binding, e.g. [log4j-slf4j](https://logging.apache.org/log4j/2.0/log4j-slf4j-impl/index.html). @@ -47,5 +47,5 @@ To create a customised logging backend, see the section on [custom backends](cus To use the [scribe](https://github.com/outr/scribe) logging backend wrapper, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "scribe-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "scribe-backend" % "3.0.0-RC13" ``` \ No newline at end of file diff --git a/generated-docs/out/backends/wrappers/opentracing.md b/generated-docs/out/backends/wrappers/opentracing.md index dd26210264..d12cfa09d7 100644 --- a/generated-docs/out/backends/wrappers/opentracing.md +++ b/generated-docs/out/backends/wrappers/opentracing.md @@ -3,7 +3,7 @@ To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "opentracing-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "opentracing-backend" % "3.0.0-RC13" ``` This backend depends on [opentracing](https://github.com/opentracing/opentracing-java), a standardized set of api for distributed tracing. diff --git a/generated-docs/out/backends/wrappers/prometheus.md b/generated-docs/out/backends/wrappers/prometheus.md index 586fda1b64..7be622cc76 100644 --- a/generated-docs/out/backends/wrappers/prometheus.md +++ b/generated-docs/out/backends/wrappers/prometheus.md @@ -3,7 +3,7 @@ To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "prometheus-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "prometheus-backend" % "3.0.0-RC13" ``` and some imports: diff --git a/generated-docs/out/backends/wrappers/zio-opentracing.md b/generated-docs/out/backends/wrappers/zio-opentracing.md index d684692076..4bf279bd6f 100644 --- a/generated-docs/out/backends/wrappers/zio-opentracing.md +++ b/generated-docs/out/backends/wrappers/zio-opentracing.md @@ -3,7 +3,7 @@ To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "zio-telemetry-opentracing-backend" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "zio-telemetry-opentracing-backend" % "3.0.0-RC13" ``` This backend depends on [zio-opentracing](https://github.com/zio/zio-telemetry). diff --git a/generated-docs/out/backends/zio.md b/generated-docs/out/backends/zio.md index 2f5a633e36..1c0f076c88 100644 --- a/generated-docs/out/backends/zio.md +++ b/generated-docs/out/backends/zio.md @@ -7,7 +7,7 @@ The [ZIO](https://github.com/zio/zio) backends are **asynchronous**. Sending a r To use, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "httpclient-backend-zio" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "httpclient-backend-zio" % "3.0.0-RC13" ``` Create the backend using: @@ -33,7 +33,7 @@ This backend is based on the built-in `java.net.http.HttpClient` available from To use, add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC13" ``` This backend depends on [async-http-client](https://github.com/AsyncHttpClient/async-http-client), uses [Netty](http://netty.io) behind the scenes. This backend works with all Scala versions. A Scala 3 build is available as well. diff --git a/generated-docs/out/examples.md b/generated-docs/out/examples.md index 81757f8d8b..d15e96abe8 100644 --- a/generated-docs/out/examples.md +++ b/generated-docs/out/examples.md @@ -7,7 +7,7 @@ All of the examples are available [in the sources](https://github.com/softwaremi Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC13") ``` Example code: @@ -23,8 +23,8 @@ Required dependencies: ```scala libraryDependencies ++= List( - "com.softwaremill.sttp.client3" %% "akka-http-backend" % "3.0.0-RC12", - "com.softwaremill.sttp.client3" %% "json4s" % "3.0.0-RC12", + "com.softwaremill.sttp.client3" %% "akka-http-backend" % "3.0.0-RC13", + "com.softwaremill.sttp.client3" %% "json4s" % "3.0.0-RC13", "org.json4s" %% "json4s-native" % "3.6.0" ) ``` @@ -42,8 +42,8 @@ Required dependencies: ```scala libraryDependencies ++= List( - "com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC12", - "com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC12", + "com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC13", + "com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC13", "io.circe" %% "circe-generic" % "0.13.0" ) ``` @@ -61,8 +61,8 @@ Required dependencies: ```scala libraryDependencies ++= List( - "com.softwaremill.sttp.client3" %% "async-http-client-backend-monix" % "3.0.0-RC12", - "com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC12", + "com.softwaremill.sttp.client3" %% "async-http-client-backend-monix" % "3.0.0-RC13", + "com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC13", "io.circe" %% "circe-generic" % "0.13.0" ) ``` @@ -80,8 +80,8 @@ Required dependencies: ```scala libraryDependencies ++= List( - "com.softwaremill.sttp.client3" %% "slf4j-backend" % "3.0.0-RC12", - "com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC12", + "com.softwaremill.sttp.client3" %% "slf4j-backend" % "3.0.0-RC13", + "com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC13", "io.circe" %% "circe-generic" % "0.13.0" ) ``` @@ -99,8 +99,8 @@ Required dependencies: ```scala libraryDependencies ++= List( - "com.softwaremill.sttp.client3" %% "async-http-client-backend-monix" % "3.0.0-RC12", - "com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC12", + "com.softwaremill.sttp.client3" %% "async-http-client-backend-monix" % "3.0.0-RC13", + "com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC13", "io.circe" %% "circe-generic" % "0.13.0" ) ``` @@ -117,7 +117,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC13") ``` Example code: @@ -132,7 +132,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC13") ``` Example code: @@ -147,7 +147,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-fs2 % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-fs2 % "3.0.0-RC13") ``` Example code: @@ -162,7 +162,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-monix % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-monix % "3.0.0-RC13") ``` Example code: @@ -177,7 +177,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "akka-http-backend" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "akka-http-backend" % "3.0.0-RC13") ``` Example code: @@ -192,7 +192,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-monix" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-monix" % "3.0.0-RC13") ``` Example code: @@ -207,7 +207,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-fs2" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-fs2" % "3.0.0-RC13") ``` Example code: @@ -222,7 +222,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC13") ``` Example code: @@ -237,7 +237,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.0.0-RC13") ``` Example code: @@ -252,7 +252,7 @@ Example code: Required dependencies: ```scala -libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC12") +libraryDependencies ++= List("com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC13") ``` Example code: diff --git a/generated-docs/out/json.md b/generated-docs/out/json.md index a841b19a08..ca561d3cd6 100644 --- a/generated-docs/out/json.md +++ b/generated-docs/out/json.md @@ -34,7 +34,7 @@ case class ResponsePayload(data: String) JSON encoding of bodies and decoding of responses can be handled using [Circe](https://circe.github.io/circe/) by the `circe` module. To use add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "circe" % "3.0.0-RC13" ``` This module adds a body serialized, so that json payloads can be sent as request bodies. To send a payload of type `T` as json, a `io.circe.Encoder[T]` implicit value must be available in scope. @@ -66,7 +66,7 @@ Arbitrary JSON structures can be traversed by parsing the result as `io.circe.Js To encode and decode json using json4s, add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "json4s" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "json4s" % "3.0.0-RC13" "org.json4s" %% "json4s-native" % "3.6.0" ``` @@ -100,7 +100,7 @@ val response: Identity[Response[Either[ResponseException[String, Exception], Res To encode and decode JSON using [spray-json](https://github.com/spray/spray-json), add the following dependency to your project: ``` -"com.softwaremill.sttp.client3" %% "spray-json" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "spray-json" % "3.0.0-RC13" ``` Using this module it is possible to set request bodies and read response bodies as your custom types, using the implicitly available instances of `spray.json.JsonWriter` / `spray.json.JsonReader` or `spray.json.JsonFormat`. @@ -132,7 +132,7 @@ val response: Identity[Response[Either[ResponseException[String, Exception], Res To encode and decode JSON using [play-json](https://www.playframework.com), add the following dependency to your project: ```scala -"com.softwaremill.sttp.client3" %% "play-json" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "play-json" % "3.0.0-RC13" ``` To use, add an import: `import sttp.client3.playJson._`. diff --git a/generated-docs/out/openapi.md b/generated-docs/out/openapi.md index fe2d8c02d6..a3068e03ef 100644 --- a/generated-docs/out/openapi.md +++ b/generated-docs/out/openapi.md @@ -36,8 +36,8 @@ lazy val petstoreApi: Project = project openApiGeneratorName := "scala-sttp", openApiOutputDir := baseDirectory.value.name, libraryDependencies ++= Seq( - "com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC12", - "com.softwaremill.sttp.client3" %% "json4s" % "3.0.0-RC12", + "com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC13", + "com.softwaremill.sttp.client3" %% "json4s" % "3.0.0-RC13", "org.json4s" %% "json4s-jackson" % "3.6.8" ) ) @@ -87,8 +87,8 @@ lazy val petstoreApi: Project = project openApiOutputDir := baseDirectory.value.name, openApiIgnoreFileOverride := s"${baseDirectory.in(ThisBuild).value.getPath}/openapi-ignore-file", libraryDependencies ++= Seq( - "com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC12", - "com.softwaremill.sttp.client3" %% "json4s" % "3.0.0-RC12", + "com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC13", + "com.softwaremill.sttp.client3" %% "json4s" % "3.0.0-RC13", "org.json4s" %% "json4s-jackson" % "3.6.8" ), (compile in Compile) := ((compile in Compile) dependsOn openApiGenerate).value, diff --git a/generated-docs/out/quickstart.md b/generated-docs/out/quickstart.md index 3783e31a89..e99dd338d8 100644 --- a/generated-docs/out/quickstart.md +++ b/generated-docs/out/quickstart.md @@ -9,7 +9,7 @@ To integrate with other parts of your application, you'll often need to use an a The basic dependency which provides the API and the default synchronous backend is: ```scala -"com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC12" +"com.softwaremill.sttp.client3" %% "core" % "3.0.0-RC13" ``` `sttp client` is available for Scala 2.11, 2.12 and 2.13, and requires Java 8, as well as for Scala 3. @@ -21,7 +21,7 @@ The basic dependency which provides the API and the default synchronous backend If you are an [Ammonite](https://ammonite.io) user, you can quickly start experimenting with sttp by copy-pasting the following: ```scala -import $ivy.`com.softwaremill.sttp.client3::core:3.0.0-RC12` +import $ivy.`com.softwaremill.sttp.client3::core:3.0.0-RC13` import sttp.client3.quick._ quickRequest.get(uri"http://httpbin.org/ip").send(backend) ``` @@ -31,7 +31,7 @@ Importing the `quick` object has the same effect as importing `sttp.client3._`, If the default `HttpURLConnectionBackend` for some reason is insufficient, you can also use one based on OkHttp or HttpClient: ```scala -import $ivy.`com.softwaremill.sttp.client3::okhttp-backend:3.0.0-RC12` +import $ivy.`com.softwaremill.sttp.client3::okhttp-backend:3.0.0-RC13` import sttp.client3.okhttp.quick._ quickRequest.get(uri"http://httpbin.org/ip").send(backend) ```