Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Bump lombok from 1.18.8 to 1.18.20 #14

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 2, 2021

⚠️ Dependabot Preview has been deactivated ⚠️

This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to dependabot commands nor will it be automatically closed if a new version is found.

If you close this pull request, Dependabot will re-create it the next time it checks for updates and everything will work as expected.


Bumps lombok from 1.18.8 to 1.18.20.

Release notes

Sourced from lombok's releases.

v1.18.16

  • BUGFIX: Version 1.18.14 could not be installed in Eclipse, it would break Eclipse.
  • BREAKING CHANGE: mapstruct users should now add a dependency to lombok-mapstruct-binding. This solves compiling modules with lombok (and mapstruct).
  • IMPROBABLE BREAKING CHANGE: The generated hashcode has changed for classes that include both primitive fields and reference fields.
  • FEATURE: Similar to @Builder, you can now configure a @SuperBuilder's 'setter' prefixes via @SuperBuilder(setterPrefix = "set") for example. We still discourage doing this. [Pull Request #2357](rzwitserloot/lombok#2357).
  • FEATURE: If using @Synchronized("lockVar"), if lockVar is referring to a static field, the code lombok generates no longer causes a warning about accessing a static entity incorrectly. [Issue #678](rzwitserloot/lombok#678)
  • FEATURE: @Jacksonized on a @Builder or @SuperBuilder will configure Jackson to use this builder when deserializing. [Pull Request #2387](rzwitserloot/lombok#2387) thanks to @JanRieke. @Jacksonized documentation.
  • FEATURE: The checkerframework support has been updated; the relevant annotations were renamed in checkerframework's APIs, lombok now generates the annotations according to their current API names.
  • PLATFORM: Added support for compiling projects with OpenJ9 [Pull Request #2437](rzwitserloot/lombok#2437)
  • PLATFORM: Improved support for recent JVM/javac versions (14 and 15) and new language features.
  • PERFORMANCE: Several performance improvements during parsing/compilation, both using javac and Eclipse. Thanks @Rawi01!
  • PERFORMANCE: The generated equals method will first compare primitives, then primitive wrappers and then reference fields. Manual re-ordering is possible using @Include(rank=n). [Pull Request #2485](rzwitserloot/lombok#2485), [Issue #1543](rzwitserloot/lombok#1543)
  • BUGFIX: Delombok prints the first this parameter. [Issue #2444](rzwitserloot/lombok#2444)
  • BUGFIX: Using val in combination with values whose generics include wildcards that reference themselves would cause a StackOverflowError in javac. [Issue #2358](rzwitserloot/lombok#2358).
  • BUGFIX: Using @SuperBuilder on a class that has some fairly convoluted generics usage would fail with 'Wrong number of type arguments'. [Issue #2359](rzwitserloot/lombok#2359) [Pull Request #2362](rzwitserloot/lombok#2362)
  • BUGFIX: Various lombok annotations on classes nested inside enums or interfaces would cause errors in eclipse. [Issue #2369](rzwitserloot/lombok#2369)
  • BUGFIX: Trying to add @ExtensionMethods with exactly 2 arguments would fail in eclipse. [Issue #1441](rzwitserloot/lombok#1441) [Pull Request #2376](rzwitserloot/lombok#2376) thanks to @Rawi01.
  • BUGFIX: Javac sets incorrect annotated type on with methods. [Issue #2463](rzwitserloot/lombok#2463)

v1.18.14

  • Don't use this version. It is broken. Changes are listed under 1.18.16

v1.18.12

  • PLATFORM: Support for JDK13 (including yield in switch expressions, as well as delombok having a nicer style for arrow-style switch blocks, and text blocks).
  • PLATFORM: Support for JDK14 (including pattern match instanceof expressions).
  • FEATURE: In lombok.config it is possible to import other config files, even from a .zip or .jar.
  • FEATURE: You can now configure a builder's 'setter' prefixes via @Builder(setterPrefix = "set") for example. We discourage doing this, but if some library you use requires them, have at it. [Pull Request #2174](rzwitserloot/lombok#2174), [Issue #1805](rzwitserloot/lombok#1805).
  • FEATURE: If you use @Builder's @Singular, a plural form is also generated, which has the effect of adding all elements in the passed collection. If you pass a null reference, this would result in a message-less NullPointerException. Now, it results in that exception but with a useful message attached (uses the same config as @NonNull), or alternatively via a parameter on @Singular, you can choose to ignore such a call (add nothing, return immediately); this can be useful when deserializing (e.g. Jackson JSON) and JPA/Hibernate code. [Issue #2221](rzwitserloot/lombok#2221). singular documentation.
  • FEATURE: Tired of being unable to use @javax.annotation.ParametersAreNonnullByDefault or @org.eclipse.jdt.annotation.NonNullByDefault because then the equals method that lombok generates isn't valid? Fret no more; lombok can now add nullity annotations where relevant. Set the flavour of nullity annotation you prefer in your lombok.config. Applies to the return value of toString, withX, chainable setX, static constructors, build, builder, etcetera, and the parameter of equals, canEqual, and the plural form of @Singular marked fields for builder classes. [Issue #788](rzwitserloot/lombok#788)
  • BUGFIX: If using the sonarlint plugin in eclipse for projects bound to sonarcloud, you now no longer get internal errors on sonarlint processing. [Issue #2351](rzwitserloot/lombok#2351)
  • BUGFIX: lombok.experimental.Wither has been deprecated (it has been renamed to lombok.With). However, the intent is that lombok still handles the old annotation in case you haven't updated your lombok dep yet. However, only a star import on lombok.experimental.* worked; an explicit one would cause lombok to not generate any with method. [Issue #2235](rzwitserloot/lombok#2235)
  • BUGFIX: Referring to an inner class inside the generics on a class marked with @SuperBuilder would cause the error wrong number of type arguments; required 3 [Issue #2262](rzwitserloot/lombok#2262); fixed by github user @Lekanich - thank you!
  • BUGFIX: Some of the code generated by @Builder did not include this. prefixes when accessing fields. While semantically it didn't matter, if you use the 'add this prefix for field accesses' save action in eclipse, the save action would break. [Issue #2327](rzwitserloot/lombok#2327)
  • BUGFIX: When lombok copies javadoc from fields to relevant methods, it should generate an appropriate @return this line if lombok copies the javadoc to a generated setter that is chainable (returns itself). It didn't do that when generating the 'setters' in a @Builder. Lombok also didn't generate an appropriate @return item for @With methods. The javadoc has also been updated slightly (the this reference in the javadoc is now rendered in a code tag).[Issue #2323](rzwitserloot/lombok#2323)
  • IMPROBABLE BREAKING CHANGE: Lombok now generates qualified types (so, Outer.Inner instead of just Inner) in most type signatures that it generates; this should avoid exotic scenarios where the types lombok puts in signatures end up referring to unintended other types, which can occur if your class implements an interface that itself defines a type with the same name as one defined in your source file. I told you it was exotic. Thanks to Hunter Anderson for doing some preliminary work on this change. [Issue #2268](rzwitserloot/lombok#2268)
  • IMPROBABLE BREAKING CHANGE: Running java -jar lombok.jar config -v <files> no longer shows which files do not mention the specified keys. Use --non-mentioned or -n to show them anyway.
Changelog

Sourced from lombok's changelog.

v1.18.20 (April 2nd, 2021)

  • PLATFORM: JDK16 support added. [Issue #2681](rzwitserloot/lombok#2681).
  • PLATFORM: All lombok features updated to act in a sane fashion with JDK16's record feature. In particular, you can annotate record components with @NonNull to have lombok add null checks to your compact constructor (which will be created if need be).
  • BUGFIX: Trying to use a lambda expression as parameter to an @ExtensionMethod did not work. [Issue #2741](rzwitserloot/lombok#2741). (by @Rawi01).
  • BUGFIX: @SuperBuilder with an existing constructor caused issues in eclipse. [Issue #2704](rzwitserloot/lombok#2704). (by @JanRieke).
  • BUGFIX: Using @SuperBuilder with a handwritten builder class caused issues. [Issue #2701](rzwitserloot/lombok#2701). (by @JanRieke).
  • BUGFIX: Lombok interacts properly with the new save actions in eclipse 2021-03.
  • POTENTIAL BUGFIX: lombok + errorprone could cause IllegalArgumentException if using the MissingSummary bug pattern. [Issue #2730](rzwitserloot/lombok#2730).

v1.18.18 (January 28th, 2021)

v1.18.16 (October 15th, 2020)

  • BUGFIX: Version 1.18.14 could not be installed in Eclipse, it would break Eclipse.
  • BREAKING CHANGE: mapstruct users should now add a dependency to lombok-mapstruct-binding. This solves compiling modules with lombok (and mapstruct).
  • IMPROBABLE BREAKING CHANGE: The generated hashcode has changed for classes that include both primitive fields and reference fields.
  • FEATURE: Similar to @Builder, you can now configure a @SuperBuilder's 'setter' prefixes via @SuperBuilder(setterPrefix = "set") for example. We still discourage doing this. [Pull Request #2357](rzwitserloot/lombok#2357).
  • FEATURE: If using @Synchronized("lockVar"), if lockVar is referring to a static field, the code lombok generates no longer causes a warning about accessing a static entity incorrectly. [Issue #678](rzwitserloot/lombok#678)
  • FEATURE: @Jacksonized on a @Builder or @SuperBuilder will configure Jackson to use this builder when deserializing. [Pull Request #2387](rzwitserloot/lombok#2387) thanks to @JanRieke. @Jacksonized documentation.
  • FEATURE: The checkerframework support has been updated; the relevant annotations were renamed in checkerframework's APIs, lombok now generates the annotations according to their current API names.
  • FEATURE: Add option to cache hashCode via @EqualsAndHashCode(cacheStrategy = EqualsAndHashCode.CacheStrategy.LAZY). [Issue #784](rzwitserloot/lombok#784) [Pull Request #2513](rzwitserloot/lombok#2513) thanks to @andrebrait.
  • PLATFORM: Added support for compiling projects with OpenJ9 [Pull Request #2437](rzwitserloot/lombok#2437)
  • PLATFORM: Improved support for recent JVM/javac versions (14 and 15) and new language features.
  • PERFORMANCE: Several performance improvements during parsing/compilation, both using javac and Eclipse. Thanks @Rawi01!
  • PERFORMANCE: The generated equals method will first compare primitives, then primitive wrappers and then reference fields. Manual re-ordering is possible using @Include(rank=n). [Pull Request #2485](rzwitserloot/lombok#2485), [Issue #1543](rzwitserloot/lombok#1543)
  • BUGFIX: Delombok prints the first this parameter. [Issue #2444](rzwitserloot/lombok#2444)
  • BUGFIX: Using val in combination with values whose generics include wildcards that reference themselves would cause a StackOverflowError in javac. [Issue #2358](rzwitserloot/lombok#2358).
  • BUGFIX: Using @SuperBuilder on a class that has some fairly convoluted generics usage would fail with 'Wrong number of type arguments'. [Issue #2359](rzwitserloot/lombok#2359) [Pull Request #2362](rzwitserloot/lombok#2362)
  • BUGFIX: Various lombok annotations on classes nested inside enums or interfaces would cause errors in eclipse. [Issue #2369](rzwitserloot/lombok#2369)
  • BUGFIX: Trying to add @ExtensionMethods with exactly 2 arguments would fail in eclipse. [Issue #1441](rzwitserloot/lombok#1441) [Pull Request #2376](rzwitserloot/lombok#2376) thanks to @Rawi01.
  • BUGFIX: Javac sets incorrect annotated type on with methods. [Issue #2463](rzwitserloot/lombok#2463)

v1.18.14 (October 8th, 2020)

  • Don't use this version. It is broken. Changes are listed under 1.18.16

v1.18.12 (February 1st, 2020)

  • PLATFORM: Support for JDK13 (including yield in switch expressions, as well as delombok having a nicer style for arrow-style switch blocks, and text blocks).
  • PLATFORM: Support for JDK14 (including pattern match instanceof expressions).
  • FEATURE: In lombok.config it is possible to import other config files, even from a .zip or .jar.
  • FEATURE: You can now configure a builder's 'setter' prefixes via @Builder(setterPrefix = "set") for example. We discourage doing this, but if some library you use requires them, have at it. [Pull Request #2174](rzwitserloot/lombok#2174), [Issue #1805](rzwitserloot/lombok#1805).
  • FEATURE: If you use @Builder's @Singular, a plural form is also generated, which has the effect of adding all elements in the passed collection. If you pass a null reference, this would result in a message-less NullPointerException. Now, it results in that exception but with a useful message attached (uses the same config as @NonNull), or alternatively via a parameter on @Singular, you can choose to ignore such a call (add nothing, return immediately); this can be useful when deserializing (e.g. Jackson JSON) and JPA/Hibernate code. [Issue #2221](rzwitserloot/lombok#2221). singular documentation.
  • FEATURE: Tired of being unable to use @javax.annotation.ParametersAreNonnullByDefault or @org.eclipse.jdt.annotation.NonNullByDefault because then the equals method that lombok generates isn't valid? Fret no more; lombok can now add nullity annotations where relevant. Set the flavour of nullity annotation you prefer in your lombok.config. Applies to the return value of toString, withX, chainable setX, static constructors, build, builder, etcetera, and the parameter of equals, canEqual, and the plural form of @Singular marked fields for builder classes. [Issue #788](rzwitserloot/lombok#788)
  • BUGFIX: If using the sonarlint plugin in eclipse for projects bound to sonarcloud, you now no longer get internal errors on sonarlint processing. [Issue #2351](rzwitserloot/lombok#2351)
  • BUGFIX: lombok.experimental.Wither has been deprecated (it has been renamed to lombok.With). However, the intent is that lombok still handles the old annotation in case you haven't updated your lombok dep yet. However, only a star import on lombok.experimental.* worked; an explicit one would cause lombok to not generate any with method. [Issue #2235](rzwitserloot/lombok#2235)
  • BUGFIX: Referring to an inner class inside the generics on a class marked with @SuperBuilder would cause the error wrong number of type arguments; required 3 [Issue #2262](rzwitserloot/lombok#2262); fixed by github user @Lekanich - thank you!
  • BUGFIX: Some of the code generated by @Builder did not include this. prefixes when accessing fields. While semantically it didn't matter, if you use the 'add this prefix for field accesses' save action in eclipse, the save action would break. [Issue #2327](rzwitserloot/lombok#2327)

... (truncated)

Commits
  • dda76a7 [versioning] pre-release version bump
  • 0fb3a68 [build] fix the website maker's all-versions tool
  • ff8af61 Fixes #2803 Manual merge, hide generated code from some Eclipse refactorings
  • 72d9bfc [docker] upgrade gradle (no jdk16 support yet)
  • baabbd2 [docker] update maven
  • a9adc23 [docker] upgrade ant
  • 4637b9d [record] Print compact constructor after class name
  • 462aedc [fixes #2787] Handle right hand side of assignment first
  • 9b3e847 Merge pull request #2793 from Rawi01/license
  • dc2b3c8 Add licenses of embedded dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 2, 2021
@merge-mamba
Copy link

merge-mamba bot commented May 4, 2021

Potential Conflict Warning

This pull request has changes that overlap with branches below. You might want to check in with the other
branch authors before you merge to avoid a conflict. 🐍

dependabot/maven/org.jetbrains-annotations-20.1.0 (@dependabot-preview[bot])

dependabot/maven/org.apache.maven.plugins-maven-resources-plugin-3.2.0 (@dependabot-preview[bot])

dependabot/maven/org.apache.maven.plugins-maven-jar-plugin-3.2.0 (@dependabot-preview[bot])

dependabot/maven/org.apache.maven.plugins-maven-shade-plugin-3.2.4 (@dependabot-preview[bot])

dependabot/maven/com.google.code.gson-gson-2.8.7 (@dependabot[bot])

dependabot/maven/com.google.guava-guava-23.0 (@dependabot[bot])

dependabot/maven/com.google.code.gson-gson-2.8.6 (@dependabot-preview[bot])

dependabot/maven/org.jetbrains-annotations-21.0.0 (@dependabot[bot])

Something wrong? Got a suggestion? Email me or leave feedback here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants