Skip to content
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

Update dependency nl.jqno.equalsverifier:equalsverifier to v3 #104

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 28, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v3.16.1

Fixed
  • IllegalArgumentException argument type mismatch when a field's type has a wildcard generic and the underlying type has a type bound (such as T extends Serializable). (Issue 940)
  • AbstractMethodError when a the equals method in a field's class calls an abstract method. (Issue 938)

v3.16

Added
Changed
  • When Warning.SURROGATE_OR_BUSINESS_KEY is suppressed, it is now possible to use #withOnlyTheseFields, and the fields may include both @Id fields and regular fields. (Issue 934)
  • Improved the error message for so called 'versioned entities' (where entities with 0 or null ids are always unequal), so it's more discoverable what to do in that situation. (Issue 932)

v3.15.8

Fixed

v3.15.7

Fixed
  • StackOverflowError when a class has a field of a sealed type whose only permitted subtype has a reference to the original class. (Issue 920)

v3.15.6

Fixed
  • Protected JPA entity getters were ignored. (Issue 909)

v3.15.5

Changed
  • Check that getters are used for all generated JPA id fields. (Issue 892)

v3.15.4

Added
  • A check for Scala with its -Xcheckinit flag switched on. This flag generates a field that should have been marked as synthetic, but isn't, so EqualsVerifier has to check for this field explicitly.

v3.15.3

Changed
  • Improves error message when packages are not "open" to EqualsVerifier. (Issue 868)

v3.15.2

Fixed
  • For JPA entities with a hashCode that doesn't use all fields, and with Warning.STRICT_HASHCODE suppressed, an error was thrown. (Issue 853)

v3.15.1

Fixed
  • For mapped fields in JPA entities, an error was thrown if the getter wasn't used in equals and hashCode even if the field wasn't used at all. (Issue 816)
Changed
  • Improves error messages when calling #withPrefabValues incorrectly.

v3.15

Fixed
  • For mapped fields in JPA entities, an error was thrown if the getter wasn't used in equals and hashCode even if the field wasn't used at all. (Issue 816)
Changed
  • Improves error messages when calling #withPrefabValues incorrectly.

v3.14.3

Fixed
  • Adds prefab values for Throwable, Exception and RuntimeException. (Issue 831)

v3.14.2

Fixed
  • Adds prefab values for DoubleAdder, DoubleAccumulator, LongAdder and LongAccumulator. (Issue 817)

v3.14.1

Fixed
  • Fixes incorrect error message when a sealed type has multiple permitted subtypes. (Issue 786)

v3.14

Fixed
  • Adds prefab values for Throwable, Exception and RuntimeException. (Issue 831)

v3.13.2

Added
  • Verifies hashCode consistency when String.equalsIgnoreCase is used. (Issue 748)
  • Improves error messages for detected NullPointerExceptions: if a field causes one, EqualsVerifier will indicate whether it's the field on the 'this' object or the one on the parameter object.

v3.13.1

Fixed
  • Warning.SURROGATE_KEY was ignored when @Id annotation is in entity's superclass. (Issue 763)

v3.13

Added
  • Verifies hashCode consistency when String.equalsIgnoreCase is used. (Issue 748)
  • Improves error messages for detected NullPointerExceptions: if a field causes one, EqualsVerifier will indicate whether it's the field on the 'this' object or the one on the parameter object.

v3.12.4

Changed
  • Automates release procedure using JReleaser and GitHub Actions.
Fixed
  • Added prefab values for java.io.PrintStream. (Issue 753)

v3.12.3

Fixed
  • Getters for lazy fields in entities could not be found in a superclass. (Issue 744)

v3.12.2

Added
  • Warning.SURROGATE_OR_BUSINESS_KEY for JPA entities that insist on using all fields in equals() and hashCode(), whether they are @Id or not.
Changed
  • Removed duplicated website urls and diagnostic output when using forPackage() or forClasses() and multiple classes have issues.

v3.12.1

Changed
  • Improved error message output for objects that throw exceptions in their toString() methods. (Issue 716)
Fixed
  • Fix ClassFormatError when attempting to create a dynamic subclass for a class that has no package. (Issue 638)
  • Fix LinkageError when running Quarkus dev mode and testing an abstract class. (Issue 550)

v3.12

Changed
  • Automates release procedure using JReleaser and GitHub Actions.
Fixed
  • Added prefab values for java.io.PrintStream. (Issue 753)

v3.11.1

Added
  • Verifies Map.Entry's extended hashCode contract. (Issue 603; thanks scordio!)

v3.11

Added
  • Verifies Map.Entry's extended hashCode contract. (Issue 603; thanks scordio!)

v3.10.1

Changed

v3.10

Changed

v3.9.1

