Skip to content

AutoValue 1.10

Compare
Choose a tag to compare
@eamonnmcmanus eamonnmcmanus released this 06 Oct 21:23
  • AutoBuilder is now stable and supported. (2e44a53)
    • AutoBuilder now allows you to omit a Kotlin default parameter when building a Kotlin class. (d2f91bf)
    • An @AutoBuilder class can now have @AutoValue.CopyAnnotations so annotations are copied from the class to its generated subclass. (3a15c88)
    • The generated AutoBuilder class now has a "copy constructor" if values for the builder properties can be obtained from the built type. (b3b53a3)
    • AutoBuilder can now be used to build annotation implementations directly. (196c810)
  • Fixed an issue when Serializable and Memoized extensions are used together. (e01968d)
  • @AutoAnnotation now has CLASS rather than SOURCE retention, making for better operation with Gradle incremental compilation. (34c3be5)
  • @AutoAnnotation methods no longer need to be static. This makes it easier to use AutoAnnotation with Kotlin. (cf55dc6)
  • AutoValue and AutoBuilder builders now use bitmasks to track unset primitive properties, which will typically lead to smaller builder objects and faster build times. (b5d3989)