Update dependency nl.jqno.equalsverifier:equalsverifier to v4
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| nl.jqno.equalsverifier:equalsverifier (source) | dependencies | major | 3.19.4 -> 4.0 |
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 toforClass()orforPackage(). 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 usewithPrefabValuesanymore.- 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 - 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.