diff --git a/README.md b/README.md
index ec219d874d..ab698c5f46 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ println(response.unsafeBody)
sttp documentation is available at [sttp.readthedocs.io](http://sttp.readthedocs.io).
-scaladoc is available at [https://www.javadoc.io](https://www.javadoc.io/doc/com.softwaremill.sttp/core_2.12/1.5.19)
+scaladoc is available at [https://www.javadoc.io](https://www.javadoc.io/doc/com.softwaremill.sttp/core_2.12/1.6.0)
You can also take a look at the [introductory blog](https://softwaremill.com/introducing-sttp-the-scala-http-client/)
and its [follow-up](https://softwaremill.com/sttp-streaming-uri-interpolator/).
@@ -42,7 +42,7 @@ and its [follow-up](https://softwaremill.com/sttp-streaming-uri-interpolator/).
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::core:1.5.19`
+import $ivy.`com.softwaremill.sttp::core:1.6.0`
import com.softwaremill.sttp.quick._
sttp.get(uri"http://httpbin.org/ip").send()
```
@@ -54,7 +54,7 @@ This brings in the sttp API and an implicit, synchronous backend.
Add the following dependency:
```scala
-"com.softwaremill.sttp" %% "core" % "1.5.19"
+"com.softwaremill.sttp" %% "core" % "1.6.0"
```
Then, import:
diff --git a/docs/backends/akkahttp.rst b/docs/backends/akkahttp.rst
index c8f601cb89..4c1e630c81 100644
--- a/docs/backends/akkahttp.rst
+++ b/docs/backends/akkahttp.rst
@@ -5,7 +5,7 @@ akka-http backend
To use, add the following dependency to your project::
- "com.softwaremill.sttp" %% "akka-http-backend" % "1.5.19"
+ "com.softwaremill.sttp" %% "akka-http-backend" % "1.6.0"
This backend depends on `akka-http `_. A fully **asynchronous** backend. Sending a request returns a response wrapped in a ``Future``.
diff --git a/docs/backends/asynchttpclient.rst b/docs/backends/asynchttpclient.rst
index 39317c7e0e..d009145211 100644
--- a/docs/backends/asynchttpclient.rst
+++ b/docs/backends/asynchttpclient.rst
@@ -3,19 +3,19 @@ async-http-client backend
To use, add the following dependency to your project::
- "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.5.19"
+ "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.6.0"
// or
- "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.5.19"
+ "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.6.0"
// or
- "com.softwaremill.sttp" %% "async-http-client-backend-zio" % "1.5.19"
+ "com.softwaremill.sttp" %% "async-http-client-backend-zio" % "1.6.0"
// or
- "com.softwaremill.sttp" %% "async-http-client-backend-zio-streams" % "1.5.19"
+ "com.softwaremill.sttp" %% "async-http-client-backend-zio-streams" % "1.6.0"
// or
- "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.5.19"
+ "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.6.0"
// or
- "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.5.19"
+ "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.6.0"
// or
- "com.softwaremill.sttp" %% "async-http-client-backend-fs2" % "1.5.19"
+ "com.softwaremill.sttp" %% "async-http-client-backend-fs2" % "1.6.0"
This backend depends on `async-http-client `_.
A fully **asynchronous** backend, which uses `Netty `_ behind the
diff --git a/docs/backends/brave.rst b/docs/backends/brave.rst
index 09aa9b6ed7..142482392f 100644
--- a/docs/backends/brave.rst
+++ b/docs/backends/brave.rst
@@ -5,7 +5,7 @@ brave backend
To use, add the following dependency to your project::
- "com.softwaremill.sttp" %% "brave-backend" % "1.5.19"
+ "com.softwaremill.sttp" %% "brave-backend" % "1.6.0"
This backend depends on `brave `_, a distributed tracing implementation compatible with Zipkin backend services.
diff --git a/docs/backends/custom.rst b/docs/backends/custom.rst
index ef83a8bc33..006f2e5db2 100644
--- a/docs/backends/custom.rst
+++ b/docs/backends/custom.rst
@@ -182,7 +182,7 @@ Example new backend
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" %% "core" % "1.5.19" % "test" classifier "tests",
+ "com.softwaremill.sttp" %% "core" % "1.6.0" % "test" classifier "tests",
"com.typesafe.akka" %% "akka-http" % "10.1.1" % "test",
"ch.megard" %% "akka-http-cors" % "0.3.0" % "test",
"com.typesafe.akka" %% "akka-stream" % "2.5.12" % "test",
diff --git a/docs/backends/javascript/fetch.rst b/docs/backends/javascript/fetch.rst
index 7d9355e28c..555b96bbe4 100644
--- a/docs/backends/javascript/fetch.rst
+++ b/docs/backends/javascript/fetch.rst
@@ -5,7 +5,7 @@ A JavaScript backend implemented using the `Fetch API `_, and offers:
diff --git a/docs/backends/prometheus.rst b/docs/backends/prometheus.rst
index 0525e45d76..b064158768 100644
--- a/docs/backends/prometheus.rst
+++ b/docs/backends/prometheus.rst
@@ -5,7 +5,7 @@ Prometheus backend
To use, add the following dependency to your project::
- "com.softwaremill.sttp" %% "prometheus-backend" % "1.5.19"
+ "com.softwaremill.sttp" %% "prometheus-backend" % "1.6.0"
This backend depends on `Prometheus JVM Client `_. Keep in mind this backend registers histograms and gathers request times, but you have to expose those metrics to `Prometheus `_ e.g. using `prometheus-akka-http `_.
diff --git a/docs/examples.rst b/docs/examples.rst
index a713c93f46..554fd8583d 100644
--- a/docs/examples.rst
+++ b/docs/examples.rst
@@ -8,7 +8,7 @@ POST a form using the synchronous backend
Required dependencies::
- libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.5.19")
+ libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.6.0")
Example code::
@@ -34,8 +34,8 @@ GET and parse JSON using the akka-http backend and json4s
Required dependencies::
libraryDependencies ++= List(
- "com.softwaremill.sttp" %% "akka-http-backend" % "1.5.19",
- "com.softwaremill.sttp" %% "json4s" % "1.5.19",
+ "com.softwaremill.sttp" %% "akka-http-backend" % "1.6.0",
+ "com.softwaremill.sttp" %% "json4s" % "1.6.0",
"org.json4s" %% "json4s-native" % "3.6.0"
)
@@ -70,7 +70,7 @@ Test an endpoint requiring multiple parameters
Required dependencies::
- libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.5.19")
+ libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.6.0")
Example code::
diff --git a/docs/json.rst b/docs/json.rst
index 28897c2587..2568a65149 100644
--- a/docs/json.rst
+++ b/docs/json.rst
@@ -12,7 +12,7 @@ Circe
JSON encoding of bodies and decoding of responses can be handled using `Circe `_ by the ``circe`` module. To use add the following dependency to your project::
- "com.softwaremill.sttp" %% "circe" % "1.5.19"
+ "com.softwaremill.sttp" %% "circe" % "1.6.0"
This module adds a method to the request and a function that can be given to a request to decode the response to a specific object::
@@ -37,7 +37,7 @@ Json4s
To encode and decode json using json4s, add the following dependency to your project::
- "com.softwaremill.sttp" %% "json4s" % "1.5.19"
+ "com.softwaremill.sttp" %% "json4s" % "1.6.0"
"org.json4s" %% "json4s-native" % "3.6.0"
Note that in this example we are using the json4s-native backend, but you can use any other json4s backend.
@@ -70,7 +70,7 @@ spray-json
To encode and decode JSON using `spray-json `_, add the following dependency to your project::
- "com.softwaremill.sttp" %% "spray-json" % "1.5.19"
+ "com.softwaremill.sttp" %% "spray-json" % "1.6.0"
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``.
@@ -106,6 +106,6 @@ play-json
To encode and decode JSON using `play-json `_, add the following dependency to your project::
- "com.softwaremill.sttp" %% "play-json" % "1.5.19"
+ "com.softwaremill.sttp" %% "play-json" % "1.6.0"
To use, add an import: ``import com.softwaremill.sttp.playJson._``.
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index 0a4df582a6..f32a48859e 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -10,7 +10,7 @@ Using sbt
The basic dependency which provides the API and the default synchronous backend is::
- "com.softwaremill.sttp" %% "core" % "1.5.19"
+ "com.softwaremill.sttp" %% "core" % "1.6.0"
``sttp`` is available for Scala 2.11 and 2.12, and requires Java 8. The core module has no transitive dependencies.
@@ -21,7 +21,7 @@ Using Ammonite
If you are an `Ammonite `_ user, you can quickly start experimenting with sttp by copy-pasting the following::
- import $ivy.`com.softwaremill.sttp::core:1.5.19`
+ import $ivy.`com.softwaremill.sttp::core:1.6.0`
import com.softwaremill.sttp.quick._
sttp.get(uri"http://httpbin.org/ip").send()
diff --git a/version.sbt b/version.sbt
index 8d641e4834..3cf5ceba6a 100644
--- a/version.sbt
+++ b/version.sbt
@@ -1 +1 @@
-version in ThisBuild := "1.5.20-SNAPSHOT"
+version in ThisBuild := "1.6.0"