Fixed
  • Support null checks in record constructors with Warning.NULL_FIELDS. (Issue 610)
  • Restores javadoc and sources jar files on Maven Central. (Issue 598)
Changed
  • Made submodule dependencies in published pom.xml optional, so the Maven Enforcer Plugin won't complain. (Issue 587)

v3.9

Fixed
  • Support null checks in record constructors with Warning.NULL_FIELDS. (Issue 610)
  • Restores javadoc and sources jar files on Maven Central. (Issue 598)
Changed
  • Made submodule dependencies in published pom.xml optional, so the Maven Enforcer Plugin won't complain. (Issue 587)

v3.8.3

Added
  • Support for Jakarta persistence annotations. (Issue 576; thanks Ahli!)
Fixed
  • Exception when testing sealed classes that redefine equals. (Issue 564)

v3.8.2

Fixed
  • Exception when testing sealed classes that redefine equals. (Issue 564)
  • References to the EqualsVerifier wesbite are now switched to https. (Issue 559; thanks dfa1!)

v3.8.1

Fixed

v3.8

Added
  • Support for Jakarta persistence annotations. (Issue 576; thanks Ahli!)
Fixed
  • Exception when testing sealed classes that redefine equals. (Issue 564)

v3.7.2

Fixed
  • #forPackage() no longer fails in presence of anonymous or local inner classes. (Issue 517; thanks kilink!)

v3.7.1

Fixed
  • Added prefab values for java.util.concurrent.Semaphore. (Issue 476)

v3.7

Fixed
  • #forPackage() no longer fails in presence of anonymous or local inner classes. (Issue 517; thanks kilink!)

v3.6.1

Fixed
  • Support for recursion into sub-packages using #forPackage() when combined with #simple(). (Issue 437; thanks Kobee1203!)

v3.6

Fixed
  • Support for recursion into sub-packages using #forPackage() when combined with #simple(). (Issue 437; thanks Kobee1203!)

v3.5.5

Changed
  • Improves performace by reusing Objenesis instance. (Issue 400; thanks selckin!)
Fixed
  • Added prefab values for java.awt.Image. (Issue 399)

v3.5.4

Fixed
  • Added prefab values for java.nio.charset.Charset. (Issue 391; thanks sullis!)

v3.5.3

Fixed
  • Added prefab values for java.util.DoubleSummaryStatistics, java.util.IntSummaryStatistics and java.util.LongSummaryStatistics. (Issue 385)

v3.5.2

Fixed
  • Added prefab values for java.time.Clock. (Issue 384; thanks sullis!)

v3.5.1

Changed
  • Website is migrated from gh-pages branch to docs folder to make it more accessible.
  • JDK-specific unit tests, such as the RecordsTest which targets JDK16+, have now been migrated to src/test/javaXX (where XX is the version number of the JDK the test targets) so there is no longer a need to compile classes at run-time inside the test.
  • Upgraded unit tests to JUnit 5.
  • Replaced Google Fava Format with Prettier-Java, which makes the code look less jagged and messy.
  • CI is migrated from CircleCI to GitHub Actions.
Fixed
  • Added prefab values for java.text.NumberFormat and java.text.DecimalFormat. (Issue 379)

v3.5

Changed
  • Improves performace by reusing Objenesis instance. (Issue 400; thanks selckin!)
Fixed
  • Added prefab values for java.awt.Image. (Issue 399)

v3.4.3

Changed
  • Added more helpful error message explaining why EqualsVerifier can't verify subclasses of java.util.ArrayList. (Issue 341)
  • Changes order of processing fields (non-statics first, statics later) so static fields don't obscure issues that are really in non-static fields. (Issue 159)
Fixed
  • Added prefab values for java.net.URL. (Issue 340)
  • Fixed support for records with static fields in JDK 14. (Issue 346; thanks Edgar!)
  • ByteBuddy experimental support (needed for Java 16 support) can now be accessed via -Dnet.bytebuddy.experimental=true again instead of -Dnl.jqno.equalsverifier.internal.lib.bytebuddy.experimental=true. (Issue 339; thanks Stefano!)

v3.4.2

Changed
Fixed
  • Added prefab values for java.net.InetSocketAddress. (Issue 336)

v3.4.1

Fixed
  • Warning.STRICT_INHERITANCE doesn't take away the requirement to call #usingGetClass() when superclass has fields. (Issue 316)

v3.4

Changed
  • Added more helpful error message explaining why EqualsVerifier can't verify subclasses of java.util.ArrayList. (Issue 341)
  • Changes order of processing fields (non-statics first, statics later) so static fields don't obscure issues that are really in non-static fields. (Issue 159)
