Skip to content

Update dependency com.squareup:kotlinpoet to v2.4.0 - #9755

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/square.kotlin.poet
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/square.kotlin.poet

Conversation

@renovate

@renovate renovate Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
com.squareup:kotlinpoet 2.3.02.4.0 age confidence

Release Notes

square/kotlinpoet (com.squareup:kotlinpoet)

v2.4.0

Compare Source

Thanks to @​eyupcanakman and @​arimu1 for contributing to this release.

  • New: Kotlin 2.4.20.
  • New: KSP 2.3.11.
  • New: Support for explicit backing fields. (#​2325)
  • New: value class validations have been relaxed to support multi-field value classes. (#​2329)
  • New: Extract CodeBlockHolder interface for constructs that can hold a CodeBlock body and their builders. (#​2331)
  • New: Add CodeBlock.Builder.addComment() for adding // comments. (#​2340)
  • New: Add CodeBlockHolder.Builder.addComment(). (#​2347)
  • New: Use [] syntax instead of arrayOf when emitting annotation arguments. (#​2361)
  • Fix: Keep the // prefix on wrapped file comment lines. (#​2315)
  • Fix: TypeVariableName.equals/hashCode no longer overflow on recursively bound generics like Enum<E : Enum<E>>. (#​2320)
  • Fix: get and set operator function names are no longer escaped with backticks. (#​2338)
  • Fix: Don't special case varargs in KSAnnotation.toAnnotationSpec. (#​2360)
  • Fix: KSType.toTypeName() with the default TypeParameterResolver.EMPTY now resolves type parameters from their enclosing declarations instead of throwing. (#​2368)
  • Fix: Emit context parameters after annotations in FunSpec and PropertySpec. (#​2374)
  • Fix: An expression body no longer leaks indentation into later declarations. (#​2365)

Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate Renovate label Sep 14, 2026
@renovate
renovate Bot force-pushed the renovate/square.kotlin.poet branch from deaa1a4 to 328e878 Compare September 15, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate Renovate

Development

Successfully merging this pull request may close these issues.

0 participants