Skip to content

Commit cce26b8

Browse files
chore(deps): update dependency org.mockito:mockito-core to v5.24.0 (#2498)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [org.mockito:mockito-core](https://redirect.github.com/mockito/mockito) | `5.23.0` → `5.24.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.mockito:mockito-core/5.24.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.mockito:mockito-core/5.23.0/5.24.0?slim=true) | --- ### Release Notes <details> <summary>mockito/mockito (org.mockito:mockito-core)</summary> ### [`v5.24.0`](https://redirect.github.com/mockito/mockito/releases/tag/v5.24.0) [Compare Source](https://redirect.github.com/mockito/mockito/compare/v5.23.0...v5.24.0) <sup><sup>*Changelog generated by [Shipkit Changelog Gradle Plugin](https://redirect.github.com/shipkit/shipkit-changelog)*</sup></sup> ##### 5.24.0 - 2026-09-23 - [27 commit(s)](https://redirect.github.com/mockito/mockito/compare/v5.23.0...v5.24.0) 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 [(#&#8203;3866)](https://redirect.github.com/mockito/mockito/pull/3866) - Kotlin example for adding Mockito as an agent is incorrect [(#&#8203;3864)](https://redirect.github.com/mockito/mockito/issues/3864) - Bump graalvm/setup-graalvm from 1.6.3 to 1.6.6 [(#&#8203;3862)](https://redirect.github.com/mockito/mockito/pull/3862) - Bump gradle/actions from 6.2.0 to 6.3.0 [(#&#8203;3852)](https://redirect.github.com/mockito/mockito/pull/3852) - Bump gradle/actions from 5 to 6.2.0 [(#&#8203;3851)](https://redirect.github.com/mockito/mockito/pull/3851) - Preserve method parameters when clearing inline mocks [(#&#8203;3847)](https://redirect.github.com/mockito/mockito/pull/3847) - Bump graalvm/setup-graalvm from 1.6.0 to 1.6.3 [(#&#8203;3845)](https://redirect.github.com/mockito/mockito/pull/3845) - Print object fields via reflection when `toString()` is not implemented [(#&#8203;3844)](https://redirect.github.com/mockito/mockito/pull/3844) - Migrate extensions-tests to JUnit Jupiter [(#&#8203;3840)](https://redirect.github.com/mockito/mockito/pull/3840) - Bump graalvm/setup-graalvm from 1.5.6 to 1.6.0 [(#&#8203;3839)](https://redirect.github.com/mockito/mockito/pull/3839) - docs(when-verify): fixes to explanations about redundancy [(#&#8203;3838)](https://redirect.github.com/mockito/mockito/pull/3838) - Confusing inconsistency in example method calls in “stubbing and verifying is redundant” note of “when” and “verify” Javadoc [(#&#8203;3837)](https://redirect.github.com/mockito/mockito/issues/3837) - Bump actions/checkout from 6 to 7 [(#&#8203;3836)](https://redirect.github.com/mockito/mockito/pull/3836) - Fixes [#&#8203;2740](https://redirect.github.com/mockito/mockito/issues/2740) : Add mockMaker option to `@Spy` annotation [(#&#8203;3835)](https://redirect.github.com/mockito/mockito/pull/3835) - Bump graalvm/setup-graalvm from 1.5.5 to 1.5.6 [(#&#8203;3834)](https://redirect.github.com/mockito/mockito/pull/3834) - Bump graalvm/setup-graalvm from 1.5.4 to 1.5.5 [(#&#8203;3833)](https://redirect.github.com/mockito/mockito/pull/3833) - Bump codecov/codecov-action from 6 to 7 [(#&#8203;3831)](https://redirect.github.com/mockito/mockito/pull/3831) - Bump graalvm/setup-graalvm from 1.4.5 to 1.5.4 [(#&#8203;3830)](https://redirect.github.com/mockito/mockito/pull/3830) - Fix clearInlineMocks not de-registering singleton mocks [(#&#8203;3829)](https://redirect.github.com/mockito/mockito/pull/3829) - Fix NotAMockException when using mockSingleton with MockitoJUnit [(#&#8203;3827)](https://redirect.github.com/mockito/mockito/pull/3827) - NotAMockException when using mockSingleton with MockitoSession or MockitoJUnit [(#&#8203;3826)](https://redirect.github.com/mockito/mockito/issues/3826) - Improve Gradle agent docs for configuration cache [(#&#8203;3823)](https://redirect.github.com/mockito/mockito/pull/3823) - Gradle documentation for setting up instrumentation with Gradle configuration cache [(#&#8203;3822)](https://redirect.github.com/mockito/mockito/issues/3822) - Fixes [#&#8203;3818](https://redirect.github.com/mockito/mockito/issues/3818) : Fix data race in InvocationContainerImpl.invocationForStubbing [(#&#8203;3819)](https://redirect.github.com/mockito/mockito/pull/3819) - Data race on invocationForPotentialStubbing [(#&#8203;3818)](https://redirect.github.com/mockito/mockito/issues/3818) - Fixes [#&#8203;3814](https://redirect.github.com/mockito/mockito/issues/3814) : implement package-level clinit suppression [(#&#8203;3815)](https://redirect.github.com/mockito/mockito/pull/3815) - Package-level clinit suppression [(#&#8203;3814)](https://redirect.github.com/mockito/mockito/issues/3814) - Upgrade Android Gradle Plugin to 8.13.2 [(#&#8203;3812)](https://redirect.github.com/mockito/mockito/pull/3812) - Replaces raw generic types with type parameters [(#&#8203;3806)](https://redirect.github.com/mockito/mockito/pull/3806) - Fixes [#&#8203;2398](https://redirect.github.com/mockito/mockito/issues/2398) : Implement global suppress static initialization leveraging java agent [(#&#8203;3801)](https://redirect.github.com/mockito/mockito/pull/3801) - Bump codecov/codecov-action from 5 to 6 [(#&#8203;3800)](https://redirect.github.com/mockito/mockito/pull/3800) - Fix non-deterministic AssertionError when using MockMakers.SUBCLASS ([#&#8203;3406](https://redirect.github.com/mockito/mockito/issues/3406), [#&#8203;2823](https://redirect.github.com/mockito/mockito/issues/2823)) [(#&#8203;3795)](https://redirect.github.com/mockito/mockito/pull/3795) - Fixes [#&#8203;3536](https://redirect.github.com/mockito/mockito/issues/3536) : Implement SpyStatic API [(#&#8203;3794)](https://redirect.github.com/mockito/mockito/pull/3794) - The class's MethodParameters are removed after clearAllCaches is invoked [(#&#8203;3763)](https://redirect.github.com/mockito/mockito/issues/3763) - \[FeatureRequest / Idea] Create Mockito.spyStatic [(#&#8203;3536)](https://redirect.github.com/mockito/mockito/issues/3536) - Add option to specify mockmaker for `@Spy` [(#&#8203;2740)](https://redirect.github.com/mockito/mockito/issues/2740) - How can I suppress static initializer? [(#&#8203;2398)](https://redirect.github.com/mockito/mockito/issues/2398) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent e87a1ca commit cce26b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<dependency>
8989
<groupId>org.mockito</groupId>
9090
<artifactId>mockito-core</artifactId>
91-
<version>5.23.0</version>
91+
<version>5.24.0</version>
9292
<scope>test</scope>
9393
</dependency>
9494
<dependency>

0 commit comments

Comments
 (0)