Skip to content

Commit

Permalink
Setting version to 2.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaremill-ci committed Aug 20, 2020
1 parent cbb0223 commit edfca65
Show file tree
Hide file tree
Showing 23 changed files with 52 additions and 52 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ sttp (v2) documentation is available at [sttp.softwaremill.com](http://sttp.soft

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.client/core_2.12/2.2.4)
scaladoc is available at [https://www.javadoc.io](https://www.javadoc.io/doc/com.softwaremill.sttp.client/core_2.12/2.2.5)

## 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.client::core:2.2.4`
import $ivy.`com.softwaremill.sttp.client::core:2.2.5`
import sttp.client.quick._
quickRequest.get(uri"http://httpbin.org/ip").send()
```
Expand All @@ -64,7 +64,7 @@ This brings in the sttp API and an implicit, synchronous backend.
Add the following dependency:

```scala
"com.softwaremill.sttp.client" %% "core" % "2.2.4"
"com.softwaremill.sttp.client" %% "core" % "2.2.5"
```

Then, import:
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/akka.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %% "akka-http-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "akka-http-backend" % "2.2.5"
```

A fully **asynchronous** backend. Sending a request returns a response wrapped in a `Future`. There are also [other `Future`-based backends](future.md), which don't depend on Akka.
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/catseffect.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %% "async-http-client-backend-cats" % "2.2.4"
"com.softwaremill.sttp.client" %% "async-http-client-backend-cats" % "2.2.5"
```
You'll need the following imports and implicits to create the backend:
```scala
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/finagle.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To use, add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "finagle-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "finagle-backend" % "2.2.5"
```

Next you'll need to add an implicit value:
Expand Down
4 changes: 2 additions & 2 deletions generated-docs/out/backends/fs2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %% "async-http-client-backend-fs2" % "2.2.4"
"com.softwaremill.sttp.client" %% "async-http-client-backend-fs2" % "2.2.5"
```
And some imports:
```scala
Expand Down Expand Up @@ -64,7 +64,7 @@ implicit val sttpBackend = AsyncHttpClientFs2Backend.usingClient[IO](asyncHttpCl
To use, add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "httpclient-backend-fs2" % "2.2.4"
"com.softwaremill.sttp.client" %% "httpclient-backend-fs2" % "2.2.5"
```
And some imports:
```scala
Expand Down
6 changes: 3 additions & 3 deletions generated-docs/out/backends/future.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Class Supported stream type
To use, add the following dependency to your project:

```scala
"com.softwaremill.sttp.client" %% "async-http-client-backend-future" % "2.2.4"
"com.softwaremill.sttp.client" %% "async-http-client-backend-future" % "2.2.5"
```
And some imports:
```scala
Expand Down Expand Up @@ -61,7 +61,7 @@ implicit val sttpBackend = AsyncHttpClientFutureBackend.usingClient(asyncHttpCli
To use, add the following dependency to your project:

```scala
"com.softwaremill.sttp.client" %% "okhttp-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "okhttp-backend" % "2.2.5"
```
and some imports:
```scala
Expand All @@ -88,7 +88,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.client" %% "httpclient-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "httpclient-backend" % "2.2.5"
```
and some imports:
```scala
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/http4s.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %% "http4s-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "http4s-backend" % "2.2.5"
```

Add some imports as well:
Expand Down
4 changes: 2 additions & 2 deletions generated-docs/out/backends/javascript/fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %%% "core" % "2.2.4"
"com.softwaremill.sttp.client" %%% "core" % "2.2.5"
```

And add an implicit value:
Expand Down Expand Up @@ -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.client" %%% "monix" % "2.2.4"
"com.softwaremill.sttp.client" %%% "monix" % "2.2.5"
```

An example of streaming a response:
Expand Down
6 changes: 3 additions & 3 deletions generated-docs/out/backends/monix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %% "async-http-client-backend-monix" % "2.2.4"
"com.softwaremill.sttp.client" %% "async-http-client-backend-monix" % "2.2.5"
```
This backend depends on [async-http-client](https://github.com/AsyncHttpClient/async-http-client), uses [Netty](http://netty.io) behind the scenes and supports effect cancellation.
Expand Down Expand Up @@ -50,7 +50,7 @@ implicit val sttpBackend = AsyncHttpClientMonixBackend.usingClient(asyncHttpClie
To use, add the following dependency to your project:

```scala
"com.softwaremill.sttp.client" %% "okhttp-backend-monix" % "2.2.4"
"com.softwaremill.sttp.client" %% "okhttp-backend-monix" % "2.2.5"
```

Create the backend using:
Expand All @@ -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.client" %% "httpclient-backend-monix" % "2.2.4"
"com.softwaremill.sttp.client" %% "httpclient-backend-monix" % "2.2.5"
```

Create the backend using:
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/native/curl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %%% "core" % "2.2.4"
"com.softwaremill.sttp.client" %%% "core" % "2.2.5"
```

and initialize one of the backends:
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/scalaz.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %% "async-http-client-backend-scalaz" % "2.2.4"
"com.softwaremill.sttp.client" %% "async-http-client-backend-scalaz" % "2.2.5"
```
This backend depends on [async-http-client](https://github.com/AsyncHttpClient/async-http-client) and uses [Netty](http://netty.io) behind the scenes.
Expand Down
4 changes: 2 additions & 2 deletions generated-docs/out/backends/synchronous.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This backend works with all Scala versions. A Dotty build is available as well.
To use, add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "okhttp-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "okhttp-backend" % "2.2.5"
```

Create the backend using:
Expand All @@ -45,7 +45,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.client" %% "httpclient-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "httpclient-backend" % "2.2.5"
```

Create the backend using:
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/wrappers/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,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.client" %% "core" % "2.2.4" % Test classifier "tests"
"com.softwaremill.sttp.client" %% "core" % "2.2.5" % Test classifier "tests"
```

Implement your backend and extend the `HttpTest` class:
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/wrappers/opentracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To use, add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "opentracing-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "opentracing-backend" % "2.2.5"
```

This backend depends on [opentracing](https://github.com/opentracing/opentracing-java), a standardized set of api for distributed tracing.
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/wrappers/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To use, add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "prometheus-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "prometheus-backend" % "2.2.5"
```
and some imports:
```scala
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/wrappers/slf4j.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ There are three backend wrappers available, which log request & response informa
To use the backend wrappers, add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "slf4j-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "slf4j-backend" % "2.2.5"
```

The following backend wrappers are available:
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/backends/wrappers/zio-opentracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To use, add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "zio-telemetry-opentracing-backend" % "2.2.4"
"com.softwaremill.sttp.client" %% "zio-telemetry-opentracing-backend" % "2.2.5"
```

This backend depends on [zio-opentracing](https://github.com/zio/zio-telemetry).
Expand Down
4 changes: 2 additions & 2 deletions generated-docs/out/backends/zio.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```scala
"com.softwaremill.sttp.client" %% "async-http-client-backend-zio" % "2.2.4"
"com.softwaremill.sttp.client" %% "async-http-client-backend-zio" % "2.2.5"
```
This backend depends on [async-http-client](https://github.com/AsyncHttpClient/async-http-client), uses [Netty](http://netty.io) behind the scenes and supports effect cancellation. This backend works with all Scala versions. A Dotty build is available as well.
Expand Down Expand Up @@ -53,7 +53,7 @@ implicit val backend = AsyncHttpClientZioBackend.usingClient(runtime, asyncHttpC
To use, add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "httpclient-backend-zio" % "2.2.4"
"com.softwaremill.sttp.client" %% "httpclient-backend-zio" % "2.2.5"
```

Create the backend using:
Expand Down
24 changes: 12 additions & 12 deletions generated-docs/out/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.client" %% "core" % "2.2.4")
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "core" % "2.2.5")
```

Example code:
Expand Down Expand Up @@ -36,8 +36,8 @@ Required dependencies:

```scala
libraryDependencies ++= List(
"com.softwaremill.sttp.client" %% "akka-http-backend" % "2.2.4",
"com.softwaremill.sttp.client" %% "json4s" % "2.2.4",
"com.softwaremill.sttp.client" %% "akka-http-backend" % "2.2.5",
"com.softwaremill.sttp.client" %% "json4s" % "2.2.5",
"org.json4s" %% "json4s-native" % "3.6.0"
)
```
Expand Down Expand Up @@ -79,8 +79,8 @@ Required dependencies:

```scala
libraryDependencies ++= List(
"com.softwaremill.sttp.client" %% "async-http-client-backend-zio" % "2.2.4",
"com.softwaremill.sttp.client" %% "circe" % "2.2.4",
"com.softwaremill.sttp.client" %% "async-http-client-backend-zio" % "2.2.5",
"com.softwaremill.sttp.client" %% "circe" % "2.2.5",
"io.circe" %% "circe-generic" % "0.12.1"
)
```
Expand Down Expand Up @@ -126,8 +126,8 @@ Required dependencies:

```scala
libraryDependencies ++= List(
"com.softwaremill.sttp.client" %% "async-http-client-backend-monix" % "2.2.4",
"com.softwaremill.sttp.client" %% "circe" % "2.2.4",
"com.softwaremill.sttp.client" %% "async-http-client-backend-monix" % "2.2.5",
"com.softwaremill.sttp.client" %% "circe" % "2.2.5",
"io.circe" %% "circe-generic" % "0.12.1"
)
```
Expand Down Expand Up @@ -164,7 +164,7 @@ postTask.runSyncUnsafe()
Required dependencies:

```scala
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "core" % "2.2.4")
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "core" % "2.2.5")
```

Example code:
Expand Down Expand Up @@ -199,7 +199,7 @@ println(
Required dependencies:

```scala
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "async-http-client-backend-zio" % "2.2.4")
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "async-http-client-backend-zio" % "2.2.5")
```

Example code:
Expand Down Expand Up @@ -239,7 +239,7 @@ object WebsocketZio extends ZApp {
Required dependencies:

```scala
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "async-http-client-backend-monix" % "2.2.4")
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "async-http-client-backend-monix" % "2.2.5")
```

Example code:
Expand Down Expand Up @@ -279,7 +279,7 @@ object WebsocketMonix extends App {
Required dependencies:

```scala
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "async-http-client-backend-fs2" % "2.2.4")
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "async-http-client-backend-fs2" % "2.2.5")
```

Example code:
Expand Down Expand Up @@ -332,7 +332,7 @@ effect.unsafeRunSync()
Required dependencies:

```scala
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "async-http-client-backend-zio" % "2.2.4")
libraryDependencies ++= List("com.softwaremill.sttp.client" %% "async-http-client-backend-zio" % "2.2.5")
```

Example code:
Expand Down
8 changes: 4 additions & 4 deletions generated-docs/out/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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.client" %% "circe" % "2.2.4"
"com.softwaremill.sttp.client" %% "circe" % "2.2.5"
```

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.
Expand Down Expand Up @@ -47,7 +47,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.client" %% "json4s" % "2.2.4"
"com.softwaremill.sttp.client" %% "json4s" % "2.2.5"
"org.json4s" %% "json4s-native" % "3.6.0"
```

Expand Down Expand Up @@ -81,7 +81,7 @@ val response: Identity[Response[Either[ResponseError[Exception], ResponsePayload
To encode and decode JSON using [spray-json](https://github.com/spray/spray-json), add the following dependency to your project:

```
"com.softwaremill.sttp.client" %% "spray-json" % "2.2.4"
"com.softwaremill.sttp.client" %% "spray-json" % "2.2.5"
```

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`.
Expand Down Expand Up @@ -113,7 +113,7 @@ val response: Identity[Response[Either[ResponseError[Exception], ResponsePayload
To encode and decode JSON using [play-json](https://www.playframework.com), add the following dependency to your project:

```scala
"com.softwaremill.sttp.client" %% "play-json" % "2.2.4"
"com.softwaremill.sttp.client" %% "play-json" % "2.2.5"
```

To use, add an import: `import sttp.client.playJson._`.
8 changes: 4 additions & 4 deletions generated-docs/out/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ lazy val petstoreApi: Project = project
openApiGeneratorName := "scala-sttp",
openApiOutputDir := baseDirectory.value.name,
libraryDependencies ++= Seq(
"com.softwaremill.sttp.client" %% "core" % "2.2.4",
"com.softwaremill.sttp.client" %% "json4s" % "2.2.4",
"com.softwaremill.sttp.client" %% "core" % "2.2.5",
"com.softwaremill.sttp.client" %% "json4s" % "2.2.5",
"org.json4s" %% "json4s-jackson" % "3.6.8"
)
)
Expand Down Expand Up @@ -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.client" %% "core" % "2.2.4",
"com.softwaremill.sttp.client" %% "json4s" % "2.2.4",
"com.softwaremill.sttp.client" %% "core" % "2.2.5",
"com.softwaremill.sttp.client" %% "json4s" % "2.2.5",
"org.json4s" %% "json4s-jackson" % "3.6.8"
),
(compile in Compile) := ((compile in Compile) dependsOn openApiGenerate).value,
Expand Down
Loading

0 comments on commit edfca65

Please sign in to comment.