Skip to content

Releases: google/auto

AutoFactory 1.0.1

21 Apr 22:36
Compare
Choose a tag to compare
  • Fixed Gradle incremental compilation. (8f17e4c)

AutoValue 1.8

06 Apr 22:13
Compare
Choose a tag to compare
  • The parameter of equals(Object) is annotated with @Nullable if any method signature mentions @Nullable. (4d01ce6)
  • If an @AutoOneOf class has a serialVersionUID this is now copied to its generated subclasses. THIS BREAKS SERIAL COMPATIBILITY for @AutoOneOf classes with explicit serialVersionUID declarations, though those were already liable to be broken by arbitrary changes to the generated AutoOneOf code. (71d8121)

AutoService 1.0

06 Apr 20:48
Compare
Choose a tag to compare
  • @AutoService classes can now reference generic services and still pass -Averify=true. (afe607c)
  • AutoServiceProcessor no longer claims the @AutoService annotation. (c27b527)

Auto Common 1.0

06 Apr 19:40
Compare
Choose a tag to compare

This has only cosmetic differences from Auto Common 0.11, but we are updating the version number to indicate stability.

AutoValue 1.7.5

22 Mar 18:35
Compare
Choose a tag to compare
  • Added @ToPrettyString for generating pretty String versions for AutoValue types. (9e9be9f)
  • AutoValue property builders can now have a single parameter which is passed to the constructor of the new builder. (f19117a)
  • AutoValue now copies annotations from type parameters of an @AutoValue class to the subclass generated by the @Memoized extension. (77de95c)
  • Avoid surprising behaviour when getters are prefixed and setters are not, and a property name begins with two capital letters. (1bfc3b5)
  • The methods returned by BuilderContext.buildMethod() and .toBuilderMethods() can be inherited. (f2cb224)
  • Fixed a bug which could lead to the same AutoValue extension being run more than once. (f40317a)
  • AutoAnnotationProcessor and AutoServiceProcessor no longer claim their annotations. (c27b527)
  • @AutoAnnotation instances are now serializable. (7eb2d47)
  • Fully qualify @Override to avoid name conflicts (85af443)
  • AutoValue error messages now have short [tags] so they can be correlated by tools. (c6e35e6)

AutoFactory 1.0-beta9

16 Mar 01:07
Compare
Choose a tag to compare
  • AutoFactory type annotations are now placed correctly even for nested types. (f26d2df)
  • @AutoFactory constructors can now declare checked exceptions. The same exceptions will be declared on the generated create method. (3141e79)
  • google-java-format is no longer referenced in pom.xml. (aa47801)

Auto Common 0.11

16 Aug 18:24
Compare
Choose a tag to compare
  • Add javadoc for SuperficialValidation methods. (5384b30)
  • Open SuperficialValidation#validateType(TypeMirror) to public visibility (6c39b13)
  • Adding String-based Step as a replacement for ProcessingStep to BasicAnnotationProcessor. Allows for fully-qualified Annotation names to be specified in a processing Step in order to remove the requirement that implementation processors depend directly on their Annotation classes. (df5641b)
  • Added MoreTypes.isConversionFromObjectUnchecked to test whether casting to a type will elicit an "unchecked" compiler warning. (13a0b24)
  • Adding helper methods for getting different types of annotation values with AnnotationValueVisitor. (6c2c1a3)
  • Suppress error noise in com.google.auto.common.BasicAnnotationProcessor (3966280)
  • Adds MoreElements#getAllMethods(), which returns all local and inherited methods (including static methods), but does not include any methods that have been overridden. (93fb9c5)
  • Suppress TypeEquals check (e1beeff)
  • Added MoreTypes.asIntersection() (c16ef66)
  • Fix bug where ProcessingStep.process(...) was called with too many elements when there had been deferred elements. (46718eb)
  • Add MoreElements.asTypeParameter() (19474fc)
  • Add an overrides() method to MoreElements that is more consistent between javac and ECJ. (b1ba2e3)
  • Document MoreTypes.equivalence(). (df5eb3a)

AutoValue 1.7.4

08 Jul 23:40
Compare
Choose a tag to compare
  • Stop the LazyInit annotation from getting shaded by Maven, so that AutoValue can find it on the classpath. (b484417)
  • Fixed handling of @Nullable Optional<T> foo() properties being set by setFoo(@Nullable T) setters. Now setFoo(null) results in Optional.empty(), not null. (d9d66ad)

AutoFactory 1.0-beta8

30 Jun 23:56
Compare
Choose a tag to compare
  • Fix a problem with references to Factory classes in other packages. (e62e0ab)
  • Better error message for failed factory write. (79c9d15)

AutoValue 1.7.3

10 Jun 21:01
Compare
Choose a tag to compare
  • Optionally copy annotations from the @AutoValue.Builder class to the generated subclass. (b22f969)
  • Drop unnecessary parentheses in AutoAnnotation equals and hashCode methods. (b9ba06a)
  • Fixed a problem when an @AutoValue class references types that are generated by other annotation processors. (2797d38)