Fixed
  • Added prefab values for java.net.URL. (Issue 340)
  • Fixed support for records with static fields in JDK 14. (Issue 346; thanks Edgar!)
  • ByteBuddy experimental support (needed for Java 16 support) can now be accessed via -Dnet.bytebuddy.experimental=true again instead of -Dnl.jqno.equalsverifier.internal.lib.bytebuddy.experimental=true. (Issue 339; thanks Stefano!)

v3.3

Added
  • Overload for #except() when using #forPackage() that takes a predicate instead of a set list of elements. (Issue 307; thanks Tom!)
  • #forClasses() overload that takes an Iterable<Class<?>>. (Issue 271)

v3.2

Added
  • Verifies hashCode consistency when String.equalsIgnoreCase is used. (Issue 748)
  • Improves error messages for detected NullPointerExceptions: if a field causes one, EqualsVerifier will indicate whether it's the field on the 'this' object or the one on the parameter object.

v3.1.13

Fixed
  • Added prefab values for java.util.OptionalDouble, java.util.OptionalInt, java.util.OptionalLong, java.util.EventObject, java.awt.Font, javax.swing.tree.DefaultMutableTreeNode and java.beans.PropertyChangeSupport. (Issue 286)

v3.1.12

Fixed
  • Added prefab values for java.util.Currency. (Issue 268; thanks sullis!)

v3.1.11

Changed
  • Error message now shows fully qualified class name. (Issue 261; thanks sullis!)
Fixed
  • Updated Byte-Buddy to support Java 14 EA.

v3.1.10

Fixed
  • java.lang.reflect.Method and other reflection types cause illegal reflective access warnings on Java 9+: added prefab values. (Issue 248)

v3.1.9

Changed
  • Fixed spelling of Apache License, Version 2.0. (Issue 241; thanks Vincent!)
Fixed
  • Updated to Byte-Buddy to support Java 13 EA. (Issue 239; thanks William!)

v3.1.8

Fixed
  • Testing a class with Guava TypeToken causes AbstractMethodError. (Issue 238)

v3.1.7

Changed

v3.1.6

Fixed
  • Testing a class with StringBuilder causes StringIndexOutOfBoundsException. (Issue 234)

v3.1.5

Fixed
  • Verifying interfaces directly causes NullPointerException. (Issue 232)
  • Improved error messages regarding JPA's @EmbeddedId annotation. (Issue 231)

v3.1.4

Added
  • Support for JPA's @EmbeddedId annotation: it is now handled in the same way as @Id. (Issue 228)

v3.1.3

Fixed
  • McAfee falsely flags EqualsVerifierBugException as a Exploit-ByteVerify virus. (Issue 229; thanks Matt!)

v3.1.2

Fixed
  • Classes or fields with an annotation that contains a primitive array cause ClassCastException. (Issue 227)

v3.1.1

Fixed
  • Added prefab values for java.util.OptionalDouble, java.util.OptionalInt, java.util.OptionalLong, java.util.EventObject, java.awt.Font, javax.swing.tree.DefaultMutableTreeNode and java.beans.PropertyChangeSupport. (Issue 286)

v3.1

Fixed
  • IllegalArgumentException argument type mismatch when a field's type has a wildcard generic and the underlying type has a type bound (such as T extends Serializable). (Issue 940)
  • AbstractMethodError when a the equals method in a field's class calls an abstract method. (Issue 938)

v3.0.3

Fixed
  • An incorrect module-info was shaded into the jar file. (Issue 222)

v3.0.2

Fixed
  • java.time fields cause illegal reflective access warning on Java 9+: added prefab values. Issue 217)

v3.0.1

Fixed
  • java.net.URI fields cause illegal reflective access warning on Java 9+: added prefab values. (Issue 214)
  • Java 11 support is no longer experimental because internal ASM dependency is updated to version 7.0.
  • Updated internal ASM dependency to version 7.0, so Java 11 support is no longer experimental.

v3.0

Fixed
  • An incorrect module-info was shaded into the jar file. (Issue 222)

v2.5.2

Fixed
  • Inet4Address, Inet6Address, java.sql.Date, java.sql.Time and java.sql.Timestamp cause illegal reflective access warnings on Java 9+: added prefab values.

v2.5.1

Fixed
  • AssertionError when class under test has stateless fields: you can now use #withIgnoredFields(). (Issue 203)

v2.5

Fixed
  • Inet4Address, Inet6Address, java.sql.Date, java.sql.Time and java.sql.Timestamp cause illegal reflective access warnings on Java 9+: added prefab values.

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 Mend Renovate. View repository job log here.

@0crat
Copy link
Collaborator

0crat commented Jun 28, 2023

@renovate/z[bot] this pull request is too small, just 2 lines changed (less than 10), there will be no formal code review, see §53 and §28; in the future, try to make sure your pull requests are not too small; @llorllale/z please review this and merge or reject

@yegor256
Copy link
Contributor

