Skip to content

Commit 8e3728b

Browse files
authored
Merge pull request #193 from szeiger/wip/update-for-rc1
Update for Scala 2.13.0-RC1
2 parents 9ef1e13 + 67548d0 commit 8e3728b

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ language: scala
33
scala:
44
- 2.11.12
55
- 2.12.8
6-
- 2.13.0-M5
6+
- 2.13.0-RC1
77
jdk:
88
- oraclejdk8
99
- openjdk11
@@ -18,8 +18,8 @@ env:
1818
- secure: "m0Fw/eH7RXJJoBTfqV6CMd7kaIN2pRPnQPNXJGb546UjqYAlYTkfjvVrWpsgpisRBptI1FEHn24yGbgAHjIes/4un/O62K66I0BffL8PbdeHeNcDjSrTesKEqage2mQfGOiqccVsmkgiKeXNYL8tPZRmPQQ3XZ97mS1SXWlqAJSMW6HfNnvqW14Gdb/snR6I8lQ2o5tRnLerWPnI96pp+xjZca2lD4XDvH2wLJXXLmYY61e23ZYzZMepxBxhGa7js3YTYzCWNrOfBLjFJ5nwRxbjR0WMuz5z5Gdy715WtguKS4Fffd/GJHycLROBU9LCAQDMTxMFvqzFqVFpfq0BuTmmkXFXj+a7dO+ABG0RfoDfoMjn7pHwyHNCZyMMuR1HCjMkbGFwC+Zme2UAYNivtcsuWWeMuypwjyqjfFfNns4FHJ0SXFtC/6+OJkAuUdbEJKReYWKWEsP5SnCH/8PLlc+uUl3tjQkFLc1sOAyx9cTWyBErwuJXhgTrjT9AWvO+fvhcm8z/p5+aaF/U9GIrzPqziX4hGjzc/WC+rsFJSiBDlFQl7br+m8WWs7/wuXqPGXmhf0BNQViDi7fZndDHcY3p3T0An05d/IMKjCUrgLDlJi6VYs9XN7S8ay6MH+XTwIsJGSxtGjfEO4rHGIjtR2GRr8TqdNfnpsI3ucbia1Y="
1919
matrix:
2020
- SCALAJS_VERSION=
21-
- SCALAJS_VERSION=0.6.26
22-
- SCALAJS_VERSION=1.0.0-M6
21+
- SCALAJS_VERSION=0.6.27
22+
- SCALAJS_VERSION=1.0.0-M7
2323

2424
matrix:
2525

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ This library provides some of the new APIs from Scala 2.13 to Scala 2.11 and 2.1
88
To use this library, add the following to your build.sbt:
99

1010
```
11-
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.2.2"
11+
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "1.0.0"
1212
```
1313

14-
Version 0.2.2 is compatible with Scala 2.13.0-M5. For Scala 2.13.0-M4 you should use version 0.1.1.
14+
Version 1.0.0 is compatible with Scala 2.13.0-RC1, 2.12 and 2.11.
1515

1616
Note that there are multiple ways to cross-build projects, see https://github.com/scala/collection-strawman/wiki/FAQ#how-do-i-cross-build-my-project-against-scala-212-and-scala-213.
1717

18-
Also note that this library has not fully stabilized yet. We expect that new, binary incompatible releases of this library will be published (for 2.11, 2.12) until Scala 2.13 is getting close to its final state. Therefore you might want to avoid adding a dependency on that library to your 2.11 / 2.12 artifacts for the time being.
18+
Starting with version 1.0.0 backwards binary compatibility is enforced within each major version (i.e. anything prior to 2.0.0 will be compatible).
1919

2020

2121
The 2.13 collections are mostly backwards compatible, but there are some exceptions. For example, the `to` method is used with a type parameter in 2.12:
@@ -52,7 +52,7 @@ The `Collection213Upgrade` rewrite upgrades to the 2.13 collections without the
5252

5353
```scala
5454
// build.sbt
55-
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.2.2"
55+
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "1.0.0"
5656
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
5757
```
5858

@@ -70,8 +70,8 @@ To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on th
7070

7171
```scala
7272
// build.sbt
73-
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.2.2"
74-
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.2.2"
73+
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "1.0.0"
74+
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "1.0.0"
7575
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
7676
```
7777

admin/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ without generating a new key.
6262
1. The release will be published using the Scala and JVM version combinations specified
6363
in the travis build matrix where `[ "$RELEASE_COMBO" = "true" ]`.
6464
- If you need to release against a different Scala version, create a new commit that modifies
65-
`.travis.yml` and push a new tag, e.g., `v1.2.3#2.13.0-M5`. The suffix after `#` is ignored.
65+
`.travis.yml` and push a new tag, e.g., `v1.2.3#2.13.0-RC1`. The suffix after `#` is ignored.
6666
1. Travis CI will schedule a build for this release. Review the build logs.
6767
1. Log into https://oss.sonatype.org/ and identify the staging repository.
6868
1. Sanity check its contents.

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ lazy val junit = libraryDependencies += "com.novocode" % "junit-interface" % "0.
4545

4646
lazy val scala211 = "2.11.12"
4747
lazy val scala212 = "2.12.8"
48-
lazy val scala213 = "2.13.0-M5"
48+
lazy val scala213 = "2.13.0-RC1"
4949

5050
scalaVersionsByJvm in ThisBuild := {
5151
val all = List(scala211, scala212, scala213)

project/Version.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ case class Version(major: Int, minor: Int, patch: Int) {
55

66
object Version {
77
private val versionRegex0 = "v?([0-9]+)\\.([0-9]+)\\.([0-9]+)".r
8-
private val versionRegex1 = "v?([0-9]+)\\.([0-9]+)\\.([0-9]+)-M([0-9]+)".r
8+
private val versionRegex1 = "v?([0-9]+)\\.([0-9]+)\\.([0-9]+)-(.+)".r
99
private val versionRegex2 = "([0-9]+)\\.([0-9]+)".r
1010
private val versionRegex3 = "([0-9]+)".r
1111
def parse(raw: String): Option[Version] = {

project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.26")
1+
val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.27")
22

33
addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
44
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.6.0")

0 commit comments

Comments
 (0)