Skip to content

Comments

fix(deps): update com.squareup:kotlinpoet-ksp to v2#119

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/com.squareup-kotlinpoet-ksp-2.x
Open

fix(deps): update com.squareup:kotlinpoet-ksp to v2#119
renovate[bot] wants to merge 1 commit intomainfrom
renovate/com.squareup-kotlinpoet-ksp-2.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 23, 2024

This PR contains the following updates:

Package Change Age Confidence
com.squareup:kotlinpoet-ksp 1.18.12.2.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

square/kotlinpoet (com.squareup:kotlinpoet-ksp)

v2.2.0

Compare Source

Thanks to @​IRus for contributing to this release.

  • New: Kotlin 2.1.21.
  • New: KSP 2.1.21-2.0.1.
  • New: Add support for context parameters. (#​2112)
  • New: Eliminate Guava dependency. (#​2110)
  • New: Migrate to Dokka plugin V2. (#​2113)

v2.1.0

Compare Source

Thanks to @​ForteScarlet, @​TrevorSStone, @​RaoPrashanth, @​damianw, @​ansehoon1999, @​TheMrMilchmann for contributing to this release.

  • New: Kotlin 2.1.10.
  • New: KSP 2.1.10-1.0.30.
  • Fix: Support delegates on anonymous classes. (#​2034)
  • Fix: Prevent aliased imports from colliding with existing imports. (#​2052)
  • Fix: TypeName.MUTABLE_MAP_ENTRY now correctly uses the MutableEntry nested class name. (#​2061)
  • Fix: Use the same aliased import for both the nullable and non-nullable versions of a type. (#​2068)
  • Fix: Allow zero methods in a functional interface if it has a superinterface. (#​2075)

v2.0.0

Compare Source

Thanks to @​brokenhappy, @​tajobe, @​niyajali, @​ForteScarlet for contributing to this release.

This release is source- and binary-compatible with KotlinPoet 1.x.

The most important behavior change in this release is that spaces in generated code don't wrap by default anymore.

KotlinPoet 1.x used to replace space characters with newline characters whenever a given line of code exceeded the length limit. This usually led to better code formatting, but could also lead to compilation errors in generated code. Non-breaking spaces could be marked by the · character, but the discoverability of this feature wasn't great.

KotlinPoet 2.0 does not wrap spaces, even if the line of code they occur in exceeds the length limit. The newly introduced character can be used to mark spaces that are safe to wrap, which can improve code formatting. The · character has been preserved for compatibility, but its behavior is now equivalent to a regular space character.

  • New: Kotlin 2.0.10.
  • New: Spaces don't break by default.
  • New: New placeholder representing a space that is safe to wrap.
  • New: Add KSTypeAlias.toClassName(). (#​1956)
  • New: Add KSType.toClassNameOrNull(). (#​1956)
  • Fix: Enum classes that only have an init block now also generate the required semicolon. (#​1953)
  • Fix: Preserve typealiases in KSAnnotation.toAnnotationSpec(). (#​1956)
  • Fix: Preserve nullability in KSType.toClassName(). (#​1956)

Configuration

📅 Schedule: Branch creation - "after 1am and before 8am" in timezone Asia/Shanghai, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from 8eeba0a to 23ec3b5 Compare December 2, 2024 11:47
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from 23ec3b5 to 95b84e6 Compare January 8, 2025 16:03
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch 2 times, most recently from 1b2a4f1 to b6a1084 Compare January 30, 2025 15:03
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from b6a1084 to 6aefd17 Compare February 25, 2025 12:29
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from 6aefd17 to 0a071af Compare April 24, 2025 09:42
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from 0a071af to 5a8c056 Compare May 17, 2025 23:42
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from 5a8c056 to d0e1e9d Compare July 8, 2025 14:47
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from d0e1e9d to 99c444a Compare August 10, 2025 12:28
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from 99c444a to d3a8141 Compare September 8, 2025 13:12
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from d3a8141 to feb9ed5 Compare October 9, 2025 10:44
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from feb9ed5 to 181b1ec Compare November 10, 2025 23:45
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from 181b1ec to a9c90eb Compare November 18, 2025 19:05
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from a9c90eb to 5215505 Compare December 30, 2025 12:51
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from 5215505 to eb34dcf Compare February 2, 2026 15:02
@renovate renovate bot force-pushed the renovate/com.squareup-kotlinpoet-ksp-2.x branch from eb34dcf to 54bb987 Compare February 12, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants