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 example get1st(). (6dfa04e)
    • โž• Add a propertyTypes() method to AutoValueExtension.Context, to allow extensions to see the true type of every property. In preference to properties().get(p).getReturnType(), extensions should use propertyTypes().get(p). (99ae134)