- 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. - FEATURE: If using
@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 - FEATURE:
@Jacksonized
on a@Builder
or@SuperBuilder
will configure Jackson to use this builder when deserializing. Pull Request #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
- 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, Issue #1543 - BUGFIX: Delombok prints the first
this
parameter. Issue #2444 - BUGFIX: Using
val
in combination with values whose generics include wildcards that reference themselves would cause aStackOverflowError
in javac. Issue #2358. - BUGFIX: Using
@SuperBuilder
on a class that has some fairly convoluted generics usage would fail with 'Wrong number of type arguments'. Issue #2359 Pull Request #2362 - BUGFIX: Various lombok annotations on classes nested inside enums or interfaces would cause errors in eclipse. Issue #2369
- BUGFIX: Trying to add
@ExtensionMethod
s with exactly 2 arguments would fail in eclipse. Issue #1441 Pull Request #2376 thanks to @Rawi01. - BUGFIX: Javac sets incorrect annotated type on with methods. Issue #2463