Cosmic-IDE
Cosmic-IDE copied to clipboard
Bump com.squareup:kotlinpoet from 1.16.0 to 1.18.1
Bumps com.squareup:kotlinpoet from 1.16.0 to 1.18.1.
Release notes
Sourced from com.squareup:kotlinpoet's releases.
1.18.0
Thanks to
@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 stableorg.jetbrains.kotlin:kotlin-metadata-jvm
artifact for Metadata parsing.- New: Make enum entry references in
KSAnnotation.toAnnotationSpec()
andKSClassDeclaration.toClassName()
more robust.- Fix: Don't expand typealiases of function types to
LambdaTypeName
s inKSTypeReference.toTypeName()
.- Fix: Avoid rounding small double and float values in
%L
translation (#1927).- Fix: Fix typealias type argument resolution in KSP2 (#1929).
1.17.0
Thanks to
@jisungbin
,@hfhbd
,@evant
,@sgjesse
,@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 withreadStrict
(#1830).
- Note: we now also provide
lenient
parameters to map to the underlyingreadStrict()
andreadLenient()
calls (#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).- New: Supertype list wraps to one-per-line if the primary constructor spans multiple lines (#1866).
- New: Extract
MemberSpecHolder
interface for constructs that can holdPropertySpec
s andFunSpec
s and their builders (#1877).- New:
joinToCode
variant 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.toAnnotationSpec
writes varargs in place instead of making them an array to work around a Kotlin issue with OptIn annotations (#1833).- Fix:
MemberName
s 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
MemberName
s (#1909).
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.
$Foo
as One__Foo import com.example.two.$Foo
as 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-metadata
out of preview to stable.- New: Migrate
kotlinpoet-metadata
to stableorg.jetbrains.kotlin:kotlin-metadata-jvm
artifact for Metadata parsing.- New: Make enum entry references in
KSAnnotation.toAnnotationSpec()
andKSClassDeclaration.toClassName()
more robust.- Fix: Don't expand typealiases of function types to
LambdaTypeName
s inKSTypeReference.toTypeName()
.- Fix: Avoid rounding small double and float values in
%L
translation (#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.read
is deprecated in 0.9.0 and replaced withreadStrict
(#1830).
- Note: we now also provide
lenient
parameters to map to the underlyingreadStrict()
andreadLenient()
calls (#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).- New: Supertype list wraps to one-per-line if the primary constructor spans multiple lines (#1866).
- New: Extract
MemberSpecHolder
interface for constructs that can holdPropertySpec
s andFunSpec
s and their builders (#1877).
... (truncated)
Commits
c5bf640
Prepare for release 1.18.16d75e0b
Update dependency mkdocs-material to v9.5.292de99de
Update dependency com.google.truth:truth to v1.4.4 (#1943)4ee8fc4
Fix KT-18706 in CodeWriter.generateImports946f279
Update dependency gradle to v8.9 (#1940)7559d00
Update plugin kotlinBinaryCompatibilityValidator to v0.15.173d1def
Update plugin kotlinBinaryCompatibilityValidator to v0.15.0a78e7fc
Prepare next development versionc01770a
Prepare for release 1.18.0bf11fed
Update dependency mkdocs-material to v9.5.28- Additional commits viewable in compare view
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 commands and options
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 merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)