aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorjwilson <jwilson@squareup.com>2016-03-19 01:35:29 -0400
committerjwilson <jwilson@squareup.com>2016-03-19 01:35:29 -0400
commit9dee15bb446f7891c10ca3d4c996e647e06b42bb (patch)
tree81deeb45a7aff75a7eb20ad0b78da4078481590a /CHANGELOG.md
parentb99e692763d53b5b738c9bb85eb6c4799ead2e6d (diff)
downloadjavapoet-9dee15bb446f7891c10ca3d4c996e647e06b42bb.tar.gz
Update README for JavaPoet 1.6.0.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1697d1..d4ef24d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,23 @@
Change Log
==========
+JavaPoet 1.6.0 *(2016-03-19)*
+----------------------------
+
+ * New: Revive `CodeBlock.of()`, a handy factory method for building code blocks.
+ * New: Add `TypeSpec` factory methods that take a `ClassName`.
+ * New: `TypeName.annotated()` adds an annotation to a type.
+ * New: `TypeVariableName.withBounds()` adds bounds to a type variable.
+ * New: `TypeSpec.Builder.addInitializerBlock()` adds an instance initializer.
+ * Fix: Make `TypeSpec.Kind` enum public. This can be used to check if a `TypeSpec` is a class,
+ interface, enum, or annotation.
+ * Fix: Don’t break import resolution on annotated types.
+ * Fix: Forbid unexpected modifiers like `private` on annotation members.
+ * Fix: Deduplicate exceptions in `MethodSpec.Builder`.
+ * Fix: Treat `ErrorType` like a regular `DeclaredType` in `TypeName.get()`. This should make it
+ easier to write annotation processors.
+
+
JavaPoet 1.5.1 *(2016-01-10)*
----------------------------