diff options
author | adamw <adam@warski.org> | 2018-03-06 15:17:25 +0100 |
---|---|---|
committer | adamw <adam@warski.org> | 2018-03-06 15:17:25 +0100 |
commit | b0d86e13bea751b66b4957b3c69913edc6af15f5 (patch) | |
tree | 14ee0ddb6e4a6f4c69ccb2a72f2e019b589c9dc2 /docs | |
parent | 3d6509f815abe5b426dc168b8e6b47254f382328 (diff) | |
download | sttp-b0d86e13bea751b66b4957b3c69913edc6af15f5.tar.gz sttp-b0d86e13bea751b66b4957b3c69913edc6af15f5.tar.bz2 sttp-b0d86e13bea751b66b4957b3c69913edc6af15f5.zip |
Setting version to 1.1.8v1.1.8
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 40699a5..aecd29d 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.7" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.1.8" 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 ab23445..579c6ff 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.7" + "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.1.8" // or - "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.1.7" + "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.1.8" // or - "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.1.7" + "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.1.8" // or - "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.1.7" + "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.1.8" 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 c27da97..00f5f22 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.7" + "com.softwaremill.sttp" %% "brave-backend" % "1.1.8" 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 b04f1d3..de3bae9 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.7" + "com.softwaremill.sttp" %% "okhttp-backend" % "1.1.8" // or, for the monix version: - "com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.1.7" + "com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.1.8" 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 5d0e7c0..96b7232 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.7" + "com.softwaremill.sttp" %% "prometheus-backend" % "1.1.8" 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 42a5cab..9a02cf4 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.7") + libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.1.8") 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.7", - "com.softwaremill.sttp" %% "json4s" % "1.1.7" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.1.8", + "com.softwaremill.sttp" %% "json4s" % "1.1.8" ) Example code:: @@ -68,7 +68,7 @@ Test an endpoint requiring multiple parameters Required dependencies:: - libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.1.7") + libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.1.8") Example code:: diff --git a/docs/json.rst b/docs/json.rst index b76f94f..ef07ad3 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.7" + "com.softwaremill.sttp" %% "circe" % "1.1.8" 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.7" + "com.softwaremill.sttp" %% "json4s" % "1.1.8" 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 6bbbd52..3dc89f0 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.7" + "com.softwaremill.sttp" %% "core" % "1.1.8" ``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.7` + import $ivy.`com.softwaremill.sttp::core:1.1.8` import com.softwaremill.sttp._ implicit val backend = HttpURLConnectionBackend() sttp.get(uri"http://httpbin.org/ip").send() |