Skip to content

Commit fb28b0b

Browse files
committed
Prepare for release 1.17.0
1 parent 4f3154e commit fb28b0b

File tree

2 files changed

+26
-9
lines changed

2 files changed

+26
-9
lines changed

docs/changelog.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,32 @@ Change Log
33

44
## Unreleased
55

6+
## Version 1.17.0
7+
8+
Thanks to [@jisungbin][jisungbin], [@hfhbd][hfhbd], [@evant][evant], [@sgjesse][sgjesse], [@sebek64][sebek64] for
9+
contributing to this release.
10+
11+
_2024-05-24_
12+
13+
* Change: kotlinx-metadata 0.9.0. Note that the `KotlinClassMetadata.read` is deprecated in 0.9.0 and replaced with
14+
`readStrict` (#1830).
15+
* Note: we now also provide `lenient` parameters to map to the underlying `readStrict()` and `readLenient()` calls
16+
(#1766).
17+
* We have also removed various `Class`/`TypeElement`/`Metadata`-to-`KmClass` APIs from the public API, as these are
18+
trivial to write now with kotlinx-metadata's newer APIs and allows us to focus the API surface area of this artifact
19+
better (#1891).
620
* New: Supertype list wraps to one-per-line if the primary constructor spans multiple lines (#1866).
7-
* New: Extract `MemberSpecHolder` interface for constructs that can hold `PropertySpec`s and `FunSpec`s and their builders (#1877).
8-
* New: `joinToCode` variant which operates on any type, but requires a transform lambda to convert each element into a `CodeBlock`.
21+
* New: Extract `MemberSpecHolder` interface for constructs that can hold `PropertySpec`s and `FunSpec`s and their
22+
builders (#1877).
23+
* New: `joinToCode` variant which operates on any type, but requires a transform lambda to convert each element into a
24+
`CodeBlock` (#1874).
925
* New: Support annotation type arguments in `KSAnnotation.toAnnotationSpec()` (#1889).
1026
* Fix: Prevent name clashes between a function in class and a function call in current scope (#1850).
1127
* Fix: Fix extension function imports (#1814).
12-
* Fix: Omit implicit modifiers on FileSpec.scriptBuilder (#1813).
13-
* Fix: Fix trailing newline in PropertySpec (#1827).
14-
* Change: kotlinx-metadata 0.9.0. Note that the `KotlinClassMetadata .read` is deprecated in 0.9.0 and replaced with `readStrict` (#1830).
15-
* Note: we now also `lenient` parameters to map to the underlying `readStrict()` and `readLenient()` calls (#1766).
16-
* 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).
28+
* Fix: Omit implicit modifiers on `FileSpec.scriptBuilder` (#1813).
29+
* Fix: Fix trailing newline in `PropertySpec` (#1827).
1730
* Fix: `KSAnnotation.toAnnotationSpec` writes varargs in place instead of making them an array to work around a Kotlin
18-
issue with `OptIn` annotations (#1831).
31+
issue with `OptIn` annotations (#1833).
1932
* Fix: `MemberName`s without a package are now correctly imported (#1841)
2033
* Fix: Throw if primary constructor delegates to other constructors (#1859).
2134
* Fix: Aliased imports with nested class (#1876).
@@ -804,3 +817,7 @@ _2017-05-16_
804817
[takahirom]: https://github.com/takahirom
805818
[mcarleio]: https://github.com/mcarleio
806819
[gabrielittner]: https://github.com/gabrielittner
820+
[jisungbin]: https://github.com/jisungbin
821+
[hfhbd]: https://github.com/hfhbd
822+
[sgjesse]: https://github.com/sgjesse
823+
[sebek64]: https://github.com/sebek64

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
22

33
GROUP=com.squareup
4-
VERSION_NAME=1.17.0-SNAPSHOT
4+
VERSION_NAME=1.17.0
55

66
POM_URL=https://github.com/square/kotlinpoet
77
POM_SCM_URL=https://github.com/square/kotlinpoet

0 commit comments

Comments
 (0)