# MiMa 1.2.1 released - with significant changes

**URL:** <https://users.scala-lang.org/t/mima-1-2-1-released-with-significant-changes/12394>\
**Category:** Announce\
**Created:** [September 18, 2026, 11:34am UTC](https://users.scala-lang.org/t/mima-1-2-1-released-with-significant-changes/12394 "2026-09-18T11:34:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lrytz](https://users.scala-lang.org/user_avatar/users.scala-lang.org/lrytz/32/1334_2.png) [@lrytz](https://users.scala-lang.org/u/lrytz)\
**Post date:** [September 18, 2026, 11:34am UTC](https://users.scala-lang.org/t/mima-1-2-1-released-with-significant-changes/12394/1 "2026-09-18T11:34:37Z")

</div>

MiMa 1.2.1 is a follow-up for [1.2.0 from 10 days ago](https://users.scala-lang.org/t/mima-1-2-0-released/12386), but not a small one.

@sjrd pointed out an old transitivity issue in MiMa’s model:

1. changing `def f: A` to `private[p] def f: A` is allowed, because it stays public in bytecode
2. deleting `private[p] def f: A`is allowed, because MiMa considers it non-public

If a library author updates `mimaPreviousArtifacts` between steps 1 and 2, MiMa never issues a warning, even though code compiled against the first version will break.

### New warning before MiMa stops checking a definition

MiMa 1.2.1 introduces new warnings for changes that will prevent future checks, like the one above.

These new warnings should **not** be filtered (silenced), otherwise we are in the same situation as before. Instead, there is a new setting `mimaBinaryApi`:

```auto
mimaBinaryApi += BinaryApi.keep[MethodNoLongerCheckedProblem]("p.C.f()A")

```

This tells MiMa to continue checking changes to `f` as if it was public API, so later changes are detected.

### Fixes for false negatives and false positives

The new release contains various fixes for false negatives and false positives.

**Potentially controversial** : MiMa no longer reports any changes to the compiler-generated static accessor methods for `object` members. These accessors exist for Java interop, which is by design out of scope for MiMa. The README was updated to clarify this

> MiMa checks your binary API as Scala code sees it

There might be people using MiMa for APIs written in Scala for Java consumption. That use case was never really supported and there are [multiple reasons why it’s unsafe](https://github.com/scala-garden/mima/tree/main#scala-clients-not-java-clients). But we could consider adding an opt-in best-effort Java mode.

* * *

Full release notes: [Release 1.2.1 · scala-garden/mima · GitHub](https://github.com/scala-garden/mima/releases/tag/v1.2.1)
