# Mockito v5.23.0 - Product: Mockito (https://whatsnew.fyi/product/mockito) - Vendor: Mockito - Date: 2026-03-11 - Version: v5.23.0 - Original notes: https://github.com/mockito/mockito/releases/tag/v5.23.0 - Permalink: https://whatsnew.fyi/product/mockito/releases/v5.23.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **changed** — Replace mockito-android mock maker implementation with dexmaker-mockito-inline - **fixed** — Fix StackOverflowError with AbstractList after using mockSingleton - **changed** — Mark parameters of Mockito.when @Nullable - **changed** — mockito-android now requires a device or emulator based on API 28+ (Android P) for tests ##### NOTE: Breaking change for Android The `mockito-android` artifact has a breaking change: tests now require a device or emulator based on API 28+ (Android P). This is to enable new support for mocking Kotlin classes. See #3788 for more details. _______________ *Changelog generated by [Shipkit Changelog Gradle Plugin](https://github.com/shipkit/shipkit-changelog)* ###### 5.23.0 - 2026-03-11 - [6 commit(s)](https://github.com/mockito/mockito/compare/v5.22.0...v5.23.0) by Brice Dutheil, Joshua Selbo, Philippe Kernevez - Replace mockito-android mock maker implementation with dexmaker-mockito-inline [(#3792)](https://github.com/mockito/mockito/pull/3792) - Fix StackOverflowError with AbstractList after using mockSingleton [(#3790)](https://github.com/mockito/mockito/pull/3790) - Mark parameters of `Mockito.when` `@Nullable` [(#3503)](https://github.com/mockito/mockito/issues/3503)