Skip to content

Commit 651a6b6

Browse files
committed
Release 3.11.0
1 parent 5c71c67 commit 651a6b6

23 files changed

+90
-90
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ sttp (v2) documentation is available at [sttp.softwaremill.com/en/v2](http://stt
4949

5050
sttp (v1) documentation is available at [sttp.softwaremill.com/en/v1](https://sttp.softwaremill.com/en/v1).
5151

52-
scaladoc is available at [https://www.javadoc.io](https://www.javadoc.io/doc/com.softwaremill.sttp.client3/core_2.12/3.10.3)
52+
scaladoc is available at [https://www.javadoc.io](https://www.javadoc.io/doc/com.softwaremill.sttp.client3/core_2.12/3.11.0)
5353

5454
## Quickstart with Ammonite
5555

5656
If you are an [Ammonite](http://ammonite.io) user, you can quickly start experimenting with sttp by copy-pasting the following:
5757

5858
```scala
59-
import $ivy.`com.softwaremill.sttp.client3::core:3.10.3`
59+
import $ivy.`com.softwaremill.sttp.client3::core:3.11.0`
6060
import sttp.client3.quick._
6161
quickRequest.get(uri"http://httpbin.org/ip").send(backend)
6262
```
@@ -68,7 +68,7 @@ This brings in the sttp API and a synchronous backend instance.
6868
Add the following dependency:
6969

7070
```scala
71-
"com.softwaremill.sttp.client3" %% "core" % "3.10.3"
71+
"com.softwaremill.sttp.client3" %% "core" % "3.11.0"
7272
```
7373

7474
Then, import:
@@ -123,7 +123,7 @@ The documentation is typechecked using [mdoc](https://scalameta.org/mdoc/). The
123123

124124
When generating documentation, it's best to set the version to the current one, so that the generated doc files don't include modifications with the current snapshot version.
125125

126-
That is, in sbt run: `set version := "3.10.3"`, before running `mdoc` in `docs`.
126+
That is, in sbt run: `set version := "3.11.0"`, before running `mdoc` in `docs`.
127127

128128
### Testing the Scala.JS backend
129129

generated-docs/out/backends/akka.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
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:
44

55
```
6-
"com.softwaremill.sttp.client3" %% "akka-http-backend" % "3.10.3"
6+
"com.softwaremill.sttp.client3" %% "akka-http-backend" % "3.11.0"
77
```
88

99
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.

generated-docs/out/backends/catseffect.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Also note that the [http4s](http4s.md) backend can also be created for a type im
1414
Firstly, add the following dependency to your project:
1515

1616
```scala
17-
"com.softwaremill.sttp.client3" %% "cats" % "3.10.3"
17+
"com.softwaremill.sttp.client3" %% "cats" % "3.11.0"
1818
```
1919

2020
Obtain a cats-effect `Resource` which creates the backend, and closes the thread pool after the resource is no longer used:
@@ -82,9 +82,9 @@ Creation of the backend can be done in two basic ways:
8282
Firstly, add the following dependency to your project:
8383

8484
```scala
85-
"com.softwaremill.sttp.client3" %% "armeria-backend-cats" % "3.10.3" // for cats-effect 3.x
85+
"com.softwaremill.sttp.client3" %% "armeria-backend-cats" % "3.11.0" // for cats-effect 3.x
8686
// or
87-
"com.softwaremill.sttp.client3" %% "armeria-backend-cats-ce2" % "3.10.3" // for cats-effect 2.x
87+
"com.softwaremill.sttp.client3" %% "armeria-backend-cats-ce2" % "3.11.0" // for cats-effect 2.x
8888
```
8989

9090
create client:

generated-docs/out/backends/finagle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
To use, add the following dependency to your project:
44

55
```
6-
"com.softwaremill.sttp.client3" %% "finagle-backend" % "3.10.3"
6+
"com.softwaremill.sttp.client3" %% "finagle-backend" % "3.11.0"
77
```
88

99
Next you'll need to add an implicit value:

generated-docs/out/backends/fs2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Creation of the backend can be done in two basic ways:
1212
Firstly, add the following dependency to your project:
1313

1414
```scala
15-
"com.softwaremill.sttp.client3" %% "fs2" % "3.10.3" // for cats-effect 3.x & fs2 3.x
15+
"com.softwaremill.sttp.client3" %% "fs2" % "3.11.0" // for cats-effect 3.x & fs2 3.x
1616
// or
17-
"com.softwaremill.sttp.client3" %% "fs2-ce2" % "3.10.3" // for cats-effect 2.x & fs2 2.x
17+
"com.softwaremill.sttp.client3" %% "fs2-ce2" % "3.11.0" // for cats-effect 2.x & fs2 2.x
1818
```
1919

2020
Obtain a cats-effect `Resource` which creates the backend, and closes the thread pool after the resource is no longer used:
@@ -78,9 +78,9 @@ Host header override is supported in environments running Java 12 onwards, but i
7878
To use, add the following dependency to your project:
7979

8080
```scala
81-
"com.softwaremill.sttp.client3" %% "armeria-backend-fs2" % "3.10.3" // for cats-effect 3.x & fs2 3.x
81+
"com.softwaremill.sttp.client3" %% "armeria-backend-fs2" % "3.11.0" // for cats-effect 3.x & fs2 3.x
8282
// or
83-
"com.softwaremill.sttp.client3" %% "armeria-backend-fs2" % "3.10.3" // for cats-effect 2.x & fs2 2.x
83+
"com.softwaremill.sttp.client3" %% "armeria-backend-fs2" % "3.11.0" // for cats-effect 2.x & fs2 2.x
8484
```
8585

8686
create client:

generated-docs/out/backends/future.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Class Supported stream type
2020
To use, you don't need any extra dependencies, `core` is enough:
2121

2222
```
23-
"com.softwaremill.sttp.client3" %% "core" % "3.10.3"
23+
"com.softwaremill.sttp.client3" %% "core" % "3.11.0"
2424
```
2525

2626
You'll need the following imports:
@@ -59,7 +59,7 @@ Host header override is supported in environments running Java 12 onwards, but i
5959
To use, add the following dependency to your project:
6060

6161
```scala
62-
"com.softwaremill.sttp.client3" %% "okhttp-backend" % "3.10.3"
62+
"com.softwaremill.sttp.client3" %% "okhttp-backend" % "3.11.0"
6363
```
6464

6565
and some imports:
@@ -91,7 +91,7 @@ This backend depends on [OkHttp](http://square.github.io/okhttp/) and fully supp
9191
To use, add the following dependency to your project:
9292

9393
```
94-
"com.softwaremill.sttp.client3" %% "armeria-backend" % "3.10.3"
94+
"com.softwaremill.sttp.client3" %% "armeria-backend" % "3.11.0"
9595
```
9696

9797
add imports:

generated-docs/out/backends/http4s.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
This backend is based on [http4s](https://http4s.org) (client) and is **asynchronous**. To use, add the following dependency to your project:
44

55
```scala
6-
"com.softwaremill.sttp.client3" %% "http4s-backend" % "3.10.3" // for cats-effect 3.x & http4s 1.0.0-Mx
6+
"com.softwaremill.sttp.client3" %% "http4s-backend" % "3.11.0" // for cats-effect 3.x & http4s 1.0.0-Mx
77
// or
8-
"com.softwaremill.sttp.client3" %% "http4s-ce2-backend" % "3.10.3" // for cats-effect 2.x & http4s 0.21.x
8+
"com.softwaremill.sttp.client3" %% "http4s-ce2-backend" % "3.11.0" // for cats-effect 2.x & http4s 0.21.x
99
```
1010

1111
The backend can be created in a couple of ways, e.g.:

generated-docs/out/backends/javascript/fetch.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A JavaScript backend with web socket support. Implemented using the [Fetch API](
77
This is the default backend, available in the main jar for JS. To use, add the following dependency to your project:
88

99
```
10-
"com.softwaremill.sttp.client3" %%% "core" % "3.10.3"
10+
"com.softwaremill.sttp.client3" %%% "core" % "3.11.0"
1111
```
1212

1313
And create the backend instance:
@@ -26,7 +26,7 @@ Note that `Fetch` does not pass cookies by default. If your request needs cookie
2626
To use, add the following dependency to your project:
2727

2828
```
29-
"com.softwaremill.sttp.client3" %%% "monix" % "3.10.3"
29+
"com.softwaremill.sttp.client3" %%% "monix" % "3.11.0"
3030
```
3131

3232
And create the backend instance:
@@ -40,7 +40,7 @@ val backend = FetchMonixBackend()
4040
To use, add the following dependency to your project:
4141

4242
```
43-
"com.softwaremill.sttp.client3" %%% "zio" % "3.10.3"
43+
"com.softwaremill.sttp.client3" %%% "zio" % "3.11.0"
4444
```
4545

4646
And create the backend instance:
@@ -55,13 +55,13 @@ Any effect implementing the cats-effect `Concurrent` typeclass can be used. To u
5555
your project:
5656

5757
```
58-
"com.softwaremill.sttp.client3" %%% "cats" % "3.10.3"
58+
"com.softwaremill.sttp.client3" %%% "cats" % "3.11.0"
5959
```
6060

6161
If you are on Cats Effect 2 (CE2) you will need to add the CE2 specific dependency instead:
6262

6363
```
64-
"com.softwaremill.sttp.client3" %%% "catsce2 % "3.10.3"
64+
"com.softwaremill.sttp.client3" %%% "catsce2 % "3.11.0"
6565
```
6666

6767
And create the backend instance:
@@ -129,7 +129,7 @@ Streaming support is provided via `FetchMonixBackend`. Note that streaming suppo
129129
To use, add the following dependency to your project:
130130

131131
```
132-
"com.softwaremill.sttp.client3" %%% "monix" % "3.10.3"
132+
"com.softwaremill.sttp.client3" %%% "monix" % "3.11.0"
133133
```
134134

135135
An example of streaming a response:

generated-docs/out/backends/monix.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Creation of the backend can be done in two basic ways:
1212
Firstly, add the following dependency to your project:
1313

1414
```
15-
"com.softwaremill.sttp.client3" %% "monix" % "3.10.3"
15+
"com.softwaremill.sttp.client3" %% "monix" % "3.11.0"
1616
```
1717

1818
and create the backend using:
@@ -50,7 +50,7 @@ Host header override is supported in environments running Java 12 onwards, but i
5050
To use, add the following dependency to your project:
5151

5252
```scala
53-
"com.softwaremill.sttp.client3" %% "okhttp-backend-monix" % "3.10.3"
53+
"com.softwaremill.sttp.client3" %% "okhttp-backend-monix" % "3.11.0"
5454
```
5555

5656
Create the backend using:
@@ -76,7 +76,7 @@ This backend depends on [OkHttp](http://square.github.io/okhttp/) and fully supp
7676
To use, add the following dependency to your project:
7777

7878
```
79-
"com.softwaremill.sttp.client3" %% "armeria-backend-monix" % "3.10.3"
79+
"com.softwaremill.sttp.client3" %% "armeria-backend-monix" % "3.11.0"
8080
```
8181

8282
add imports:

generated-docs/out/backends/native/curl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A Scala Native backend implemented using [Curl](https://github.com/curl/curl/blo
55
To use, add the following dependency to your project:
66

77
```
8-
"com.softwaremill.sttp.client3" %%% "core" % "3.10.3"
8+
"com.softwaremill.sttp.client3" %%% "core" % "3.11.0"
99
```
1010

1111
and initialize one of the backends:

0 commit comments

Comments
 (0)