Skip to content

Commit

Permalink
Setting version to 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Jun 18, 2019
1 parent 9516706 commit b617730
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand All @@ -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()
```
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/backends/akkahttp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http://doc.akka.io/docs/akka-http/current/scala/http/>`_. A fully **asynchronous** backend. Sending a request returns a response wrapped in a ``Future``.

Expand Down
14 changes: 7 additions & 7 deletions docs/backends/asynchttpclient.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/AsyncHttpClient/async-http-client>`_.
A fully **asynchronous** backend, which uses `Netty <http://netty.io>`_ behind the
Expand Down
2 changes: 1 addition & 1 deletion docs/backends/brave.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/openzipkin/brave>`_, a distributed tracing implementation compatible with Zipkin backend services.

Expand Down
2 changes: 1 addition & 1 deletion docs/backends/custom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions docs/backends/javascript/fetch.rst
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

To use, add the following dependency to your project::

"com.softwaremill.sttp" %%% "core" % "1.5.19"
"com.softwaremill.sttp" %%% "core" % "1.6.0"

And add an implicit value::

Expand Down Expand Up @@ -41,7 +41,7 @@ Streaming support is provided via ``FetchMonixBackend``. Note that streaming sup

To use, add the following dependency to your project::

"com.softwaremill.sttp" %%% "monix" % "1.5.19"
"com.softwaremill.sttp" %%% "monix" % "1.6.0"

An example of streaming a response::

Expand Down
4 changes: 2 additions & 2 deletions docs/backends/okhttp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ OkHttp backend

To use, add the following dependency to your project::

"com.softwaremill.sttp" %% "okhttp-backend" % "1.5.19"
"com.softwaremill.sttp" %% "okhttp-backend" % "1.6.0"
// or, for the monix version:
"com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.5.19"
"com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.6.0"

This backend depends on `OkHttp <http://square.github.io/okhttp/>`_, and offers:

Expand Down
2 changes: 1 addition & 1 deletion docs/backends/prometheus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/prometheus/client_java>`_. Keep in mind this backend registers histograms and gathers request times, but you have to expose those metrics to `Prometheus <https://prometheus.io/>`_ e.g. using `prometheus-akka-http <https://github.com/lonelyplanet/prometheus-akka-http>`_.

Expand Down
8 changes: 4 additions & 4 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand All @@ -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"
)

Expand Down Expand Up @@ -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::

Expand Down
8 changes: 4 additions & 4 deletions docs/json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Circe

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::

"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::

Expand All @@ -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.
Expand Down Expand Up @@ -70,7 +70,7 @@ spray-json

To encode and decode JSON using `spray-json <https://github.com/spray/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``.

Expand Down Expand Up @@ -106,6 +106,6 @@ play-json

To encode and decode JSON using `play-json <https://www.playframework.com/documentat…>`_, 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._``.
4 changes: 2 additions & 2 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -21,7 +21,7 @@ Using Ammonite

If you are an `Ammonite <http://ammonite.io>`_ 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()

Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "1.5.20-SNAPSHOT"
version in ThisBuild := "1.6.0"

0 comments on commit b617730

Please sign in to comment.