Skip to content

Update sbt-mima-plugin to 1.2.1 - #3558

Merged
pjfanning merged 2 commits into
apache:mainfrom
scala-steward:update/sbt-mima-plugin-1.2.1
Sep 24, 2026
Merged

pjfanning merged 2 commits into
apache:mainfrom
scala-steward:update/sbt-mima-plugin-1.2.1

Conversation

@scala-steward

Copy link
Copy Markdown
Contributor

About this PR

📦 Updates com.typesafe:sbt-mima-plugin from 1.2.0 to 1.2.1

📜 GitHub Release Notes - Version Diff

Usage

✅ Please merge!

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

🔍 Files still referring to the old version number

The following files still refer to the old version number (1.2.0).
You might want to review and update them manually.

actor-testkit-typed/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
actor-tests/src/test/scala/org/apache/pekko/util/VersionSpec.scala
actor-typed/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
actor/src/main/mima-filters/2.0.x.backwards.excludes/backoff-calculation.excludes
actor/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
actor/src/main/resources/reference.conf
actor/src/main/scala/org/apache/pekko/actor/Scheduler.scala
actor/src/main/scala/org/apache/pekko/dispatch/CompletionStages.scala
actor/src/main/scala/org/apache/pekko/dispatch/Future.scala
actor/src/main/scala/org/apache/pekko/japi/function/Function.scala
actor/src/main/scala/org/apache/pekko/pattern/FutureTimeoutSupport.scala
actor/src/main/scala/org/apache/pekko/pattern/Patterns.scala
actor/src/main/scala/org/apache/pekko/pattern/RetrySupport.scala
cluster-sharding/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
cluster/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
docs/src/main/paradox/release-notes/releases-1.2.md
docs/src/main/paradox/release-notes/releases-1.5.md
multi-node-testkit/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
persistence-query/src/main/scala/org/apache/pekko/persistence/query/javadsl/CurrentLastSequenceNumberByPersistenceIdQuery.scala
persistence-query/src/main/scala/org/apache/pekko/persistence/query/scaladsl/CurrentLastSequenceNumberByPersistenceIdQuery.scala
persistence-typed/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
persistence/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
project/Dependencies.scala
project/OSGi.scala
remote/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
stream/src/main/mima-filters/2.0.x.backwards.excludes/mima-1.2.0.excludes
stream/src/main/scala/org/apache/pekko/stream/impl/TraversalBuilder.scala
stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala
stream/src/main/scala/org/apache/pekko/stream/javadsl/Sink.scala
stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala
stream/src/main/scala/org/apache/pekko/stream/javadsl/StatefulMapConcatAccumulator.scala
stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala
stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala
stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala
stream/src/main/scala/org/apache/pekko/stream/scaladsl/Sink.scala
stream/src/main/scala/org/apache/pekko/stream/scaladsl/Source.scala
stream/src/main/scala/org/apache/pekko/stream/scaladsl/StatefulMapConcatAccumulator.scala
stream/src/main/scala/org/apache/pekko/stream/stage/GraphStage.scala
⚙ Adjust future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "com.typesafe", artifactId = "sbt-mima-plugin" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.typesafe", artifactId = "sbt-mima-plugin" }
}]
labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, old-version-remains, commit-count:1

scala-steward and others added 2 commits September 22, 2026 13:04
Motivation:
sbt-mima-plugin 1.2.1 reports definitions that were public in 1.0.0 but are
now private[pekko] or sealed as ClassNoLongerCheckedProblem,
MethodNoLongerCheckedProblem or HierarchyNoLongerCheckedProblem, because it
stops watching them even though the bytecode stays public. The
Check / Binary Compatibility job failed on actor, stream, remote,
cluster-sharding and cluster-sharding-typed with 29 such reports.

Modification:
Add a src/main/mima-filters/binary-api file to each of the five modules with
the BinaryApi.keep entries the report suggested. This keeps MiMa checking
those definitions instead of silencing them with ProblemFilters, so a later
removal is still reported against clients compiled against 1.0.x.

Result:
mimaReportBinaryIssues passes with sbt-mima-plugin 1.2.1 and the narrowed
definitions remain under binary compatibility checking.

Tests:
- Not run locally; the 29 entries are the lines suggested by the failing
  Check / Binary Compatibility job, verified by diff. CI re-runs the check.

References:
None - follow-up for the sbt-mima-plugin 1.2.1 bump in this PR
@pjfanning
pjfanning merged commit a2ab4a0 into apache:main Sep 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants