Skip to content

test(deps): update dependency org.mockito:mockito-core to v5 - #4544

Open
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:postgresql-dialectfrom
renovate-bot:renovate/major-mockito.version
Open

renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:postgresql-dialectfrom
renovate-bot:renovate/major-mockito.version

Conversation

@renovate-bot

@renovate-bot renovate-bot commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.mockito:mockito-core 4.11.0 → 5.24.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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

Compare Source

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)

v5.20.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.20.0
  • 2025-09-20 - 11 commit(s) by Adrian-Kim, Giulio Longfils, Rafael Winterhalter, dependabot[bot]
  • Bump org.assertj:assertj-core from 3.27.4 to 3.27.5 (#​3730)
  • Introducing the Ability to Mock Construction of Generic Types (#​2401) (#​3729)
  • Bump com.gradle.develocity from 4.1.1 to 4.2 (#​3726)
  • Bump graalvm/setup-graalvm from 1.3.6 to 1.3.7 (#​3725)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.23.100 to 3.23.200 (#​3720)
  • Bump graalvm/setup-graalvm from 1.3.5 to 1.3.6 (#​3719)
  • Bump actions/setup-java from 4 to 5 (#​3715)
  • Bump com.gradle.develocity from 4.1 to 4.1.1 (#​3713)
  • Bump bytebuddy from 1.17.6 to 1.17.7 (#​3712)
  • test: Use Assume.assumeThat for SequencedCollection tests (#​3711)
  • Fix #​3709 (#​3710)
  • feat: Add support for JDK21 Sequenced Collections. (#​3708)
  • Introducing the Ability to Mock Construction of Generic Types (#​2401)

v5.19.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.19.0
  • 2025-08-15 - 37 commit(s) by Adrian-Kim, Tim van der Lippe, Tran Ngoc Nhan, dependabot[bot], juyeop
  • feat: Add support for JDK21 Sequenced Collections. (#​3708)
  • Bump actions/checkout from 4 to 5 (#​3707)
  • build: Allow overriding 'Created-By' for reproducible builds (#​3704)
  • Bump org.assertj:assertj-core from 3.27.3 to 3.27.4 (#​3703)
  • Bump androidx.test:runner from 1.6.2 to 1.7.0 (#​3697)
  • Bump org.junit.platform:junit-platform-launcher from 1.13.3 to 1.13.4 (#​3694)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.1.0 to 7.2.1 (#​3693)
  • Bump junit-jupiter from 5.13.3 to 5.13.4 (#​3691)
  • Bump com.gradle.develocity from 4.0.2 to 4.1 (#​3689)
  • Bump com.google.googlejavaformat:google-java-format from 1.27.0 to 1.28.0 (#​3688)
  • Bump com.google.googlejavaformat:google-java-format from 1.25.2 to 1.27.0 (#​3686)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.4 to 7.1.0 (#​3685)
  • Bump junit-jupiter from 5.13.2 to 5.13.3 (#​3684)
  • Bump org.shipkit:shipkit-auto-version from 2.1.0 to 2.1.2 (#​3683)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.2 to 7.0.4 (#​3682)
  • Only run release after both Java and Android tests have finished
    (#​3681)
  • Bump org.junit.platform:junit-platform-launcher from 1.12.2 to 1.13.3 (#​3680)
  • Bump org.codehaus.groovy:groovy from 3.0.24 to 3.0.25 (#​3679)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.23.0 to 3.23.100 (#​3678)
  • Can no longer publish snapshot releases (#​3677)
  • Update Gradle to 8.14.2 (#​3676)
  • Bump errorprone from 2.23.0 to 2.39.0 (#​3674)
  • Correct Junit docs link (#​3672)
  • Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.1.0 to 4.3.0 (#​3670)
  • Bump junit-jupiter from 5.13.1 to 5.13.2 (#​3669)
  • Bump bytebuddy from 1.17.5 to 1.17.6 (#​3668)
  • Bump junit-jupiter from 5.12.2 to 5.13.1 (#​3666)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.21 to 2.2.0 (#​3665)
  • Bump org.gradle.toolchains.foojay-resolver-convention from 0.9.0 to 1.0.0 (#​3661)
  • Bump org.junit.platform:junit-platform-launcher from 1.11.4 to 1.12.2 (#​3660)
  • Add JDK21 sequenced collections for ReturnsEmptyValues (#​3659)
  • Bump com.gradle.develocity from 3.19.1 to 4.0.2 (#​3658)
  • Bump ru.vyarus:gradle-animalsniffer-plugin from 1.7.2 to 2.0.1 (#​3657)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.22.0 to 3.23.0 (#​3656)
  • Bump org.codehaus.groovy:groovy from 3.0.23 to 3.0.24 (#​3655)
  • Bump junit-jupiter from 5.11.4 to 5.12.2 (#​3653)
  • Reproducible Build: need to inject JDK distribution details to rebuild (#​3563)

v5.18.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.18.0
  • 2025-05-20 - 5 commit(s) by Eugene Platonov, Patrick Doyle, Tim van der Lippe, dependabot[bot]
  • Make vararg checks Scala friendly (for mockito-scala) (#​3651)
  • For UnfinishedStubbingException, suggest the possibility of another thread (#​3636)
  • UnfinishedStubbingException ought to suggest the possibility of another thread (#​3635)

v5.17.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.17.0
  • 2025-04-04 - 7 commit(s) by Adrian Roos, Andre Kurait, Jan Ouwens, Rafael Winterhalter, Taeik Lim, Thach Le, Tim van der Lippe
  • Fixes #​3631: Fix broken banner image link (#​3632)
  • Banner image is broken (#​3631)
  • Update exception message with mockito-inline (#​3628)
  • Clarify structure of commit messages (#​3626)
  • Fixes #​3622: MockitoExtension fails cleanup when aborted before setup (#​3623)
  • MockitoExtension fails cleanup when aborted before setup (#​3622)
  • Since mockito-inline has been removed, the exception messages with mockito-inline should be modified. (#​3621)
  • Fixes #​3171: Fall back to Throwable Location strategy on Android (#​3619)
  • Fixes #​3615 : broken links to javadoc.io (#​3616)
  • Broken links to javadoc.io (#​3615)
  • Mocks are not working on particular devices after update Android SDK from 33 to 34 (#​3171)

v5.16.1

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.16.1
  • 2025-03-15 - 3 commit(s) by Adrian Roos, Jérôme Prinet, Rafael Winterhalter
  • Remove Arrays.asList from critical stubbing path in GenericMetadataSu… (#​3610)
  • Rework of injection strategy in the context of modules (#​3608)
  • Adjust inline mocking snippet to allow task relocatability (#​3606)
  • Inline mocking configuration snippet for Gradle should allow task relocatability (#​3605)

v5.16.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.16.0
  • 2025-03-03 - 10 commit(s) by Brice Dutheil, Rafael Winterhalter, TDL, dependabot[bot]
  • Add support for including module-info in Mockito. (#​3597)
  • Bump com.gradle.develocity from 3.19 to 3.19.1 (#​3579)
  • Bump org.assertj:assertj-core from 3.27.2 to 3.27.3 (#​3577)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.1 to 7.0.2 (#​3574)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 6.25.0 to 7.0.1 (#​3571)
  • Bump org.assertj:assertj-core from 3.27.1 to 3.27.2 (#​3569)
  • Tweaks documentation on mockito agent config for maven (#​3568)
  • Adds --info to diagnose closeAndReleaseStagingRepositories issues (#​3567)
  • Refine reflection when calling management factory (#​3566)
  • Avoid warning when dynamic attach is enabled (#​3551)

v5.15.2

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.15.2

v5.14.2

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.14.2
  • 2024-10-15 - 12 commit(s) by Brice Dutheil, Rafael Winterhalter, dependabot[bot]
  • Fix #​3466 nexus publishing configuration (#​3470)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.20 to 2.0.21 (#​3468)
  • Bump bytebuddy from 1.15.3 to 1.15.4 (#​3467)
  • Missing 5.14.2 release (#​3466)
  • chore: Tests whether JVM warnings / messages on dynamic attach (#​3462)
  • Bump junit-jupiter from 5.11.1 to 5.11.2 (#​3461)
  • Renames extension modules with mockito- prefix (#​3460)
  • Avoid attach warning if Byte Buddy is configured for command-line attach. (#​3459)
  • Bump org.shipkit:shipkit-auto-version from 2.0.10 to 2.0.11 (#​3458)
  • Bump junit-jupiter from 5.11.0 to 5.11.1 (#​3455)
  • Move root project to dedicated core folder (#​3444)
  • Bump biz.aQute.bnd:biz.aQute.bnd.gradle from 6.4.0 to 7.0.0 (#​3136)

v5.14.1

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.14.1
  • 2024-09-30 - 2 commit(s) by Brice Dutheil, dependabot[bot]
  • fix: gradle mockitoAgent configuration should not be transitive (#​3454)
  • Bump bytebuddy from 1.15.2 to 1.15.3 (#​3452)
  • Allow for installing a Java agent within the Mockito jar, without exposing Byte Buddy's attach mechanism. (#​3437)

v5.14.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.14.0
  • 2024-09-27 - 9 commit(s) by Ali-Hassan, Brice Dutheil, David Saff, Rafael Winterhalter, dependabot[bot]
  • Bump org.junit.platform:junit-platform-launcher from 1.11.0 to 1.11.1 (#​3451)
  • Bump bytebuddy from 1.15.1 to 1.15.2 (#​3450)
  • Update Documentation of ArgumentCaptor.java (#​3448)
  • Split subprojects (#​3447)
  • Separate extensions from integration tests (#​3443)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.20.0 to 3.21.0 (#​3440)
  • Bump com.gradle.enterprise from 3.18 to 3.18.1 (#​3439)
  • Allow for installing a Java agent within the Mockito jar, without exposing Byte Buddy's attach mechanism. (#​3437)
  • Bump bytebuddy from 1.15.0 to 1.15.1 (#​3434)
  • Fixes #​3419: Disable mocks with an error message (#​3424)
  • Accessing a mock after clearInlineMocks could provide much more useful error message. (#​3419)

v5.13.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.13.0
  • 2024-08-27 - 43 commit(s) by Breno A, Caleb Cushing, Jinwoo, Kurt Alfred Kluever, Stefano Cordio, Thach Le, dependabot[bot]
  • Bump versions.bytebuddy from 1.14.19 to 1.15.0 (#​3429)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.10 to 2.0.20 (#​3427)
  • Bump org.junit.platform:junit-platform-launcher from 1.10.3 to 1.11.0 (#​3425)
  • Bump com.gradle.enterprise from 3.17.6 to 3.18 (#​3423)
  • Fix a typo in InjectMocks (#​3422)
  • Bump versions.bytebuddy from 1.14.18 to 1.14.19 (#​3417)
  • Bump androidx.test:runner from 1.6.1 to 1.6.2 (#​3415)
  • Bump versions.junitJupiter from 5.10.3 to 5.11.0 (#​3413)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.0 to 2.0.10 (#​3409)
  • Bump org.hamcrest:hamcrest-core from 2.2 to 3.0 (#​3408)
  • Bump com.google.googlejavaformat:google-java-format from 1.22.0 to 1.23.0 (#​3407)
  • Bump org.shipkit:shipkit-auto-version from 2.0.9 to 2.0.10 (#​3405)
  • Bump com.gradle.enterprise from 3.17.5 to 3.17.6 (#​3404)
  • Bump gradle/wrapper-validation-action from 3.4.2 to 3.5.0 (#​3401)
  • Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 (#​3398)
  • Bump versions.bytebuddy from 1.14.17 to 1.14.18 (#​3397)
  • ci: add .m2 dependencies cache (#​3396)
  • Bump org.codehaus.groovy:groovy from 3.0.21 to 3.0.22 (#​3394)
  • Bump androidx.test:runner from 1.6.0 to 1.6.1 (#​3393)
  • Bump org.junit.platform:junit-platform-launcher from 1.10.2 to 1.10.3 (#​3392)
  • Gradle lazy configuration (#​3391)
  • Bump androidx.test.ext:junit from 1.2.0 to 1.2.1 (#​3388)
  • docs: cleanup javadoc for modularity (#​3386)
  • Bump versions.junitJupiter from 5.10.2 to 5.10.3 (#​3385)
  • Bump androidx.test.ext:junit from 1.1.5 to 1.2.0 (#​3383)
  • Bump androidx.test:runner from 1.5.2 to 1.6.0 (#​3382)
  • Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.0.0 to 4.0.1 (#​3380)
  • Bump gradle/wrapper-validation-action from 3.4.1 to 3.4.2 (#​3376)
  • Bump gradle/wrapper-validation-action from 3.4.0 to 3.4.1 (#​3372)
  • Bump gradle/wrapper-validation-action from 3.3.2 to 3.4.0 (#​3365)
  • Bump org.shipkit:shipkit-auto-version from 2.0.7 to 2.0.9 (#​3364)
  • Bump com.gradle.enterprise from 3.17.4 to 3.17.5 (#​3363)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.19.0 to 3.20.0 (#​3362)
  • Bump net.ltgt.gradle:gradle-errorprone-plugin from 3.1.0 to 4.0.0 (#​3361)
  • Bump versions.bytebuddy from 1.14.16 to 1.14.17 (#​3357)
  • Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 (#​3355)
  • EditorConfig enhancement (#​3353)
  • Bump versions.bytebuddy from 1.14.15 to 1.14.16 (#​3352)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.24 to 2.0.0 (#​3351)
  • �Fixes #​3237: Fix NullPointerException in Only.verify (#​3349)
  • Bump com.gradle.enterprise from 3.17.3 to 3.17.4 (#​3348)
  • potential editorconfig enhancement (#​3347)
  • Method Only.verify throws NullPointerException (#​3237)

v5.12.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.12.0
  • 2024-05-11 - 25 commit(s) by Piotr Przybylak, Stefano Cordio, Tim van der Lippe, dependabot[bot], jonghoonpark
  • Bump com.gradle.enterprise from 3.17.2 to 3.17.3 (#​3341)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.23 to 1.9.24 (#​3339)
  • Bump versions.bytebuddy from 1.14.14 to 1.14.15 (#​3338)
  • Bump org.shipkit:shipkit-auto-version from 2.0.6 to 2.0.7 (#​3337)
  • Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.23 to 1.9.24 (#​3336)
  • Fixes #​3331 : Fix AdditionalMatchers.and() and AdditionalMatchers.or() not to swap the order of matchers (#​3335)
  • AdditionalMatchers.and() and or() swap matcher order (#​3331)
  • Bump gradle/wrapper-validation-action from 3.3.1 to 3.3.2 (#​3327)
  • Bump versions.bytebuddy from 1.14.13 to 1.14.14 (#​3324)
  • Bump org.shipkit:shipkit-auto-version from 2.0.5 to 2.0.6 (#​3322)
  • Bump gradle/wrapper-validation-action from 3.3.0 to 3.3.1 (#​3320)
  • Bump com.gradle.enterprise from 3.17 to 3.17.2 (#​3318)
  • Bump gradle/wrapper-validation-action from 2.1.2 to 3.3.0 (#​3317)
  • Update codecov-action version (#​3316)
  • Bump com.google.googlejavaformat:google-java-format from 1.21.0 to 1.22.0 (#​3312)
  • Bump com.gradle.enterprise from 3.16.2 to 3.17 (#​3311)
  • Bump versions.bytebuddy from 1.14.12 to 1.14.13 (#​3308)
  • Fix README logo (#​3305)
  • Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2 (#​3303)
  • Bump org.shipkit:shipkit-auto-version from 2.0.4 to 2.0.5 (#​3298)
  • Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.22 to 1.9.23 (#​3296)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.18.600 to 3.19.0 (#​3295)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.22 to 1.9.23 (#​3292)
  • Bump com.google.googlejavaformat:google-java-format from 1.20.0 to 1.21.0 (#​3291)
  • Fixes #​3286 : Mockito.only() points to the wanted call as unwanted if it is the first being calledIssue3286 (#​3287)
  • Mockito.only() points to the wanted call as unwanted if it is the first being called. (#​3286)
  • Bump org.codehaus.groovy:groovy from 3.0.20 to 3.0.21 (#​3284)

v5.11.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.11.0
  • 2024-03-01 - 17 commit(s) by Aouichaoui Youssef, Franz Wong, Pranoti Durugkar, Róbert Papp, dependabot[bot]
  • Fixes #​3281 : Add native method to exception message of MissingMethodI… (#​3283)
  • MissingMethodInvocationException is thrown when mocking native method in 5.x (#​3281)
  • Bump com.google.googlejavaformat:google-java-format from 1.19.2 to 1.20.0 (#​3277)
  • Bump versions.bytebuddy from 1.14.11 to 1.14.12 (#​3272)
  • Bump gradle/wrapper-validation-action from 2.1.0 to 2.1.1 (#​3268)
  • Bump org.shipkit:shipkit-auto-version from 2.0.3 to 2.0.4 (#​3267)
  • Bump gradle/wrapper-validation-action from 2.0.1 to 2.1.0 (#​3266)
  • Bump org.junit.platform:junit-platform-launcher from 1.10.1 to 1.10.2 (#​3265)
  • Bump gradle/wrapper-validation-action from 2.0.0 to 2.0.1 (#​3264)
  • Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 (#​3261)
  • Bump versions.junitJupiter from 5.10.1 to 5.10.2 (#​3260)
  • Bump gradle/wrapper-validation-action from 1.1.0 to 2.0.0 (#​3258)
  • Fixes #​3229: Resolve test generic arguments (#​3257)
  • Bump org.shipkit:shipkit-auto-version from 2.0.2 to 2.0.3 (#​3256)
  • Use kvm on ubuntu instead of macos to run Android tests (#​3252)
  • Fixes #​3240 : Renamed mockito bom artifact (#​3251)
  • Remove shipkit workaround for generateChangelog (#​3250)
  • Bump com.gradle.enterprise from 3.16.1 to 3.16.2 (#​3249)
  • Mockito bom missing artifact in maven central for java21 (#​3240)
  • @Captor test parameters don't work with primitive type arguments (#​3229)
  • Gradle 8.2: work around fix for release publishing (#​3053)

v5.10.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.10.0
  • 2024-01-24 - 8 commit(s) by Andre Brait, dependabot[bot]
  • Bump org.shipkit:shipkit-auto-version from 1.2.2 to 2.0.2 (#​3248)
  • Bump org.assertj:assertj-core from 3.25.1 to 3.25.2 (#​3247)
  • Bump org.shipkit:shipkit-changelog from 1.2.0 to 2.0.1 (#​3245)
  • Bump com.diffplug.spotless from 6.24.0 to 6.25.0 (#​3244)
  • Better typing for PluginLoader#loadPlugin(..) (#​3242)
  • Bump com.github.ben-manes.versions from 0.50.0 to 0.51.0 (#​3241)
  • Bump com.diffplug.spotless from 6.23.3 to 6.24.0 (#​3236)
  • Fixes #​3219: Add support for static mocks on DoNotMockEnforcer (#​3220)
  • Mockito#mockStatic(Class<?>) skips DoNotMockEnforcer (#​3219)

v5.9.0

What's Changed

New Contributors

Full Changelog: mockito/mockito@v5.8.0...v5.9.0

v5.8.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.8.0
  • 2023-12-01 - 15 commit(s) by Andreas Turban, Mikaël Francoeur, dependabot[bot], jfrantzius
  • #​3000: fix ArrayIndexOutOfBoundsException (#​3190)
  • Bump com.diffplug.spotless from 6.23.1 to 6.23.2 (#​3188)
  • Bump com.diffplug.spotless from 6.23.0 to 6.23.1 (#​3186)
  • Bump actions/setup-java from 3 to 4 (#​3185)
  • Apply spotless to all java projects (#​3184)
  • Bump com.diffplug.spotless from 6.22.0 to 6.23.0 (#​3182)
  • Fixes #​3179 : Add module for Java 21 tests. (#​3180)
  • Need separate module for java 21 tests (#​3179)
  • Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.20 to 1.9.21 (#​3176)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.20 to 1.9.21 (#​3175)
  • Bump versions.bytebuddy from 1.14.9 to 1.14.10 (#​3174)
  • Fixes #​3160 : Fix interference between spies when spying on records. (#​3173)
  • Bump com.github.ben-manes.versions from 0.49.0 to 0.50.0 (#​3172)
  • Bump versions.junitJupiter from 5.10.0 to 5.10.1 (#​3169)
  • Bump org.junit.platform:junit-platform-launcher from 1.10.0 to 1.10.1 (#​3168)
  • Deep Stubs Incompatible With Mocking Enum (#​3167)
  • Annotation-based spying on a generic class breaks existing final/inline Spies (#​3160)
  • ArrayIndexOutOfBoundsException with Version 5.3.1 (#​3000)
  • Deep Stubs Incompatible With Mocking Enum (#​2984)

v5.7.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.7.0
  • 2023-11-02 - 15 commit(s) by Stefan M, Tim van der Lippe, Valery Yatsynovich, Vladimir Glinskikh, ascopes, dependabot[bot]
  • Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.10 to 1.9.20 (#​3166)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.10 to 1.9.20 (#​3165)
  • Attempt to detect system property mangling prior to loading ByteBuddy. (#​3164)
  • Handle Termux in InlineDelegateByteBuddyMockMaker.java (#​3158)
  • Bump versions.errorprone from 2.22.0 to 2.23.0 (#​3153)
  • Fix license url according to spdx license spec (#​3152)
  • Remove checks for unsupported Java version from unit tests (#​3150)
  • Add CodeCov token to upload coverage report (#​3149)
  • Migrate to JaCoCo 0.8.11 (#​3147)
  • Add Java 21 to CI build matrix (#​3145)
  • Feat: add generic-inferred methods for constructing ArgumentCaptors (#​3144)
  • Bump gradle from 8.2 to 8.4 (#​3142)
  • Bump com.github.ben-manes.versions from 0.48.0 to 0.49.0 (#​3139)
  • Bump versions.bytebuddy from 1.14.8 to 1.14.9 (#​3138)
  • Bump biz.aQute.bnd.builder from 6.4.0 to 7.0.0 (#​3135)

v5.6.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.6.0
  • 2023-10-06 - 22 commit(s) by Andreas Turban, Stefan M, StevenCurran, Yevhen Lazhyntsev, dependabot[bot]
  • Use spdx identifier for license name (#​3134)
  • Fixes #​1382 Jupiter Captor annotation support [(#​3133)](h

❗ Important

✂ PR body was truncated to here.


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 was generated by Mend Renovate. View the repository job log.

@olavloite olavloite left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR contains a major version update (v4 to v5) and the PR description explicitly mentions a 'breaking change' (under the v5.23.0 release notes), which violates the rule prohibiting approval when breaking changes are indicated.

@renovate-bot renovate-bot changed the title test(deps): update mockito.version (major) test(deps): update dependency org.mockito:mockito-core to v5 Jun 25, 2026
@renovate-bot
renovate-bot force-pushed the renovate/major-mockito.version branch from 6153404 to 09ca87d Compare July 21, 2026 03:47

@olavloite olavloite left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is a major version update of 'org.mockito:mockito-core' from v4 to v5, and the PR description explicitly mentions a 'breaking change' ('The mockito-android artifact has a breaking change...'). According to the review rules, updates cannot be approved if the PR description contains terms indicating breaking changes.

@renovate-bot
renovate-bot force-pushed the renovate/major-mockito.version branch from 09ca87d to 8b0143f Compare September 3, 2026 07:31

@olavloite olavloite left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description contains the term 'breaking change' ('NOTE: Breaking change for Android' in the Mockito v5.23.0 release notes), which violates the rule prohibiting auto-merging of PRs containing such mentions.

@renovate-bot
renovate-bot force-pushed the renovate/major-mockito.version branch from 8b0143f to cfc097d Compare September 7, 2026 15:55

@olavloite olavloite left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description mentions 'Breaking change for Android' within the Mockito 5.23.0 release notes, which violates the rule prohibiting approval of PRs containing the term 'breaking change'.

@renovate-bot
renovate-bot force-pushed the renovate/major-mockito.version branch from cfc097d to 281be6c Compare September 23, 2026 17:01

@olavloite olavloite left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR was rejected because the PR description explicitly mentions a 'breaking change' in the release notes for Mockito v5.23.0 ('NOTE: Breaking change for Android').

@renovate-bot
renovate-bot force-pushed the renovate/major-mockito.version branch from 281be6c to fa95ff4 Compare September 24, 2026 15:08

@olavloite olavloite left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR updates org.mockito:mockito-core to a major version (v4 to v5), and the PR description explicitly mentions a 'breaking change' in the release notes for version 5.23.0 ('Breaking change for Android').

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.

2 participants