Skip to content

Commit

Permalink
Merge pull request #915 from finagle/vk/prepare-0.17-release
Browse files Browse the repository at this point in the history
Prepare 0.17 release
  • Loading branch information
vkostyukov authored Feb 8, 2018
2 parents 8984fbd + c4b0b8b commit c33218d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Every Finch module is published at Maven Central. Use the following _sbt_ snippe

```scala
libraryDependencies ++= Seq(
"com.github.finagle" %% "[finch-module]" % "0.16.1"
"com.github.finagle" %% "[finch-module]" % "0.17.0"
)
```

Expand All @@ -46,16 +46,16 @@ libraryDependencies ++= Seq(
resolvers += Resolver.sonatypeRepo("snapshots")

libraryDependencies ++= Seq(
"com.github.finagle" %% "[finch-module]" % "0.16.2-SNAPSHOT" changing()
"com.github.finagle" %% "[finch-module]" % "0.18.0-SNAPSHOT" changing()
)
```

Hello World!
------------
This "Hello World!" example is built with the `0.16.1` version of just `finch-core`.
This "Hello World!" example is built with the `0.17.0` version of just `finch-core`.

```scala
import io.finch._
import io.finch._, io.finch.syntax._
import com.twitter.finagle.Http

val api: Endpoint[String] = get("hello") { Ok("Hello, World!") }
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import microsites.ExtraMdFileConfig

lazy val buildSettings = Seq(
organization := "com.github.finagle",
version := "0.16.1",
version := "0.17.0",
scalaVersion := "2.12.4",
crossScalaVersions := Seq("2.11.12", "2.12.4")
)
Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/tut/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ build.sbt:

```scala
libraryDependencies ++= Seq(
"com.github.finagle" %% "finch-core" % "0.16.0",
"com.github.finagle" %% "finch-circe" % "0.16.0",
"com.github.finagle" %% "finch-core" % "0.17.0",
"com.github.finagle" %% "finch-circe" % "0.17.0",
"io.circe" %% "circe-generic" % "0.9.0"
)
```
Expand Down
9 changes: 3 additions & 6 deletions docs/src/main/tut/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ it's evolved separately from Finagle. To overcome this and provide an extension
special endpoint instance, called `root` that returns a raw Finagle `Request`.

```tut
import io.finch._, io.finch.Endpoint._, java.net.InetAddress
import io.finch._, java.net.InetAddress
val remoteAddr = root.map(_.remoteAddress)
Expand Down Expand Up @@ -178,8 +178,7 @@ an arbitrary type and enriches it with an additional check/match of the HTTP met

```tut
import io.finch._
import io.finch.syntax._
import io.finch._, io.finch.syntax._
val e = path("foo")
Expand Down Expand Up @@ -376,8 +375,7 @@ Having an `Output` defined as an ADT allows us to return both payloads and failu
endpoint depending on the conditional result.

```tut
import io.finch._
import io.finch.syntax._
import io.finch._, io.finch.syntax._
val divOrFail: Endpoint[Int] = post("div" :: path[Int] :: path[Int]) { (a: Int, b: Int) =>
if (b == 0) BadRequest(new ArithmeticException("Can not divide by 0"))
Expand Down Expand Up @@ -472,7 +470,6 @@ typed members.

```tut
import io.finch._
import io.finch.syntax._
case class Foo(i: Int, s: String)
Expand Down

0 comments on commit c33218d

Please sign in to comment.