Skip to content

Releases: google/auto

AutoService 1.0-rc5

22 Mar 21:03
Compare
Choose a tag to compare
  • @AutoService now has a separate artifact (auto-service-annotations) from the annotation processor (still auto-service) (af1e5da)
  • Gradle's incremental compilation is now supported (thanks to @tbroyer for this work!). (a5673d0)
    • Update: this didn't actually work. It was added in 1.0-rc6

AutoValue 1.6.3

11 Dec 01:54
Compare
Choose a tag to compare
  • Make AutoValue and AutoService support Gradle incremental build. Thanks to Thomas Broyer for this work. (a5673d0)
  • When hashCode() is @Memoized, equals() will be optimized to check hash codes first before other properies (34a6a03)
  • MemoizeExtension recognises @Nullable type annotations, not just method annotations. (66a57ec)
  • Remove unnecessary parentheses from the generated equals(Object) method in @AutoValue classes. (a5387a6)
  • Clarify the AutoValueExtension documentation to explain how subclassing works in the code generated by extensions. (73e848a)
  • GwtSerialization support now works in the presence of AutoValue extensions. (9cc04ec)
  • Remove the need for the java.desktop module on Java 9+. (f878642)

Auto Factory 1.0-beta6

22 Oct 14:12
Compare
Choose a tag to compare
  • Do not prepend outer classnames to the generated @AutoFactory class name if a class name has been explicitly specified. (b79c170)
  • Java 9 support
  • Add support for type-annotations and CheckerFramework nullable types to @AutoFactory (4d6df14)

AutoValue 1.6.2

27 Jun 16:12
Compare
Choose a tag to compare
  • Add capability to annotate individual AutoValue fields. (96370f3)
  • Ensure AutoAnnotation works even if there is no @Generated available. (32a0ae3)
  • Use separate EscapeVelocity project rather than AutoValue's own copy. (b5b51db)
  • Delete AutoValue's copy of EscapeVelocity. (a36cc06)

AutoValue 1.6.1

07 Jun 00:35
Compare
Choose a tag to compare
  • Reformatted AutoValue source code using google-java-format. (41d78d2)
  • 9057ae8:
    Allow an Optional property to be set in a builder through a method with a @Nullable parameter.
    NOTE: As a side-effect of this change, a setter for a @Nullable property must have its parameter also marked @Nullable. Previously, if the @Nullable was not a TYPE_USE @Nullable, it was copied from the getter to the parameter of the generated setter implementation. For TYPE_USE @Nullable it was already necessary to mark the setter parameter @Nullable.

  • Clarified how annotation copying works when @CopyAnnotations is not present. (0808746)
  • In @AutoValue class Foo<@Bar T>, copy @Bar to the implementing subclass. (c830cf2)
  • If an @AutoOneOf class has @CopyAnnotations, copy class annotations to the generated subclasses. (521cc94)

Auto Value 1.6

26 Mar 20:53
Compare
Choose a tag to compare
  • @AutoValue, @AutoAnnotation, @AutoOneOf, and @Memoized are now in a separate artifact, auto-value-annotations. This allows users to specify the annotations in compile scope and the processor in an annotation processing scope, without leaking the processor to a release binary. To upgrade to this version of auto-value, you'll need to add this new artifact as a dependency. (0c488d7)

(note, this is equivalent to auto-value-1.6rc1)

Auto Value 1.6 - rc1

20 Mar 15:58
Compare
Choose a tag to compare
Auto Value 1.6 - rc1 Pre-release
Pre-release
  • @AutoValue, @AutoAnnotation, @AutoOneOf, and @Memoized are now in a separate artifact, auto-value-annotations. This allows users to specify the annotations in compile scope and the processor in an annotation processing scope, without leaking the processor to a release binary. To upgrade to this version of auto-value, you'll need to add this new artifact as a dependency. (0c488d7)

AutoValue release 1.5.4

08 Mar 23:01
Compare
Choose a tag to compare
  • Copy type annotations from the parameter of equals(Object) to its implementation. (1561e2c)

  • Don't include AutoValue's sources in its Maven jar. (d61a969)

  • Ensure that @AutoValue classes have correct code even if redeclarations of Object or String are in scope. (6a41d3a)

  • Add support for new @AutoOneOf. (6ee8d68)

AutoCommon release 0.10

18 Jan 15:22
Compare
Choose a tag to compare
  • Add an implementation of generatedAnnotation that uses the source version instead of classpath introspection. (0383c1c)
  • Add SimpleAnnotationMirror and SimpleTypeAnnotationValue to easily create new AnnotationMirrors in code. (6d9cc58)

AutoValue release 1.5.3

18 Dec 17:04
Compare
Choose a tag to compare
  • Use @javax.annotation.processing.Generated for Java 9. (f04406c)
  • Rework the logic for imports in AutoValue. (39b9987)
  • Change retention of @AutoValue.Builder and @AutoValue.CopyAnnotations to CLASS rather than SOURCE. (d528f7f)
  • Fix bug where java.util.Arrays was sometimes imported but not used. (ed1d3fe)