From debe3d77f12acf9a98199c0e8947885d2e451b67 Mon Sep 17 00:00:00 2001 From: "Frank S. Thomas" Date: Fri, 18 Jan 2019 19:31:34 +0100 Subject: [PATCH] Setting version to 0.9.4 --- README.md | 32 ++++++++++++++++---------------- notes/0.9.4.markdown | 2 ++ 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 62264d568..3f2c1ab46 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![codecov.io](https://img.shields.io/codecov/c/github/fthomas/refined.svg)](http://codecov.io/github/fthomas/refined) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/fthomas/refined?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Scaladex](https://index.scala-lang.org/fthomas/refined/refined/latest.svg?color=blue)](https://index.scala-lang.org/fthomas/refined/refined) -[![Scaladoc](https://www.javadoc.io/badge/eu.timepit/refined_2.12.svg?color=blue&label=Scaladoc)](https://javadoc.io/doc/eu.timepit/refined_2.12/0.9.3) +[![Scaladoc](https://www.javadoc.io/badge/eu.timepit/refined_2.12.svg?color=blue&label=Scaladoc)](https://javadoc.io/doc/eu.timepit/refined_2.12/0.9.4) **refined** is a Scala library for refining types with type-level predicates which constrain the set of values described by the refined type. It started @@ -76,7 +76,7 @@ This mechanism allows to pass values of more specific types (e.g. ``Int Refined Greater[W.`10`.T]``) to functions that take a more general type (e.g. `Int Refined Positive`) without manual intervention. -Note that [`W`](https://static.javadoc.io/eu.timepit/refined_2.12/0.9.3/eu/timepit/refined/index.html#W:shapeless.Witness.type) +Note that [`W`](https://static.javadoc.io/eu.timepit/refined_2.12/0.9.4/eu/timepit/refined/index.html#W:shapeless.Witness.type) is a shortcut for [`shapeless.Witness`][singleton-types] which provides syntax for [literal-based singleton types][sip-23]. @@ -172,24 +172,24 @@ ageEither2: Either[String,Age] = Right(55) ## Using refined -The latest version of the library is 0.9.3, which is available for Scala and +The latest version of the library is 0.9.4, which is available for Scala and [Scala.js][scala.js] version 2.10, 2.11, and 2.12. If you're using sbt, add the following to your build: ```sbt libraryDependencies ++= Seq( - "eu.timepit" %% "refined" % "0.9.3", - "eu.timepit" %% "refined-cats" % "0.9.3", // optional - "eu.timepit" %% "refined-eval" % "0.9.3", // optional, JVM-only - "eu.timepit" %% "refined-jsonpath" % "0.9.3", // optional, JVM-only - "eu.timepit" %% "refined-pureconfig" % "0.9.3", // optional, JVM-only - "eu.timepit" %% "refined-scalacheck" % "0.9.3", // optional, scalacheck 1.14 - "eu.timepit" %% "refined-scalacheck_1.13" % "0.9.3", // optional, alternative to above with scalacheck 1.13 - "eu.timepit" %% "refined-scalaz" % "0.9.3", // optional - "eu.timepit" %% "refined-scodec" % "0.9.3", // optional - "eu.timepit" %% "refined-scopt" % "0.9.3", // optional - "eu.timepit" %% "refined-shapeless" % "0.9.3" // optional + "eu.timepit" %% "refined" % "0.9.4", + "eu.timepit" %% "refined-cats" % "0.9.4", // optional + "eu.timepit" %% "refined-eval" % "0.9.4", // optional, JVM-only + "eu.timepit" %% "refined-jsonpath" % "0.9.4", // optional, JVM-only + "eu.timepit" %% "refined-pureconfig" % "0.9.4", // optional, JVM-only + "eu.timepit" %% "refined-scalacheck" % "0.9.4", // optional, scalacheck 1.14 + "eu.timepit" %% "refined-scalacheck_1.13" % "0.9.4", // optional, alternative to above with scalacheck 1.13 + "eu.timepit" %% "refined-scalaz" % "0.9.4", // optional + "eu.timepit" %% "refined-scodec" % "0.9.4", // optional + "eu.timepit" %% "refined-scopt" % "0.9.4", // optional + "eu.timepit" %% "refined-shapeless" % "0.9.4" // optional ) ``` @@ -198,7 +198,7 @@ For Scala.js just replace `%%` with `%%%` above. Instructions for Maven and other build tools are available at [search.maven.org][search.maven]. Release notes for the latest version are available in -[0.9.3.markdown](https://github.com/fthomas/refined/blob/master/notes/0.9.3.markdown). +[0.9.4.markdown](https://github.com/fthomas/refined/blob/master/notes/0.9.4.markdown). ## Community @@ -286,7 +286,7 @@ opening a pull request to list it here: ## Documentation API documentation of the latest release is available at: - + There are further (type-checked) examples in the [`docs`][docs] directory including ones for defining [custom predicates][custom-pred] diff --git a/notes/0.9.4.markdown b/notes/0.9.4.markdown index cf3c875f8..d2b896445 100644 --- a/notes/0.9.4.markdown +++ b/notes/0.9.4.markdown @@ -29,3 +29,5 @@ [@dcastro]: https://github.com/dcastro [@fthomas]: https://github.com/fthomas [@scala-steward]: https://github.com/scala-steward + +Released on 2019-01-18