Skip to content

Commit b2c6f5d

Browse files
committed
reset MiMa on 2.5.0
1 parent def7dca commit b2c6f5d

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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.4"
20+
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.5.0"
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.)
@@ -64,7 +64,7 @@ The `Collection213Upgrade` rewrite upgrades to the 2.13 collections without the
6464

6565
```scala
6666
// build.sbt
67-
ThisBuild / scalafixDependencies += "org.scala-lang.modules" %% "scala-collection-migrations" % "2.4.4"
67+
ThisBuild / scalafixDependencies += "org.scala-lang.modules" %% "scala-collection-migrations" % "2.5.0"
6868
addCompilerPlugin(scalafixSemanticdb)
6969
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
7070
```
@@ -82,8 +82,8 @@ To cross-build for 2.12 and 2.11, the rewrite rule introduces a dependency on th
8282

8383
```scala
8484
// build.sbt
85-
ThisBuild / scalafixDependencies += "org.scala-lang.modules" %% "scala-collection-migrations" % "2.4.4"
86-
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.4.4"
85+
ThisBuild / scalafixDependencies += "org.scala-lang.modules" %% "scala-collection-migrations" % "2.5.0"
86+
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.5.0"
8787
addCompilerPlugin(scalafixSemanticdb)
8888
scalacOptions ++= List("-Yrangepos", "-P:semanticdb:synthetics:on")
8989
```

build.sbt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,12 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
8181
.jvmSettings(
8282
Test / unmanagedSourceDirectories += (ThisBuild / baseDirectory).value / "compat/src/test/scala-jvm",
8383
junit,
84-
scalaModuleMimaPreviousVersion := (CrossVersion.partialVersion(scalaVersion.value) match {
85-
case Some((3, _)) => None
86-
case _ => Some("2.4.0")
87-
}),
84+
scalaModuleMimaPreviousVersion := Some("2.5.0"),
8885
mimaBinaryIssueFilters ++= {
8986
import com.typesafe.tools.mima.core._
9087
import com.typesafe.tools.mima.core.ProblemFilters._
9188
Seq(
9289
exclude[ReversedMissingMethodProblem]("scala.collection.compat.PackageShared.*"), // it's package-private
93-
exclude[MissingClassProblem]("scala.annotation.nowarn"), // it's part of scala-library from 2.12.13 onwards
94-
exclude[MissingClassProblem]("scala.annotation.nowarn$") // it's part of scala-library from 2.12.13 onwards
9590
)
9691
},
9792
)

0 commit comments

Comments
 (0)