v2.6.0 changelog
@@ -50,11 +50,22 @@ License
Changelog
---------
-### 2.6.0 (being cooked)
+### 2.6.0 (2018-05-19)
+- Tons of fixes and small improvements. Thank you for reported issues and PRs!
- [Issues 2.6.0](https://github.com/immutables/immutables/milestone/68)
+- Notables features
+ + Fixed long standing issue with compile error when using inverse generation style and using attributes with not-yet-generated generic types (the issue with `<any>`)
+ + Experimental annotation injection: allows injecting annotation on fields, accessors, initializer, immutable and builder types etc. Injection directives are defined as custom annotations that are meta-annotated with `@InjectAnnotation` in new `org.immutables:annotate` module. Allow some non-trivial annotation code construction, see javadoc of `@InjectAnnotation` for details.
+ + `canBuild` method can be generated on builders which checks if all mandatory attributes are set. It's not generated by default, but once its name is specified in style naming template it will be generated on builder (`Style(canBuild="canBuild")`)
+ + `Style.throwForNullPointer` can be used to customize exception thrown on routine null checks.
+ + `Style.allowedClasspathAnnotations` whitelist for allowed annotations which automaticllay used to decorate generated classed when available via classpath lookup. Includes some of `javax.annotation.*`, _ErrorProne_, _FindBugs_ etc.
+ + `Style.weakInterning` style can be used to enable _weak_ interning when enabled via `@Value.Immutable(intern = true)`
+ + Introduced own class and runtime retained annotation `org.immutables.value.Generated` to be used for bytecode-inspecting and reflection-based tools to include/exclude generated files.
+ + `@Gson.Other JsonObject` can collect other/unknown fields in objects mapped with _Gson_ TypeAdapters
+ + Avoid using `Lists.newArrayList()` in favor of plain `new ArrayList<>()` when _Guava_ is present
### 2.5.0 (2017-05-14)
-- Number of bugfixes including Jackson and Gson fixes. Thank you for the PRs!
+- Number of bugfixes including _Jackson_ and _Gson_ fixes. Thank you for the PRs!
- Notable features
+ `@Value.Redacted` annotation with `Style.redactedMask` customization setting.
- [Issues 2.5.0](https://github.com/immutables/immutables/milestone/61)
