Update dependency org.projectlombok:lombok to v1.18.24 #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.18.4
->1.18.24
Release Notes
projectlombok/lombok
v1.18.24
v1.18.22
v1.18.20
v1.18.18
v1.18.16
@Builder
, you can now configure a@SuperBuilder
's 'setter' prefixes via@SuperBuilder(setterPrefix = "set")
for example. We still discourage doing this. Pull Request #2357.@Synchronized("lockVar")
, iflockVar
is referring to a static field, the code lombok generates no longer causes a warning about accessing a static entity incorrectly. Issue #678@Jacksonized
on a@Builder
or@SuperBuilder
will configure Jackson to use this builder when deserializing. Pull Request #2387 thanks to @JanRieke. @Jacksonized documentation.@Include(rank=n)
. Pull Request #2485, Issue #1543this
parameter. Issue #2444val
in combination with values whose generics include wildcards that reference themselves would cause aStackOverflowError
in javac. Issue #2358.@SuperBuilder
on a class that has some fairly convoluted generics usage would fail with 'Wrong number of type arguments'. Issue #2359 Pull Request #2362@ExtensionMethod
s with exactly 2 arguments would fail in eclipse. Issue #1441 Pull Request #2376 thanks to @Rawi01.v1.18.14
v1.18.12
yield
in switch expressions, as well as delombok having a nicer style for arrow-style switch blocks, and text blocks).pattern match
instanceof expressions).lombok.config
it is possible to import other config files, even from a.zip
or.jar
.@Builder(setterPrefix = "set")
for example. We discourage doing this, but if some library you use requires them, have at it. Pull Request #2174, Issue #1805.@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-lessNullPointerException
. 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. singular documentation.@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 yourlombok.config
. Applies to the return value oftoString
,withX
, chainablesetX
, static constructors,build
,builder
, etcetera, and the parameter ofequals
,canEqual
, and the plural form of@Singular
marked fields for builder classes. Issue #788lombok.experimental.Wither
has been deprecated (it has been renamed tolombok.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 onlombok.experimental.*
worked; an explicit one would cause lombok to not generate any with method. Issue #2235@SuperBuilder
would cause the errorwrong number of type arguments; required 3
Issue #2262; fixed by github user@Lekanich
- thank you!@Builder
did not includethis.
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@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 (thethis
reference in the javadoc is now rendered in a code tag).Issue #2323Outer.Inner
instead of justInner
) 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 #2268java -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.v1.18.10
v1.18.8
v1.18.6
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 has been generated by Mend Renovate. View repository job log here.