From 16ea51fda5570c02b5db8685db058195e5f73c62 Mon Sep 17 00:00:00 2001 From: Adam Warski Date: Sun, 12 Aug 2018 22:06:28 +0200 Subject: [PATCH] Setting version to 1.3.0 --- README.md | 4 ++-- docs/backends/akkahttp.rst | 2 +- docs/backends/asynchttpclient.rst | 10 +++++----- docs/backends/brave.rst | 2 +- docs/backends/custom.rst | 2 +- docs/backends/javascript/fetch.rst | 4 ++-- docs/backends/okhttp.rst | 4 ++-- docs/backends/prometheus.rst | 2 +- docs/examples.rst | 8 ++++---- docs/json.rst | 6 +++--- docs/quickstart.rst | 4 ++-- version.sbt | 2 +- 12 files changed, 25 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index ab657b4e3c..9d94ee62f3 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,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.3.0-RC5` +import $ivy.`com.softwaremill.sttp::core:1.3.0` import com.softwaremill.sttp.quick._ sttp.get(uri"http://httpbin.org/ip").send() ``` @@ -52,7 +52,7 @@ This brings in the sttp API and an implicit, synchronous backend. Add the following dependency: ```scala -"com.softwaremill.sttp" %% "core" % "1.3.0-RC5" +"com.softwaremill.sttp" %% "core" % "1.3.0" ``` Then, import: diff --git a/docs/backends/akkahttp.rst b/docs/backends/akkahttp.rst index 49f4b70f30..7473462924 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.3.0-RC5" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.3.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 bb5bcd55d2..6883ad58c1 100644 --- a/docs/backends/asynchttpclient.rst +++ b/docs/backends/asynchttpclient.rst @@ -3,15 +3,15 @@ async-http-client backend To use, add the following dependency to your project:: - "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.3.0-RC5" + "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.3.0" // or - "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.3.0-RC5" + "com.softwaremill.sttp" %% "async-http-client-backend-scalaz" % "1.3.0" // or - "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.3.0-RC5" + "com.softwaremill.sttp" %% "async-http-client-backend-monix" % "1.3.0" // or - "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.3.0-RC5" + "com.softwaremill.sttp" %% "async-http-client-backend-cats" % "1.3.0" // or - "com.softwaremill.sttp" %% "async-http-client-backend-fs2" % "1.3.0-RC5" + "com.softwaremill.sttp" %% "async-http-client-backend-fs2" % "1.3.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 68e5cfa070..a6737a8fa6 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.3.0-RC5" + "com.softwaremill.sttp" %% "brave-backend" % "1.3.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 671de660e4..74dd42eb7a 100644 --- a/docs/backends/custom.rst +++ b/docs/backends/custom.rst @@ -144,7 +144,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.3.0-RC5" % "test" classifier "tests", + "com.softwaremill.sttp" %% "core" % "1.3.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 d6995e8c7f..5d67d3609b 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 e6729849a3..41f7a1f005 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.3.0-RC5" + "com.softwaremill.sttp" %% "prometheus-backend" % "1.3.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 da5c67afda..c1b40218e8 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.3.0-RC5") + libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.3.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.3.0-RC5", - "com.softwaremill.sttp" %% "json4s" % "1.3.0-RC5" + "com.softwaremill.sttp" %% "akka-http-backend" % "1.3.0", + "com.softwaremill.sttp" %% "json4s" % "1.3.0" ) Example code:: @@ -68,7 +68,7 @@ Test an endpoint requiring multiple parameters Required dependencies:: - libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.3.0-RC5") + libraryDependencies ++= List("com.softwaremill.sttp" %% "core" % "1.3.0") Example code:: diff --git a/docs/json.rst b/docs/json.rst index 9ed179df47..1fe65125a1 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.3.0-RC5" + "com.softwaremill.sttp" %% "circe" % "1.3.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.3.0-RC5" + "com.softwaremill.sttp" %% "json4s" % "1.3.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``). @@ -63,7 +63,7 @@ spray-json To encode and decode JSON using `spray-json `_, add the following dependency to your project:: - "com.softwaremill.sttp" %% "spray-json" % "1.3.0-RC5" + "com.softwaremill.sttp" %% "spray-json" % "1.3.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``. diff --git a/docs/quickstart.rst b/docs/quickstart.rst index cb7fb90032..a9cf186c1a 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.3.0-RC5" + "com.softwaremill.sttp" %% "core" % "1.3.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.3.0-RC5` + import $ivy.`com.softwaremill.sttp::core:1.3.0` import com.softwaremill.sttp.quick._ sttp.get(uri"http://httpbin.org/ip").send() diff --git a/version.sbt b/version.sbt index b6a4dba536..02df9d0f0c 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "1.3.0-SNAPSHOT" +version in ThisBuild := "1.3.0"