Skip to content

chore(deps): bump com.squareup:kotlinpoet from 2.3.0 to 2.4.0 - #424

Open
dependabot[bot] wants to merge 1 commit into
version/26.2from
dependabot/gradle/com.squareup-kotlinpoet-2.4.0
Open

chore(deps): bump com.squareup:kotlinpoet from 2.3.0 to 2.4.0#424
dependabot[bot] wants to merge 1 commit into
version/26.2from
dependabot/gradle/com.squareup-kotlinpoet-2.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 11, 2026

Copy link
Copy Markdown
Contributor

Bumps com.squareup:kotlinpoet from 2.3.0 to 2.4.0.

Release notes

Sourced from com.squareup:kotlinpoet's releases.

2.4.0

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)
Changelog

Sourced from com.squareup:kotlinpoet's changelog.

Version 2.4.0

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

2026-09-07

  • 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)
Commits
  • 97e504b Prepare for release 2.4.0.
  • fcd0f3c Update kotlin monorepo to v2.4.20 (#2379)
  • 354c921 Update plugin spotless to v8.10.2
  • 789311f Update plugin kotlinBinaryCompatibilityValidator to v0.18.2 (#2377)
  • c0d8293 Don't throw when toTypeName() hits type parameters with EMPTY resolver (#2368)
  • ae26f24 Don't leak an expression body's indent into later declarations (#2365)
  • c42a4ef Update plugin spotless to v8.10.1
  • 422f3b4 Emit context parameters after annotations in FunSpec and PropertySpec (#2374)
  • 4e91626 Update dependency click to v8.5.0 (#2371)
  • c6742fd Update actions/setup-java action to v6 (#2370)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [com.squareup:kotlinpoet](https://github.com/square/kotlinpoet) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/square/kotlinpoet/releases)
- [Changelog](https://github.com/square/kotlinpoet/blob/main/docs/changelog.md)
- [Commits](square/kotlinpoet@2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: com.squareup:kotlinpoet
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants