square/kotlinpoet (com.squareup:kotlinpoet)
### [`v1.18.1`](https://togithub.com/square/kotlinpoet/releases/tag/1.18.1)
[Compare Source](https://togithub.com/square/kotlinpoet/compare/1.18.0...1.18.1)
Thanks to [@mitasov-ra](https://togithub.com/mitasov-ra) for contributing to this release.
- Fix: Workaround for [KT-18706](https://youtrack.jetbrains.com/issue/KT-18706): KotlinPoet now generates import aliases without backticks ([#1920](https://togithub.com/square/kotlinpoet/issues/1920)).
```kotlin
// before, doesn't compile due to KT-18706
import com.example.one.`$Foo` as `One$Foo`
import com.example.two.`$Foo` as `Two$Foo`
// now, compiles
import com.example.one.`$Foo` as One__Foo
import com.example.two.`$Foo` as Two__Foo
```
### [`v1.18.0`](https://togithub.com/square/kotlinpoet/releases/tag/1.18.0)
[Compare Source](https://togithub.com/square/kotlinpoet/compare/1.17.0...1.18.0)
Thanks to [@DanielGronau](https://togithub.com/DanielGronau) for contributing to this release.
- New: Kotlin 2.0.0.
- New: KSP 2.0.0-1.0.22.
- New: Promote `kotlinpoet-metadata` out of preview to stable.
- New: Migrate `kotlinpoet-metadata` to stable `org.jetbrains.kotlin:kotlin-metadata-jvm` artifact for Metadata parsing.
- New: Make enum entry references in `KSAnnotation.toAnnotationSpec()` and `KSClassDeclaration.toClassName()` more robust.
- Fix: Don't expand typealiases of function types to `LambdaTypeName`s in `KSTypeReference.toTypeName()`.
- Fix: Avoid rounding small double and float values in `%L` translation ([#1927](https://togithub.com/square/kotlinpoet/issues/1927)).
- Fix: Fix typealias type argument resolution in KSP2 ([#1929](https://togithub.com/square/kotlinpoet/issues/1929)).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.17.0
->1.18.1
Release Notes
square/kotlinpoet (com.squareup:kotlinpoet)
### [`v1.18.1`](https://togithub.com/square/kotlinpoet/releases/tag/1.18.1) [Compare Source](https://togithub.com/square/kotlinpoet/compare/1.18.0...1.18.1) Thanks to [@mitasov-ra](https://togithub.com/mitasov-ra) for contributing to this release. - Fix: Workaround for [KT-18706](https://youtrack.jetbrains.com/issue/KT-18706): KotlinPoet now generates import aliases without backticks ([#1920](https://togithub.com/square/kotlinpoet/issues/1920)). ```kotlin // before, doesn't compile due to KT-18706 import com.example.one.`$Foo` as `One$Foo` import com.example.two.`$Foo` as `Two$Foo` // now, compiles import com.example.one.`$Foo` as One__Foo import com.example.two.`$Foo` as Two__Foo ``` ### [`v1.18.0`](https://togithub.com/square/kotlinpoet/releases/tag/1.18.0) [Compare Source](https://togithub.com/square/kotlinpoet/compare/1.17.0...1.18.0) Thanks to [@DanielGronau](https://togithub.com/DanielGronau) for contributing to this release. - New: Kotlin 2.0.0. - New: KSP 2.0.0-1.0.22. - New: Promote `kotlinpoet-metadata` out of preview to stable. - New: Migrate `kotlinpoet-metadata` to stable `org.jetbrains.kotlin:kotlin-metadata-jvm` artifact for Metadata parsing. - New: Make enum entry references in `KSAnnotation.toAnnotationSpec()` and `KSClassDeclaration.toClassName()` more robust. - Fix: Don't expand typealiases of function types to `LambdaTypeName`s in `KSTypeReference.toTypeName()`. - Fix: Avoid rounding small double and float values in `%L` translation ([#1927](https://togithub.com/square/kotlinpoet/issues/1927)). - Fix: Fix typealias type argument resolution in KSP2 ([#1929](https://togithub.com/square/kotlinpoet/issues/1929)).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.