- FEATURE:
@Builder.Default
lets you configure default values for your fields when using @Builder
. See the Builder feature page for more information.
- PLATFORM: JDK9 now supported for compilation (delomboking with java9 not yet possible). Note, you'll have to do some command line wrangling. See
- BUGFIX: The
onX
feature (which lets you add annotations to generated methods) did not work if the annotation you added contained named parameters, and you are compiling with JDK8's javac. We can't fix this (it's a bug in javac), but we have provided an alternate, prettier way to do onX
on javac8+. onX documentation
- BUGFIX:
@Data
and @Value
now respect the configuration for field access when generating equals, hashCode and toString
- BUGFIX:
@Builder
now marks generated builder 'setters' as @Deprecated
if the source field is deprecated.
- CHANGE:
@ConstructorProperties
will now also be generated for private and package private constructors. This is useful for Jackson