# Mockito v5.20.0 - Product: Mockito (https://whatsnew.fyi/product/mockito) - Vendor: Mockito - Date: 2025-09-20 - Version: v5.20.0 - Original notes: https://github.com/mockito/mockito/releases/tag/v5.20.0 - Permalink: https://whatsnew.fyi/product/mockito/releases/v5.20.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add ability to mock construction of generic types - **added** — Add support for JDK21 Sequenced Collections - **fixed** — Fix issue #3709 *Changelog generated by [Shipkit Changelog Gradle Plugin](https://github.com/shipkit/shipkit-changelog)* ###### 5.20.0 - 2025-09-20 - [11 commit(s)](https://github.com/mockito/mockito/compare/v5.19.0...v5.20.0) by Adrian-Kim, Giulio Longfils, Rafael Winterhalter, dependabot[bot] - Bump org.assertj:assertj-core from 3.27.4 to 3.27.5 [(#3730)](https://github.com/mockito/mockito/pull/3730) - Introducing the Ability to Mock Construction of Generic Types (#2401) [(#3729)](https://github.com/mockito/mockito/pull/3729) - Bump com.gradle.develocity from 4.1.1 to 4.2 [(#3726)](https://github.com/mockito/mockito/pull/3726) - Bump graalvm/setup-graalvm from 1.3.6 to 1.3.7 [(#3725)](https://github.com/mockito/mockito/pull/3725) - Bump org.eclipse.platform:org.eclipse.osgi from 3.23.100 to 3.23.200 [(#3720)](https://github.com/mockito/mockito/pull/3720) - Bump graalvm/setup-graalvm from 1.3.5 to 1.3.6 [(#3719)](https://github.com/mockito/mockito/pull/3719) - Bump actions/setup-java from 4 to 5 [(#3715)](https://github.com/mockito/mockito/pull/3715) - Bump com.gradle.develocity from 4.1 to 4.1.1 [(#3713)](https://github.com/mockito/mockito/pull/3713) - Bump bytebuddy from 1.17.6 to 1.17.7 [(#3712)](https://github.com/mockito/mockito/pull/3712) - test: Use Assume.assumeThat for SequencedCollection tests [(#3711)](https://github.com/mockito/mockito/pull/3711) - Fix #3709 [(#3710)](https://github.com/mockito/mockito/pull/3710) - feat: Add support for JDK21 Sequenced Collections. [(#3708)](https://github.com/mockito/mockito/pull/3708) - Introducing the Ability to Mock Construction of Generic Types [(#2401)](https://github.com/mockito/mockito/issues/2401)