diff --git a/README.md b/README.md index 075b615d..bcb257a6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [comment]: # (Start Badges) -[![Join the chat at https://gitter.im/47deg/fetch](https://badges.gitter.im/47deg/fetch.svg)](https://gitter.im/47deg/fetch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/47deg/fetch.svg?branch=master)](https://travis-ci.org/47deg/fetch) [![codecov.io](http://codecov.io/gh/47deg/fetch/branch/master/graph/badge.svg)](http://codecov.io/gh/47deg/fetch) [![Maven Central](https://img.shields.io/badge/maven%20central-1.2.0-green.svg)](https://oss.sonatype.org/#nexus-search;gav~com.47deg~fetch*) [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/47deg/fetch/master/LICENSE) [![Latest version](https://img.shields.io/badge/fetch-1.2.0-green.svg)](https://index.scala-lang.org/47deg/fetch) [![Scala.js](http://scala-js.org/assets/badges/scalajs-0.6.17.svg)](http://scala-js.org) [![GitHub Issues](https://img.shields.io/github/issues/47deg/fetch.svg)](https://github.com/47deg/fetch/issues) +[![Join the chat at https://gitter.im/47deg/fetch](https://badges.gitter.im/47deg/fetch.svg)](https://gitter.im/47deg/fetch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/47deg/fetch.svg?branch=master)](https://travis-ci.org/47deg/fetch) [![codecov.io](http://codecov.io/github/47deg/fetch/coverage.svg?branch=master)](http://codecov.io/github/47deg/fetch?branch=master) [![Maven Central](https://img.shields.io/badge/maven%20central-0.6.1-green.svg)](https://oss.sonatype.org/#nexus-search;gav~com.47deg~fetch*) [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/47deg/fetch/master/LICENSE) [![Latest version](https://img.shields.io/badge/fetch-0.6.1-green.svg)](https://index.scala-lang.org/47deg/fetch) [![Scala.js](http://scala-js.org/assets/badges/scalajs-0.6.15.svg)](http://scala-js.org) [![GitHub Issues](https://img.shields.io/github/issues/47deg/fetch.svg)](https://github.com/47deg/fetch/issues) [comment]: # (End Badges) @@ -19,13 +19,13 @@ For Scala 2.11.x and 2.12.x: [comment]: # (Start Replace) ```scala -"com.47deg" %% "fetch" % "1.2.0" +"com.47deg" %% "fetch" % "1.2.1" ``` Or, if using Scala.js (0.6.x): ```scala -"com.47deg" %%% "fetch" % "1.2.0" +"com.47deg" %%% "fetch" % "1.2.1" ``` [comment]: # (End Replace) @@ -137,8 +137,8 @@ import scala.concurrent.duration._ // import scala.concurrent.duration._ Fetch.run[IO](fetchOne).unsafeRunTimed(5.seconds) -// --> [106] One ToString 1 -// <-- [106] One ToString 1 +// --> [441] One ToString 1 +// <-- [441] One ToString 1 // res0: Option[String] = Some(1) ``` @@ -157,8 +157,8 @@ When executing the above fetch, note how the three identities get batched, and t ```scala Fetch.run[IO](fetchThree).unsafeRunTimed(5.seconds) -// --> [106] Batch ToString NonEmptyList(1, 2, 3) -// <-- [106] Batch ToString NonEmptyList(1, 2, 3) +// --> [441] Batch ToString NonEmptyList(1, 2, 3) +// <-- [441] Batch ToString NonEmptyList(1, 2, 3) // res1: Option[(String, String, String)] = Some((1,2,3)) ``` @@ -196,12 +196,12 @@ When executing the above fetch, note how the three identities get requested in p ```scala Fetch.run[IO](fetchUnbatchedThree).unsafeRunTimed(5.seconds) -// --> [106] One UnbatchedToString 1 -// --> [109] One UnbatchedToString 2 -// --> [108] One UnbatchedToString 3 -// <-- [106] One UnbatchedToString 1 -// <-- [109] One UnbatchedToString 2 -// <-- [108] One UnbatchedToString 3 +// --> [441] One UnbatchedToString 1 +// --> [443] One UnbatchedToString 2 +// --> [444] One UnbatchedToString 3 +// <-- [441] One UnbatchedToString 1 +// <-- [444] One UnbatchedToString 3 +// <-- [443] One UnbatchedToString 2 // res2: Option[(String, String, String)] = Some((1,2,3)) ``` @@ -247,10 +247,10 @@ Note how the two independent data fetches run in parallel, minimizing the latenc ```scala Fetch.run[IO](fetchMulti).unsafeRunTimed(5.seconds) -// --> [106] One ToString 1 -// --> [107] One Length one -// <-- [106] One ToString 1 -// <-- [107] One Length one +// --> [441] One ToString 1 +// --> [442] One Length one +// <-- [441] One ToString 1 +// <-- [442] One Length one // res3: Option[(String, Int)] = Some((1,3)) ``` @@ -271,8 +271,8 @@ While running it, notice that the data source is only queried once. The next tim ```scala Fetch.run[IO](fetchTwice).unsafeRunTimed(5.seconds) -// --> [109] One ToString 1 -// <-- [109] One ToString 1 +// --> [444] One ToString 1 +// <-- [444] One ToString 1 // res4: Option[(String, String)] = Some((1,1)) ``` @@ -288,10 +288,11 @@ For more in-depth information, take a look at our [documentation](http://47deg.g If you wish to add your library here, please consider a PR to include it in the list below. [comment]: # (Start Copyright) + # Copyright Fetch is designed and developed by 47 Degrees Copyright (C) 2016-2019 47 Degrees. -[comment]: # (End Copyright) \ No newline at end of file +[comment]: # (End Copyright) diff --git a/docs/src/main/tut/docs.md b/docs/src/main/tut/docs.md index 0f04cf27..e74595b2 100644 --- a/docs/src/main/tut/docs.md +++ b/docs/src/main/tut/docs.md @@ -31,13 +31,13 @@ To begin, add the following dependency to your SBT build file: [comment]: # (Start Replace) ```scala -"com.47deg" %% "fetch" % "1.2.0" +"com.47deg" %% "fetch" % "1.2.1" ``` Or, if using Scala.js: ```scala -"com.47deg" %%% "fetch" % "1.2.0" +"com.47deg" %%% "fetch" % "1.2.1" ``` [comment]: # (End Replace) @@ -867,7 +867,7 @@ a fetch execution given an execution log. Add the following line to your dependencies for including Fetch's debugging facilities: ```scala -"com.47deg" %% "fetch-debug" % "1.2.0" +"com.47deg" %% "fetch-debug" % "1.2.1" ``` ## Fetch execution diff --git a/tut/README.md b/tut/README.md index 7f1c3c5a..a0913efc 100644 --- a/tut/README.md +++ b/tut/README.md @@ -19,13 +19,13 @@ For Scala 2.11.x and 2.12.x: [comment]: # (Start Replace) ```scala -"com.47deg" %% "fetch" % "1.2.0" +"com.47deg" %% "fetch" % "1.2.1" ``` Or, if using Scala.js (0.6.x): ```scala -"com.47deg" %%% "fetch" % "1.2.0" +"com.47deg" %%% "fetch" % "1.2.1" ``` [comment]: # (End Replace) diff --git a/version.sbt b/version.sbt index bab1d651..705dfaba 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "1.2.1-SNAPSHOT" +version in ThisBuild := "1.2.1"