Skip to content

Commit

Permalink
Prepare for release 1.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Egorand committed May 29, 2023
1 parent 2c3dbb8 commit a9917e7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 21 additions & 1 deletion docs/changelog.md
Expand Up @@ -3,7 +3,23 @@ Change Log

## Unreleased

* Function return types now default to `Unit` unless explicitly set.
## Version 1.14.0

_2023-05-29_

Thanks to [@Omico][Omico], [@drawers][drawers], [@RBusarow][RBusarow] for contributing to this release.

* New: Kotlin 1.8.21.
* New: KSP 1.8.21-1.0.11.
* New: Enable default methods in Java bytecode (#1561).
* New: Group Kotlin and Renovate updates together in Renovate (#1562).
* New: Extract trait interface for annotatable constructs and their builders (#1564).
* New: Extract trait interface for documentable constructs and their builders (#1571).
* New: Document the usage of `STAR` (#1572).
* New: Add builder for `FunSpec` which accepts a `MemberName` (#1574).
* Fix: Omit public modifier on override function or constructor parameters (#1550).
* Fix: Correct handling of members in various types (#1558).
* Fix: Function return types now default to `Unit` unless explicitly set (#1559).

Previously the default was `null` which behaved like `Unit` for block bodies. When an expression body was produced,
however, no return type would be emitted. This meant that the return type was implicit based on the contents of
Expand Down Expand Up @@ -46,6 +62,8 @@ Change Log
Additionally, as part of this change, `FunSpec.returnType` has changed to be non-nullable. This is a source- and
binary-compatible change, although if you were performing null-checks then new warnings may appear after upgrade.

* Fix: Append nested class names to alias during name lookup (#1568).
* Fix: Allow PropertySpec with context receivers and without getter or setter (#1575).

## Version 1.13.2

Expand Down Expand Up @@ -687,3 +705,5 @@ _2017-05-16_
[drawers]: https://github.com/drawers
[rickclephas]: https://github.com/rickclephas
[Squiry]: https://github.com/Squiry
[Omico]: https://github.com/Omico
[RBusarow]: https://github.com/RBusarow
2 changes: 1 addition & 1 deletion gradle.properties
@@ -1,7 +1,7 @@
org.gradle.jvmargs='-Dfile.encoding=UTF-8'

GROUP=com.squareup
VERSION_NAME=1.14.0-SNAPSHOT
VERSION_NAME=1.14.0

POM_URL=https://github.com/square/kotlinpoet
POM_SCM_URL=https://github.com/square/kotlinpoet
Expand Down

0 comments on commit a9917e7

Please sign in to comment.