-
Notifications
You must be signed in to change notification settings - Fork 130
chore(deps): update dependency org.mockito:mockito-bom to v5 #4055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore(deps): update dependency org.mockito:mockito-bom to v5 #4055
Conversation
|
/gcbrun |
Summary of ChangesHello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request performs a significant upgrade of the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates Mockito from version 4.11.0 to 5.21.0. This is a major version upgrade that introduces significant breaking changes. Most importantly, Mockito 5 requires Java 11 or higher. As this project appears to support Java 8, merging this change will likely break the build for Java 8 environments. Therefore, I recommend not merging this update until the project officially drops support for Java 8.
| <groupId>org.mockito</groupId> | ||
| <artifactId>mockito-bom</artifactId> | ||
| <version>4.11.0</version> | ||
| <version>5.21.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrading to Mockito 5 introduces a requirement for Java 11 or higher. This project appears to maintain compatibility with Java 8 (for example, samples/pom.xml targets Java 1.8), so this major version upgrade will likely break the build for Java 8 users and CI environments. It is recommended to stay on Mockito 4.x until Java 8 support is officially dropped.
This PR contains the following updates:
4.11.0→5.21.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
mockito/mockito (org.mockito:mockito-bom)
v5.21.0Changelog generated by Shipkit Changelog Gradle Plugin
5.21.0
v5.20.0Changelog generated by Shipkit Changelog Gradle Plugin
5.20.0
v5.19.0Changelog generated by Shipkit Changelog Gradle Plugin
5.19.0
(#3681)
v5.18.0Changelog generated by Shipkit Changelog Gradle Plugin
5.18.0
v5.17.0Changelog generated by Shipkit Changelog Gradle Plugin
5.17.0
mockito-inlineshould be modified. (#3621)v5.16.1Changelog generated by Shipkit Changelog Gradle Plugin
5.16.1
v5.16.0Changelog generated by Shipkit Changelog Gradle Plugin
5.16.0
--infoto diagnose closeAndReleaseStagingRepositories issues (#3567)v5.15.2Changelog generated by Shipkit Changelog Gradle Plugin
5.15.2
v5.14.2Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.14.2
mockito-prefix (#3460)v5.14.1Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.14.1
v5.14.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.14.0
v5.13.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.13.0
Only.verifythrowsNullPointerException(#3237)v5.12.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.12.0
AdditionalMatchers.and()andAdditionalMatchers.or()not to swap the order of matchers (#3335)v5.11.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.11.0
@Captortest parameters don't work with primitive type arguments (#3229)v5.10.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.10.0
v5.9.0Compare Source
What's Changed
New Contributors
Full Changelog: mockito/mockito@v5.8.0...v5.9.0
v5.8.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.8.0
v5.7.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.7.0
0.8.11(#3147)v5.6.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.6.0
Optionalis notemptywhen usingRETURN_DEEP_STUBS(#2865)v5.5.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.5.0
v5.4.0Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
5.4.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.