From da742e61a049f0474bdf341cb76b9ae0504569c2 Mon Sep 17 00:00:00 2001 From: adamw Date: Mon, 27 Nov 2017 22:01:20 +0100 Subject: Setting version to 1.1.0 --- docs/backends/akkahttp.rst | 2 +- docs/backends/asynchttpclient.rst | 8 ++++---- docs/backends/okhttp.rst | 4 ++-- docs/examples.rst | 8 ++++---- docs/json.rst | 4 ++-- docs/quickstart.rst | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) (limited to 'docs') diff --git a/docs/backends/akkahttp.rst b/docs/backends/akkahttp.rst index 32603f6..5f6ddfc 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.0.6" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.1.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 8eeba79..13c68f0 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.0.6" + "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.1.0" // or - "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.0.6" + "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.1.0" // or - "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.0.6" + "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.1.0" // or - "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.0.6" + "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.1.0" This backend depends on `async-http-client `_. A fully **asynchronous** backend, which uses `Netty `_ behind the diff --git a/docs/backends/okhttp.rst b/docs/backends/okhttp.rst index 178c7a5..a826b26 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.0.6" + "com.softwaremill.sttp" %% "okhttp-backend" % "1.1.0" // or, for the monix version: - "com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.0.6" + "com.softwaremill.sttp" %% "okhttp-backend-monix" % "1.1.0" This backend depends on `OkHttp `_, and offers: diff --git a/docs/examples.rst b/docs/examples.rst index 397be22..b6d2965 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.0.6") + libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.1.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.0.6", - "com.softwaremill.sttp" %% "json4s" % "1.0.6" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.1.0", + "com.softwaremill.sttp" %% "json4s" % "1.1.0" ) Example code:: @@ -68,7 +68,7 @@ Test an endpoint requiring multiple parameters Required dependencies:: - libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.0.6") + libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.1.0") Example code:: diff --git a/docs/json.rst b/docs/json.rst index ea8e7d2..d194ece 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 `_ by the ``circe`` module. To use add the following dependency to your project:: - "com.softwaremill.sttp" %% "circe" % "1.0.6" + "com.softwaremill.sttp" %% "circe" % "1.1.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:: @@ -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.0.6" + "com.softwaremill.sttp" %% "json4s" % "1.1.0" 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 a33194e..24a6074 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.0.6" + "com.softwaremill.sttp" %% "core" % "1.1.0" ``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 `_ user, you can quickly start experimenting with sttp by copy-pasting the following:: - import $ivy.`com.softwaremill.sttp::core:1.0.6` + import $ivy.`com.softwaremill.sttp::core:1.1.0` import com.softwaremill.sttp._ implicit val backend = HttpURLConnectionBackend() sttp.get(uri"http://httpbin.org/ip").send() -- cgit v1.2.3