Skip to content

Update dependency nl.jqno.equalsverifier:equalsverifier to v4 #135

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 5, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nl.jqno.equalsverifier:equalsverifier (source) 3.19.4 -> 4.0 age adoption passing confidence

Release Notes

jqno/equalsverifier (nl.jqno.equalsverifier:equalsverifier)

v4.0

If you're upgrading from EqualsVerifier 3.x, please see the migration guide.

Added
  • Mockito integration: if Mockito is on the classpath or modulepath, EqualsVerifier will use it to instantiate values. This reduces the need for providing prefab values. If Mockito is not available, or if EqualsVerifier.set(Mode.skipMockito()) is used, EqualsVerifier will fall back to its previous behaviour.
  • forExamples(T red, T blue) as an alternative to forClass() or forPackage(). Give it two instances of a type, and it will test that type using the values already present in the fields of the instances. This way, you don't have to use withPrefabValues anymore.
  • Prefab value for java.util.HexFormat. (Issue 981)
Changed
  • EqualsVerifier now requires Java 17.
  • EqualsVerifier is now properly modularized according to the JPMS.
  • When using EqualsVerifier as a module, it's no longer needed to requires net.bytebuddy (this is now a proper transitive requirement).
  • Improved error message when ClassCastException is encountered.
Removed
  • Built-in prefab values for Google Guava, Joda-Time and Javafx.
  • #withResetCaches(), which was deprecated since version 3.16.2.
  • Warning.ZERO_FIELDS, which was deprecated since version 3.17.
  • forPackage(String packageName, boolean scanRecursively), which was deprecated since version 3.19.
  • forPackage(String packageName, Class<?> mustExtend), which was deprecated since version 3.19.
  • forPackage(...).except(Class<?>... types), which was deprecated since version 3.19.
  • forPackage(...).except(Predicate<Class<?>>... exclusionPredicate), which was deprecated since version 3.19.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-equalsverifier branch from 2581ccc to bd94f91 Compare May 16, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants