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

Bump lombok from 1.18.4 to 1.18.12 #25

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

Conversation

dependabot-preview[bot]
Copy link

Bumps lombok from 1.18.4 to 1.18.12.

Changelog

Sourced from lombok's changelog.

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)
  • 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.

v1.18.10 (September 10th, 2019)

  • PROMOTION: @Wither has been promoted to the main package, renamed to @With. Otherwise, no changes have been made to the annotation. The old experimental annotation will remain for a few versions as a deprecated annotation. If you had lombok.config configuration for this annotation, the configuration keys for this feature have been renamed.
  • FEATURE: You can now configure a custom logger framework using the new @CustomLog annotation in combination with the lombok.log.custom.declaration configuration key. See the log documentation for more information. [Pullrequest #2086](rzwitserloot/lombok#2086) with thanks to Adam Juraszek.
  • ENHANCEMENT: Thanks to Mark Haynes, the staticConstructor will now also be generated if a (private) constructor already exists. [Issue #2100](rzwitserloot/lombok#2100)
  • ENHANCEMENT: val is now capable of decoding the type of convoluted expressions (particularly if the right hand side involves lambdas and conditional (ternary) expressions). [Pull Request #2109](rzwitserloot/lombok#2109) with thanks to Alexander Bulgakov.
  • ENHANCEMENT: You can now configure the generated builder class name via the config system, using key lombok.builder.className. See the Builder documentation and SuperBuilder documentation
  • ENHANCEMENT: If you mix up eclipse's non-null support, such as @NonNullByDefault, with lombok's @NonNull, you get a bunch of warnings about dead code that are inappropriate. These warnings are now suppressed, thanks to a contribution from Till Brychcy! [Pull Request #2155](rzwitserloot/lombok#2155)
  • ENHANCEMENT: @NonNull can now also generate checks using jdk's Objects.requireNonNull or Guava's Preconditions.checkNotNull. [Issue #1197](rzwitserloot/lombok#1197)
  • EXPERIMENT: Lombok is working together with checkerframework to enable detection of improper builder use (such as forgetting to set a mandatory property prior to calling build()). This experiment can be turned on by adding checkerframework = true to your lombok.config file.
  • BUGFIX: Using @JsonProperty or @JsonValue on a field in combination with @Setter or @Data would sometimes throw a ClassCastException during compilation. [Issue #2156](rzwitserloot/lombok#2156)
  • BUGFIX: Delombok would turn something like List<byte[]>... in a method parameter to List<byte...>... [Issue #2140](rzwitserloot/lombok#2140)
  • BUGFIX: Javac would generate the wrong equals and hashCode if a type-use annotation was put on an array type field [Issue #2165](rzwitserloot/lombok#2165)
  • BUGFIX: Eclipse 2019-06 + JDK-12 compatibility + an @Singular builder entry would produce a cascade of error dialogs. [Issue #2169](rzwitserloot/lombok#2169)
  • BUGFIX: Javac would throw a NullPointerException if the package-info.java did not contain a package declaration. [Issue #2184](rzwitserloot/lombok#2184)
  • BUGFIX: Javac sets incorrect annotated type on constructor, getter and setter. [Issue #2189](rzwitserloot/lombok#2189)
  • IMPROBABLE BREAKING CHANGE: Stricter validation of configuration keys dealing with identifiers and types (lombok.log.fieldName, lombok.fieldNameConstants.innerTypeName, lombok.copyableAnnotations).
  • IMPROBABLE BREAKING CHANGE: The fields generated inside builders for fields with defaults (with @Builder on a class with fields marked @Default) now have $value as the name; direct manipulation of these fields is not advised because there is an associated $set variable that also needs to be taken into account. [Issue #2115](rzwitserloot/lombok#2115)

v1.18.8 (May 7th, 2019)

  • FEATURE: You can now configure @FieldNameConstants to CONSTANT_CASE the generated constants, using a lombok.config option. See the FieldNameConstants documentation. [Issue #2092](rzwitserloot/lombok#2092).
  • FEATURE: You can now suppress generation of the builder method when using @Builder; usually because you're only interested in the toBuilder method. As a convenience we won't emit warnings about missing @Builder.Default annotations when you do this. [Issue #2046](rzwitserloot/lombok#2046)
  • FEATURE: You can now change the access modifier of generated builder classes. [Issue #2083](rzwitserloot/lombok#2083).
  • FEATURE: When using @NonNull, or any other annotation that would result in a null-check, you can configure to generate an assert statement instead. [Issue #2078](rzwitserloot/lombok#2078).
  • FEATURE: Lombok now knows exactly how to treat @com.fasterxml.jackson.annotation.JsonProperty and will copy it to the right places for example when making builders. [Issue #1961](rzwitserloot/lombok#1961) [Issue #1981](rzwitserloot/lombok#1981)
  • PLATFORM: A few lombok features (most notably delombok) failed on JDK12. [Issue #2082](rzwitserloot/lombok#2082)
  • BUGFIX: var/val on methods that return an intersection type would now work in Eclipse. [Issue #1986](rzwitserloot/lombok#1986)
  • BUGFIX: Fix for java6 regression if a field has javadoc. [Issue #2066](rzwitserloot/lombok#2066)
  • BUGFIX: Delombok now delomboks java10's own var as var and not as the actual underlying type. [Issue #2049](rzwitserloot/lombok#2049)
  • BUGFIX: If you use @Builder and manually write the build() method in your builder class, javac would error out instead of deferring to your implementation. [Issue #2050](rzwitserloot/lombok#2050) [Issue #2061](rzwitserloot/lombok#2061)
  • BUGFIX: @SuperBuilder together with @Singular on non-lists would produce an erroneous emptyList call. [Issue #2104](rzwitserloot/lombok#2104).
  • IMPROBABLE BREAKING CHANGE: For fields and parameters marked non-null, if the method body starts with an assert statement to ensure the value isn't null, no code to throw an exception will be generated.
  • IMPROBABLE BREAKING CHANGE: When using ecj to compile java code with @Builder or @SuperBuilder in it, and a builder setter method was generated for a @NonNull-marked method, no explicit null check would be present. However, running javac on the exact same file would produce the null check. Now ecj also produces this null check. [Issue #2120](rzwitserloot/lombok#2120).
  • IMPROBABLE BREAKING CHANGE: We slightly changed the message of the exception lombok generates to handle @NonNull marked parameters. [Issue #2122](rzwitserloot/lombok#2122)
... (truncated)
Commits
  • 4ca9ccf pre-release version bump
  • 8c952fa [trivial] we've decided to call this one 1.18.12, not 1.20.0.
  • 8943b49 [fixes #880] get rid of an unchecked cast warning for @Getter(lazy=true)
  • 2e06cb3 #2355 fixed tests for clashes in the generics for superbuilder
  • f12b705 [issue #1197] fixed documentation of NonNull
  • 680d63e Merge pull request #2355 from janrieke/superBuilderAvoidMoreNameClashes
  • 4a34ed7 avoid more name clashes for builder type param; fixes #2297
  • a678e7e [issue #1956] make 'ant intellij' work again
  • e229377 [fixing #2351] Reflecting the fix in the changelog.
  • 3f0fec1 [issue #788] Add more nullity annotations where relevant
  • 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)

Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.4 to 1.18.12.
- [Release notes](https://github.com/rzwitserloot/lombok/releases)
- [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown)
- [Commits](projectlombok/lombok@v1.18.4...v1.18.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants