eru
eru copied to clipboard
Bump org.projectlombok:lombok from 1.16.18 to 1.18.26
Bumps org.projectlombok:lombok from 1.16.18 to 1.18.26.
Release notes
Sourced from org.projectlombok: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"), iflockVaris 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:
@Jacksonizedon a@Builderor@SuperBuilderwill 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
thisparameter. [Issue #2444](rzwitserloot/lombok#2444)- BUGFIX: Using
valin combination with values whose generics include wildcards that reference themselves would cause aStackOverflowErrorin javac. [Issue #2358](rzwitserloot/lombok#2358).- BUGFIX: Using
@SuperBuilderon 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
yieldin switch expressions, as well as delombok having a nicer style for arrow-style switch blocks, and text blocks).- PLATFORM: Support for JDK14 (including
pattern matchinstanceof expressions).- FEATURE: In
lombok.configit is possible to import other config files, even from a.zipor.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-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](rzwitserloot/lombok#2221). singular documentation.- FEATURE: Tired of being unable to use
@javax.annotation.ParametersAreNonnullByDefaultor@org.eclipse.jdt.annotation.NonNullByDefaultbecause 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@Singularmarked 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.Witherhas 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](rzwitserloot/lombok#2235)- BUGFIX: Referring to an inner class inside the generics on a class marked with
@SuperBuilderwould cause the errorwrong 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
@Builderdid 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](rzwitserloot/lombok#2327)- BUGFIX: When lombok copies javadoc from fields to relevant methods, it should generate an appropriate
@return thisline 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@returnitem for@Withmethods. The javadoc has also been updated slightly (thethisreference 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.Innerinstead 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 #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-mentionedor-nto show them anyway.
Changelog
Sourced from org.projectlombok:lombok's changelog.
v1.18.26 (Feb 3rd, 2023)
- PLATFORM: JDK19 support added. [Issue #3264](projectlombok/lombok#3264).
- BUGFIX: Using the refactor script: "Rename field" in a
@(Super)Builder-marked file in eclipse or VSCode would cause issues. [Issue #3181] (projectlombok/lombok#3181).- BUGFIX: Using
valtogether with any call to a method that explicitly resolves to a default impl in an interface didn't work in javac. [Issue #3242](projectlombok/lombok#3242).v1.18.24 (April 18th, 2022)
- PLATFORM: JDK18 support added. [Issue #3129](projectlombok/lombok#3129).
- PLATFORM: Using ecj and maven? There's now a command line option to integrate lombok into your build chain. [Issue #3143](projectlombok/lombok#3143).
- FEATURE:
@ToStringhas an annotation parameter calledonlyExplicitlyIncluded. There's now a config keylombok.toString.onlyExplicitlyIncludedto set this property as well. [Issue #2849](projectlombok/lombok#2849).- FEATURE: Turning a field named
uShapeinto a getter is tricky:getUShapeorgetuShape? The community is split on which style to use. Lombok doesgetUShape, but if you prefer thegetuShapestyle, add tolombok.config:lombok.accessors.capitalization = beanspec. [Issue #2693](projectlombok/lombok#2693) [Pull Request #2996](projectlombok/lombok#2996). Thanks@YonathanSherwin!- FEATURE: You can now use
@Accessors(makeFinal = true)to makefinalgetters, setters, and with-ers. [Issue #1456](projectlombok/lombok#1456).- BUGFIX: Various save actions and refactor scripts in eclipse work better. [Issue #2995](projectlombok/lombok#2995) [Issue #1309](projectlombok/lombok#1309) [Issue #2985](projectlombok/lombok#2985) [Issue #2509](projectlombok/lombok#2509).
- BUGFIX: Eclipse projects using the jasperreports-plugin will now compile. [Issue #1036](projectlombok/lombok#1036).
- BUGFIX: inner classes in
@UtilityClassclasses were broken in JDK9+. [Issue #3097](projectlombok/lombok#3097).- BUGFIX: Delomboking code with
@Builder.Defaultin it would generate different code vs lombok itself. [Issue #3053](projectlombok/lombok#3053).- BUGFIX: Combining
@NonNullByDefaultandlombok.addNullAnnotationswould generate two@Nullableannotations and thus generate a compiler error. [Issue #3120](projectlombok/lombok#3120). Thanks@JohnPaulTaylorII!- BUGFIX: Null analysis in eclipse was broken for incremental builds. [Issue #3133](projectlombok/lombok#3133).
- BUGFIX
VerifyErrorwould show up in the latest eclipse release when using various refactor scripts. [Issue #3134](projectlombok/lombok#3134).- BUGFIX: The various
@Logannotations can now be placed on inner enums and records. [Issue #2990](projectlombok/lombok#2990).- SECURITY: A widely reported security issue with log4j2 (CVE-2021-44228) has absolutely no effect on either lombok itself nor does usage of lombok on its own, or even the usage of lombok's
@Log4j2, cause any issues whatsoever: You have to ship your own log4j2 dependency in your app - update that to 2.17 or otherwise mitigate this issue (see the CVE page). To avoid unneccessary warnings from dependency checkers, our dep on log4j2, which is used solely for testing, isn't shipped by us, and cannot be exploited in any way, has been updated to 2.17.1. [Issue #3063](projectlombok/lombok#3063)- IMPROBABLE BREAKING CHANGE: Lombok now understands a few more annotations that imply "this field should not ever contain a null reference". Lombok will thus copy some of these new annotations e.g. to generated getters and the like. [Pull Request #2904](projectlombok/lombok#2904)
v1.18.22 (October 6th, 2021)
- PLATFORM: JDK17 support added. [Issue #2898](projectlombok/lombok#2898).
- FEATURE: Added the
@StandardExceptionfeature. [Pull Request #2702](projectlombok/lombok#2702).- IMPROBABLE BREAKING CHANGE: If the underlying compiler and
--release/--sourceoption is 10 or higher, lombok'svalis now replaced byfinal var. That means compound declarations such asval x = 10, y = 12;now fail (lombok's oldvalimplementation supported it, javac'svardoes not), but IDE support in particular is more reliable. We decided it was worth the tradeoff.- BUGFIX: Syntax highlighting in VSCode now works reliably when using lombok. [Issue #2950](projectlombok/lombok#2950).
- BUGFIX: Eclipse's organize imports feature would sometimes remove your
lombok.valimport. [Issue #2972](projectlombok/lombok#2972).v1.18.20 (April 2nd, 2021)
- PLATFORM: JDK16 support added. [Issue #2681](projectlombok/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
@NonNullto 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
@ExtensionMethoddid not work. [Issue #2741](projectlombok/lombok#2741). (by@Rawi01).- BUGFIX:
@SuperBuilderwith an existing constructor caused issues in eclipse. [Issue #2704](projectlombok/lombok#2704). (by@JanRieke).- BUGFIX: Using
@SuperBuilderwith a handwritten builder class caused issues. [Issue #2701](projectlombok/lombok#2701). (by@JanRieke).- BUGFIX: Lombok interacts properly with the new save actions in eclipse 2021-03.
- POTENTIAL BUGFIX: lombok + errorprone could cause
IllegalArgumentExceptionif using theMissingSummarybug pattern. [Issue #2730](projectlombok/lombok#2730).v1.18.18 (January 28th, 2021)
- BUGFIX: Various tools using ecj under the hood (including intellij) could cause corrupt class files to be generated. [PR #2637](projectlombok/lombok#2637), [lombok-intellij-plugin issue #969](mplushnikov/lombok-intellij-plugin#969).
- BUGFIX: Netbeans would not work with 1.18.16 anymore. [Issue #2612](projectlombok/lombok#2612).
- BUGFIX:
@ExtensionMethodsupport in ecj improved when generics are involved. [Issue #2648](projectlombok/lombok#2648), [PR #2658](projectlombok/lombok#2658) thanks to@Rawi01.- PLATFORM: using
lombok.configfiles when compiling with sbt 1.4 now works again. [Issue #2645](projectlombok/lombok#2645)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).
... (truncated)
Commits
566dfe7[build] final touches on updating deployment to new cloudflare hostdbb7ea0[build] p2 repo now updated to go to cloudflare R2756f001[build] Uploading edge repo to cloudflare R2 bucket straight from ant now pos...930cc24[versioning] pre-release version bump 1.18.268602953to be JDK6-buildable, replace SafeVarargs with SuppressWarningse02d0c6Replace JDK11 code with JDK6 compatible code to avoid warns/errs during dev o...d3a05b5Merge pull request #3330 from Rawi01/eclipse-record-testsb718fbf[fixes #3327] Inject fields after generated record fields75c9a9dMention noteworthy recent merges of PRs in the changelog5ed4d0fMerge pull request #3326 from Rawi01/utilityclass-npe- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)