Skip to content

Release 2.0.0-RC1 #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import sbtcrossproject.{crossProject, CrossType}
import sbt._
import sbt.io.Using

val scalaVer = "2.12.7"
val scalaVer = "2.12.8"
val tzdbVersion = "2018f"
val scalaJavaTimeVer = "2.0.0-RC1-SNAPSHOT"
val scalaJavaTimeVer = "2.0.0-RC1"
val scalaJavaTimeVersion = s"$scalaJavaTimeVer"
val scalaTZDBVersion = s"${scalaJavaTimeVer}_$tzdbVersion"

Expand Down
8 changes: 7 additions & 1 deletion changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@
<body>
<!-- types are add, fix, remove, update -->
<release version="2.0.0-RC1" date="" description="v2.0.0-RC1">
<action dev="cquiroz" type="update" >
Improved implementation of ZoneMap
</action>
<action dev="cquiroz" type="update" >
Support scala.js 0.6.26
</action>
<action dev="cquiroz" type="update" >
Support scala.js 1.0.0-M6
</action>
<action dev="cquiroz" type="update" >
Support scala 2.13.0-M6
Support scala 2.13.0-M5
</action>
<action dev="cquiroz" type="update" >
Update scala-java-locales to v0.3.12-cldr34
Expand Down
14 changes: 7 additions & 7 deletions docs/src/main/tut/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Both Scala 2.11 and Scala 2.12 (2.0.0-M8 and later) are supported.

To get started with SBT, add one of these dependencies:

* `libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M13"` (for Scala)
* `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M13"` (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-RC1"` (for Scala)
* `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-RC1"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required)

To get the latest snapshots add the repo

Expand All @@ -70,8 +70,8 @@ resolvers +=

and either:

* `libraryDependencies += "io.github.cquiroz" %% "scala-java-time" % "2.0.0-M14-SNAPSHOT"` (for Scala)
* `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-M14-SNAPSHOT"` (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-RC2-SNAPSHOT"` (for Scala)
* `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-RC2-SNAPSHOT"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required)

### Time zones

Expand All @@ -84,7 +84,7 @@ If you don't need to use timezones in your application you can just stop here. B
The timezone for js is provided in a separate bundle which contains all time zones available from
[IANA Time Zone Database](https://www.iana.org/time-zones). To use them you need to add the following dependency

* `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time-tzdb" % "2.0.0-M13_2018c"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required)
* `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time-tzdb" % "2.0.0-RC1_2018f"` (for Scala.js, [Scala.js plugin](http://www.scala-js.org/tutorial/basic/#sbt-setup) required)

Note that the db is fairly large and due to the characteristics of the API it's not very ammenable to optimization
This database is published every now and then so it maybe old. For current version see the following section.
Expand All @@ -101,7 +101,7 @@ To do that you need to:
* Add `sbt-tzdb` to your list of plugins (Note you need sbt 1.x)

```scala
addSbtPlugin("io.github.cquiroz" % "sbt-tzdb" % "0.1.2")
addSbtPlugin("io.github.cquiroz" % "sbt-tzdb" % "0.3.1")
```

* Enable the plugin for your `Scala.js` project:
Expand Down Expand Up @@ -154,7 +154,7 @@ Have a look at the [issues](https://github.com/cquiroz/scala-java-time/issues) o

##### 2.0

A stable release of 2.0 will be published with only `java.time` on its binary after a (hopefully) short RC phase.
A stable release of 2.0 will be published with only `java.time` on its binary after RC-2 is published.

#### FAQs

Expand Down
4 changes: 2 additions & 2 deletions docs/src/main/tut/release_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ docs/publishMicrosite

Important: Remember to clean between different scala.js versions

on 1.0.0-M3
on 1.0.0-M6

```
SCALAJS_VERSION=1.0.0-M3 sbt
SCALAJS_VERSION=1.0.0-M6 sbt
clean
+publishSigned
sonatyeRelease
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.2.3
sbt.version=1.2.7
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ addSbtPlugin("com.47deg" % "sbt-microsites" % "0.7.15")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")

val scalaJSVersion =
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.25")
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.26")

addSbtPlugin("org.portable-scala" % "sbt-crossproject" % "0.6.0")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)

addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.6.0")

addSbtPlugin("io.github.cquiroz" % "sbt-tzdb" % "0.3.0")
addSbtPlugin("io.github.cquiroz" % "sbt-tzdb" % "0.3.1")