aboutsummaryrefslogtreecommitdiff
path: root/value/CHANGES.md
diff options
context:
space:
mode:
Diffstat (limited to 'value/CHANGES.md')
-rw-r--r--value/CHANGES.md42
1 files changed, 35 insertions, 7 deletions
diff --git a/value/CHANGES.md b/value/CHANGES.md
index 61d3af8f..35e6a785 100644
--- a/value/CHANGES.md
+++ b/value/CHANGES.md
@@ -1,4 +1,4 @@
-# Auto-Value Changes
+# AutoValue Changes
## 1.1 → 1.2
@@ -9,13 +9,13 @@
[AutoValueExtension] class.
* Properties of primitive array type (e.g. `byte[]`) are no longer cloned
- when read. If your @AutoValue class includes an array property, by default
+ when read. If your `@AutoValue` class includes an array property, by default
it will get a compiler warning, which can be suppressed with
`@SuppressWarnings("mutable")`.
- * An AutoValue.Builder type can now define both the setter and builder
+ * An `@AutoValue.Builder` type can now define both the setter and builder
methods like so:
-
+
```
...
abstract void setStrings(ImmutableList<String>);
@@ -34,7 +34,7 @@
### Bugs fixed
- * Explicit check for nested @AutoValue classes being private, or not being
+ * Explicit check for nested `@AutoValue` classes being private, or not being
static. Otherwise the compiler errors could be hard to understand,
especially in IDEs.
@@ -46,8 +46,8 @@
that parameter. For example `StringIterator implements Iterator<String>`,
where the type of `next()` is String, not `T`.
- * In AutoValueProcessor, fixed an exception that happened if the same abstract
- method was inherited from more than one parent (Github Issue #267).
+ * In `AutoValueProcessor`, fixed an exception that happened if the same
+ abstract method was inherited from more than one parent (Github Issue #267).
* AutoValue now works correctly in an environment where
`@javax.annotation.Generated` does not exist.
@@ -55,5 +55,33 @@
* Properties marked `@Nullable` now get `@Nullable` on the corresponding
constructor parameters in the generated class.
+## 1.0 → 1.1
+
+### Functional changes
+
+ * Adds builders to AutoValue. Builders are nested classes annotated with
+ `@AutoValue.Builder`.
+
+ * Annotates constructor parameters with `@Nullable` if the corresponding
+ property methods are `@Nullable`.
+
+ * Changes Maven shading so org.apache.commons is shaded.
+
+ * Copies a `@GwtCompatible` annotation from the `@AutoValue` class to its
+ implementation subclass.
+
+### Bugs fixed
+
+ * Works around a bug in the Eclipse compiler that meant that annotations
+ would be incorrectly copied from `@AutoValue` methods to their
+ implementations.
+
+## 1.0 (Initial Release)
+
+ * Allows automatic generation of value type implementations
+
+ See [the AutoValue User's Guide](userguide/index.md)
+
+
[AutoValueExtension]: src/main/java/com/google/auto/value/extension/AutoValueExtension.java