@rultor please, try to merge, since 8 checks have passed

@rultor
Copy link
Contributor

rultor commented Jun 28, 2023

@rultor please, try to merge, since 8 checks have passed

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Contributor

rultor commented Jun 28, 2023

@rultor please, try to merge, since 8 checks have passed

@renovate[bot] @yegor256 Oops, I failed. You can see the full log here (spent 2min)

-rw-rw-r--  1 rultor rultor    8 Jun 28 06:37 pid
-rw-rw-r--  1 rultor rultor 1192 Jun 28 06:37 pubring.gpg
drwxrwxr-x  5 rultor rultor 4096 Jun 28 06:37 repo
-rwxrwxr-x  1 rultor rultor 6480 Jun 28 06:37 run.sh
-rw-rw-r--  1 rultor rultor  793 Jun 28 06:37 script.sh
-rw-rw-r--  1 rultor rultor 2570 Jun 28 06:37 secring.gpg
-rw-rw-r--  1 rultor rultor  431 Jun 28 06:37 settings.xml
-rw-rw-r--  1 rultor rultor 7344 Jun 28 06:37 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-jKiv:/main [email protected]:zold-io/java-api.git --env=pull_id=104 [email protected]:zold-io/java-api.git --env=fork_branch=renovate/nl.jqno.equalsverifier-equalsverifier-3.x --env=head_branch=master '--env=pull_title=Update dependency nl.jqno.equalsverifier:equalsverifier to v3' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''[email protected]:zold-io/java-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=104'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''[email protected]:zold-io/java-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/nl.jqno.equalsverifier-equalsverifier-3.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency nl.jqno.equalsverifier:equalsverifier to v3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo gem install --no-rdoc --no-ri pdd'\'' '\'';'\'' '\''sudo gem install --no-rdoc --no-ri xcop'\'' '\'';'\'' '\''mvn clean install -Pqulice --errors --settings ../settings.xml'\'' '\'';'\'' '\''mvn clean site -Psite --errors --settings ../settings.xml'\'' '\'';'\'' '\''mvn clean'\'' '\'';'\'' '\''pdd --source=$(pwd) --verbose --file=/dev/null'\'' '\'';'\'' )' --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-jKiv/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=zold-io_java-api_104 yegor256/rultor-image:1.9.1 /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.npm /root/.profile /root/texmf /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./pubring.gpg ./repo ./run.sh ./script.sh ./secring.gpg ./settings.xml ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su --login r --command /home/r/script.sh
+ set -e
+ set -o pipefail
+ '[' -e /home/r/.profile ']'
+ source /home/r/.profile
++ '[' /bin/bash ']'
++ '[' -f /home/r/.bashrc ']'
++ . /home/r/.bashrc
+++ '[' -z '' ']'
+++ return
++ mesg n
++ true
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export [email protected]:zold-io/java-api.git
+ [email protected]:zold-io/java-api.git
+ export pull_id=104
+ pull_id=104
+ export [email protected]:zold-io/java-api.git
+ [email protected]:zold-io/java-api.git
+ export fork_branch=renovate/nl.jqno.equalsverifier-equalsverifier-3.x
+ fork_branch=renovate/nl.jqno.equalsverifier-equalsverifier-3.x
+ export head_branch=master
+ head_branch=master
+ export 'pull_title=Update dependency nl.jqno.equalsverifier:equalsverifier to v3'
+ pull_title='Update dependency nl.jqno.equalsverifier:equalsverifier to v3'
+ export author=yegor256
+ author=yegor256
+ sudo -i gem install --no-rdoc --no-ri pdd
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-rdoc
Did you mean?  no-force
container 5511da732bdcc4fa53c5e5c3cd9a7c259fcdc1df7fb134a97900750a995a6294 is dead
Wed 28 Jun 2023 06:38:42 AM CEST

@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from e2dff4f to 2bef86e Compare July 9, 2023 05:11
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from 2bef86e to 6797f56 Compare August 3, 2023 05:51
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from 6797f56 to 2598c08 Compare September 24, 2023 05:48
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from 2598c08 to a87e866 Compare November 2, 2023 05:38
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from a87e866 to 6ac0dd4 Compare November 30, 2023 05:14
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from 6ac0dd4 to 97984e5 Compare December 23, 2023 02:21
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from 97984e5 to c15fd5f Compare January 9, 2024 23:40
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch 2 times, most recently from 3318cf0 to 5d4550f Compare March 1, 2024 17:45
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from 5d4550f to 8ccfe27 Compare March 24, 2024 02:41
@renovate renovate bot force-pushed the renovate/nl.jqno.equalsverifier-equalsverifier-3.x branch from 8ccfe27 to a60891e Compare April 5, 2024 17:57
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.

None yet

3 participants