Skip to content

chore(deps): update mockito monorepo to v5.24.0 - #36

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mockito-monorepo
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mockito-monorepo

Conversation

@renovate

@renovate renovate Bot commented Dec 10, 2025 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.mockito:mockito-junit-jupiter 5.20.0 → 5.24.0 age confidence
org.mockito:mockito-core 5.20.0 → 5.24.0 age confidence

Release Notes

mockito/mockito (org.mockito:mockito-junit-jupiter)

v5.24.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.24.0
  • 2026-09-23 - 27 commit(s) by Andrei Solntsev, DragonFSKY, Hünkar Can Tunç, Joshua Selbo, M. Minot, Markus Gaisbauer, Mirko Alicastro, Vinod Kumar M ( codingkiddo ), dependabot[bot]
  • Fix Mockito docs for -javaagent flag with Gradle (#​3866)
  • Kotlin example for adding Mockito as an agent is incorrect (#​3864)
  • Bump graalvm/setup-graalvm from 1.6.3 to 1.6.6 (#​3862)
  • Bump gradle/actions from 6.2.0 to 6.3.0 (#​3852)
  • Bump gradle/actions from 5 to 6.2.0 (#​3851)
  • Preserve method parameters when clearing inline mocks (#​3847)
  • Bump graalvm/setup-graalvm from 1.6.0 to 1.6.3 (#​3845)
  • Print object fields via reflection when toString() is not implemented (#​3844)
  • Migrate extensions-tests to JUnit Jupiter (#​3840)
  • Bump graalvm/setup-graalvm from 1.5.6 to 1.6.0 (#​3839)
  • docs(when-verify): fixes to explanations about redundancy (#​3838)
  • Confusing inconsistency in example method calls in “stubbing and verifying is redundant” note of “when” and “verify” Javadoc (#​3837)
  • Bump actions/checkout from 6 to 7 (#​3836)
  • Fixes #​2740 : Add mockMaker option to @Spy annotation (#​3835)
  • Bump graalvm/setup-graalvm from 1.5.5 to 1.5.6 (#​3834)
  • Bump graalvm/setup-graalvm from 1.5.4 to 1.5.5 (#​3833)
  • Bump codecov/codecov-action from 6 to 7 (#​3831)
  • Bump graalvm/setup-graalvm from 1.4.5 to 1.5.4 (#​3830)
  • Fix clearInlineMocks not de-registering singleton mocks (#​3829)
  • Fix NotAMockException when using mockSingleton with MockitoJUnit (#​3827)
  • NotAMockException when using mockSingleton with MockitoSession or MockitoJUnit (#​3826)
  • Improve Gradle agent docs for configuration cache (#​3823)
  • Gradle documentation for setting up instrumentation with Gradle configuration cache (#​3822)
  • Fixes #​3818 : Fix data race in InvocationContainerImpl.invocationForStubbing (#​3819)
  • Data race on invocationForPotentialStubbing (#​3818)
  • Fixes #​3814 : implement package-level clinit suppression (#​3815)
  • Package-level clinit suppression (#​3814)
  • Upgrade Android Gradle Plugin to 8.13.2 (#​3812)
  • Replaces raw generic types with type parameters (#​3806)
  • Fixes #​2398 : Implement global suppress static initialization leveraging java agent (#​3801)
  • Bump codecov/codecov-action from 5 to 6 (#​3800)
  • Fix non-deterministic AssertionError when using MockMakers.SUBCLASS (#​3406, #​2823) (#​3795)
  • Fixes #​3536 : Implement SpyStatic API (#​3794)
  • The class's MethodParameters are removed after clearAllCaches is invoked (#​3763)
  • [FeatureRequest / Idea] Create Mockito.spyStatic (#​3536)
  • Add option to specify mockmaker for @Spy (#​2740)
  • How can I suppress static initializer? (#​2398)

v5.23.0

Compare Source

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

5.23.0
  • 2026-03-11 - 6 commit(s) by Brice Dutheil, Joshua Selbo, Philippe Kernevez
  • Replace mockito-android mock maker implementation with dexmaker-mockito-inline (#​3792)
  • Fix StackOverflowError with AbstractList after using mockSingleton (#​3790)
  • Mark parameters of Mockito.when @Nullable (#​3503)

v5.22.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.22.0
  • 2026-02-27 - 6 commit(s) by Joshua Selbo, NiMv1, Rafael Winterhalter, dependabot[bot], eunbin son
  • Avoid mocking of internal static utilities (#​3785)
  • Bump graalvm/setup-graalvm from 1.4.4 to 1.4.5 (#​3780)
  • Static mocking of UUID.class corrupted under JDK 25 (#​3778)
  • Bump actions/upload-artifact from 5 to 6 (#​3774)
  • docs: clarify RETURNS_MOCKS behavior with sealed abstract enums (Java 15+) (#​3773)
  • Add tests for Sets utility class (#​3771)
  • Add core API to enable Kotlin singleton mocking (#​3762)
  • Stubbing Kotlin object singletons (#​3652)
  • Incorrect documentation for RETURNS_MOCKS (#​3285)

v5.21.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.21.0
  • 2025-12-09 - 17 commit(s) by Giulio Longfils, Joshua Selbo, Woongi9, Zylox, dependabot[bot]
  • Bump graalvm/setup-graalvm from 1.4.3 to 1.4.4 (#​3768)
  • Bump graalvm/setup-graalvm from 1.4.2 to 1.4.3 (#​3767)
  • Bump actions/checkout from 5 to 6 (#​3765)
  • Adds output of matchers to potential mismatch; Fixes #​2468 (#​3760)
  • Forbid mocking WeakReference with inline mock maker (#​3759)
  • StackOverflowError when mocking WeakReference (#​3758)
  • Bump actions/upload-artifact from 4 to 5 (#​3756)
  • Bump graalvm/setup-graalvm from 1.4.1 to 1.4.2 (#​3755)
  • Support primitives in GenericArrayReturnType. (#​3753)
  • ClassNotFoundException when stubbing array of primitive type on Android (#​3752)
  • Bump graalvm/setup-graalvm from 1.4.0 to 1.4.1 (#​3744)
  • Bump gradle/actions from 4 to 5 (#​3743)
  • Bump org.graalvm.buildtools.native from 0.11.0 to 0.11.1 (#​3738)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.2.1 to 8.0.0 (#​3735)
  • Bump graalvm/setup-graalvm from 1.3.7 to 1.4.0 (#​3734)
  • Bump org.assertj:assertj-core from 3.27.5 to 3.27.6 (#​3733)
  • Bump errorprone from 2.41.0 to 2.42.0 (#​3732)
  • Feat: automatically detect class to mock in mockStatic and mockConstruction (#​3731)
  • Return completed futures for unstubbed Future/CompletionStage in ReturnsEmptyValues (#​3727)
  • automatically detect class to mock (#​2779)
  • Incorrect "has following stubbing(s) with different arguments" message when using Argument Matchers (#​2468)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update mockito monorepo to v5.21.0 chore(deps): update mockito monorepo to v5.22.0 Feb 27, 2026
@renovate
renovate Bot force-pushed the renovate/mockito-monorepo branch from 78c2f98 to 0354110 Compare February 27, 2026 13:28
@renovate renovate Bot changed the title chore(deps): update mockito monorepo to v5.22.0 chore(deps): update mockito monorepo to v5.23.0 Mar 12, 2026
@renovate
renovate Bot force-pushed the renovate/mockito-monorepo branch from 0354110 to c307687 Compare March 12, 2026 01:35
@renovate renovate Bot changed the title chore(deps): update mockito monorepo to v5.23.0 chore(deps): update mockito monorepo to v5.24.0 Sep 24, 2026
@renovate
renovate Bot force-pushed the renovate/mockito-monorepo branch from c307687 to eb7a3dc Compare September 24, 2026 02:49

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants