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-persistence-r2dbc.git
The following commit(s) were added to refs/heads/main by this push:
new 745ab4a Update sbt-mima-plugin to 1.2.0 (#490)
745ab4a is described below
commit 745ab4aeb021e8c39253e510b451a0d7d4afda35
Author: Scala Steward <[email protected]>
AuthorDate: Tue Sep 8 20:59:57 2026 +0200
Update sbt-mima-plugin to 1.2.0 (#490)
* Update sbt-mima-plugin to 1.2.0
* Add MiMa excludes for internal DurableStateDao changes
Motivation:
MiMa 1.2.0 reports four additional problems in core that 1.1.6 did not
detect, all in the @InternalApi DurableStateDao, so the Binary
Compatibility job fails on the sbt-mima-plugin 1.2.0 bump.
Modification:
Add
core/src/main/mima-filters/2.0.x.backwards.excludes/durable-state-dao.excludes
with filters for DurableStateDao.writeState, deleteState, the primary
constructor, and the SerializedStateRow companion class signature.
Result:
Binary compatibility checks pass with sbt-mima-plugin 1.2.0.
Tests:
- sbt "+core/mimaReportBinaryIssues" "+migration/mimaReportBinaryIssues" /
success
- Integration tests not run - no database available; change is build-only
References:
Refs #490
---------
Co-authored-by: PJ Fanning <[email protected]>
---
.../durable-state-dao.excludes | 23 ++++++++++++++++++++++
project/plugins.sbt | 2 +-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git
a/core/src/main/mima-filters/2.0.x.backwards.excludes/durable-state-dao.excludes
b/core/src/main/mima-filters/2.0.x.backwards.excludes/durable-state-dao.excludes
new file mode 100644
index 0000000..bfd2fa2
--- /dev/null
+++
b/core/src/main/mima-filters/2.0.x.backwards.excludes/durable-state-dao.excludes
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# DurableStateDao is @InternalApi (private[r2dbc]).
+# These changes were made in earlier 2.0.x work and are only reported since
MiMa 1.2.0.
+ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.persistence.r2dbc.state.scaladsl.DurableStateDao.writeState")
+ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.persistence.r2dbc.state.scaladsl.DurableStateDao.deleteState")
+ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.persistence.r2dbc.state.scaladsl.DurableStateDao.this")
+ProblemFilters.exclude[IncompatibleClassSignatureProblem]("org.apache.pekko.persistence.r2dbc.state.scaladsl.DurableStateDao$SerializedStateRow$")
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 98145c5..0043e9e 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -11,7 +11,7 @@ addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0") //
for maintenance of c
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.2")
addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.13.1")
addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.6.1")
-addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.6")
+addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.2.0")
// for releasing
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]