1. 8e7515a Have SerializableAutoValueExtension declare that it is "isolating". by emcmanus · 4 years, 3 months ago
  2. 2bbe506 Allow boxed @AutoValue properties to be set from the corresponding primitive type. by emcmanus · 4 years, 3 months ago
  3. d6e56d3 Upgrade AutoValue tests to more recent compile-testing APIs. by emcmanus · 4 years, 3 months ago
  4. 6aeb44f Generalize the logic for determining if we can make a BarBuilder out of a Bar. by emcmanus · 4 years, 3 months ago
  5. b0bf15e [AutoValue] Add serializable extension's g3doc to the opensource filegroup. by alvinlao · 4 years, 3 months ago
  6. 680d95c Update versions of Truth and Compile-testing. by Sean Sullivan · 4 years, 4 months ago
  7. fcccded Warn if an @AutoValue.Builder class contains a static builder method. by emcmanus · 4 years, 4 months ago
  8. aa7582d Fix the SerializableAutoValueExtension from crashing if an AutoValue contains multiple properties with the same type. by alvinlao · 4 years, 4 months ago
  9. f91d2fe Release the SerializableAutoValue extension. by alvinlao · 4 years, 4 months ago
  10. e4ab0e7 Fix broken link in howto.md by cpovirk · 4 years, 4 months ago
  11. 12c5e19 Use try-with-resources for Files.walk. Otherwise the Stream is not closed correctly. by emcmanus · 4 years, 5 months ago
  12. 05e983c Migrate CompileWithEclipseTest to open source. by emcmanus · 4 years, 5 months ago
  13. 36a53b9 Minor reformatting of markdown by cpovirk · 4 years, 5 months ago
  14. ecb6032 If AutoValue detects an error, don't invoke extensions or generate code. by emcmanus · 4 years, 6 months ago
  15. 4ab1b53 Add type parameters to void AutoOneOf values. by grahamrogers · 4 years, 6 months ago
  16. 8b17dd8 AutoValue best practices: mention that subclassing is now prevented. by ghm · 4 years, 7 months ago
  17. bd7bed2 Make it an error if a setter has a @Nullable parameter when the property being set is not @Nullable. We will generate code that rejects a null parameter whether or not @Nullable is present, so allowing it is just misleading users of the API. by emcmanus · 4 years, 7 months ago
  18. a69b35a Improve toString alignment in AutoValue's toString. by ghm · 4 years, 7 months ago
  19. e97d1f0 When checking builder setter parameters, use the final type. The final type is the type after type-variable substitution. Report this type in error messages, since it may not be obvious. by emcmanus · 4 years, 7 months ago
  20. 4a8736f Suggest calling out a misuse in AutoValue regarding @Nullable fields. by yunqin · 4 years, 8 months ago
  21. 801056f Simplify CastingUncheckedVisitor by passing the default value to the superclass constructor and ignoring the parameter. Also make it a constant. by dpb · 4 years, 8 months ago
  22. d038570 Fix spacing in generated toString() for @AutoOneOf. by emcmanus · 4 years, 8 months ago
  23. 6b0f772 In TemplateVars, check that getResource returns non-null. This check is redundant because if we reach this point then we've already checked that getResourceAsStream returns non-null for the same resource. But it's a little tricky to trace through the logic to prove that. by emcmanus · 4 years, 8 months ago
  24. b319597 Improve Maven instructions for AutoValue. by emcmanus · 4 years, 8 months ago
  25. 66c0599 Fix a merge conflict by ghm · 4 years, 8 months ago
  26. 0a7c049 AutoOneOfProcessor: use Arrays#toString for stringifying arrays, as AutoValue already does. by ghm · 4 years, 8 months ago
  27. b9280eb Rename the static factory methods in the Pet AutoOneOf examples to avoid being overloads of the accessor methods. by kak · 4 years, 8 months ago
  28. 37dac1e Fix 1 ErrorProneStyle finding: by clshepherd · 4 years, 9 months ago
  29. 107694b Make @Memoized have class-level retention by mattbender · 4 years, 9 months ago
  30. ab2f067 Be more explicit about which Java versions AutoValue supports. The compiler must be at least Java 8, but it can generate code for Java 7. by emcmanus · 4 years, 9 months ago
  31. 7dc5450 Document that <annotationProcessorPaths> is the preferred way to use auto-value for Maven and Gradle. by dpb · 4 years, 10 months ago
  32. 4543619 Add a way for extensions to retrieve the name of the final AutoValue_Foo class. by emcmanus · 4 years, 10 months ago
  33. db3fc6d Update dependencies: by cpovirk · 4 years, 10 months ago
  34. 2038f34 Try to explain better what happens to callers when you offer both set-at-once and gimme-a-builder methods. by kevinb · 4 years, 10 months ago
  35. 86f4563 Add an API to allow extensions to find out about builders. by emcmanus · 4 years, 10 months ago
  36. 7646889 Ensure that types are substituted correctly in property builders. by emcmanus · 4 years, 10 months ago
  37. 6dfa04e Allow @AutoValue getters to define properties that are not valid Java identifiers. by emcmanus · 4 years, 10 months ago
  38. eadfe42 Change a couple of test extensions to use the new propertyTypes() method. This doesn't change the tests, but means that people looking at these tests for example of extensions won't be led astray. by emcmanus · 5 years ago
  39. e003a3d Add a missing brace to close a {@code...} block. by emcmanus · 5 years ago
  40. 99ae134 Add a propertyTypes() method to AutoValueExtension.Context, to allow extensions to see the true type of every property. Use it in the @Memoized extension. by emcmanus · 5 years ago
  41. 49fbf55 Don't declare the AutoValue builder implementation final if there are extensions generating code. This means that extensions can extend the builder implementation to customize it. by emcmanus · 5 years ago
  42. 45c55bd Grammar correction by nitinsurana · 5 years ago
  43. 0bc8a2e Update the AutoValue release mentioned in the docs from 1.6.5 to 1.6.6. by emcmanus · 5 years ago
  44. 407e83d Add relative directories to integration tests. by glorioso · 5 years ago
  45. f89da91 Shade org.checkerframework in the auto-value jar. Fixes https://github.com/google/auto/issues/749. by emcmanus · 5 years ago
  46. 4e3366b Update live version of auto-value from 1.6.2 to 1.6.5 by glorioso · 5 years ago
  47. 395c08f Clarify the FAQ on interfaces. by jasonmbaker · 5 years ago
  48. 00d7197 Add @SuppressWarnings to a test that deliberately calls TypeMirror.equals. by bhagwani · 5 years ago
  49. 81134b5 Fix a template bug concerning @AutoOneOf arrays. Like AutoValue, AutoOneOf allows values to be primitive arrays, but the code template referenced an undefined variable in that case. The implementation of foo.getMyArray() copies the array, so the implementation of equals(Object) checks whether the Object is of the generated subclass, and if so accesses the private myArray field directly. For @AutoValue Foo, this subclass is AutoValue_Foo, and the $subclass template variable is set to that. But for @AutoOneOf Foo, there is a subclass per property, and we actually want AutoOneOf_Foo.Impl_myArray. So we need to make sure that $subclass is set to that in the #equalsThatExpression macro. by emcmanus · 5 years ago
  50. 91118b0 Document the order of properties in @AutoValue classes. This matters when a class inherits abstract methods from more than one place and uses a constructor rather than a builder. by emcmanus · 5 years ago
  51. 066f417 Rewrite AutoValue's Reformatter so it only does one pass instead of three. This should mean a lot less copying in the postprocessing phase. The new version produces identical output to the old one, except that it deletes blank lines at the start of the file. I checked this by running all of AutoValue's tests with a version of Reformatter that computed the old and new forms and compared them. by emcmanus · 5 years ago
  52. ca013a2 Include type annotations in bounds of type parameter declarations. For example, if we have `@AutoValue abstract class Foo<T extends @NullableType Object>`, then we should generate `class AutoValue_Foo<T extends @NullableType Object> extends Foo<T>`, rather than just `class AutoValue_Foo<T> extends Foo<T>` as at present. by emcmanus · 5 years ago
  53. 4259261 Handle inner classes correctly when the outer class has a type parameter. by emcmanus · 5 years ago
  54. b2eb535 Use the short form of annotations in generated code. For example, instead of @SuppressWarnings(value = {"mutable"}), write @SuppressWarnings("mutable"). by emcmanus · 5 years ago
  55. 63f2276 add details for how to write the AutoValue class when it is an inner class by alikh · 5 years ago
  56. f5d9a86 Upgrade Mockito. by dpb · 5 years ago
  57. 42433c6 Update to Truth 0.45, and address deprecations. by cpovirk · 5 years ago
  58. a0de99b Better support for ImmutableSortedSet and ImmutableSortedMap. Use .copyOfSorted when setting from a SortedSet or SortedMap. Use .naturalOrder when constructing a builder. by emcmanus · 5 years ago
  59. b1d5393 Improve the logic for setter type conversion. Setter type conversion is when for example we have a property `Optional<String> foo()` or `ImmutableList<String> bar()` and a setter like `setFoo(String x)` or `setBar(String[] x)`. The generated setter will need to do `Optional.of(x)` or `ImmutableList.copyOf(x)`. by emcmanus · 5 years ago
  60. 48d6557 Allow @AutoOneOf properties to be void. by emcmanus · 5 years ago
  61. 3854a65 Work around an ecj bug in Elements.getAllMembers(). It incorrectly returns static methods from superinterfaces, even though those aren't inherited. This causes AutoValueTest not to compile with ecj on Java 9+, because the MyMap and MyStringMap classes are wrongly shown to contain the static "of()" method that was added to Map in Java 9. AutoValue then tries to use MyMap.of() to construct a default instance of MyMap. by emcmanus · 5 years ago
  62. 5724c0d Use @FormatMethod in AutoAnnotationProcessor. This addresses an ErrorProne warning in [] by emcmanus · 5 years ago
  63. 27244ba In autoannotation.vm, avoid an incompatibility between EscapeVelocity and Apache Velocity. In Velocity, if an Integer multiplication overflows, the result is a Long with the correct value. In EscapeVelocity, the result is an Integer containing the bottom 32 bits of the multiplication. We should fix this incompatibility, but for now we can avoid it by doing the computation in Java rather than in the template. by emcmanus · 5 years ago
  64. 9f36c57 Instead of calling Subject.actual(), store the actual value in a field, and read that. by cpovirk · 5 years ago
  65. 4eeb8c0 Migrate from assertThat(foo).named("foo") to assertWithMessage("foo").that(foo). by cpovirk · 5 years ago
  66. b50f30a Migrate from is(Not)SameAs to is(Not)SameInstanceAs. by cpovirk · 5 years ago
  67. 795de1a Migrate from isNotSameAs to isNotSameInstanceAs. by cpovirk · 5 years ago
  68. 320cce8 Migrate from containsAllOf to containsAtLeast. by cpovirk · 5 years ago
  69. f3fbb3b Stop using auto-parent. by cpovirk · 5 years ago
  70. 4158a5f Migrate from assertThat(foo).named("foo") to assertWithMessage("foo").that(foo). by cpovirk · 5 years ago
  71. be5e207 Use the newer compile-testing API in AutoAnnotationCompilationTest. by emcmanus · 5 years ago
  72. 1d17321 If $foo is a Map then Velocity interprets $foo.bar the same as $foo["bar"]. Previously EscapeVelocity interpreted it the same as for other objects, by looking for a getBar() method (or boolean isBar()). by emcmanus · 5 years ago
  73. 5ff5e37 Update copyrights to say Google LLC instead of Google Inc. by emcmanus · 5 years ago
  74. 445b9ed Handle GWT serialization when some of the properties use property builders. The code was still assuming that every property has a setter, and compilation got an exception if a property had a builder instead. by emcmanus · 5 years ago
  75. 0cced0d Ensure that setUseCaches(false) is called when reading extensions. by emcmanus · 5 years ago
  76. 67e172e Output the full exception trace if ServiceLoader fails when looking for AutoValue extensions. See https://github.com/google/auto/issues/718. by emcmanus · 5 years ago
  77. f17d298 Expand the exceptions covered by the workaround for a JDK8 jar bug. by emcmanus · 5 years ago
  78. a81a9e2 Add sentence to AutoValue user guide to explain where the order of the constructor parameters comes from. by nhcohen · 5 years ago
  79. bf27cab Support @CopyAnnotations in classes generated by MemoizeExtension. by stabai · 5 years ago
  80. 282a3a7 Refactor exception-message assertions to use ThrowableSubject.hasMessageThat(). This replaces assertions of the form assertThat(e).hasMessage(...) and assertThat(e.getMessage()) with assertThat(e).hasMessageThat(). by diamondm · 5 years ago
  81. 643eda4 Remove the special hack that allowed Optional<? extends Foo> to be set from Optional<SubFoo>. If we are going to allow the setter parameter to be assignable-to, rather than only equal-to, the getter return type then we should do it for all types. Meanwhile this re-establishes consistency. by emcmanus · 5 years ago
  82. 8d6111d Further improve the logic for checking setter types. by emcmanus · 5 years ago
  83. efd48fd Improve the logic for checking setter parameter types against getter return types. by emcmanus · 5 years ago
  84. d8e2654 Fix a typo in an AutoValue error message. by emcmanus · 5 years ago
  85. 660337c Check for instance equality before attempting to check for the @Memoized hashCode optimization by ronshapiro · 5 years ago
  86. 36ccd0f Document re-abstracting concrete methods more explicitly, including the case of default methods in interfaces. by emcmanus · 5 years ago
  87. 9cf9999 Make it a compilation error for an @AutoOneOf property to be @Nullable. by emcmanus · 6 years ago
  88. 175e323 Allow AutoValue extensions to declare supported options. by Zac Sweers · 6 years ago
  89. 3ee205b @CopyAnnotations.exclude now affects type annotations. by emcmanus · 6 years ago
  90. 6515eab Update TemplateVarsTest so it doesn't interfere with JaCoCo. by emcmanus · 6 years ago
  91. b6dcc5e Adding call out to naming for builders in autovalue by cast · 6 years ago
  92. cdd39ee Update to auto-parent 7 to get the latest version of Guava by ronshapiro · 6 years ago
  93. 044ccda Fix incremental annotation processing of AutoValueProcessor, shade net.ltgt.gradle.incap by Thomas Broyer · 6 years ago
  94. 1820660 Adds the transient modifier to the cache field. This tells serialization by shahan · 6 years ago
  95. 34a6a03 When hashCode() is @Memoized, check the hash code before checking equality as an optimization by ronshapiro · 6 years ago
  96. 47114df Check for null in autooneof.vm instead of calling foo.getClass() (in the case where one of the types is of type "Class", it triggers an "Error Prone" error: http://errorprone.info/bugpattern/GetClassOnClass by antoinebouchie · 6 years ago
  97. 66a57ec Have MemoizeExtension recognise @Nullable as a type annotation. by emcmanus · 6 years ago
  98. a5387a6 Remove unnecessary parentheses from the generated equals(Object) method. by emcmanus · 6 years ago
  99. a5673d0 Make AutoValue and AutoService support Gradle incremental build. This work was done by Thomas Broyer. by Thomas Broyer · 6 years ago
  100. 73e848a Clarify the AutoValueExtension documentation to explain how subclassing works in the code generated by extensions. by emcmanus · 6 years ago