Skip to content

Commit

Permalink
Merge pull request #228 from 47deg/new-version
Browse files Browse the repository at this point in the history
1.2.1 release
  • Loading branch information
purrgrammer authored Oct 25, 2019
2 parents 2bdd2e3 + 653aa42 commit a2c5958
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 26 deletions.
41 changes: 21 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)
Expand Down Expand Up @@ -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)
```

Expand All @@ -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))
```

Expand Down Expand Up @@ -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))
```

Expand Down Expand Up @@ -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))
```

Expand All @@ -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))
```

Expand All @@ -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. <http://47deg.com>

[comment]: # (End Copyright)
[comment]: # (End Copyright)
6 changes: 3 additions & 3 deletions docs/src/main/tut/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tut/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "1.2.1-SNAPSHOT"
version in ThisBuild := "1.2.1"

0 comments on commit a2c5958

Please sign in to comment.