Commit d966951
authored
Build(deps): Bump kotlinpoet.version from 2.2.0 to 2.3.0 (#1666)
Bumps `kotlinpoet.version` from 2.2.0 to 2.3.0.
Updates `com.squareup:kotlinpoet-jvm` from 2.2.0 to 2.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/square/kotlinpoet/releases">com.squareup:kotlinpoet-jvm's
releases</a>.</em></p>
<blockquote>
<h2>2.3.0</h2>
<p>Thanks to <a
href="https://github.com/haruue"><code>@haruue</code></a>, <a
href="https://github.com/hfhbd"><code>@hfhbd</code></a>, <a
href="https://github.com/yz4230"><code>@yz4230</code></a>, <a
href="https://github.com/mina-jaff"><code>@mina-jaff</code></a>, <a
href="https://github.com/BoD"><code>@BoD</code></a>, <a
href="https://github.com/RaoPrashanth"><code>@RaoPrashanth</code></a>
for contributing to this release.</p>
<ul>
<li>New: Kotlin 2.3.20.</li>
<li>New: KSP 2.3.6.</li>
<li>New: Support for defining type aliases inside other types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2167">#2167</a>)</li>
<li>New: Add <code>TypeName.annotated()</code> convenience API for
adding annotations to types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2281">#2281</a>)</li>
<li>New: Add <code>FileSpec.addImport(MemberName)</code> to explicitly
import a member. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2198">#2198</a>)</li>
<li>New: Add <code>NameAllocator.contains</code> to check if a given tag
is already allocated. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2160">#2160</a>)</li>
<li>New: <code>:interop:javapoet</code> module has been discontinued and
is not published starting with this release. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li>New: In-development snapshots are now published to the Central
Portal Snapshots repository at <a
href="https://central.sonatype.com/repository/maven-snapshots/">https://central.sonatype.com/repository/maven-snapshots/</a>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2135">#2135</a>)</li>
<li>Fix: Annotation array parameters with annotation elements now
correctly handled. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2142">#2142</a>)</li>
<li>Fix: <code>KType.asTypeName</code> now correctly handles recursively
bound generics (e.g. <code>T : Comparable<T></code>). (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2162">#2162</a>)</li>
<li>Fix: Don't convert multi-statement function to expression body. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2163">#2163</a>)</li>
<li>Fix: <code>FunSpec.beginControlFlow</code> now accepts nullable
arguments for consistency with <code>CodeBlock.beginControlFlow</code>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2174">#2174</a>)</li>
<li>Fix: Ignore illegal characters inside escaped identifiers. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2204">#2204</a>)</li>
<li>Fix: <code>emitNullable</code> correctly when deferring type in
<code>CodeWriter</code>. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2217">#2217</a>)</li>
<li>Fix: Escape <code>/*</code> and <code>*/</code> when emitting Kdoc.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2258">#2258</a>)</li>
<li>Fix: Generate imports for extension members used via <code>%M</code>
in KDocs. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2266">#2266</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/square/kotlinpoet/blob/main/docs/changelog.md">com.squareup:kotlinpoet-jvm's
changelog</a>.</em></p>
<blockquote>
<h2>Version 2.3.0</h2>
<p>Thanks to [<a
href="https://github.com/haruue"><code>@haruue</code></a>][haruue], [<a
href="https://github.com/hfhbd"><code>@hfhbd</code></a>][hfhbd], [<a
href="https://github.com/yz4230"><code>@yz4230</code></a>][yz4230], [<a
href="https://github.com/mina-jaff"><code>@mina-jaff</code></a>][mina-jaff],
[<a href="https://github.com/BoD"><code>@BoD</code></a>][BoD],
[<a
href="https://github.com/RaoPrashanth"><code>@RaoPrashanth</code></a>][RaoPrashanth]
for contributing to this release.</p>
<p><em>2026-05-27</em></p>
<ul>
<li>New: Kotlin 2.3.20.</li>
<li>New: KSP 2.3.6.</li>
<li>New: Support for defining type aliases inside other types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2167">#2167</a>)</li>
<li>New: Add <code>TypeName.annotated()</code> convenience API for
adding annotations to types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2281">#2281</a>)</li>
<li>New: Add <code>FileSpec.addImport(MemberName)</code> to explicitly
import a member. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2198">#2198</a>)</li>
<li>New: Add <code>NameAllocator.contains</code> to check if a given tag
is already allocated. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2160">#2160</a>)</li>
<li>New: <code>:interop:javapoet</code> module has been discontinued and
is not published starting with this release. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li>New: In-development snapshots are now published to the Central
Portal Snapshots repository at <a
href="https://central.sonatype.com/repository/maven-snapshots/">https://central.sonatype.com/repository/maven-snapshots/</a>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2135">#2135</a>)</li>
<li>Fix: Annotation array parameters with annotation elements now
correctly handled. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2142">#2142</a>)</li>
<li>Fix: <code>KType.asTypeName</code> now correctly handles recursively
bound generics (e.g. <code>T : Comparable<T></code>). (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2162">#2162</a>)</li>
<li>Fix: Don't convert multi-statement function to expression body. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2163">#2163</a>)</li>
<li>Fix: <code>FunSpec.beginControlFlow</code> now accepts nullable
arguments for consistency with <code>CodeBlock.beginControlFlow</code>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2174">#2174</a>)</li>
<li>Fix: Ignore illegal characters inside escaped identifiers. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2204">#2204</a>)</li>
<li>Fix: <code>emitNullable</code> correctly when deferring type in
<code>CodeWriter</code>. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2217">#2217</a>)</li>
<li>Fix: Escape <code>/*</code> and <code>*/</code> when emitting Kdoc.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2258">#2258</a>)</li>
<li>Fix: Generate imports for extension members used via <code>%M</code>
in KDocs. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2266">#2266</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/square/kotlinpoet/commit/3ab8d4087a338453665f7b8f1c90ff9142f0c9c6"><code>3ab8d40</code></a>
Prepare for release 2.3.0</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/3b3c68475c1c64bb4a3b1e0402c1be07dbba0fe4"><code>3b3c684</code></a>
Update plugin dokka to v2.2.0 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2298">#2298</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/14c4f2134023a7459ea85e0b8afabf841b4bf2b7"><code>14c4f21</code></a>
Update dependency mkdocs-material to v9.7.6 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2297">#2297</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/e268406a90412103a4432c70cb8ac06fed21f2f5"><code>e268406</code></a>
Update Gradle to v9.4.1</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/74fba0bd8635085246490a2891254ee23b1147b7"><code>74fba0b</code></a>
Update plugin spotless to v8.4.0 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2295">#2295</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/287ea8294b6a33a440aa08681745583be3bc687f"><code>287ea82</code></a>
Delete interop-javapoet module (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/61f0886dcba228631a822a89240fcea684b75030"><code>61f0886</code></a>
Update dependency com.facebook:ktfmt to v0.62 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2294">#2294</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/59a0220d5a203fb96197da8b9dadd09f9bc99b5d"><code>59a0220</code></a>
Update kotlin monorepo to v2.3.20 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2293">#2293</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/4ee9b59f56c568de545fa068c3b46a5155475fcd"><code>4ee9b59</code></a>
Update dependency mkdocs-material to v9.7.5 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2290">#2290</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/f4bd1d606e6efd53f6e9d15bbdebe894203c8d1c"><code>f4bd1d6</code></a>
Update dependency tornado to v6.5.5 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2291">#2291</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/square/kotlinpoet/compare/2.2.0...2.3.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `com.squareup:kotlinpoet` from 2.2.0 to 2.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/square/kotlinpoet/releases">com.squareup:kotlinpoet's
releases</a>.</em></p>
<blockquote>
<h2>2.3.0</h2>
<p>Thanks to <a
href="https://github.com/haruue"><code>@haruue</code></a>, <a
href="https://github.com/hfhbd"><code>@hfhbd</code></a>, <a
href="https://github.com/yz4230"><code>@yz4230</code></a>, <a
href="https://github.com/mina-jaff"><code>@mina-jaff</code></a>, <a
href="https://github.com/BoD"><code>@BoD</code></a>, <a
href="https://github.com/RaoPrashanth"><code>@RaoPrashanth</code></a>
for contributing to this release.</p>
<ul>
<li>New: Kotlin 2.3.20.</li>
<li>New: KSP 2.3.6.</li>
<li>New: Support for defining type aliases inside other types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2167">#2167</a>)</li>
<li>New: Add <code>TypeName.annotated()</code> convenience API for
adding annotations to types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2281">#2281</a>)</li>
<li>New: Add <code>FileSpec.addImport(MemberName)</code> to explicitly
import a member. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2198">#2198</a>)</li>
<li>New: Add <code>NameAllocator.contains</code> to check if a given tag
is already allocated. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2160">#2160</a>)</li>
<li>New: <code>:interop:javapoet</code> module has been discontinued and
is not published starting with this release. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li>New: In-development snapshots are now published to the Central
Portal Snapshots repository at <a
href="https://central.sonatype.com/repository/maven-snapshots/">https://central.sonatype.com/repository/maven-snapshots/</a>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2135">#2135</a>)</li>
<li>Fix: Annotation array parameters with annotation elements now
correctly handled. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2142">#2142</a>)</li>
<li>Fix: <code>KType.asTypeName</code> now correctly handles recursively
bound generics (e.g. <code>T : Comparable<T></code>). (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2162">#2162</a>)</li>
<li>Fix: Don't convert multi-statement function to expression body. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2163">#2163</a>)</li>
<li>Fix: <code>FunSpec.beginControlFlow</code> now accepts nullable
arguments for consistency with <code>CodeBlock.beginControlFlow</code>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2174">#2174</a>)</li>
<li>Fix: Ignore illegal characters inside escaped identifiers. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2204">#2204</a>)</li>
<li>Fix: <code>emitNullable</code> correctly when deferring type in
<code>CodeWriter</code>. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2217">#2217</a>)</li>
<li>Fix: Escape <code>/*</code> and <code>*/</code> when emitting Kdoc.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2258">#2258</a>)</li>
<li>Fix: Generate imports for extension members used via <code>%M</code>
in KDocs. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2266">#2266</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/square/kotlinpoet/blob/main/docs/changelog.md">com.squareup:kotlinpoet's
changelog</a>.</em></p>
<blockquote>
<h2>Version 2.3.0</h2>
<p>Thanks to [<a
href="https://github.com/haruue"><code>@haruue</code></a>][haruue], [<a
href="https://github.com/hfhbd"><code>@hfhbd</code></a>][hfhbd], [<a
href="https://github.com/yz4230"><code>@yz4230</code></a>][yz4230], [<a
href="https://github.com/mina-jaff"><code>@mina-jaff</code></a>][mina-jaff],
[<a href="https://github.com/BoD"><code>@BoD</code></a>][BoD],
[<a
href="https://github.com/RaoPrashanth"><code>@RaoPrashanth</code></a>][RaoPrashanth]
for contributing to this release.</p>
<p><em>2026-05-27</em></p>
<ul>
<li>New: Kotlin 2.3.20.</li>
<li>New: KSP 2.3.6.</li>
<li>New: Support for defining type aliases inside other types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2167">#2167</a>)</li>
<li>New: Add <code>TypeName.annotated()</code> convenience API for
adding annotations to types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2281">#2281</a>)</li>
<li>New: Add <code>FileSpec.addImport(MemberName)</code> to explicitly
import a member. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2198">#2198</a>)</li>
<li>New: Add <code>NameAllocator.contains</code> to check if a given tag
is already allocated. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2160">#2160</a>)</li>
<li>New: <code>:interop:javapoet</code> module has been discontinued and
is not published starting with this release. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li>New: In-development snapshots are now published to the Central
Portal Snapshots repository at <a
href="https://central.sonatype.com/repository/maven-snapshots/">https://central.sonatype.com/repository/maven-snapshots/</a>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2135">#2135</a>)</li>
<li>Fix: Annotation array parameters with annotation elements now
correctly handled. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2142">#2142</a>)</li>
<li>Fix: <code>KType.asTypeName</code> now correctly handles recursively
bound generics (e.g. <code>T : Comparable<T></code>). (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2162">#2162</a>)</li>
<li>Fix: Don't convert multi-statement function to expression body. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2163">#2163</a>)</li>
<li>Fix: <code>FunSpec.beginControlFlow</code> now accepts nullable
arguments for consistency with <code>CodeBlock.beginControlFlow</code>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2174">#2174</a>)</li>
<li>Fix: Ignore illegal characters inside escaped identifiers. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2204">#2204</a>)</li>
<li>Fix: <code>emitNullable</code> correctly when deferring type in
<code>CodeWriter</code>. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2217">#2217</a>)</li>
<li>Fix: Escape <code>/*</code> and <code>*/</code> when emitting Kdoc.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2258">#2258</a>)</li>
<li>Fix: Generate imports for extension members used via <code>%M</code>
in KDocs. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2266">#2266</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/square/kotlinpoet/commit/3ab8d4087a338453665f7b8f1c90ff9142f0c9c6"><code>3ab8d40</code></a>
Prepare for release 2.3.0</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/3b3c68475c1c64bb4a3b1e0402c1be07dbba0fe4"><code>3b3c684</code></a>
Update plugin dokka to v2.2.0 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2298">#2298</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/14c4f2134023a7459ea85e0b8afabf841b4bf2b7"><code>14c4f21</code></a>
Update dependency mkdocs-material to v9.7.6 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2297">#2297</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/e268406a90412103a4432c70cb8ac06fed21f2f5"><code>e268406</code></a>
Update Gradle to v9.4.1</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/74fba0bd8635085246490a2891254ee23b1147b7"><code>74fba0b</code></a>
Update plugin spotless to v8.4.0 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2295">#2295</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/287ea8294b6a33a440aa08681745583be3bc687f"><code>287ea82</code></a>
Delete interop-javapoet module (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/61f0886dcba228631a822a89240fcea684b75030"><code>61f0886</code></a>
Update dependency com.facebook:ktfmt to v0.62 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2294">#2294</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/59a0220d5a203fb96197da8b9dadd09f9bc99b5d"><code>59a0220</code></a>
Update kotlin monorepo to v2.3.20 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2293">#2293</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/4ee9b59f56c568de545fa068c3b46a5155475fcd"><code>4ee9b59</code></a>
Update dependency mkdocs-material to v9.7.5 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2290">#2290</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/f4bd1d606e6efd53f6e9d15bbdebe894203c8d1c"><code>f4bd1d6</code></a>
Update dependency tornado to v6.5.5 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2291">#2291</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/square/kotlinpoet/compare/2.2.0...2.3.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `com.squareup:kotlinpoet-ksp` from 2.2.0 to 2.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/square/kotlinpoet/releases">com.squareup:kotlinpoet-ksp's
releases</a>.</em></p>
<blockquote>
<h2>2.3.0</h2>
<p>Thanks to <a
href="https://github.com/haruue"><code>@haruue</code></a>, <a
href="https://github.com/hfhbd"><code>@hfhbd</code></a>, <a
href="https://github.com/yz4230"><code>@yz4230</code></a>, <a
href="https://github.com/mina-jaff"><code>@mina-jaff</code></a>, <a
href="https://github.com/BoD"><code>@BoD</code></a>, <a
href="https://github.com/RaoPrashanth"><code>@RaoPrashanth</code></a>
for contributing to this release.</p>
<ul>
<li>New: Kotlin 2.3.20.</li>
<li>New: KSP 2.3.6.</li>
<li>New: Support for defining type aliases inside other types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2167">#2167</a>)</li>
<li>New: Add <code>TypeName.annotated()</code> convenience API for
adding annotations to types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2281">#2281</a>)</li>
<li>New: Add <code>FileSpec.addImport(MemberName)</code> to explicitly
import a member. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2198">#2198</a>)</li>
<li>New: Add <code>NameAllocator.contains</code> to check if a given tag
is already allocated. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2160">#2160</a>)</li>
<li>New: <code>:interop:javapoet</code> module has been discontinued and
is not published starting with this release. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li>New: In-development snapshots are now published to the Central
Portal Snapshots repository at <a
href="https://central.sonatype.com/repository/maven-snapshots/">https://central.sonatype.com/repository/maven-snapshots/</a>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2135">#2135</a>)</li>
<li>Fix: Annotation array parameters with annotation elements now
correctly handled. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2142">#2142</a>)</li>
<li>Fix: <code>KType.asTypeName</code> now correctly handles recursively
bound generics (e.g. <code>T : Comparable<T></code>). (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2162">#2162</a>)</li>
<li>Fix: Don't convert multi-statement function to expression body. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2163">#2163</a>)</li>
<li>Fix: <code>FunSpec.beginControlFlow</code> now accepts nullable
arguments for consistency with <code>CodeBlock.beginControlFlow</code>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2174">#2174</a>)</li>
<li>Fix: Ignore illegal characters inside escaped identifiers. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2204">#2204</a>)</li>
<li>Fix: <code>emitNullable</code> correctly when deferring type in
<code>CodeWriter</code>. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2217">#2217</a>)</li>
<li>Fix: Escape <code>/*</code> and <code>*/</code> when emitting Kdoc.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2258">#2258</a>)</li>
<li>Fix: Generate imports for extension members used via <code>%M</code>
in KDocs. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2266">#2266</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/square/kotlinpoet/blob/main/docs/changelog.md">com.squareup:kotlinpoet-ksp's
changelog</a>.</em></p>
<blockquote>
<h2>Version 2.3.0</h2>
<p>Thanks to [<a
href="https://github.com/haruue"><code>@haruue</code></a>][haruue], [<a
href="https://github.com/hfhbd"><code>@hfhbd</code></a>][hfhbd], [<a
href="https://github.com/yz4230"><code>@yz4230</code></a>][yz4230], [<a
href="https://github.com/mina-jaff"><code>@mina-jaff</code></a>][mina-jaff],
[<a href="https://github.com/BoD"><code>@BoD</code></a>][BoD],
[<a
href="https://github.com/RaoPrashanth"><code>@RaoPrashanth</code></a>][RaoPrashanth]
for contributing to this release.</p>
<p><em>2026-05-27</em></p>
<ul>
<li>New: Kotlin 2.3.20.</li>
<li>New: KSP 2.3.6.</li>
<li>New: Support for defining type aliases inside other types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2167">#2167</a>)</li>
<li>New: Add <code>TypeName.annotated()</code> convenience API for
adding annotations to types. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2281">#2281</a>)</li>
<li>New: Add <code>FileSpec.addImport(MemberName)</code> to explicitly
import a member. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2198">#2198</a>)</li>
<li>New: Add <code>NameAllocator.contains</code> to check if a given tag
is already allocated. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2160">#2160</a>)</li>
<li>New: <code>:interop:javapoet</code> module has been discontinued and
is not published starting with this release. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li>New: In-development snapshots are now published to the Central
Portal Snapshots repository at <a
href="https://central.sonatype.com/repository/maven-snapshots/">https://central.sonatype.com/repository/maven-snapshots/</a>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2135">#2135</a>)</li>
<li>Fix: Annotation array parameters with annotation elements now
correctly handled. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2142">#2142</a>)</li>
<li>Fix: <code>KType.asTypeName</code> now correctly handles recursively
bound generics (e.g. <code>T : Comparable<T></code>). (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2162">#2162</a>)</li>
<li>Fix: Don't convert multi-statement function to expression body. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2163">#2163</a>)</li>
<li>Fix: <code>FunSpec.beginControlFlow</code> now accepts nullable
arguments for consistency with <code>CodeBlock.beginControlFlow</code>.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2174">#2174</a>)</li>
<li>Fix: Ignore illegal characters inside escaped identifiers. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2204">#2204</a>)</li>
<li>Fix: <code>emitNullable</code> correctly when deferring type in
<code>CodeWriter</code>. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2217">#2217</a>)</li>
<li>Fix: Escape <code>/*</code> and <code>*/</code> when emitting Kdoc.
(<a
href="https://redirect.github.com/square/kotlinpoet/issues/2258">#2258</a>)</li>
<li>Fix: Generate imports for extension members used via <code>%M</code>
in KDocs. (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2266">#2266</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/square/kotlinpoet/commit/3ab8d4087a338453665f7b8f1c90ff9142f0c9c6"><code>3ab8d40</code></a>
Prepare for release 2.3.0</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/3b3c68475c1c64bb4a3b1e0402c1be07dbba0fe4"><code>3b3c684</code></a>
Update plugin dokka to v2.2.0 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2298">#2298</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/14c4f2134023a7459ea85e0b8afabf841b4bf2b7"><code>14c4f21</code></a>
Update dependency mkdocs-material to v9.7.6 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2297">#2297</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/e268406a90412103a4432c70cb8ac06fed21f2f5"><code>e268406</code></a>
Update Gradle to v9.4.1</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/74fba0bd8635085246490a2891254ee23b1147b7"><code>74fba0b</code></a>
Update plugin spotless to v8.4.0 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2295">#2295</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/287ea8294b6a33a440aa08681745583be3bc687f"><code>287ea82</code></a>
Delete interop-javapoet module (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2292">#2292</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/61f0886dcba228631a822a89240fcea684b75030"><code>61f0886</code></a>
Update dependency com.facebook:ktfmt to v0.62 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2294">#2294</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/59a0220d5a203fb96197da8b9dadd09f9bc99b5d"><code>59a0220</code></a>
Update kotlin monorepo to v2.3.20 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2293">#2293</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/4ee9b59f56c568de545fa068c3b46a5155475fcd"><code>4ee9b59</code></a>
Update dependency mkdocs-material to v9.7.5 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2290">#2290</a>)</li>
<li><a
href="https://github.com/square/kotlinpoet/commit/f4bd1d606e6efd53f6e9d15bbdebe894203c8d1c"><code>f4bd1d6</code></a>
Update dependency tornado to v6.5.5 (<a
href="https://redirect.github.com/square/kotlinpoet/issues/2291">#2291</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/square/kotlinpoet/compare/2.2.0...2.3.0">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments