Skip to content

Revert kotlinpoet to 2.3.0, the last version built with Kotlin 2.3 - #3716

Merged
oldergod merged 1 commit into
masterfrom
bquenaudon.2026-09-10.kotlinpoet-kotlin-2-3
Sep 10, 2026
Merged

Revert kotlinpoet to 2.3.0, the last version built with Kotlin 2.3#3716
oldergod merged 1 commit into
masterfrom
bquenaudon.2026-09-10.kotlinpoet-kotlin-2-3

Conversation

@oldergod

Copy link
Copy Markdown
Member

Reverts kotlinpoet from 2.4.0 to 2.3.0 (the renovate bump in e7ff74c).

kotlinpoet 2.4.0 is built with Kotlin 2.4: its published module metadata requires kotlin-stdlib 2.4.20, while 2.3.0 requires 2.3.20. wire-schema exposes kotlinpoet as an api dependency, so Wire 7.0.0 puts Kotlin 2.4 metadata on consumer compile classpaths. Consumers that compile with Kotlin 2.2 cannot read that metadata and fail to compile. Evidence: cashapp/misk#3928 (misk pins Kotlin 2.2.21 and needed a kotlinpoet force to build against Wire 7.0.0).

2.3.0 is the newest kotlinpoet release not built with Kotlin 2.4; there is no 2.3.x after it. A comment on the pin marks the constraint, since renovate will re-open the bump.

Wire 7.0.1 follows with this revert.

Verification

Local, at this head:

  • :wire-schema:compileKotlinJvm, :wire-kotlin-generator:compileKotlin, :wire-compiler:compileKotlin: BUILD SUCCESSFUL.
  • :wire-kotlin-generator:spotlessCheck: BUILD SUCCESSFUL.
  • dependencyInsight on :wire-kotlin-generator compileClasspath resolves kotlinpoet 2.3.0.

@oldergod
oldergod merged commit 9d95647 into master Sep 10, 2026
17 checks passed
@oldergod
oldergod deleted the bquenaudon.2026-09-10.kotlinpoet-kotlin-2-3 branch September 10, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant