Skip to content

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Jan 9, 2026

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-bom 4.11.05.21.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-bom)

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)

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

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

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

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

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

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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)
  • Bump com.gradle.enterprise from 3.15 to 3.15.1 (#​3132)
  • Bump com.google.googlejavaformat:google-java-format from 1.18.0 to 1.18.1 (#​3131)
  • Make MockUtil.getMockMaker() public Mockito API (#​3129)
  • Make MockUtil.getMockMaker() public or public Mockito API (#​3128)
  • Bump com.google.googlejavaformat:google-java-format from 1.17.0 to 1.18.0 (#​3126)
  • Bump com.diffplug.spotless from 6.21.0 to 6.22.0 (#​3125)
  • Bump versions.errorprone from 2.21.1 to 2.22.0 (#​3122)
  • Bump versions.bytebuddy from 1.14.7 to 1.14.8 (#​3117)
  • Bump com.gradle.enterprise from 3.14.1 to 3.15 (#​3115)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.18.400 to 3.18.500 (#​3113)
  • Bump com.github.ben-manes.versions from 0.47.0 to 0.48.0 (#​3110)
  • Bump actions/checkout from 3 to 4 (#​3108)
  • Bump com.diffplug.spotless from 6.20.0 to 6.21.0 (#​3106)
  • Bump versions.bytebuddy from 1.14.6 to 1.14.7 (#​3105)
  • Update Javadoc for ArgumentCaptor (#​3103)
  • Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.0 to 1.9.10 (#​3102)
  • Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.0 to 1.9.10 (#​3101)
  • Bump org.codehaus.groovy:groovy from 3.0.18 to 3.0.19 (#​3100)
  • Resolve more Gradle Tasks lazily (#​3099)
  • Added JavaFlightRecorder options for Tests (#​3098)
  • Default mock of Optional.isEmpty() returns true for RETURN_DEEP_STUBS (#​3097)
  • Default mock of Optional is not empty when using RETURN_DEEP_STUBS (#​2865)
  • Support @​Captor injection in JUnit 5 method parameters (#​1382)

v5.5.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.5.0
  • 2023-08-22 - 25 commit(s) by Andreas Turban, Chris Egerton, Róbert Papp, Thach Le, dependabot[bot]
  • Bump org.gradle.toolchains.foojay-resolver-convention from 0.6.0 to 0.7.0 (#​3096)
  • Excessive locking in TypeCachingBytecodeGenerator#BOOTSTRAP_LOCK (#​3095)
  • Bump versions.bytebuddy from 1.14.5 to 1.14.6 (#​3094)
  • Fixes 3087 : Add note on backporting to README (#​3090)
  • Backporting policy (#​3087)
  • Bump versions.errorprone from 2.21.0 to 2.21.1 (#​3083)
  • Fixes #​3077 : Report unused stubbing exceptions when test filter is no-op (#​3078)
  • Unused stubbings are not reported when filters are used (#​3077)
  • Bump versions.errorprone from 2.20.0 to 2.21.0 (#​3076)
  • Bump com.gradle.enterprise from 3.14 to 3.14.1 (#​3074)
  • Bump org.opentest4j:opentest4j from 1.2.0 to 1.3.0 (#​3072)
  • Bump versions.junitJupiter from 5.9.3 to 5.10.0 (#​3071)
  • Bump org.junit.platform:junit-platform-launcher from 1.9.3 to 1.10.0 (#​3070)
  • Bump gradle/wrapper-validation-action from 1.0.6 to 1.1.0 (#​3069)
  • Gradle 8.3 compatibility: buildDir -> layout.buildDirectory (#​3068)
  • Bump com.gradle.enterprise from 3.13.4 to 3.14 (#​3067)
  • Bump com.diffplug.spotless from 6.19.0 to 6.20.0 (#​3066)
  • Toolchain for Test task (#​3064)
  • Gradle build script improvements (#​3062)
  • Fixes #​3046 (#​3060)
  • Fix Gradle 8.2 deprecation of Conventions in nexus plugin. (#​3056)
  • Bump kotlinVersion from 1.8.22 to 1.9.0 (#​3055)
  • Bump ru.vyarus.animalsniffer from 1.7.0 to 1.7.1 (#​3054)
  • Gradle 8.2: work around fix for release publishing (#​3053)
  • Rewire Jacoco for Gradle 8/9 (#​3052)
  • Gradle 7.6 to 8.2 (conventions to extensions migration, mostly) (#​3051)
  • Bump org.codehaus.groovy:groovy from 3.0.17 to 3.0.18 (#​3049)
  • Mockito#reset Condescending Documentation (#​3046)
  • Excessive locking in TypeCachingBytecodeGenerator#BOOTSTRAP_LOCK (#​3035)

v5.4.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.4.0
  • 2023-06-18 - 22 commit(s) by Alexander von Trostorff, Andriy Redko, Benoit Maggi, Chris Povirk, DerFrZocker, Nicolas Ot, Tim van der Lippe, dependabot[bot], ellaella12
  • Bump versions.errorprone from 2.19.1 to 2.20.0 (#​3041)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.18.300 to 3.18.400 (#​3038)
  • Bump com.google.auto.service:auto-service from 1.1.0 to 1.1.1 (#​3036)
  • Bump com.github.ben-manes.versions from 0.46.0 to 0.47.0 (#​3034)
  • Bump kotlinVersion from 1.8.21 to 1.8.22 (#​3033)
  • Documentation about MockMakers slightly outdated in some places. Fixes #​3031 (#​3032)
  • Documentation about MockMakers slightly outdated in some places (#​3031)
  • Bump versions.bytebuddy from 1.

Configuration

📅 Schedule: 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.

@renovate-bot renovate-bot requested review from a team as code owners January 9, 2026 20:22
@renovate-bot renovate-bot requested a review from shollyman January 9, 2026 20:22
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: bigquery Issues related to the googleapis/java-bigquery API. labels Jan 9, 2026
@dpebot
Copy link

dpebot commented Jan 9, 2026

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 9, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a significant upgrade of the org.mockito:mockito-bom dependency from version 4.11.0 to 5.21.0. This major version bump introduces numerous enhancements, including advanced mocking features, better error diagnostics, improved compatibility with modern Java versions and other ecosystems like Android and Scala, and various build system refinements. The update aims to leverage the latest capabilities and stability offered by Mockito 5, ensuring the project benefits from ongoing development and bug fixes in the testing framework.

Highlights

  • Major Dependency Upgrade: Updates the org.mockito:mockito-bom dependency from version 4.11.0 to 5.21.0, bringing a wide range of new features, bug fixes, and performance improvements across multiple minor and patch releases within the Mockito 5 series.
  • Enhanced Mocking Capabilities: Introduces the ability to mock construction of generic types, automatically detect classes to mock in mockStatic and mockConstruction, and adds support for JDK21 Sequenced Collections.
  • Improved Error Reporting and Debugging: Adds output of matchers to potential mismatches in verification failures, provides more useful error messages when accessing mocks after clearInlineMocks, and suggests checking other threads for UnfinishedStubbingException.
  • Android and Scala Compatibility: Includes fixes for Android-specific issues, such as falling back to Throwable Location strategy, and makes vararg checks Scala friendly for mockito-scala.
  • Build and Infrastructure Improvements: Incorporates support for module-info in Mockito, various Gradle updates for compatibility and performance, and improvements for reproducible builds.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates Mockito from version 4.11.0 to 5.21.0. This is a major version upgrade that introduces significant breaking changes. Most importantly, Mockito 5 requires Java 11 or higher. As this project appears to support Java 8, merging this change will likely break the build for Java 8 environments. Therefore, I recommend not merging this update until the project officially drops support for Java 8.

<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>4.11.0</version>
<version>5.21.0</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

Upgrading to Mockito 5 introduces a requirement for Java 11 or higher. This project appears to maintain compatibility with Java 8 (for example, samples/pom.xml targets Java 1.8), so this major version upgrade will likely break the build for Java 8 users and CI environments. It is recommended to stay on Mockito 4.x until Java 8 support is officially dropped.

@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/java-bigquery API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants