Skip to content

Commit 0a73146

Browse files
committed
version bumps in readme
1 parent 472d9c1 commit 0a73146

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This library makes some Scala 2.13 APIs available on Scala 2.11 and 2.12.
66

77
The idea is to facilitate
88
[cross-building](https://github.com/scala/collection-strawman/wiki/FAQ#how-do-i-cross-build-my-project-against-scala-212-and-scala-213)
9-
Scala 2.13 code on the older versions.
9+
Scala 2.13 and 3.0 code on the older versions.
1010

11-
Although the name of the library is scala-"collection"-compat, we have now widened the scope to include other parts of the Scala 2.13 standard library besides just collections.
11+
Although the name of the library is scala-"collection"-compat, we have now widened the scope to include other parts of the Scala 2.13/3.0 standard library besides just collections.
1212

1313
Only the most commonly used APIs are supported; many are missing. Contributions are welcome.
1414

@@ -17,7 +17,7 @@ Only the most commonly used APIs are supported; many are missing. Contributions
1717
To use this library, add the following to your `build.sbt`:
1818

1919
```
20-
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.4.1"
20+
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.4.2"
2121
```
2222

2323
All future versions will remain backwards binary compatible with 2.0.0. (The 1.0.0 release was withdrawn and should not be used.)
@@ -39,7 +39,7 @@ import scala.collection.compat._
3939
xs.to(List)
4040
```
4141

42-
The 2.13 version consists only of an empty `scala.collection.compat` package object that allows you to write `import scala.collection.compat._` in 2.13.
42+
The 2.13 and 3.0 versions consist only of an empty `scala.collection.compat` package object, so `import scala.collection.compat._` won't cause an error in cross-compiled code.
4343

4444
The 2.11 and 2.12 versions have the needed compatibility code in this package.
4545

@@ -55,7 +55,7 @@ The migration rules use scalafix. Please see the [official installation instruct
5555

5656
```scala
5757
// project/plugins.sbt
58-
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.19")
58+
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.25")
5959
```
6060

6161
### Collection213Upgrade
@@ -78,7 +78,7 @@ scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
7878

7979
The `Collection213CrossCompat` rewrite upgrades to the 2.13 collections with the ability to compile the code-base with 2.12 or later. This rewrite is suitable for libraries that are cross-published for multiple Scala versions.
8080

81-
To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on the scala-collection-compat module, which provides the syntax of 2.13 on 2.12 and 2.11. This enables you to write your library using the latest 2.13 collections API while still supporting users on an older Scala version.
81+
To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on the scala-collection-compat module, which provides some APIs of 2.13 on 2.12 and 2.11. This enables you to write your library using the latest 2.13 collections API while still supporting users on an older Scala version.
8282

8383
```scala
8484
// build.sbt

0 commit comments

Comments
 (0)