DrewCarlson / mobius.kt

Kotlin Multiplatform framework for managing state evolution and side-effects
https://drewcarlson.github.io/mobius.kt/
Apache License 2.0
65 stars 3 forks source link

Update kotlinpoet to v1.17.0 #246

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.squareup:kotlinpoet-ksp 1.16.0 -> 1.17.0 age adoption passing confidence
com.squareup:kotlinpoet 1.16.0 -> 1.17.0 age adoption passing confidence

Release Notes

square/kotlinpoet (com.squareup:kotlinpoet-ksp) ### [`v1.17.0`](https://togithub.com/square/kotlinpoet/releases/tag/1.17.0) [Compare Source](https://togithub.com/square/kotlinpoet/compare/1.16.0...1.17.0) Thanks to [@​jisungbin](https://togithub.com/jisungbin), [@​hfhbd](https://togithub.com/hfhbd), [@​evant](https://togithub.com/evant), [@​sgjesse](https://togithub.com/sgjesse), [@​sebek64](https://togithub.com/sebek64) for contributing to this release. - Change: kotlinx-metadata 0.9.0. Note that the `KotlinClassMetadata.read` is deprecated in 0.9.0 and replaced with `readStrict` ([#​1830](https://togithub.com/square/kotlinpoet/issues/1830)). - Note: we now also provide `lenient` parameters to map to the underlying `readStrict()` and `readLenient()` calls ([#​1766](https://togithub.com/square/kotlinpoet/issues/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](https://togithub.com/square/kotlinpoet/issues/1891)). - New: Supertype list wraps to one-per-line if the primary constructor spans multiple lines ([#​1866](https://togithub.com/square/kotlinpoet/issues/1866)). - New: Extract `MemberSpecHolder` interface for constructs that can hold `PropertySpec`s and `FunSpec`s and their builders ([#​1877](https://togithub.com/square/kotlinpoet/issues/1877)). - New: `joinToCode` variant which operates on any type, but requires a transform lambda to convert each element into a `CodeBlock` ([#​1874](https://togithub.com/square/kotlinpoet/issues/1874)). - New: Support annotation type arguments in `KSAnnotation.toAnnotationSpec()` ([#​1889](https://togithub.com/square/kotlinpoet/issues/1889)). - Fix: Prevent name clashes between a function in class and a function call in current scope ([#​1850](https://togithub.com/square/kotlinpoet/issues/1850)). - Fix: Fix extension function imports ([#​1814](https://togithub.com/square/kotlinpoet/issues/1814)). - Fix: Omit implicit modifiers on `FileSpec.scriptBuilder` ([#​1813](https://togithub.com/square/kotlinpoet/issues/1813)). - Fix: Fix trailing newline in `PropertySpec` ([#​1827](https://togithub.com/square/kotlinpoet/issues/1827)). - Fix: `KSAnnotation.toAnnotationSpec` writes varargs in place instead of making them an array to work around a Kotlin issue with OptIn annotations ([#​1833](https://togithub.com/square/kotlinpoet/issues/1833)). - Fix: `MemberName`s without a package are now correctly imported ([#​1841](https://togithub.com/square/kotlinpoet/issues/1841)) - Fix: Throw if primary constructor delegates to other constructors ([#​1859](https://togithub.com/square/kotlinpoet/issues/1859)). - Fix: Aliased imports with nested class ([#​1876](https://togithub.com/square/kotlinpoet/issues/1876)). - Fix: Check for error types in `KSType.toClassName()` ([#​1890](https://togithub.com/square/kotlinpoet/issues/1890)). - Fix: Support generating a single import for overloaded `MemberName`s ([#​1909](https://togithub.com/square/kotlinpoet/issues/1909)).

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 these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.41%. Comparing base (39bad5b) to head (a543290).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #246 +/- ## ======================================= Coverage 77.41% 77.41% ======================================= Files 8 8 Lines 93 93 Branches 18 18 ======================================= Hits 72 72 Misses 12 12 Partials 9 9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.