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-jdbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 56d8fc63 Update sbt-mima-plugin to 1.2.0 (#611)
56d8fc63 is described below

commit 56d8fc63db4b4077e3808e211f714fafa60e5a58
Author: Scala Steward <[email protected]>
AuthorDate: Tue Sep 8 22:39:25 2026 +0200

    Update sbt-mima-plugin to 1.2.0 (#611)
    
    * Update sbt-mima-plugin to 1.2.0
    
    * Add MiMa exclude for the EagerSlickDatabase companion signature
    
    Motivation:
    MiMa 1.2.0 adds IncompatibleClassSignatureProblem, which flags
    EagerSlickDatabase$ against 1.0.0: its AbstractFunction2 signature
    now mentions slick's JdbcBackend$JdbcDatabaseDef rather than
    JdbcBackend$DatabaseDef.
    
    Modification:
    Add a 2.0.x exclude file for it. The exclude carries the standard ASF
    header used by the other filter files.
    
    Result:
    core/mimaReportBinaryIssues passes with sbt-mima-plugin 1.2.0.
    
    Tests:
    - sbt -batch "core/mimaReportBinaryIssues" - success
    
    References:
    Refs #611
    
    ---------
    
    Co-authored-by: PJ Fanning <[email protected]>
---
 .../eager-slick-database-class-signature.excludes  | 22 ++++++++++++++++++++++
 project/plugins.sbt                                |  2 +-
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git 
a/core/src/main/mima-filters/2.0.x.backwards.excludes/eager-slick-database-class-signature.excludes
 
b/core/src/main/mima-filters/2.0.x.backwards.excludes/eager-slick-database-class-signature.excludes
new file mode 100644
index 00000000..c345dab4
--- /dev/null
+++ 
b/core/src/main/mima-filters/2.0.x.backwards.excludes/eager-slick-database-class-signature.excludes
@@ -0,0 +1,22 @@
+# 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.
+
+# MiMa 1.2.0 added IncompatibleClassSignatureProblem, which flags the
+# EagerSlickDatabase companion: its AbstractFunction2 signature names
+# slick's JdbcBackend$JdbcDatabaseDef rather than JdbcBackend$DatabaseDef
+# after the slick 3.3 to 3.5 upgrade.
+ProblemFilters.exclude[IncompatibleClassSignatureProblem]("org.apache.pekko.persistence.jdbc.db.EagerSlickDatabase$")
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 733b238d..1f886719 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -10,7 +10,7 @@
 // compliance
 addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0")
 addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.2")
-addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.6")
+addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.2.0")
 addSbtPlugin("com.github.sbt" % "sbt-java-formatter" % "0.13.1")
 
 // release


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to