With version 5.0.0, Java 8 support was dropped and Java 11 is required for that version and beyond. If a project is still relying on Java 8 (or 9, or 10), they cannot benefit from any new fixes or features without upgrading their Java version, unless those same changes are backported to 4.x.y and released (or they want to fork and package Mockito themselves).
Given that, it'd be nice to know what the project's official policy on backporting is. Based on recent releases, it doesn't seem like backporting is common (the last release on the 4.x.y line is 4.11.0, which was published in December 2022, a month or so before 5.0.0, which was published in January 2023).
Assuming this practice is intentional but undocumented, a short note added to the README (or possibly CONTRIBUTING?) doc stating that 4.x.y is no longer maintained and no new features, fixes, or security patches will be applied to it could be valuable.
With version 5.0.0, Java 8 support was dropped and Java 11 is required for that version and beyond. If a project is still relying on Java 8 (or 9, or 10), they cannot benefit from any new fixes or features without upgrading their Java version, unless those same changes are backported to 4.x.y and released (or they want to fork and package Mockito themselves).
Given that, it'd be nice to know what the project's official policy on backporting is. Based on recent releases, it doesn't seem like backporting is common (the last release on the 4.x.y line is 4.11.0, which was published in December 2022, a month or so before 5.0.0, which was published in January 2023).
Assuming this practice is intentional but undocumented, a short note added to the README (or possibly CONTRIBUTING?) doc stating that 4.x.y is no longer maintained and no new features, fixes, or security patches will be applied to it could be valuable.