diff --git a/docs/changelog.md b/docs/changelog.md index 6a08e37f8f..7b839a1a56 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,6 +1,21 @@ Change Log ========== +## Version 1.7.0 + +_2020-10-14_ + + * New: Kotlin 1.4.10. + * New: Generated code is now compatible with the [explicit API mode][explicit-api-mode] by default. + * New: Escape soft and modifier keywords, in addition to hard keywords. + * New: Improve enum constants generation for cleaner diffs. + * New: Disallow setters on immutable properties. + * New: Ensure trailing new lines in expression bodies. + * New: Ensure trailing new lines after parameterless custom setters. + * Fix: Don't auto-convert properties with custom accessors to primary constructor properties. + * Fix: Don't allow parameterless setters with body. + * Fix: Prevent auto-wrapping spaces inside escaped keywords. + ## Version 1.6.0 _2020-05-28_ @@ -396,3 +411,4 @@ _2017-05-16_ [kotlinpoet-metadata]: ../kotlinpoet_metadata [kotlinpoet-metadata-specs]: ../kotlinpoet_metadata_specs + [explicit-api-mode]: https://kotlinlang.org/docs/reference/whatsnew14.html#explicit-api-mode-for-library-authors diff --git a/docs/index.md b/docs/index.md index a8b54cf502..469dae2ef5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1362,14 +1362,14 @@ Download [the latest .jar][dl] or depend via Maven: com.squareup kotlinpoet - 1.6.0 + 1.7.0 ``` or Gradle: ```groovy -implementation("com.squareup:kotlinpoet:1.6.0") +implementation("com.squareup:kotlinpoet:1.7.0") ``` Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. diff --git a/gradle.properties b/gradle.properties index 3123ab4de9..75e81891da 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ org.gradle.jvmargs='-Dfile.encoding=UTF-8' GROUP=com.squareup -VERSION_NAME=1.7.0-SNAPSHOT +VERSION_NAME=1.7.0 POM_URL=https://github.com/square/kotlinpoet POM_SCM_URL=https://github.com/square/kotlinpoet