This is patch-release for Finch 0.16 that fixes a couple of io.finch.syntax
problems:
- #896: deprecated syntax import (
io.finch._)
) conflits with exmplicit import (io.finch.syntax._
) - #895:
import io.finch.syntax._
shadowsscala
namespace
We decided to un-deprecate the implicit syntax coming from io.finch._
as it's the only way to avoid breaking API change. So the previous style should work just fine:
import io.finch._
val foo = get("foo") { Ok("bar") }
To enable the Scala Futures support, simply add an import io.finch.syntax.scalaFutures._
.