Skip to content

Commit 7b64fd0

Browse files
committed
Prepare release 2.0.0
Signed-off-by: Carlos Quiroz <[email protected]>
1 parent c3d3a64 commit 7b64fd0

File tree

3 files changed

+12
-24
lines changed

3 files changed

+12
-24
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Scala 2.11, Scala 2.12 and Scala 2.13 are supported.
1717

1818
To get started with SBT, add one (or both) of these dependencies:
1919

20-
- `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0-RC5"`
20+
- `libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.0.0"`
2121

2222
#### Documentation
2323

build.sbt

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import sbtcrossproject.CrossPlugin.autoImport.{ CrossType, crossProject }
22
import sbt._
33
import sbt.io.Using
44

5-
val scalaVer = "2.13.1"
5+
val scalaVer = "2.13.2"
66
val tzdbVersion = "2019c"
77
Global / onChangedBuildSource := ReloadOnSourceChanges
88

@@ -39,7 +39,7 @@ inThisBuild(
3939
lazy val commonSettings = Seq(
4040
description := "java.time API implementation in Scala and Scala.js",
4141
scalaVersion := scalaVer,
42-
crossScalaVersions := Seq("2.11.12", "2.12.10", "2.13.1"),
42+
crossScalaVersions := Seq("2.11.12", "2.12.10", "2.13.2"),
4343
// Don't include threeten on the binaries
4444
mappings in (Compile, packageBin) := (mappings in (Compile, packageBin)).value.filter {
4545
case (f, s) => !s.contains("threeten")
@@ -149,7 +149,7 @@ lazy val scalajavatime = crossProject(JVMPlatform, JSPlatform)
149149
copyAndReplace(srcDirs, destinationDir)
150150
}.taskValue,
151151
libraryDependencies ++= Seq(
152-
"io.github.cquiroz" %%% "scala-java-locales" % "0.6.0"
152+
"io.github.cquiroz" %%% "scala-java-locales" % "1.0.0"
153153
)
154154
)
155155
.jvmSettings(
@@ -218,7 +218,7 @@ lazy val scalajavatimeTests = crossProject(JVMPlatform, JSPlatform)
218218
copyAndReplace(srcDirs, destinationDir)
219219
}.taskValue,
220220
libraryDependencies ++= Seq(
221-
"io.github.cquiroz" %%% "locales-full-db" % "0.6.0"
221+
"io.github.cquiroz" %%% "locales-full-db" % "1.0.0"
222222
)
223223
)
224224
.dependsOn(scalajavatime, scalajavatimeTZDB)

docs/src/main/tut/index.md

+7-19
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Scala 2.11, 2.12 and 2.13 are supported.
5959

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

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

6565
To get the latest snapshots add the repo
6666

@@ -71,8 +71,8 @@ resolvers +=
7171

7272
and either:
7373

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

7777
### Time zones
7878

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

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

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

104104
```scala
105-
addSbtPlugin("io.github.cquiroz" % "sbt-tzdb" % "0.4.0")
105+
addSbtPlugin("io.github.cquiroz" % "sbt-tzdb" % "1.0.0")
106106
```
107107

108108
* Enable the plugin for your `Scala.js` project:
@@ -137,7 +137,7 @@ Pull requests with later versions of the dat file will be accepted.
137137

138138
## Locale
139139

140-
Starting on 2.0.0-RC4 it is no longer necessary to register locales but only a minimal locale based on english is
140+
Starting on 2.0.0 it is no longer necessary to register locales but only a minimal locale based on english is
141141
provided. You may want to use [sbt-locales](https://github.com/cquiroz/sbt-locales) to generate
142142
a custom locale database.
143143

@@ -164,14 +164,6 @@ We are especially interested in contributions that tackle the following issues:
164164
165165
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!
166166
167-
#### Plans
168-
169-
##### 2.0
170-
171-
A stable release of 2.0 will be published shortly after RC4 is published.
172-
173-
#### FAQs
174-
175167
##### What's with the packages? the code uses `org.threeten.bp` but I use `java.time`
176168
177169
The original code was in the `org.threeten.bp` and that has been maintained, among other reasons, because writing
@@ -187,10 +179,6 @@ No. This project is derived from the Reference Implementation previously hosted
187179
That project had a BSD license, which has been preserved here.
188180
Thus, this project is a fork of the original code before entry to OpenJDK.
189181
190-
##### What is the relation to [this](https://github.com/soc/scala-java-time/) project
191-
192-
This is a fork from the original [project](https://github.com/soc/scala-java-time/) aim to complete the API to work on Scala.js
193-
194182
##### Are there are differences with the Java Time API?
195183
196184
The project aims to be an exact port of the java time API to scala.

0 commit comments

Comments
 (0)