fix(deps): update mockito monorepo to v5 (major)
Note: This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| org.mockito:mockito-core | 4.11.0 -> 5.21.0 |
||
| org.mockito:mockito-android | 4.11.0 -> 5.21.0 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
mockito/mockito (org.mockito:mockito-core)
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-inlineshould 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
--infoto 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
- 2025-01-02 - 2 commit(s) by Brice Dutheil, dependabot[bot]
- Fix javadoc publication (#β3561)
- Bump org.assertj:assertj-core from 3.27.0 to 3.27.1 (#β3560)
- The release job is failed again (#β3542)
v5.14.2
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
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
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
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.verifythrowsNullPointerException(#β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()andAdditionalMatchers.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)
-
@Captortest 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
- Bump com.diffplug.spotless from 6.23.2 to 6.23.3 by @βdependabot in #β3191
- Bump com.gradle.enterprise from 3.15.1 to 3.16 by @βdependabot in #β3192
- Bump org.eclipse.platform:org.eclipse.osgi from 3.18.500 to 3.18.600 by @βdependabot in #β3193
- Bump com.gradle.enterprise from 3.16 to 3.16.1 by @βdependabot in #β3200
- Bump actions/upload-artifact from 3 to 4 by @βdependabot in #β3201
- Bump com.google.googlejavaformat:google-java-format from 1.18.1 to 1.19.1 by @βdependabot in #β3206
- Bump versions.bytebuddy from 1.14.10 to 1.14.11 by @βdependabot in #β3208
- Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.21 to 1.9.22 by @βdependabot in #β3211
- Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.21 to 1.9.22 by @βdependabot in #β3210
- Bump org.codehaus.groovy:groovy from 3.0.19 to 3.0.20 by @βdependabot in #β3213
- @βsince at ArgumentCaptor.captor() by @βbjmi in #β3214
- Bump org.assertj:assertj-core from 3.24.2 to 3.25.0 by @βdependabot in #β3218
- Bump org.assertj:assertj-core from 3.25.0 to 3.25.1 by @βdependabot in #β3223
- Update Gradle to 8.5 by @βscordio in #β3225
- Bump com.google.googlejavaformat:google-java-format from 1.19.1 to 1.19.2 by @βdependabot in #β3228
- Run release job on Java 21 by @βscordio in #β3226
- Bump org.gradle.toolchains.foojay-resolver-convention from 0.7.0 to 0.8.0 by @βdependabot in #β3234
- Align Javadoc configuration to Java 21 standards by @βscordio in #β3230
New Contributors
Full Changelog: https://github.com/mockito/mockito/compare/v5.8.0...v5.9.0
v5.8.0
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
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
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
Optionalis notemptywhen usingRETURN_DEEP_STUBS(#β2865) - Support @βCaptor injection in JUnit 5 method parameters (#β1382)
v5.5.0
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
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.14.4 to 1.14.5 (#β3025)
- Edit DoAnswerStyleStubbing.isSet() to return true if there are answers (#β3020)
- Bump com.diffplug.spotless from 6.18.0 to 6.19.0 (#β3018)
- Bump com.google.auto.service:auto-service from 1.0.1 to 1.1.0 (#β3017)
- Bump versions.errorprone from 2.18.0 to 2.19.1 (#β3009)
- Fix
@Mock(serializable = true)
Configuration
π Schedule: Branch creation - "before 5am on monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» 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.
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14367.apk
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
test-Unit test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14367-Unit-test-02-23
Codacy
SpotBugs
| Category | Base | New |
|---|---|---|
| Bad practice | 43 | 43 |
| Correctness | 74 | 74 |
| Dodgy code | 260 | 260 |
| Experimental | 1 | 1 |
| Internationalization | 7 | 7 |
| Malicious code vulnerability | 3 | 3 |
| Multithreaded correctness | 34 | 34 |
| Performance | 48 | 48 |
| Security | 18 | 18 |
| Total | 488 | 488 |
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.