Auto v1.7.rc1 Release Notes
Release Date: 2019-10-01 // over 4 years ago-
- โ Add an API to allow AutoValue extensions to find out about builders. (86f4563)
- ๐ The generated AutoValue builder class is no longer final if there are extensions generating code. This means that extensions can subclass
Builder
to modify or extend its functionality. (49fbf55) - ๐ Property builders now work correctly when their actual return type is different from the corresponding property type because of type variable substitution. (7646889)
- ๐ Allow
@AutoValue
getters to define properties that are not valid Java identifiers, for exampleget1st()
. (6dfa04e) - โ Add a
propertyTypes()
method toAutoValueExtension.Context
, to allow extensions to see the true type of every property. In preference toproperties().get(p).getReturnType()
, extensions should usepropertyTypes().get(p)
. (99ae134)