diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/backends/akkahttp.rst | 2 | ||||
-rw-r--r-- | docs/backends/asynchttpclient.rst | 8 | ||||
-rw-r--r-- | docs/backends/brave.rst | 2 | ||||
-rw-r--r-- | docs/backends/okhttp.rst | 4 | ||||
-rw-r--r-- | docs/backends/prometheus.rst | 2 | ||||
-rw-r--r-- | docs/examples.rst | 8 | ||||
-rw-r--r-- | docs/json.rst | 4 | ||||
-rw-r--r-- | docs/quickstart.rst | 4 |
8 files changed, 17 insertions, 17 deletions
diff --git a/docs/backends/akkahttp.rst b/docs/backends/akkahttp.rst index aecd29d..97ec3ea 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.1.8" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.1.9" 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``. diff --git a/docs/backends/asynchttpclient.rst b/docs/backends/asynchttpclient.rst index 579c6ff..fd63459 100644 --- a/docs/backends/asynchttpclient.rst +++ b/docs/backends/asynchttpclient.rst @@ -3,13 +3,13 @@ async-http-client backend To use, add the following dependency to your project:: - "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.1.8" + "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.1.9" // or - "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.1.8" + "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.1.9" // or - "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.1.8" + "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.1.9" // or - "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.1.8" + "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.1.9" 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 diff --git a/docs/backends/brave.rst b/docs/backends/brave.rst index 00f5f22..7d81ae0 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.1.8" + "com.softwaremill.sttp" %% "brave-backend" % "1.1.9" This backend depends on `brave <https://github.com/openzipkin/brave>`_, a distributed tracing implementation compatible with Zipkin backend services. diff --git a/docs/backends/okhttp.rst b/docs/backends/okhttp.rst index de3bae9..87964a9 100644 --- a/docs/backends/okhttp.rst +++ b/docs/backends/okhttp.rst @@ -3,9 +3,9 @@ OkHttp backend To use, add the following dependency to your project:: - "com.softwaremill.sttp" %% "okhttp-backend" % "1.1.8" + "com.softwaremill.sttp" %% "okhttp-backend" % "1.1.9" // or, for the monix version: - "com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.1.8" + "com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.1.9" This backend depends on `OkHttp <http://square.github.io/okhttp/>`_, and offers: diff --git a/docs/backends/prometheus.rst b/docs/backends/prometheus.rst index 96b7232..bb4004d 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.1.8" + "com.softwaremill.sttp" %% "prometheus-backend" % "1.1.9" 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>`_. diff --git a/docs/examples.rst b/docs/examples.rst index 9a02cf4..047c800 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.1.8") + libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.1.9") 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.1.8", - "com.softwaremill.sttp" %% "json4s" % "1.1.8" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.1.9", + "com.softwaremill.sttp" %% "json4s" % "1.1.9" ) Example code:: @@ -68,7 +68,7 @@ Test an endpoint requiring multiple parameters Required dependencies:: - libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.1.8") + libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.1.9") Example code:: diff --git a/docs/json.rst b/docs/json.rst index ef07ad3..0ff5dd0 100644 --- a/docs/json.rst +++ b/docs/json.rst @@ -10,7 +10,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.1.8" + "com.softwaremill.sttp" %% "circe" % "1.1.9" 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:: @@ -35,7 +35,7 @@ Json4s To encode and decode json using json4s-native, add the following dependency to your project:: - "com.softwaremill.sttp" %% "json4s" % "1.1.8" + "com.softwaremill.sttp" %% "json4s" % "1.1.9" Using this module it is possible to set request bodies and read response bodies as case classes, using the implicitly available ``org.json4s.Formats`` (which defaults to ``org.json4s.DefaultFormats``). diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 3dc89f0..6c658f7 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.1.8" + "com.softwaremill.sttp" %% "core" % "1.1.9" ``sttp`` is available for Scala 2.11 and 2.12, and requires Java 8. The core module has no transitive dependencies. @@ -19,7 +19,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.1.8` + import $ivy.`com.softwaremill.sttp::core:1.1.9` import com.softwaremill.sttp._ implicit val backend = HttpURLConnectionBackend() sttp.get(uri"http://httpbin.org/ip").send() |