From 5b1431141d2fbf4c713fc90ea35dc439acb1d39c Mon Sep 17 00:00:00 2001 From: Carlos Quiroz Date: Thu, 23 Feb 2017 09:20:59 -0300 Subject: [PATCH] Setup for the 2.0.0-M8 release --- README.md | 6 +++--- build.sbt | 4 ++-- changes.xml | 5 +++++ docs/src/main/tut/index.md | 12 ++++++------ 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0ab5cb182..9873b7489 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ The implementation is based on the original BSD-licensed reference implementatio #### Usage The *scala-java-time* library is currently available for Scala (JVM, version 8 and later) and Scala.js (JavaScript). -Both Scala 2.11 and Scala 2.12 (2.12.0-M7 and later) are supported. +Both Scala 2.11 and Scala 2.12 (2.12.0-M8 and later) are supported. To get started with SBT, add one (or both) of these dependencies: -- `libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M7"` (for Scala) -- `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M7"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required) +- `libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M8"` (for Scala) +- `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M8` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required) #### Documentation diff --git a/build.sbt b/build.sbt index f14571c6d..81957ec2a 100644 --- a/build.sbt +++ b/build.sbt @@ -13,7 +13,7 @@ lazy val downloadFromZip: TaskKey[Unit] = lazy val commonSettings = Seq( name := "scala-java-time", description := "java.time API implementation in Scala and Scala.js", - version := "2.0.0-M8-SNAPSHOT", + version := "2.0.0-M8", organization := "io.github.cquiroz", homepage := Some(url("https://github.com/cquiroz/scala-java-time")), licenses := Seq("BSD 3-Clause License" -> url("https://opensource.org/licenses/BSD-3-Clause")), @@ -62,7 +62,7 @@ lazy val tzDbSettings = Seq( val tzdbDir = (resourceDirectory in Compile).value / "tzdb" val tzdbTarball = (resourceDirectory in Compile).value / "tzdb.tar.gz" if (java.nio.file.Files.notExists(tzdbDir.toPath)) { - println(s"tzdb data missing. downloading latest...") + println(s"tzdb data missing. downloading 2016j version...") IO.download( new URL(s"http://www.iana.org/time-zones/repository/releases/tzdata2016j.tar.gz"), tzdbTarball) diff --git a/changes.xml b/changes.xml index 322637336..2ab2bb26f 100644 --- a/changes.xml +++ b/changes.xml @@ -8,6 +8,11 @@ + + + Added support for timezones + + Downgrade to scala-java-locales 0.3.1-cldr30 to reduce the exported js size diff --git a/docs/src/main/tut/index.md b/docs/src/main/tut/index.md index 1a7f7a8db..d79c3ac2e 100644 --- a/docs/src/main/tut/index.md +++ b/docs/src/main/tut/index.md @@ -56,12 +56,12 @@ chrono.MinguoDate.now(fixedClock).toString == "Minguo ROC 98-02-13" #### Usage The *scala-java-time* library is currently available for Scala (JVM, version 8 and later) and Scala.js (JavaScript). -Both Scala 2.11 and Scala 2.12 (2.12.0-M7 and later) are supported. +Both Scala 2.11 and Scala 2.12 (2.12.0-M8 and later) are supported. To get started with SBT, add one (or both) of these dependencies: -- `libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M7"` (for Scala) -- `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M7"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required) +- `libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M8"` (for Scala) +- `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M8"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required) #### Building This project builds using sbt. @@ -71,15 +71,15 @@ Run `sbt scalajavatimeCrossJVM/test` to run the test suite on the JVM and #### Status Most parts of this library work perfectly fine with Scala.js in the browser. -timezone support is limited and providing these missing pieces are the current focus of this project. #### Contributing We welcome all contributions, including ideas, suggestions, bug reports, bug fixes and code! We are especially interested in contributions that tackle the following issues: - - *Support for timezones:* The timezone information is read from a binary blob, which won't work in the browser. - We will have a look at other projects like moment.js and decide whether we want to use the same format, or come up with our own. +* Complete the port of tests to scalatest +* Modularize the tzdb database +* Find ways to reduce the size of the library Have a look at the [issues](https://github.com/cquiroz/scala-java-time/issues) or [issues](https://github.com/soc/scala-java-time/issues) to find something to work on! Let us know if you need help!