hurdy-gurdy
hurdy-gurdy copied to clipboard
Bump com.squareup:kotlinpoet from 1.14.2 to 1.18.1
Bumps com.squareup:kotlinpoet from 1.14.2 to 1.18.1.
Release notes
Sourced from com.squareup:kotlinpoet's releases.
1.18.0
Thanks to
@DanielGronaufor contributing to this release.
- New: Kotlin 2.0.0.
- New: KSP 2.0.0-1.0.22.
- New: Promote
kotlinpoet-metadataout of preview to stable.- New: Migrate
kotlinpoet-metadatato stableorg.jetbrains.kotlin:kotlin-metadata-jvmartifact for Metadata parsing.- New: Make enum entry references in
KSAnnotation.toAnnotationSpec()andKSClassDeclaration.toClassName()more robust.- Fix: Don't expand typealiases of function types to
LambdaTypeNames inKSTypeReference.toTypeName().- Fix: Avoid rounding small double and float values in
%Ltranslation (#1927).- Fix: Fix typealias type argument resolution in KSP2 (#1929).
1.17.0
Thanks to
@jisungbin,@hfhbd,@evant,@sgjesse,@sebek64for contributing to this release.
- Change: kotlinx-metadata 0.9.0. Note that the
KotlinClassMetadata.readis deprecated in 0.9.0 and replaced withreadStrict(#1830).
- Note: we now also provide
lenientparameters to map to the underlyingreadStrict()andreadLenient()calls (#1766).- We have also removed various
Class/TypeElement/Metadata-to-KmClassAPIs 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
MemberSpecHolderinterface for constructs that can holdPropertySpecs andFunSpecs and their builders (#1877).- New:
joinToCodevariant which operates on any type, but requires a transform lambda to convert each element into aCodeBlock(#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).- Fix:
KSAnnotation.toAnnotationSpecwrites varargs in place instead of making them an array to work around a Kotlin issue with OptIn annotations (#1833).- Fix:
MemberNames 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).
- Fix: Check for error types in
KSType.toClassName()(#1890).- Fix: Support generating a single import for overloaded
MemberNames (#1909).1.16.0
Thanks to
@drawers,@rickclephasfor contributing to this release.
- New: Kotlin 1.9.22.
- New: KSP 1.9.22-1.0.16.
- New: Add
NameAllocatorAPI to control keyword pre-allocation (#1803).- Fix: Fix issue with missing suspend modifier in
KSTypeReference.toTypeName(#1793).- Fix: Honour same-package import aliases (#1794).
- Fix: Always include parameter docs in the type header (#1800).
1.15.3
Thanks to
@gabrielittnerfor contributing to this release.
- Fix: Fix nullability of lambdas in
KSTypeReference.toTypeName(#1756).1.15.2
Thanks to
@evantfor contributing to this release.
... (truncated)
Changelog
Sourced from com.squareup:kotlinpoet's changelog.
Version 1.18.1
Thanks to [
@mitasov-ra][mitasov-ra] for contributing to this release.2024-07-15
Fix: Workaround for [KT-18706][kt-18706]: KotlinPoet now generates import aliases without backticks (#1920).
// 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.
$Fooas One__Foo import com.example.two.$Fooas Two__FooVersion 1.18.0
Thanks to [
@DanielGronau][DanielGronau] for contributing to this release.2024-07-05
- New: Kotlin 2.0.0.
- New: KSP 2.0.0-1.0.22.
- New: Promote
kotlinpoet-metadataout of preview to stable.- New: Migrate
kotlinpoet-metadatato stableorg.jetbrains.kotlin:kotlin-metadata-jvmartifact for Metadata parsing.- New: Make enum entry references in
KSAnnotation.toAnnotationSpec()andKSClassDeclaration.toClassName()more robust.- Fix: Don't expand typealiases of function types to
LambdaTypeNames inKSTypeReference.toTypeName().- Fix: Avoid rounding small double and float values in
%Ltranslation (#1927).- Fix: Fix typealias type argument resolution in KSP2 (#1929).
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.readis deprecated in 0.9.0 and replaced withreadStrict(#1830).
- Note: we now also provide
lenientparameters to map to the underlyingreadStrict()andreadLenient()calls (#1766).- We have also removed various
Class/TypeElement/Metadata-to-KmClassAPIs 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
MemberSpecHolderinterface for constructs that can holdPropertySpecs andFunSpecs and their builders (#1877).
... (truncated)
Commits
c5bf640Prepare for release 1.18.16d75e0bUpdate dependency mkdocs-material to v9.5.292de99deUpdate dependency com.google.truth:truth to v1.4.4 (#1943)4ee8fc4Fix KT-18706 in CodeWriter.generateImports946f279Update dependency gradle to v8.9 (#1940)7559d00Update plugin kotlinBinaryCompatibilityValidator to v0.15.173d1defUpdate plugin kotlinBinaryCompatibilityValidator to v0.15.0a78e7fcPrepare next development versionc01770aPrepare for release 1.18.0bf11fedUpdate dependency mkdocs-material to v9.5.28- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.