This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-projection.git
The following commit(s) were added to refs/heads/main by this push:
new b70939ee Update sbt-mima-plugin to 1.2.1 (#630)
b70939ee is described below
commit b70939eedc50d526638298e5ff707d6850914598
Author: Scala Steward <[email protected]>
AuthorDate: Thu Sep 24 12:08:25 2026 +0200
Update sbt-mima-plugin to 1.2.1 (#630)
* Update sbt-mima-plugin to 1.2.1
* Add MiMa filter for R2dbcOffsetStore companion object
Motivation:
sbt-mima-plugin 1.2.1 reports ClassNoLongerCheckedProblem for
R2dbcOffsetStore$, which was public in 1.0.0 and is now private[projection].
Modification:
Exclude the problem in the r2dbc 2.0.x backwards excludes.
Result:
r2dbc/mimaReportBinaryIssues passes with MiMa 1.2.1.
---------
Co-authored-by: PJ Fanning <[email protected]>
---
project/plugins.sbt | 2 +-
.../2.0.x.backwards.excludes/internal-r2dbc-offset-store.excludes | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 3bee080d..dcfc90b8 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -25,7 +25,7 @@ addSbtPlugin("com.github.sbt" % "sbt-site-paradox" % "1.8.0")
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-theme" % "0.11.0")
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.11.0")
-addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.2.0")
+addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.2.1")
addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.1.1")
addSbtPlugin("com.github.sbt.junit" % "sbt-jupiter-interface" % "0.19.0")
diff --git
a/r2dbc/src/main/mima-filters/2.0.x.backwards.excludes/internal-r2dbc-offset-store.excludes
b/r2dbc/src/main/mima-filters/2.0.x.backwards.excludes/internal-r2dbc-offset-store.excludes
index 862cfca1..8f0bfcd3 100644
---
a/r2dbc/src/main/mima-filters/2.0.x.backwards.excludes/internal-r2dbc-offset-store.excludes
+++
b/r2dbc/src/main/mima-filters/2.0.x.backwards.excludes/internal-r2dbc-offset-store.excludes
@@ -26,3 +26,5 @@
ProblemFilters.exclude[IncompatibleSignatureProblem]("org.apache.pekko.projectio
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.projection.r2dbc.internal.R2dbcOffsetStore.isDuplicate")
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.projection.r2dbc.internal.R2dbcOffsetStore.filterAccepted")
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.projection.r2dbc.internal.R2dbcOffsetStore.isAccepted")
+# Reported since MiMa 1.2.1: the companion object was public in 1.0.0 but is
now private[projection]
+ProblemFilters.exclude[ClassNoLongerCheckedProblem]("org.apache.pekko.projection.r2dbc.internal.R2dbcOffsetStore$")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]