Skip to content

Releases: mockito/mockito

v5.15.0

12 Dec 10:28
835f6be
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

5.15.0

  • 2024-12-19 - 69 commit(s) by Andreas Turban, Ashley, Brice Dutheil, Michael Kramer, Miguel Graham, Rafael Winterhalter, dependabot[bot]
  • Bump com.google.googlejavaformat:google-java-format from 1.25.0 to 1.25.1 (#3541)
  • Bump org.eclipse.platform:org.eclipse.osgi from 3.21.0 to 3.22.0 (#3539)
  • Bump biz.aQute.bnd:biz.aQute.bnd.gradle from 7.0.0 to 7.1.0 (#3538)
  • Bump org.gradle.toolchains.foojay-resolver-convention from 0.8.0 to 0.9.0 (#3537)
  • Makes license a convention plugin (#3532)
  • fixes #3519: adds a Gradle groovy dsl example (#3529)
  • Instructions on configuring mockito as agent lacks a Gradle Groovy DSL example (currently only Kotlin DSL) (#3519)
  • Bump com.google.googlejavaformat:google-java-format from 1.24.0 to 1.25.0 (#3516)
  • Bump ru.vyarus:gradle-animalsniffer-plugin from 1.7.1 to 1.7.2 (#3513)
  • Bump codecov/codecov-action from 4 to 5 (#3507)
  • Mockito issue #3490 (#3506)
  • Bump com.gradle.develocity from 3.18.1 to 3.18.2 (#3505)
  • Bump org.codehaus.groovy:groovy from 3.0.22 to 3.0.23 (#3502)
  • Declare android gradle plugins in version catalog (#3500)
  • Mockito fails with JVM internal error when mocking class clinit does not find a transitive dependency (#3499)
  • Mockito fails with JVM internal error when mocking class clinit does not find a transitive dependency (#3498)
  • Bump org.shipkit:shipkit-auto-version from 2.0.17 to 2.1.0 (#3497)
  • Bump bytebuddy from 1.15.8 to 1.15.10 (#3495)
  • Bump org.shipkit:shipkit-auto-version from 2.0.11 to 2.0.17 (#3492)
  • Bump bytebuddy from 1.15.7 to 1.15.8 (#3491)
  • Bump bytebuddy from 1.15.5 to 1.15.7 (#3486)
  • Bump org.junit.platform:junit-platform-launcher from 1.11.2 to 1.11.3 (#3485)
  • Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.0.1 to 4.1.0 (#3481)
  • Bump junit-jupiter from 5.11.2 to 5.11.3 (#3480)
  • Fixes #3469: Prevent NPEs for Disabled Mocks (#3476)
  • Make android.tools.build.gradle plugin declared in the version catalog (#3475)
  • Make spotless a convention plugin, and fix google java format issue (#3473)
  • Bump com.google.googlejavaformat:google-java-format from 1.23.0 to 1.24.0 (#3472)
  • Bump org.junit.platform:junit-platform-launcher from 1.11.1 to 1.11.2 (#3471)
  • Disabled Mock Triggers NPE when Checking isMock (#3469)
  • Use convention plugins (#3446)
  • Convert build script to kotlin (#3445)

v5.14.2

15 Oct 12:57
7834859
Compare
Choose a tag to compare

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

30 Sep 10:52
39a0c75
Compare
Choose a tag to compare

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

27 Sep 14:54
8a0e586
Compare
Choose a tag to compare

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

27 Aug 17:57
Compare
Choose a tag to compare

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

11 May 09:33
12cef84
Compare
Choose a tag to compare

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

01 Mar 08:50
ea6ff8c
Compare
Choose a tag to compare

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

24 Jan 18:54
7e1bae8
Compare
Choose a tag to compare

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

24 Jan 18:53
e4fa639
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.8.0...v5.9.0

v5.8.0

01 Dec 19:21
aecf6b5
Compare
Choose a tag to compare

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)