Skip to content

Commit

Permalink
Prepare for release 1.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Egorand committed May 24, 2024
1 parent 4f3154e commit fb28b0b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 9 deletions.
33 changes: 25 additions & 8 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,32 @@ Change Log

## Unreleased

## Version 1.17.0

Thanks to [@jisungbin][jisungbin], [@hfhbd][hfhbd], [@evant][evant], [@sgjesse][sgjesse], [@sebek64][sebek64] for
contributing to this release.

_2024-05-24_

* Change: kotlinx-metadata 0.9.0. Note that the `KotlinClassMetadata.read` is deprecated in 0.9.0 and replaced with
`readStrict` (#1830).
* Note: we now also provide `lenient` parameters to map to the underlying `readStrict()` and `readLenient()` calls
(#1766).
* We have also removed various `Class`/`TypeElement`/`Metadata`-to-`KmClass` APIs from the public API, as these are
trivial to write now with kotlinx-metadata's newer APIs and allows us to focus the API surface area of this artifact
better (#1891).
* New: Supertype list wraps to one-per-line if the primary constructor spans multiple lines (#1866).
* New: Extract `MemberSpecHolder` interface for constructs that can hold `PropertySpec`s and `FunSpec`s and their builders (#1877).
* New: `joinToCode` variant which operates on any type, but requires a transform lambda to convert each element into a `CodeBlock`.
* New: Extract `MemberSpecHolder` interface for constructs that can hold `PropertySpec`s and `FunSpec`s and their
builders (#1877).
* New: `joinToCode` variant which operates on any type, but requires a transform lambda to convert each element into a
`CodeBlock` (#1874).
* New: Support annotation type arguments in `KSAnnotation.toAnnotationSpec()` (#1889).
* Fix: Prevent name clashes between a function in class and a function call in current scope (#1850).
* Fix: Fix extension function imports (#1814).
* Fix: Omit implicit modifiers on FileSpec.scriptBuilder (#1813).
* Fix: Fix trailing newline in PropertySpec (#1827).
* Change: kotlinx-metadata 0.9.0. Note that the `KotlinClassMetadata .read` is deprecated in 0.9.0 and replaced with `readStrict` (#1830).
* Note: we now also `lenient` parameters to map to the underlying `readStrict()` and `readLenient()` calls (#1766).
* We have also removed various `Class`/`TypeElement`/`Metadata`-to-`KmClass` APIs from the public API, as these are trivial to write now with kotlinx-metadata's newer APIs and allows us to focus the API surface area of this artifact better (#1891).
* Fix: Omit implicit modifiers on `FileSpec.scriptBuilder` (#1813).
* Fix: Fix trailing newline in `PropertySpec` (#1827).
* Fix: `KSAnnotation.toAnnotationSpec` writes varargs in place instead of making them an array to work around a Kotlin
issue with `OptIn` annotations (#1831).
issue with `OptIn` annotations (#1833).
* Fix: `MemberName`s without a package are now correctly imported (#1841)
* Fix: Throw if primary constructor delegates to other constructors (#1859).
* Fix: Aliased imports with nested class (#1876).
Expand Down Expand Up @@ -804,3 +817,7 @@ _2017-05-16_
[takahirom]: https://github.com/takahirom
[mcarleio]: https://github.com/mcarleio
[gabrielittner]: https://github.com/gabrielittner
[jisungbin]: https://github.com/jisungbin
[hfhbd]: https://github.com/hfhbd
[sgjesse]: https://github.com/sgjesse
[sebek64]: https://github.com/sebek64
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.jvmargs='-Dfile.encoding=UTF-8'

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

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

0 comments on commit fb28b0b

Please sign in to comment.