Skip to content

Update kotlin monorepo to v2.4.0#356

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/kotlin-monorepo
Open

Update kotlin monorepo to v2.4.0#356
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/kotlin-monorepo

Conversation

@renovate

@renovate renovate Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.jetbrains.kotlin:kotlin-stdlib (source) 2.3.202.4.0 age confidence

Release Notes

JetBrains/kotlin (org.jetbrains.kotlin:kotlin-stdlib)

v2.4.0

v2.3.21

Backend. Wasm
  • KT-84610 [Wasm] Failed to compile klibs in IC mode
Compiler
  • KT-84566 Prevent launching Default dispatcher threads from IJ SDK in kotlin compiler
  • KT-85358 Native: roll back the workaround for KT-84678 once MapLibre has been properly fixed
  • KT-85626 @JvmRecord in commonMain breaks compileCommonMainKotlinMetadata with "Cannot access 'java.lang.Record'"
  • KT-85405 Postpone/Revert DontIgnoreUpperBoundViolatedOnImplicitArguments
  • KT-84678 K/N: Undefined symbol from SPM-added ObjC frameworks when linking iOS target
  • KT-85021 False positive SUBCLASS_CANT_CALL_COMPANION_PROTECTED_NON_STATIC error in multi-module project
JavaScript
  • KT-82395 Support top-level declarations from compiler plugins in JS incremental compilation
  • KT-84475 K/JS: false-positive exportability warnings in multi-module project
  • KT-84633 Kotlin/JS: "Serializer for class not found" error when IR output granularity is whole-program
  • KT-85047 Kotlin/JS: @JsStatic on suspend fun of class companion generates incorrect d.ts
  • KT-84517 K/JS: bad mappings data in outputted Kotlin stdlib source map
Libraries
  • KT-71848 Kotlinx.metadata: Add CompilerPluginData into Km API
Native. C and ObjC Import
  • KT-85399 Kotlin/Native: TypeCastException when casting ObjC Protocol MetaClass with genericSafeCasts enabled
  • KT-85508 K/N: TypeCastException when using nw_parameters_create_secure_tcp block parameter on 2.3.20
Tools. Gradle
  • KT-84729 Update Gradle plugin-publish version to enable configuration cache badge on Gradle plugins portal
Tools. Gradle. Compiler plugins
  • KT-85257 AGP/Compose: MergeMappingFileTask clears R8 artifacts due to @OutputDirectory annotation on AGP 9.1+
Tools. Scripts
  • KT-85105 Scripts: JVM backend internal error (IR lowering) when scratch file contains anonymous object
  • KT-85103 Exception while generating code when explain destructuring decls
  • KT-84842 scriptCompilationClasspathFromContext behavior changed from 2.3.10 to 2.3.20
  • KT-85029 Kotlin Scripting: ScriptDiagnostic reports "at null" instead of error location
Tools. Statistics (FUS)
  • KT-85628 KGP: composite build FUS metrics fail on access of 'configurationTimeMetrics'

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.

@netlify

netlify Bot commented May 21, 2026

Copy link
Copy Markdown

Deploy Preview for lucky-concha-f3599f canceled.

Name Link
🔨 Latest commit da2aa02
🔍 Latest deploy log https://app.netlify.com/projects/lucky-concha-f3599f/deploys/6a2e73ad09e75500080cdc90

@renovate renovate Bot changed the title Update dependency org.jetbrains.kotlin:kotlin-stdlib to v2.3.21 Update kotlin monorepo to v2.3.21 Jun 2, 2026
@renovate renovate Bot force-pushed the renovate/kotlin-monorepo branch from 9432529 to 8b332da Compare June 3, 2026 10:53
@renovate renovate Bot changed the title Update kotlin monorepo to v2.3.21 Update kotlin monorepo to v2.4.0 Jun 3, 2026
@renovate renovate Bot force-pushed the renovate/kotlin-monorepo branch from 8b332da to 7ca1b80 Compare June 7, 2026 15:20
@DovOps

DovOps commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

@copilot - 2 things. 1) can you comment on the differences between the older and newer version of kotlin to confirm that no changes are likely to break things here? and This is not sufficent. PLease make sure this is also added to catalog/dependency-version-targets.json so the enforcement rules work - this is why the docs and spec sanity are not passing

Copilot AI commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@copilot - 2 things. 1) can you comment on the differences between the older and newer version of kotlin to confirm that no changes are likely to break things here? and This is not sufficent. PLease ...

Updated in 16f3cb8: I added org.jetbrains.kotlin:kotlin-stdlib 2.4.0 to /catalog/dependency-version-targets.json so enforcement rules align with the template Gradle bumps.

Validation now passes:

  • bash pipeline/validate-generated-dependency-targets.sh /home/runner/work/traderX/traderX/finos/traderX/templates
  • bash pipeline/speckit/validate-root-spec-kit-gates.sh

On break risk for 2.3.20 -> 2.4.0: in this repo we only consume Kotlin as a runtime stdlib dependency in Java templates (no *.kt sources, no Kotlin compiler/plugin usage), so this is low risk and mainly a library/runtime refresh. Existing Java/Spring build contracts remained intact after the gate checks above.

Copilot AI requested a review from DovOps June 12, 2026 19:01
Comment thread .github/copilot-instructions.md Outdated
Copilot AI requested a review from DovOps June 12, 2026 19:04
@renovate renovate Bot force-pushed the renovate/kotlin-monorepo branch from ab89261 to 96f2761 Compare June 14, 2026 09:13
@DovOps

DovOps commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

@copilot Look at the failing actions and fix the issue - see https://github.com/finos/traderX/actions/runs/27494278393/job/81265330769

Copilot AI commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@copilot Look at the failing actions and fix the issue - see https://github.com/finos/traderX/actions/runs/27494278393/job/81265330769

Fixed in 295596b.

Root cause in the failing job was dependency-target drift: org.jetbrains.kotlin:kotlin-stdlib was 2.4.0 in templates but still 2.3.20 in catalog/dependency-version-targets.json.

I updated the catalog target to 2.4.0 and validated with:

  • bash pipeline/validate-generated-dependency-targets.sh /home/runner/work/traderX/traderX/finos/traderX/templates
  • bash pipeline/speckit/validate-root-spec-kit-gates.sh

@renovate renovate Bot force-pushed the renovate/kotlin-monorepo branch from 295596b to da2aa02 Compare June 14, 2026 09:26
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.

2 participants