Skip to content

Commit

Permalink
Setup for the 2.0.0-M8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cquiroz committed Feb 23, 2017
1 parent 4eac68d commit 5b14311
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down Expand Up @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
</properties>
<body>
<!-- types are add, fix, remove, update -->
<release version="2.0.0-M8" date="2017-02-19" description="v2.0.0-M8">
<action dev="cquiroz" type="update" >
Added support for timezones
</action>
</release>
<release version="2.0.0-M7" date="2017-01-16" description="v2.0.0-M7">
<action dev="cquiroz" type="update" >
Downgrade to scala-java-locales 0.3.1-cldr30 to reduce the exported js size
Expand Down
12 changes: 6 additions & 6 deletions docs/src/main/tut/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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!

Expand Down

0 comments on commit 5b14311

Please sign in to comment.