Skip to content

post 1.0.0 release stuff #140

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
Nov 18, 2020
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
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

This Scala standard module contains the package
`scala.collection.parallel`, with all of the parallel collections that
used to be part of the Scala standard library.
used to be part of the Scala standard library (in Scala 2.10 through 2.12).

For Scala 2.13, this module is a separate JAR that can be
For Scala 2.13 and Scala 3, this module is a separate JAR that can be
omitted from projects that do not use parallel collections.

## Maintenance status
Expand All @@ -19,7 +19,7 @@ To depend on scala-parallel-collections in sbt, add this to your `build.sbt`:

```scala
libraryDependencies +=
"org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.0-RC1"
"org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.0"
```

In your code, adding this import:
Expand All @@ -36,7 +36,7 @@ Here is the [full Scaladoc](https://static.javadoc.io/org.scala-lang.modules/sca

### Cross-building: dependency

This module is published only for the Scala 2.13.x series, so in a
This module is published only for the Scala 2.13 and 3.0 series, so in a
cross-built project, the dependency should take this form:

```scala
Expand All @@ -45,7 +45,7 @@ libraryDependencies ++= {
case Some((2, major)) if major <= 12 =>
Seq()
case _ =>
Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.0-RC1")
Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.0")
}
}
```
Expand All @@ -57,7 +57,7 @@ community build, etc).
### Cross-building: source compatibility

Using `.par` is problematic in a cross-built project, since in Scala
2.13 the `CollectionConverters._` import shown above is necessary, but
2.13+ the `CollectionConverters._` import shown above is necessary, but
in earlier Scala versions, that import will not compile.

You may able to avoid the problem by directly constructing your
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lazy val core = project.in(file("core"))
// don't run Dottydoc, it errors and isn't needed anyway.
// but we leave `publishArtifact` set to true, otherwise Sonatype won't let us publish
Compile / doc / sources := (if (isDotty.value) Seq() else (Compile / doc/ sources).value),
scalaModuleMimaPreviousVersion := Some("1.0.0-RC1").filterNot(_ => isDotty.value),
scalaModuleMimaPreviousVersion := Some("1.0.0").filterNot(_ => isDotty.value),
)

lazy val junit = project.in(file("junit"))
Expand Down