Skip to content

Commit 66e0532

Browse files
committed
drop MiMa against LTS. It was never checked...
[Cherry-picked 05d0798][modified]
1 parent 5f21b4c commit 66e0532

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

project/Build.scala

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,6 @@ object Build {
134134
*/
135135
val mimaPreviousDottyVersion = "3.7.3" // for 3.8.0, we compare against 3.7.3
136136

137-
/** LTS version against which we check binary compatibility.
138-
*
139-
* This must be the earliest published release in the LTS versioning line.
140-
* For example, if the latest LTS release is be 3.3.4, then this must be
141-
* set to 3.3.0.
142-
*/
143-
val mimaPreviousLTSDottyVersion = "3.3.0"
144-
145137
/** Version of Scala CLI to download */
146138
val scalaCliLauncherVersion = "1.10.1"
147139
/** Version of Coursier to download for initializing the local maven repo of Scala command */

project/MiMaFilters.scala

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,21 @@ object MiMaFilters {
497497
)
498498
}
499499

500+
object ScalaLibrarySJS {
501+
val ForwardsBreakingChanges: Map[String, Seq[ProblemFilter]] = Map(
502+
// Additions that require a new minor version of the library
503+
Build.mimaPreviousDottyVersion -> Seq(
504+
// No .class files generated in the artifacts, only `scala.scalajs.*` files might be present
505+
ProblemFilters.exclude[MissingClassProblem]("scala.*"),
506+
),
507+
)
508+
509+
val BackwardsBreakingChanges: Map[String, Seq[ProblemFilter]] = Map(
510+
// We should never break backwards compatibility
511+
Build.mimaPreviousDottyVersion -> Seq.empty,
512+
)
513+
}
514+
500515
object TastyCore {
501516
val ForwardsBreakingChanges: Map[String, Seq[ProblemFilter]] = Map(
502517
// Additions that require a new minor version of tasty core

0 commit comments

Comments
 (0)