Skip to content

Upgrading org.jetbrains.kotlin:kotlin-test-junit 1 to 2

Breaking1.9.25 → 2.4.21Breaking203Security2Platform8Deprecated110New818Changed1058Fixed5294Other731

BreakingUpgrade verdict

203 breaking changes and 8 platform requirement changes and 2 security fixes.

  • Removes KaEnumEntryInitializerSymbol from the Analysis API.
  • Removes the FE10 implementation.
  • Some very old language features from before Kotlin 2.0 are no longer supported by the compiler.
  • Prohibits compiling sources in the 'kotlin' package by default on Native.
Top 5 of 323 that need code or config changes
Breaking203
Removes KaEnumEntryInitializerSymbol from the Analysis API.
KaEnumEntryInitializerSymbol
Removes the FE10 implementation.
Drops pre-2.0 language features from K2 and common compiler code.
K2
Prohibits compiling sources in the 'kotlin' package by default on Native.
kotlin
Drops the ANNOTATION_ON_ANNOTATION_ARGUMENT diagnostic.
ANNOTATION_ON_ANNOTATION_ARGUMENT
Removes old @JvmInline multi-field value classes.
JvmInline
Drops the lateinit modifier from the IrFile.module property.
IrFile.module
Deletes the source code for the legacy JS backend.
Drops support for legacy JS metadata in the metadata decompiler.
Drops JVM classpath metadata arguments in BTA.
Removes the Xklib-normalize-absolute-path compiler argument.
Xklib-normalize-absolute-path
Drops SkipStandaloneScriptsInSourceRoots.
SkipStandaloneScriptsInSourceRoots
Drops language version 1.9 for JVM.
Removes Kotlin/Native support for non-opaque LLVM pointer types.
Drops the old IR parameter API.
Removes deprecated non-builder factory functions and classes in BTA.
Drops deprecated K1 specific methods from IrPluginContext.
IrPluginContext
Removes deprecated API in the 2.4.0 release.
Removes deprecated enableKotlinToolingMetadataArtifact in 2.4.0.
enableKotlinToolingMetadataArtifact
Removes the 'kotlin-android-extensions' plugin id.
kotlin-android-extensions
Removes out-of-process compilation mode.
Removes getPluginArtifactForNative() from the Gradle plugin.
getPluginArtifactForNative()
Removes the word 'legacy' from the ABI Validation DSL.
Removes deprecated public constructors of JS declarations for K/JS and Wasm.
Removes deprecated NodeJsExec.create for K/JS and Wasm.
NodeJsExec.create
Removes deprecated ExperimentalDceDsl for K/JS and Wasm.
ExperimentalDceDsl
Removes deprecated Kotlin/JS task constructors in Gradle.
Removes deprecated symbols related to the legacy JS target in Gradle.
Removes deprecated wasm declarations in the js package for K/JS and Wasm.
Removes Android source set layout v1.
Removes deprecated Gradle property kotlin.kmp.isolated-projects.support.
kotlin.kmp.isolated-projects.support
Maven: removes Kotlin script execution support.
Renames AdditionalKDocResolutionProvider to add the Ka prefix.
org.jetbrains.kotlin.analysis.api.symbols.AdditionalKDocResolutionProvider
Renames DebugSymbolRenderer to add the Ka prefix.
org.jetbrains.kotlin.analysis.api.symbols.DebugSymbolRenderer
Renames CodeFragmentCapturedValue to add the Ka prefix.
org.jetbrains.kotlin.analysis.api.compile.CodeFragmentCapturedValue
Renames DebuggerExtension to add the Ka prefix.
org.jetbrains.kotlin.analysis.api.components.DebuggerExtension
Renames DefaultTypeClassIds to add the Ka prefix.
org.jetbrains.kotlin.analysis.api.components.DefaultTypeClassIds
Removes resolution to context receivers in K2.
K2
Removes reflection support for multi-field value classes.
Renames ABI Validation tasks to avoid using the word legacy.
Deletes the DSL for working with dump variants in ABI Validation.
Drops the K1 decompiler.
Drops KaImportOptimizer from the Analysis API.
KaImportOptimizer
Drops language version 1.9 for non-JVM platforms.
Drops language version 1.8.
Drops the IrSerializationSettings.reuseExistingSignaturesForSymbols setting.
IrSerializationSettings.reuseExistingSignaturesForSymbols
Removes IrDeclaration.parents after the Anvil update.
IrDeclaration.parents
Drops BuiltinSymbolsBase from the plugin API in KLIB stdlib symbols loading.
BuiltinSymbolsBase
Removes legacy JS backend related CLI flags.
Renames the MustUseReturnValue annotation to MustUseReturnValues.
MustUseReturnValueMustUseReturnValues
Drops JS- and Wasm-specific IrLinkageError classes.
IrLinkageError
Removes the default argument for linkageError from kotlin.js.getPropertyCallableRef.
kotlin.js.getPropertyCallableReflinkageError
Removes Ant support.
Drops K1/JS- and K1/Native-specific testrunners from AtomicFU.
AtomicFU
Drops K1-specific testrunners from the Serialization compiler plugin.
Removes Gradle symbols that were deprecated after KT-54312.
Removes KotlinCompilation.source.
KotlinCompilation.source
Removes support for properties that disable precise task outputs backup.
Removes deprecated classpath snapshot task inputs.
Removes additionalMetadata from the compiler options DSL.
additionalMetadata
Removes the resources resolution strategy completely.
Removes the legacy kotlin-gradle-plugin-model.
kotlin-gradle-plugin-model
Removes metadata dependencies transformation for the runtimeOnly scope.
runtimeOnly
Removes the bitcode DSL.
Removes the kapt.use.k2 property and the code allowing K2 with K1 kapt.
kapt.use.k2
Removes scoped resolvable and intransitive DependenciesMetadata configurations used in pre-IdeMultiplatformImport IDE import.
DependenciesMetadata
Renames KaPropertyAccessorSymbol#isCustom to isNotDefault.
KaPropertyAccessorSymbol#isCustomKaPropertyAccessorSymbol#isNotDefault
Removes kotlin-native/Interop/JsRuntime from Kotlin/Native.
kotlin-native/Interop/JsRuntime
Removes the -Xjps compiler argument.
-Xjps
Deletes the kotlin-android-extensions compiler plugin.
kotlin-android-extensions
Removes the kotlin-android-extensions plugin.
kotlin-android-extensions
Removes the ability to use the Native non-embeddable compiler jar in the Gradle plugin.
Removes JS-related functionality from the kotlin-maven-plugin.
kotlin-maven-plugin
Drops language versions 1.6 and 1.7.
Drops the -Xuse-k2 compiler flag.
-Xuse-k2
Drops the IrElementVisitor, IrElementVisitorVoid and IrElementTransformer interfaces.
IrElementVisitorIrElementVisitorVoidIrElementTransformer
Removes the Ir class.
Ir
Removes IrErrorDeclaration from IR.
IrErrorDeclaration
Removes the 'kotlin.incremental.useClasspathSnapshot' property.
kotlin.incremental.useClasspathSnapshot
Removes the deprecated JS/Dce Gradle DSL.
Dce
Removes support for Legacy Metadata Compilation with Compatibility Metadata Variant support.
Removes KotlinTarget.useDisambiguationClassifierAsSourceSetNamePrefix and overrideDisambiguationClassifierOnIdeImport from KGP.
KotlinTarget.useDisambiguationClassifierAsSourceSetNamePrefixoverrideDisambiguationClassifierOnIdeImport
Removes preset APIs.
Removes legacy KMP flags.
Removes the 'android()' target.
android()
Removes the PomDependenciesRewriter that is not compatible with Project Isolation.
PomDependenciesRewriter
Removes konanVersion from CInteropProcess.
CInteropProcesskonanVersion
Removes the Kotlin Native Performance plugin.
Removes multiplatform support from the Maven plugin.
Renames kotlinBinaryenSetup and kotlinD8Setup for Wasm.
kotlinBinaryenSetupkotlinD8Setup
Removes the custom class loader option in Analysis API Standalone session creation.
Removes JAR publications with old artifact names in the high-level-api family.
Removes the deprecated Analysis API API.
Removes the deprecated mod operator convention.
mod
Drops IrAttributeContainer from the IR API.
IrAttributeContainer
Removes the legacy Nashorn script engine.
Removes LabeledBlockToDoWhileTransformation and related code from KJS.
LabeledBlockToDoWhileTransformation
Removes the deprecated KotlinPlatformJsPlugin.
KotlinPlatformJsPlugin
Removes the deprecated KotlinPlatformAndroidPlugin.
KotlinPlatformAndroidPlugin
Removes the kotlin.androidExtensionsPlugin.enabled flag.
kotlin.androidExtensionsPlugin.enabled
Removes the Legacy Multiplatform Gradle Plugin.
Removes the built-in ABI snapshot implementation.
Removes default exports from Wasm exports in Kotlin/Wasm.
Removes the create###Array functions from the Wasm standard library.
create###Array
Drops language versions 1.4 and 1.5.
Removes JDK 21 getFirst()/getLast() from (Mutable)List interfaces in K1.
List.getFirst()List.getLast()MutableList.getFirst()MutableList.getLast()
Removes decoy support for the JS target from the Compose compiler.
Removes the ability to apply compiler plugins during the KAPT stub generation phase.
Deletes the org.jetbrains.kotlin.cli.js.K2JSCompiler class.
org.jetbrains.kotlin.cli.js.K2JSCompiler
Renames org.jetbrains.kotlin.cli.js.K2JsIrCompiler to K2JSCompiler.
org.jetbrains.kotlin.cli.js.K2JsIrCompilerK2JSCompiler
Removes the deprecated common platform plugin id.
Removes obsolete Gradle plugin variants for Gradle versions below 7.6.
Removes useLibraries from the CocoaPods plugin.
useLibraries
Removes ChromeWasmGc from Kotlin/Wasm.
ChromeWasmGc
Renames the 'high-level-api' family of JARs to 'analysis-api'.
Renames KaClassLikeSymbol.classIdIfNonLocal to classId.
KaClassLikeSymbol.classIdIfNonLocalKaClassLikeSymbol.classId
Renames KtCallableSymbol.callableIdIfNonLocal to callableId.
KtCallableSymbol.callableIdIfNonLocalKtCallableSymbol.callableId
Removes infix modifiers from Analysis API type equality and subtyping functions.
Removes support for bitcode embedding on Kotlin/Native.
K2 drops support for UseBuilderInferenceOnlyIfNeeded=false.
UseBuilderInferenceOnlyIfNeeded
Disallows open @Composable functions with default params to fix binary compatibility issues.
@Composable
Deletes the IrMessageLogger interface.
IrMessageLogger
Drops library versions in KLIB manifests during KLIB resolve.
Drops the "-repository <path>" CLI parameter from the KLIB Tool.
-repository
Drops the "install" and "remove" commands from the KLIB Tool.
installremove
Removes the deprecated KotlinToolRunner(project) constructor.
KotlinToolRunner
Analysis API drops the ability to enable the global phase resolve lock.
Removes the CLI option -Xrepeat.
-Xrepeat
Removes all deprecated declarations in kotlinx-metadata-jvm.
Removes the useless Kotlin compilation level compiler options DSL API.
Drops deprecated KonanTargets.
KonanTargets
Removes ownModuleName from AbstractKotlinCompile.
AbstractKotlinCompileownModuleName
Removes deprecated platform plugin ids in the Gradle multiplatform tooling.
Removes the kotlin.useK2 Gradle property.
kotlin.useK2
Removes the Kapt flag that enabled the old JVM backend.
Removes the COMPILE_INCREMENTAL_WITH_ARTIFACT_TRANSFORM system property.
COMPILE_INCREMENTAL_WITH_ARTIFACT_TRANSFORM
Removes deprecated Gradle conventions usages.
Removes enableEndorsedLibs from the Gradle codebase.
enableEndorsedLibs
Drops the IGNORE_BACKEND_K2_LIGHT_TREE directive.
IGNORE_BACKEND_K2_LIGHT_TREE
Considers removal of KaAnnotation#useSiteTarget.
KaAnnotation#useSiteTarget
Replaces classId with IrClassSymbol in IrAnnotation.
IrAnnotationIrClassSymbolclassId
Forbids exporting properties with context parameters in Kotlin/JS.
Prohibits arbitrary placement of type parameters in callable reference LHS.
Changes the semantics of the -Xpartial-linkage-loglevel compiler option.
-Xpartial-linkage-loglevel
Removes kotlin.test.assert*NoInline hidden functions.
kotlin.test.assert*NoInline
Promotes the deprecation level for the BTA prototype to ERROR.
Removes internal and deprecated API from ExtrasProperty.kt.
ExtrasProperty.kt
Raises deprecation to error for the LanguageSettings.enableLanguageFeature DSL.
LanguageSettings.enableLanguageFeature
Removes deprecated internal JS functions for K/JS and Wasm.
Forbids using KaSessionComponent implementation types directly.
KaSessionComponent
Changes K1 API deprecation level from Warning to Error.
Prohibits usage of nested type aliases from libraries for sources with language version below 2.3.
Forbids compilation of code with explicit _root_ide_package_ in CLI mode.
_root_ide_package_
Forbids typealiasing for all compiler-required annotations.
typealias
Prohibits protected visibility in final expected classes.
Raises the deprecation level to error for Kotlin*Options properties.
Kotlin*Options
Promotes deprecation of public constructors of JS declarations to Error in K/JS and Wasm.
Promotes deprecation of wasm declarations in the "js" package to Error.
Promotes deprecation of NodeJsExec.create to Error.
NodeJsExec.create
Promotes the kotlinArtifacts deprecation to an error.
kotlinArtifacts
Restricts delegation of JavaModuleResolver to CliJavaModuleResolver.
JavaModuleResolverCliJavaModuleResolver
Removes kotlin.wasm.internal.ClosureBox* classes from the Wasm standard library.
kotlin.wasm.internal.ClosureBox
Removes the kotlin.native.internal.Ref class from the Kotlin/Native standard library.
kotlin.native.internal.Ref
Prohibits declaring AtomicReference to a value class in the atomicfu compiler plugin.
AtomicReference
Changes deprecation level to ERROR for the kotlinOptions DSL.
kotlinOptions
Changes deprecation level to error for KotlinCompilation.source.
KotlinCompilation.source
Raises the deprecation of KotlinCompilationOutput#resourcesDirProvider to an error.
KotlinCompilationOutput#resourcesDirProvider
K2 now prohibits declaring local type aliases.
Forbids using the inline and value class modifiers together.
inlinevalue
Removes legacy JS test executors.
Removes JS from the org.jetbrains.kotlin.test.TargetBackend enum.
org.jetbrains.kotlin.test.TargetBackend
Makes the kotlin-android-extensions plugin fail the build when applied.
kotlin-android-extensions
Decommissions properties that disable precise task outputs backup.
Makes using the -Xuse-k2 compiler flag an error.
-Xuse-k2
Makes the @Escapes annotation required for all external functions in Kotlin/Native.
@Escapes
Prohibits exposing types via type parameters' bounds.
Forbids using projection modifiers inside a top-level Array in an annotation's value parameter.
Array
KLIB Resolve forbids passing KLIB unique names via CLI.
Fixes a binary incompatible evolution of KotlinLibraryResolver.resolveWithDependencies.
KotlinLibraryResolver.resolveWithDependencies
Prohibits implementing a var property with an inherited val property.
Changes KotlinTargetAlreadyDeclaredChecker severity from warning to error.
KotlinTargetAlreadyDeclaredChecker
Raises deprecation level to Error for KotlinTarget.useDisambiguationClassifierAsSourceSetNamePrefix and overrideDisambiguationClassifierOnIdeImport.
KotlinTarget.useDisambiguationClassifierAsSourceSetNamePrefixoverrideDisambiguationClassifierOnIdeImport
Deprecates the targetFromPreset API with an error.
targetFromPreset
Deprecates ios, tvos and watchos presets with an error.
iostvoswatchos
Moves ExperimentalSwiftExportDsl to another package.
ExperimentalSwiftExportDsl
Prohibits using Nothing as a catch parameter type.
Nothing
Forbids overriding by private members in link-time for Kotlin/Native.
Moves KaSymbolBasedReference to the resolution package.
KaSymbolBasedReference
Moves KaTypeProjection to the types package.
KaTypeProjection
Forbids expect class A actual constructor.
Forbids deferred initialization of open properties with a backing field.
Forbids generic delegating constructor calls with the wrong type for a generic parameter.
Prohibits header and impl in multiplatform projects.
headerimpl
Changes the root package and coordinates of kotlinx-metadata-jvm to kotlin.*.
kotlinx-metadata-jvm
Prohibits using the property plus invoke convention for delegated properties.
Splits withWasm() into withWasmJs() and withWasmWasi() in the KMP hierarchy DSL.
withWasm()withWasmJs()withWasmWasi()
Prohibits different member scopes for a non-final expect declaration and its actual.
Drops legacy JS compilations of stdlib and kotlin-test.
kotlin-test
Stops publishing the kotlin-archetype-js Maven archetype.
kotlin-archetype-js
Replaces kotlin-test-common and kotlin-test-annotations-common with just kotlin-test.
kotlin-test-commonkotlin-test-annotations-commonkotlin-test
Makes ExtrasProperty.kt internal.
ExtrasProperty.kt
Marks KaFirReference and all its implementations with the internal modifier.
KaFirReference
Forbids accessing an internal setter from a derived class in another module.
Security2
Applies the fix for CVE-2024-7254 to the fork of protobuf 2.6.1.
protobuf
Signs native prebuilt tars.
Platform8
Bumps the minimal supported AGP version to 8.5.2.
Bumps the minimal supported iOS and tvOS versions to 14.0.
Bumps the minimal supported AGP version to 8.2.2.
Adds Gradle 8.13 support for the Problems API.
Problems API
Bumps the minimal supported Gradle version to 7.6.3.
Bumps the minimal supported Android Gradle plugin version to 7.3.1.
Adds Xcode 16 support in Kotlin.
Bumps the minimal supported Android Gradle Plugin version to 7.1.
Deprecated110
Deprecates utilities exposed through analysis-internal-utils.
analysis-internal-utils
Deprecates and prohibits using wasmExports in Kotlin/Wasm.
wasmExports
Adds @K1Deprecation to all public declarations of K1 modules.
K1Deprecation
Deprecates the K1 compiler.
Removes deprecated '-no-endorsed-libs' usages in the Kotlin project.
-no-endorsed-libs
Deprecates using PSI mode from the compiler CLI.
Adds ERROR-level deprecation for CleanableStore and CleanDataTask.
CleanableStoreCleanDataTask
Deprecates the KGP contentEquals() utility and moves it to an internal utility function.
contentEquals()
Marks parts of the JS Test DSL with DelicateAPI.
DelicateAPI
Deprecates the FIR based incremental runner.
FIR
Deprecates KtSelfType.
KtSelfType
Deprecates language version 2.1.
Deprecates kotlin.io.readLine with WARNING.
kotlin.io.readLine
Deprecates AbstractCoroutineContextKey and associated API.
AbstractCoroutineContextKey
Deprecates JvmCompilerArguments.contains with a warning in BTA.
JvmCompilerArguments.contains
Deprecates access to Kotlin source sets in the Android extension.
Deprecates the non-BTA JVM compiler execution mode in Gradle.
Deprecates support for Gradle 7.6 through 8.13 versions.
Makes enableKotlinToolingMetadataArtifact deprecated.
enableKotlinToolingMetadataArtifact
Adds Deprecated annotation to the legacyDump block and property in ABI Validation.
legacyDump
Deprecates KotlinJsCompilerType and KotlinProjectExtension methods using it.
KotlinJsCompilerTypeKotlinProjectExtension
Deprecates and removes D8 in js packages for Wasm.
D8
Deprecates KaSymbolInformationProvider#{getter, setter}DeprecationStatus.
KaSymbolInformationProvider#getterDeprecationStatusKaSymbolInformationProvider#setterDeprecationStatus
Deprecates KaFunctionType.arity in the Analysis API.
KaFunctionType.arity
Deprecates the @BuilderInference annotation.
BuilderInference
Deprecates isMemoryLeakCheckerActive in Kotlin/Native.
isMemoryLeakCheckerActive
Deprecates forceCheckedShutdown in Kotlin/Native.
forceCheckedShutdown
Deprecates PreprocessedVirtualFileFactoryExtension.
PreprocessedVirtualFileFactoryExtension
Deprecates out-of-process compilation mode.
Deprecates the LanguageSettings.enableLanguageFeature DSL.
LanguageSettings.enableLanguageFeature
Deprecates the CleanableStore infrastructure.
CleanableStore
Deprecates declaring dependencies using multi-string notation.
Deprecates specifying 'org.gradle.java.installations.auto-detect' as a project property on the command line.
org.gradle.java.installations.auto-detect
Considers deprecating and removing the kotlin.kmp.isolated-projects.support property.
kotlin.kmp.isolated-projects.support
Deprecates kotlin.native.cacheKind and introduces a DSL instead.
kotlin.native.cacheKind
Deprecates eager GlobalData initialization in Kotlin/Native.
GlobalData
Deprecates Number.toChar() with error deprecation level.
Number.toChar()
Increases kotlin.io.createTempDir and createTempFile deprecation level to ERROR.
kotlin.io.createTempDirkotlin.io.createTempFile
Deprecates String.subSequence(start, end) with error and plans to drop it in the future.
String.subSequence(start, end)
Increases InputStream.readBytes(Int) deprecation level to HIDDEN.
InputStream.readBytes(Int)
Deprecates the Native -Xallocator=std option.
-Xallocator=std
Deprecates the old Build Tools API prototype API.
Deprecates -Xjvm-default in favor of -jvm-default.
-Xjvm-default-jvm-default
Deprecates ComponentRegistrar.
ComponentRegistrar
Deprecates usage of HasKotlinDependencies inside KotlinCompilation.
HasKotlinDependenciesKotlinCompilation
Updates the deprecation of KotlinJsTestFramework#createTestExecutionSpec.
KotlinJsTestFramework#createTestExecutionSpec
Deprecates the "org.jetbrains.kotlin.android" plugin.
org.jetbrains.kotlin.android
Promotes deprecation of NPM and Yarn package manager internal functions for K/JS and Wasm.
Promotes the phantom-js for Karma deprecation to ERROR for Wasm and JS.
phantom-js
Promotes deprecation of ExperimentalWasmDsl to Error for K/JS and Wasm.
ExperimentalWasmDsl
Promotes deprecation of internal JS functions to Error for K/JS and Wasm.
Promotes deprecation of ExperimentalDceDsl to Error for K/JS and Wasm.
ExperimentalDceDsl
Deprecates 'androidTarget'.
androidTarget
K2 deprecates exposing a package-private parameter of an internal method.
Finds and deprecates actively used parts of the K1 API.
Deprecates referencing inlineable lambdas in js() calls.
js()
Deprecates the kapt.use.k2 property.
kapt.use.k2
Removes -Xextended-compiler-checks in favor of a deprecation cycle.
-Xextended-compiler-checks
Deprecates language versions 1.8 and 1.9.
Deprecates hasAnnotations flag in kotlin-metadata and adds JVM-only hasAnnotationsInBytecode
hasAnnotationshasAnnotationsInBytecode
Reviews deprecations in stdlib for 2.2
Deprecates Windows 7 support in Kotlin/Native.
Deprecate Ant support
Deprecates declaration of atomic properties marked with @PublishedApi with an error.
@PublishedApi
Deprecates remaining kotlinOptions DSL features that were not yet deprecated.
kotlinOptions
Updates Kotlin Gradle plugin deprecations ahead of 2.2.
Deprecates phantom-js for Karma in Wasm/JS targets.
phantom-jsKarma
Deprecates publishAllLibraryVariants in kotlin-android.
publishAllLibraryVariantskotlin-android
Deprecates commonization parameters in KGP with an error.
Increases DeprecationLevel to 'Error' on deprecated 'ExtrasProperty.kt' in Kotlin 2.2.
ExtrasProperty.kt
Deprecates kotlinArtifacts with a warning.
kotlinArtifacts
Continues deprecation of the REPL built into kotlinc.
kotlinc
Deprecates accessing Task.project during execution in Gradle 8.12.
Task.project
Addresses the upcoming deprecation of Boolean 'is-' properties in Gradle Groovy scripts.
Deprecates the JvmDefault annotation with level HIDDEN.
JvmDefault
Warns users about removal of context classes and constructors.
Implements a deprecation error for FIELD-targeted annotations on annotation properties.
FIELD
Prohibits via a deprecation warning accessing a nested class through a generic outer class.
KMM Wizards stop using the deprecated 'kotlinOptions'.
kotlinOptions
Handles ProjectDependency.getDependencyProject() being deprecated in Gradle 8.11.
ProjectDependency.getDependencyProject()
Deprecates non-Provider API in JS infrastructure extensions for JS and Wasm.
Deprecates download in NodeJsRootExtension in favor of download from NodeJsExtension, to be removed in 2.2.
NodeJsRootExtensionNodeJsExtensionNodeJsPlugindownload
Deprecates and removes support for bitcode embedding from the Kotlin Gradle plugin.
Deprecates instantiating reified type parameters into intersection types.
Implements a deprecation error for Synchronized, Throws and JvmField on annotation parameters in K2.
SynchronizedThrowsJvmField
Adds a deprecation warning for the reified modifier on type parameters of type aliases.
reified
Deprecates passing KLIB unique names via CLI in KLIB Resolve.
Reviews deprecations in stdlib for 2.1.
Kotlin/Native deprecates APIs marked with FreezingIsDeprecated to error level.
FreezingIsDeprecated
Deprecates KotlinCompilationOutput#resourcesDirProvider.
KotlinCompilationOutput#resourcesDirProvider
Changes the deprecation message for KMP target shortcuts.
Deprecates appendln in favor of appendLine.
appendlnappendLine
Implements deprecation of smartcasts on class-delegated properties.
Deprecates error tolerance in JS.
Deprecates JVM history files based incremental compilation.
Deprecates combinations of the KMP plugin with some Gradle Java plugins.
K2 deprecates using a typealias as a callable qualifier in imports.
typealias
K2 marks all potential implementations of List.getFirst()/getLast() as deprecated independently of JDK.
List.getFirst()List.getLast()
Implements a K2 deprecation warning for wrong nullability returned from JDK SAM constructor lambda (KT-57014).
Deprecates SAM constructor usages that require OptIn without an annotation.
OptIn
Deprecates upper bound violations in typealias constructors.
Deprecates use of a synthetic setter on a projected receiver.
Deprecates the 'kotlinOptions' DSL.
kotlinOptions
Deprecates configuring compiler options in KotlinCompilation.
KotlinCompilation
Deprecates eager CInteropProcess.outputFile in favor of the lazy outputFileProvider.
CInteropProcess.outputFileoutputFileProvider
Deprecates -Xworker-exception-handling=legacy with error in Kotlin/Native.
-Xworker-exception-handling
Raises all deprecation levels to ERROR for declarations intended for removal from kotlinx-metadata.
kotlinx-metadata
Removes the deprecated outputFileProperty of Kotlin2JsCompile.
Kotlin2JsCompileoutputFileProperty
Deprecates FE 1.0 cases where a companion property is prioritized against an enum entry.
Deprecates node-specific properties in NodeJsRootExtension for Kotlin/JS.
NodeJsRootExtension

Generated by DepDelta from published JVM bytecode. Not mixed with prose notes.

  • removed: method JUnitAsserter.assertTrue(Function0, boolean): void
  • removed: method JUnitAsserter.assertTrue(String, boolean): void