Update dependency org.mockito:mockito-core to v5.25.0 #34

Open
renovate wants to merge 1 commit from renovate/mockito-monorepo into main
Member

This PR contains the following updates:

Package Change Age Confidence
org.mockito:mockito-core 5.23.0 → 5.25.0 age confidence

Release Notes

mockito/mockito (org.mockito:mockito-core)

v5.25.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.25.0
  • 2026-11-26 - 28 commit(s) by Alex, Brice Dutheil, Burak Kalaycı, Holger Friedrich, Inf1mum, Joshua Selbo, Mohd Irshad, Sharang Gupta, Szczepan Faber, Vadim Lazuk, Wei-Lun Li, dependabot[bot]
  • Remove Objenesis (#​3923)
  • Downgrade Objenesis to 3.5 to restore Android API < 34 support (#​3907)
  • Bump gradle/actions from 6.4.0 to 6.4.1 (#​3903)
  • Include custom @​DoNotMock annotation details in the violation message (#​3899)
  • Upgrade Objenesis to 3.6 (#​3898)
  • Use Locale.ROOT for default mock names and matcher descriptions (#​3897)
  • Improve JUnit compatibility testing, including OSGi (#​3891)
  • Run the varargs test that was ignored for #​1593 (#​3890)
  • Move build conventions to an included build (#​3885)
  • Use renewed signing secrets and document key renewal [skip release] (#​3884)
  • Add temporary encrypted signing key recovery workflow (#​3883)
  • Add manual signing key diagnostic workflow (#​3882)
  • Cover ProxyMockMaker handler rejection paths (#​3880)
  • Use setup-gradle actions and remove the wrapper validation (#​3879)
  • Replace our manual retryTest with Gradle's test-retry plugin (#​3877)
  • Possibly replace coverage setup by simpler config (#​3875)
  • Migrate coverage.gradle to convention plugins (#​3874)
  • Upgrade Gradle to 9.8.2 and enforce the Gradle JVM daemon (#​3873)
  • Bump graalvm/setup-graalvm from 1.6.6 to 1.6.7 (#​3872)
  • Plugins for ValuePrinter (#​3871)
  • Add ValueRenderer plugin (#​3870)
  • Bump gradle/actions from 6.3.0 to 6.4.0 (#​3869)
  • Allow mockito-junit-jupiter to resolve with JUnit 6 in OSGi (#​3867)
  • Bump actions/setup-java from 5 to 6 (#​3857)
  • Allow answer-first stubbing with RETURNS_DEEP_STUBS (#​3853)
  • Upgrade Android Gradle Plugin to 9.2.1 (#​3841)
  • Bump actions/upload-artifact from 6 to 7 (#​3791)
  • Improvement request: Include toString() of custom DoNotMock annotations in DefaultDoNotMockEnforcer (#​3592)
  • Remove VarargMatcher (#​2835)
  • UnfinishedStubbingException raised with deep stubs when using the do* style stubbing (#​1636)
  • Mockito confuses varargs and single-param methods (regression) (#​1593)
  • Expose StubbingLookupListener publicly and create listener distinction (#​793)

v5.24.0

Compare Source

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)

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 this update again.


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

This PR has been generated by Mend Renovate CLI.

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://github.com/mockito/mockito) | `5.23.0` → `5.25.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.mockito:mockito-core/5.25.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.mockito:mockito-core/5.23.0/5.25.0?slim=true) | --- ### Release Notes <details> <summary>mockito/mockito (org.mockito:mockito-core)</summary> ### [`v5.25.0`](https://github.com/mockito/mockito/releases/tag/v5.25.0) [Compare Source](https://github.com/mockito/mockito/compare/v5.24.0...v5.25.0) <sup><sup>*Changelog generated by [Shipkit Changelog Gradle Plugin](https://github.com/shipkit/shipkit-changelog)*</sup></sup> ##### 5.25.0 - 2026-11-26 - [28 commit(s)](https://github.com/mockito/mockito/compare/v5.24.0...v5.25.0) by Alex, Brice Dutheil, Burak Kalaycı, Holger Friedrich, Inf1mum, Joshua Selbo, Mohd Irshad, Sharang Gupta, Szczepan Faber, Vadim Lazuk, Wei-Lun Li, dependabot\[bot] - Remove Objenesis [(#&#8203;3923)](https://github.com/mockito/mockito/pull/3923) - Downgrade Objenesis to 3.5 to restore Android API < 34 support [(#&#8203;3907)](https://github.com/mockito/mockito/pull/3907) - Bump gradle/actions from 6.4.0 to 6.4.1 [(#&#8203;3903)](https://github.com/mockito/mockito/pull/3903) - Include custom [@&#8203;DoNotMock](https://github.com/DoNotMock) annotation details in the violation message [(#&#8203;3899)](https://github.com/mockito/mockito/pull/3899) - Upgrade Objenesis to 3.6 [(#&#8203;3898)](https://github.com/mockito/mockito/pull/3898) - Use Locale.ROOT for default mock names and matcher descriptions [(#&#8203;3897)](https://github.com/mockito/mockito/pull/3897) - Improve JUnit compatibility testing, including OSGi [(#&#8203;3891)](https://github.com/mockito/mockito/pull/3891) - Run the varargs test that was ignored for [#&#8203;1593](https://github.com/mockito/mockito/issues/1593) [(#&#8203;3890)](https://github.com/mockito/mockito/pull/3890) - Move build conventions to an included build [(#&#8203;3885)](https://github.com/mockito/mockito/pull/3885) - Use renewed signing secrets and document key renewal \[skip release] [(#&#8203;3884)](https://github.com/mockito/mockito/pull/3884) - Add temporary encrypted signing key recovery workflow [(#&#8203;3883)](https://github.com/mockito/mockito/pull/3883) - Add manual signing key diagnostic workflow [(#&#8203;3882)](https://github.com/mockito/mockito/pull/3882) - Cover `ProxyMockMaker` handler rejection paths [(#&#8203;3880)](https://github.com/mockito/mockito/pull/3880) - Use `setup-gradle` actions and remove the wrapper validation [(#&#8203;3879)](https://github.com/mockito/mockito/pull/3879) - Replace our manual `retryTest` with Gradle's `test-retry` plugin [(#&#8203;3877)](https://github.com/mockito/mockito/pull/3877) - Possibly replace coverage setup by simpler config [(#&#8203;3875)](https://github.com/mockito/mockito/issues/3875) - Migrate `coverage.gradle` to convention plugins [(#&#8203;3874)](https://github.com/mockito/mockito/pull/3874) - Upgrade Gradle to 9.8.2 and enforce the Gradle JVM daemon [(#&#8203;3873)](https://github.com/mockito/mockito/pull/3873) - Bump graalvm/setup-graalvm from 1.6.6 to 1.6.7 [(#&#8203;3872)](https://github.com/mockito/mockito/pull/3872) - Plugins for ValuePrinter [(#&#8203;3871)](https://github.com/mockito/mockito/issues/3871) - Add `ValueRenderer` plugin [(#&#8203;3870)](https://github.com/mockito/mockito/pull/3870) - Bump gradle/actions from 6.3.0 to 6.4.0 [(#&#8203;3869)](https://github.com/mockito/mockito/pull/3869) - Allow mockito-junit-jupiter to resolve with JUnit 6 in OSGi [(#&#8203;3867)](https://github.com/mockito/mockito/pull/3867) - Bump actions/setup-java from 5 to 6 [(#&#8203;3857)](https://github.com/mockito/mockito/pull/3857) - Allow answer-first stubbing with `RETURNS_DEEP_STUBS` [(#&#8203;3853)](https://github.com/mockito/mockito/pull/3853) - Upgrade Android Gradle Plugin to 9.2.1 [(#&#8203;3841)](https://github.com/mockito/mockito/pull/3841) - Bump actions/upload-artifact from 6 to 7 [(#&#8203;3791)](https://github.com/mockito/mockito/pull/3791) - Improvement request: Include toString() of custom DoNotMock annotations in DefaultDoNotMockEnforcer [(#&#8203;3592)](https://github.com/mockito/mockito/issues/3592) - Remove `VarargMatcher` [(#&#8203;2835)](https://github.com/mockito/mockito/pull/2835) - UnfinishedStubbingException raised with deep stubs when using the do\* style stubbing [(#&#8203;1636)](https://github.com/mockito/mockito/issues/1636) - Mockito confuses varargs and single-param methods (regression) [(#&#8203;1593)](https://github.com/mockito/mockito/issues/1593) - Expose StubbingLookupListener publicly and create listener distinction [(#&#8203;793)](https://github.com/mockito/mockito/issues/793) ### [`v5.24.0`](https://github.com/mockito/mockito/releases/tag/v5.24.0) [Compare Source](https://github.com/mockito/mockito/compare/v5.23.0...v5.24.0) <sup><sup>*Changelog generated by [Shipkit Changelog Gradle Plugin](https://github.com/shipkit/shipkit-changelog)*</sup></sup> ##### 5.24.0 - 2026-09-23 - [27 commit(s)](https://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://github.com/mockito/mockito/pull/3866) - Kotlin example for adding Mockito as an agent is incorrect [(#&#8203;3864)](https://github.com/mockito/mockito/issues/3864) - Bump graalvm/setup-graalvm from 1.6.3 to 1.6.6 [(#&#8203;3862)](https://github.com/mockito/mockito/pull/3862) - Bump gradle/actions from 6.2.0 to 6.3.0 [(#&#8203;3852)](https://github.com/mockito/mockito/pull/3852) - Bump gradle/actions from 5 to 6.2.0 [(#&#8203;3851)](https://github.com/mockito/mockito/pull/3851) - Preserve method parameters when clearing inline mocks [(#&#8203;3847)](https://github.com/mockito/mockito/pull/3847) - Bump graalvm/setup-graalvm from 1.6.0 to 1.6.3 [(#&#8203;3845)](https://github.com/mockito/mockito/pull/3845) - Print object fields via reflection when `toString()` is not implemented [(#&#8203;3844)](https://github.com/mockito/mockito/pull/3844) - Migrate extensions-tests to JUnit Jupiter [(#&#8203;3840)](https://github.com/mockito/mockito/pull/3840) - Bump graalvm/setup-graalvm from 1.5.6 to 1.6.0 [(#&#8203;3839)](https://github.com/mockito/mockito/pull/3839) - docs(when-verify): fixes to explanations about redundancy [(#&#8203;3838)](https://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://github.com/mockito/mockito/issues/3837) - Bump actions/checkout from 6 to 7 [(#&#8203;3836)](https://github.com/mockito/mockito/pull/3836) - Fixes [#&#8203;2740](https://github.com/mockito/mockito/issues/2740) : Add mockMaker option to `@Spy` annotation [(#&#8203;3835)](https://github.com/mockito/mockito/pull/3835) - Bump graalvm/setup-graalvm from 1.5.5 to 1.5.6 [(#&#8203;3834)](https://github.com/mockito/mockito/pull/3834) - Bump graalvm/setup-graalvm from 1.5.4 to 1.5.5 [(#&#8203;3833)](https://github.com/mockito/mockito/pull/3833) - Bump codecov/codecov-action from 6 to 7 [(#&#8203;3831)](https://github.com/mockito/mockito/pull/3831) - Bump graalvm/setup-graalvm from 1.4.5 to 1.5.4 [(#&#8203;3830)](https://github.com/mockito/mockito/pull/3830) - Fix clearInlineMocks not de-registering singleton mocks [(#&#8203;3829)](https://github.com/mockito/mockito/pull/3829) - Fix NotAMockException when using mockSingleton with MockitoJUnit [(#&#8203;3827)](https://github.com/mockito/mockito/pull/3827) - NotAMockException when using mockSingleton with MockitoSession or MockitoJUnit [(#&#8203;3826)](https://github.com/mockito/mockito/issues/3826) - Improve Gradle agent docs for configuration cache [(#&#8203;3823)](https://github.com/mockito/mockito/pull/3823) - Gradle documentation for setting up instrumentation with Gradle configuration cache [(#&#8203;3822)](https://github.com/mockito/mockito/issues/3822) - Fixes [#&#8203;3818](https://github.com/mockito/mockito/issues/3818) : Fix data race in InvocationContainerImpl.invocationForStubbing [(#&#8203;3819)](https://github.com/mockito/mockito/pull/3819) - Data race on invocationForPotentialStubbing [(#&#8203;3818)](https://github.com/mockito/mockito/issues/3818) - Fixes [#&#8203;3814](https://github.com/mockito/mockito/issues/3814) : implement package-level clinit suppression [(#&#8203;3815)](https://github.com/mockito/mockito/pull/3815) - Package-level clinit suppression [(#&#8203;3814)](https://github.com/mockito/mockito/issues/3814) - Upgrade Android Gradle Plugin to 8.13.2 [(#&#8203;3812)](https://github.com/mockito/mockito/pull/3812) - Replaces raw generic types with type parameters [(#&#8203;3806)](https://github.com/mockito/mockito/pull/3806) - Fixes [#&#8203;2398](https://github.com/mockito/mockito/issues/2398) : Implement global suppress static initialization leveraging java agent [(#&#8203;3801)](https://github.com/mockito/mockito/pull/3801) - Bump codecov/codecov-action from 5 to 6 [(#&#8203;3800)](https://github.com/mockito/mockito/pull/3800) - Fix non-deterministic AssertionError when using MockMakers.SUBCLASS ([#&#8203;3406](https://github.com/mockito/mockito/issues/3406), [#&#8203;2823](https://github.com/mockito/mockito/issues/2823)) [(#&#8203;3795)](https://github.com/mockito/mockito/pull/3795) - Fixes [#&#8203;3536](https://github.com/mockito/mockito/issues/3536) : Implement SpyStatic API [(#&#8203;3794)](https://github.com/mockito/mockito/pull/3794) - The class's MethodParameters are removed after clearAllCaches is invoked [(#&#8203;3763)](https://github.com/mockito/mockito/issues/3763) - \[FeatureRequest / Idea] Create Mockito.spyStatic [(#&#8203;3536)](https://github.com/mockito/mockito/issues/3536) - Add option to specify mockmaker for `@Spy` [(#&#8203;2740)](https://github.com/mockito/mockito/issues/2740) - How can I suppress static initializer? [(#&#8203;2398)](https://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**: 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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTEuNCIsInVwZGF0ZWRJblZlciI6IjQ1LjEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Update dependency org.mockito:mockito-core to v5.24.0
All checks were successful
/ Verify (pull_request) Successful in 1m18s
29bea4e17c
renovate force-pushed renovate/mockito-monorepo from 29bea4e17c
All checks were successful
/ Verify (pull_request) Successful in 1m18s
to e0223efa1d
All checks were successful
/ Verify (pull_request) Successful in 1m12s
2026-11-27 03:20:21 +01:00
Compare
renovate changed title from Update dependency org.mockito:mockito-core to v5.24.0 to Update dependency org.mockito:mockito-core to v5.25.0 2026-11-27 03:20:27 +01:00
All checks were successful
/ Verify (pull_request) Successful in 1m12s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/mockito-monorepo:renovate/mockito-monorepo'
git switch 'renovate/mockito-monorepo'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'renovate/mockito-monorepo'
git switch 'renovate/mockito-monorepo'
git rebase 'main'
git switch 'main'
git merge --ff-only 'renovate/mockito-monorepo'
git switch 'renovate/mockito-monorepo'
git rebase 'main'
git switch 'main'
git merge --no-ff 'renovate/mockito-monorepo'
git switch 'main'
git merge --squash 'renovate/mockito-monorepo'
git switch 'main'
git merge --ff-only 'renovate/mockito-monorepo'
git switch 'main'
git merge 'renovate/mockito-monorepo'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
CCCHH/keycloak-attribute-endpoints-provider!34
No description provided.