Skip to content

Releases: mockito/mockito

v5.19.0

15 Aug 06:54
144751b
Compare
Choose a tag to compare

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

20 May 19:17
Compare
Choose a tag to compare

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

04 Apr 13:18
7764992
Compare
Choose a tag to compare

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

15 Mar 19:27
d000e63
Compare
Choose a tag to compare

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

03 Mar 10:11
c81be5d
Compare
Choose a tag to compare

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

02 Jan 18:16
e04dbbe
Compare
Choose a tag to compare

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.15.1

22 Dec 07:09
2c184c9
Compare
Choose a tag to compare

Changelog generated by Shipkit Changelog Gradle Plugin

5.15.1

  • 2024-12-22 - 8 commit(s) by Brice Dutheil, Rafael Winterhalter, dependabot[bot]
  • Bump org.assertj:assertj-core from 3.26.3 to 3.27.0 (#3557)
  • Bump org.junit.platform:junit-platform-launcher from 1.11.3 to 1.11.4 (#3555)
  • Bump junit-jupiter from 5.11.3 to 5.11.4 (#3554)
  • Bump bytebuddy from 1.15.10 to 1.15.11 (#3553)
  • Avoid warning when dynamic attach is enabled (#3551)
  • Bump com.google.googlejavaformat:google-java-format from 1.25.1 to 1.25.2 (#3545)
  • Bump com.gradle.develocity from 3.18.2 to 3.19 (#3544)
  • Makes shipkit / nexusPublish a convention plugin for root (#3533)
  • Mockito:5.14.2 Warning: Mockito is currently self-attaching... (#3512)

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)