AutoValue 1.10.2
eamonnmcmanus
released this
28 Jun 17:32
·
283 commits
to main
since this release
- The constructor parameter names in the class generated by
@Memoized
no longer add a$
. This may require changes to code that was depending on the old names, for example using Error Prone's/* param= */
comments. (4f8dbea) - An AutoValue or AutoBuilder property is now allowed to be null if its type is a type variable with a
@Nullable
bound, like<T extends @Nullable Object>
. (1b58cff) - Better error message when AutoValue, AutoBuilder, etc give up because of missing types. We now say what the first missing type was. (2e734f6)
- AutoBuilder copy-constructors no longer require an exact match between a property and the corresponding constructor parameter. (1440a25)
- A property of type
List<T>
can be built by a property builder whosebuild()
method returnsList<? extends T>
. (8ba4531) - Made it easier to support
@CopyAnnotations
in AutoValue extensions, via new methodsclassAnnotationsToCopy
andmethodAnnotationsToCopy
. (a3f218d) - Generated builders now include a
@Nullable
type annotation on appropriate builder fields if one is available. (91d5f32) - Updated
@AutoAnnotation
documentation to say that it isn't needed in Kotlin. (600b4b6) - Maven dependencies have been updated, fixing #1532.