Skip to content

build(deps): bump org.jetbrains.kotlin:kotlin-bom from 2.0.21 to 2.4.21 - #1466

Merged
ZPascal merged 1 commit into
mainfrom
dependabot/maven/main/org.jetbrains.kotlin-kotlin-bom-2.4.21
Dec 3, 2026
Merged

ZPascal merged 1 commit into
mainfrom
dependabot/maven/main/org.jetbrains.kotlin-kotlin-bom-2.4.21

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Bumps org.jetbrains.kotlin:kotlin-bom from 2.0.21 to 2.4.21.

Release notes

Sourced from org.jetbrains.kotlin:kotlin-bom's releases.

Kotlin 2.4.21

Changelog

Backend. Wasm

  • KT-89267 K/Wasm: calling a (T) -> R lambda with an argument that isn't a T traps instead of throwing ClassCastException

JVM. Reflection

  • KT-89280 NoSuchElementException in argumentsMakeSenseOnlyForMutableContainer for Java non-static inner class of generic outer class
  • KT-80710 Reflection: change KCallable representation to avoid dependency on K1

JavaScript

  • KT-89449 Kotlin/JS: Member names no longer minified in production
  • KT-89363 KJS. Regular class with companion can't extend external class

Tools. Compiler plugins. Serialization

  • KT-89275 Kotlin/Wasm: Invalid Wasm is emitted for a @Serializable generic class with a class upper bound

Tools. Gradle. Native

  • KT-89285 SwiftPM import results in flooded log
  • KT-86251 K/N: Flaky linkDebugTestLinuxX64 failure with "truncated or malformed archive" on libstdlib-cache.a

Tools. Scripts

  • KT-89247 Kotlin Script: NoClassDefFoundError on 2nd execution with transitive dependency from imported script
  • KT-89220 JSR-223: generic Java bindings break all subsequent eval() calls
  • KT-88458 Audit closeable resource usage
  • KT-88453 VirtualFileScriptSource.text leaks an unclosed file stream — script source file handle held until GC, blocks file deletion on Windows

Kotlin 2.4.21-RC

Changelog

Backend. Wasm

  • KT-89267 K/Wasm: calling a (T) -> R lambda with an argument that isn't a T traps instead of throwing ClassCastException

JVM. Reflection

  • KT-89280 NoSuchElementException in argumentsMakeSenseOnlyForMutableContainer for Java non-static inner class of generic outer class
  • KT-80710 Reflection: change KCallable representation to avoid dependency on K1

JavaScript

  • KT-89449 Kotlin/JS: Member names no longer minified in production
  • KT-89363 KJS. Regular class with companion can't extend external class

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin:kotlin-bom's changelog.

2.5.0

Updated vulnerable third-party dependencies in:

  • baseline-browser-mapping: 2.10.0 -> 2.11.27
  • browserslist: 4.28.1 -> 4.29.3
  • brace-expansion: 1.1.12 -> 1.1.18
  • brace-expansion: 2.0.2 -> 2.1.4
  • fast-uri: 3.1.0 -> 3.1.8
  • js-yaml: 4.1.1 -> 4.3.2
  • launch-editor: 2.13.1 -> 2.14.1
  • nanoid: 3.3.11 -> 3.3.18
  • socket.io-parser: 4.2.5 -> 4.2.7
  • webpack-dev-server: 5.2.3 -> 6.0.0
  • ws: 8.18.3/8.19.0 -> 8.20.1/8.21.0
  • GraalVM Community JDK 25.0.3 -> Oracle GraalVM JDK 25.0.5.1

Analysis API

Fixes

  • KT-87460 Flaky (Embeddable)SwiftExport tests
  • KT-60884 Analysis API: Improve standalone mode project model creation
  • KT-61775 Analysis API: KtKClassAnnotationValue lacks complete type information
  • KT-69055 Analysis API: Stabilize KaScopes
  • KT-68884 Analysis API: Rename/deprecate/remove declarations as part of Stabilization
  • KT-65215 Analysis API: Distinguish APIs for Analysis API users and platforms
  • KT-68857 Analysis API: Refactor annotations
  • KT-68341 Analysis API: Expanded function types from libraries don't have an abbreviated type
  • KT-68462 Analysis API: Integrate project-structure module into analysis-api and analysis-api-platform-interface
  • KT-67786 Analysis API: Implement improved KtType hierarchy and design
  • KT-60484 Analysis API: add support for KtType pointers similar to KtSymbolPointer
  • KT-65417 K2 IDE: KTOR false positive expect-actual matching error on enum class because of implicit clone() in non-JVM source sets
  • KT-68896 Support VirtualFile binary dependency inputs to Analysis API modules
  • KT-88945 Analysis API: annotation resolution drops a class id when a source annotation shadows a library one

Analysis API. FIR

Performance Improvements

  • KT-60240 K2: optimize FirElementBuilder#getOrBuildFirForNonKtFileElement for KtTypeReference case
  • KT-76375 ContextCollector: terminate search if no elements were found with a designation
  • KT-86758 Don't require body resolution to obtain an explicit backing field
  • KT-75496 Doesn't resolve the entire designation path to the body phase for diagnostics

Fixes

  • KT-85627 AA: LLFlightRecorder initialization fails on runtimes without jdk.jfr
  • KT-88111 K2: Analysis API: make FileStructure element computation fully lazy
  • KT-85410 LLFirTypeTargetResolver: add more type guards
  • KT-86185 Analysis API: Make FirDesignation internal by removing the leak through UsualClassTypeQualifierBuilder

... (truncated)

Commits
  • 9180ce6 Add changelog for 2.4.21-RC
  • 851077b [Serialization] Copy type parameter bounds onto generated serializers (#8421)
  • 1b6b624 [Wasm]: Generate a Kotlin-level cast for bridged lambda functions. (#8404)
  • 3c223c2 Rrr/2.4.20/core docs (#8322)
  • c681c2e [2.4.20] [KT-89285] Stop the xcodebuild logs being output by default (#8277)
  • f0645d1 [2.4.20] [JS] Reorder CompilerConfiguration properties initialization (#8282)
  • f507ecd [JS] Don't try to initialize an external class's companion object
  • c60d7d8 Reflection: fix NoSuchElementException in ConvertFromJava.kt
  • 05d1cde REPL: render correct reflected binding type
  • 5acec47 Scripting: store collected dependencies recursively
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Dec 3, 2026
@dependabot
dependabot Bot force-pushed the dependabot/maven/main/org.jetbrains.kotlin-kotlin-bom-2.4.21 branch from 0409730 to c5d7d9d Compare December 3, 2026 12:38
Bumps [org.jetbrains.kotlin:kotlin-bom](https://github.com/JetBrains/kotlin) from 2.0.21 to 2.4.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.0.21...v2.4.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-bom
  dependency-version: 2.4.21
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/maven/main/org.jetbrains.kotlin-kotlin-bom-2.4.21 branch from c5d7d9d to e1c11ed Compare December 3, 2026 12:42
@ZPascal
ZPascal merged commit 275d964 into main Dec 3, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/main/org.jetbrains.kotlin-kotlin-bom-2.4.21 branch December 3, 2026 15:08
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.

1 participant