Skip to content

Commit 85bc588

Browse files
authored
Merge pull request #197 from eed3si9n/wip/readme
Don't use 1.0.0
2 parents 61d6daf + f1a2545 commit 85bc588

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ 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" % "1.0.0"
11+
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.3.0"
1212
```
1313

14-
Version 1.0.0 is compatible with Scala 2.13.0-RC1, 2.12 and 2.11.
14+
Version 0.3.0 is compatible with Scala 2.13.0-M5, 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-
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).
18+
**Note**: Please do not release any artifacts against version 1.0.0. Due to [#195](https://github.com/scala/scala-collection-compat/issues/195) we are planning on releasing 2.0.0 that is neither source nor binary compatible with 1.0.0.
1919

20+
Starting with version 1.0.0 backwards binary compatibility will be enforced within each major version (i.e. anything prior to 2.0.0 will be compatible).
2021

2122
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:
2223

@@ -52,7 +53,7 @@ The `Collection213Upgrade` rewrite upgrades to the 2.13 collections without the
5253

5354
```scala
5455
// build.sbt
55-
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "1.0.0"
56+
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.3.0"
5657
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
5758
```
5859

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

7172
```scala
7273
// build.sbt
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"
74+
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % "0.3.0"
75+
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "0.3.0"
7576
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
7677
```
7778

0 commit comments

Comments
 (0)