File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ import com.typesafe.tools.mima.core._
44
55object MiMaFilters {
66
7+ // By default, you should include new filters under Versions.mimaPreviousVersion
8+ // MiMa does collect all filters based on semantic versioning, so we don't need to duplicate them for each version
9+ // Entries in mimaPreviousVersion would be moved to mimaPreviousLTSVersion or it's own dedicated version when new minor version is released
10+
711 object ScalaLibrary {
812
913 val ForwardsBreakingChanges : Map [String , Seq [ProblemFilter ]] = Map (
@@ -668,11 +672,11 @@ object MiMaFilters {
668672 Versions .mimaPreviousVersion -> Seq .empty,
669673
670674 // Additions since last LTS
671- Versions .mimaPreviousLTSVersion -> Seq (
675+ Versions .mimaPreviousLTSVersion -> Seq .empty,
676+ ).mapValues(_ ++ Seq (
672677 // No .class files generated in the artifacts, only `scala.scalajs.*` files might be present
673678 ProblemFilters .exclude[MissingClassProblem ](" scala.*" ),
674- ),
675- )
679+ ))
676680
677681 val BackwardsBreakingChanges : Map [String , Seq [ProblemFilter ]] = Map (
678682 // We should never break backwards compatibility
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ object Versions {
1212 *
1313 * Warning: Change of this variable needs to be consulted with `expectedTastyVersion`
1414 */
15- val referenceVersion = " 3.9.0 "
15+ val referenceVersion = " 3.10.0-RC1 "
1616
1717 /** Version of the Scala compiler targeted in the current release cycle
1818 * Contains a version without RC/SNAPSHOT/NIGHTLY specific suffixes
@@ -87,7 +87,7 @@ object Versions {
8787 * - `3.M.0` if `P > 0`
8888 * - `3.(M-1).0` if `P = 0`
8989 */
90- val mimaPreviousVersion = " 3.9.0 " // TODO: update to 3.10.0 when released
90+ val mimaPreviousVersion = " 3.10.0-RC1 " // TODO: update to 3.10.0 when released
9191
9292 /** LTS version against which we check binary compatibility.
9393 *
You can’t perform that action at this time.
0 commit comments