Skip to content

Upgrading org.jetbrains.kotlin:kotlin-stdlib-jdk7 1 to 2

Breaking1.9.25 → 2.4.21Breaking195Security1Platform9Deprecated109New825Changed958Fixed5125Other1003

BreakingUpgrade verdict

195 breaking changes and 9 platform requirement changes and a security fix.

  • Drops the kotlin.parallel.resolve.under.global.lock registry key.
  • Drops the kotlin-compiler-testdata-for-ide artifact.
  • Removes KaEnumEntryInitializerSymbol from the Analysis API.
  • Removes the FE10 implementation.
Top 5 of 314 that need code or config changes
Breaking195
Drops the kotlin.parallel.resolve.under.global.lock registry key.
kotlin.parallel.resolve.under.global.lock
Drops the kotlin-compiler-testdata-for-ide artifact.
kotlin-compiler-testdata-for-ide
Removes KaEnumEntryInitializerSymbol from the Analysis API.
KaEnumEntryInitializerSymbol
Removes the FE10 implementation.
Removes KaAnnotation#useSiteTarget.
KaAnnotation#useSiteTarget
Drops pre-2.0 language features from K2 and common compiler code.
K2
Prohibits compiling sources in the 'kotlin' package by default on Native.
Drops the ANNOTATION_ON_ANNOTATION_ARGUMENT diagnostic.
ANNOTATION_ON_ANNOTATION_ARGUMENT
Removes old @JvmInline multi-field value classes.
JvmInline
Deletes the source code for the legacy JS backend.
Drops support for legacy JS metadata from 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 deprecated public constructors of JS declarations for K/JS and Wasm.
Removes the deprecated NodeJsExec.create for K/JS and Wasm.
NodeJsExec.create
Removes the deprecated ExperimentalDceDsl for K/JS and Wasm.
ExperimentalDceDsl
Removes deprecated Kotlin/JS task constructors from 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 the deprecated Gradle property kotlin.kmp.isolated-projects.support.
kotlin.kmp.isolated-projects.support
Maven: removes Kotlin script execution support.
Deprecates and removes D8 from the Wasm js packages.
D8
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.
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.
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.
BuiltinSymbolsBase
Removes legacy JS backend related CLI flags.
Renames the MustUseReturnValue annotation to MustUseReturnValues.
MustUseReturnValueMustUseReturnValues
Drops the JS- and Wasm-specific IrLinkageError classes.
IrLinkageError
Removes the default argument for linkageError from kotlin.js.getPropertyCallableRef.
kotlin.js.getPropertyCallableReflinkageError
Removes bodies from intrinsified Long methods on Kotlin/JS.
Long
Removes Ant support.
Drops K1/JS- and K1/Native-specific testrunners from AtomicFU.
Drops K1-specific testrunners from the Serialization plugin.
Removes Gradle symbols deprecated after KT-54312.
Removes KotlinCompilation.source.
KotlinCompilation.source
Removes support for properties disabling precise task outputs backup.
Removes deprecated classpath snapshot task inputs.
Removes additionalMetadata from compiler options DSL.
additionalMetadata
Removes the resources resolution strategy completely.
Removes 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 sharedBox* intrinsics from the Kotlin/JS standard library.
sharedBox*
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 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
Drops obsolete IrPerFileLibraryImpl and IrPerFileWriterImpl from KLIB.
IrPerFileLibraryImplIrPerFileWriterImpl
Drops the targets/$target_name/kotlin directory from klibs.
Removes the kotlin.incremental.useClasspathSnapshot property.
kotlin.incremental.useClasspathSnapshot
Removes the deprecated JS/Dce Gradle DSL.
Removes support for Legacy Metadata Compilation with support of Compatibility Metadata Variant.
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.
konanVersionCInteropProcess
Removes the Kotlin Native Performance plugin.
Removes multiplatform support from the Maven Plugin.
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.
IrAttributeContainer
Drops obsolete parts of the Skia (ad-hoc C++) import in Kotlin/Native.
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.
Renames, deprecates, or removes Analysis API declarations as part of stabilization.
Removes default exports from Wasm exports in Kotlin/Wasm.
Removes the create###Array functions from the WASM stdlib.
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 kotlin-compiler-embeddable from Gradle build runtime dependencies.
kotlin-compiler-embeddable
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.
Drops DecompiledPsiDeclarationProvider-related APIs.
DecompiledPsiDeclarationProvider
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.
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
Drops ModuleAnnotationResolver in K1.
ModuleAnnotationResolver
Analysis API drops the ability to enable the global phase resolve lock.
KT-64590 jvm-abi-gen: Effectively private classes are not being removed from ABI.
KT-64590
KT-64868 [K/N] Inlined assert is later not removed, even without -ea.
KT-64868-ea
KT-46743 Incremental compilation doesn't process usages of Java property in Kotlin code if getter is removed.
KT-46743
Changes the semantics of the -Xpartial-linkage-loglevel compiler option.
-Xpartial-linkage-loglevel
Forbids @JsStatic on extension functions and properties in KJS.
@JsStatic
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 using nested type aliases from libraries in sources with language version below 2.3.
Forbids compiling code with explicit _root_ide_package_ in CLI mode.
_root_ide_package_
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 Kotlin/Wasm standard library.
kotlin.wasm.internal.ClosureBox
Removes the kotlin.native.internal.Ref class from the Kotlin/Native standard library.
kotlin.native.internal.Ref
Replaces name mangling of special method families in Native ObjC export.
Bumps the KLIB ABI version in 2.2.0.
Changes deprecation level to ERROR for kotlinOptions DSL.
kotlinOptions
Changes deprecation level to error for KotlinCompilation.source.
KotlinCompilation.source
Raises the deprecation of KotlinCompilationOutput#resourcesDirProvider to an error.
KotlinCompilationOutput#resourcesDirProvider
Deprecates commonization parameters in KGP with an error.
K2 now prohibits declaring local type aliases.
Forbids using the inline and value class modifiers together.
inlinevalue
Moves the Atomics API to the kotlin.concurrent.atomics package.
kotlin.concurrent.atomics
Makes the kotlin-android-extensions plugin fail the build on apply.
kotlin-android-extensions
Decommissions Gradle 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 projection modifiers inside top-level Array in an annotation's value parameter.
Array
KLIB Resolve forbids passing KLIB unique names via CLI.
Fixes the binary incompatible evolution of KotlinLibraryResolver.resolveWithDependencies.
KotlinLibraryResolver.resolveWithDependencies
Prohibits implementing a var property with an inherited val property.
Prohibits @Serializable on a companion object of another @Serializable class.
@Serializable
Changes KotlinTargetAlreadyDeclaredChecker's severity from warning to error.
KotlinTargetAlreadyDeclaredChecker
Sets 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
Moves KaSymbolBasedReference to the resolution package.
KaSymbolBasedReference
Moves KaTypeProjection to the types package.
KaTypeProjection
Makes usage of ChromeWasmGc an error in Kotlin/Wasm.
ChromeWasmGc
Forbids expect class A actual constructor declarations.
expect classactual constructor
Prohibits exposing anonymous types from private inline functions.
K2 now forbids multiple labels per statement.
Prohibits header and impl in MPP.
headerimpl
KT-62795 CInteropProcess task resolves cinterop def file eagerly, breaking Gradle task dependencies.
KT-62795
KT-53861 K2.
KT-53861
KT-61590 K2/KMP: Expect actual matching is breaking on the incremental compilation.
KT-61590
Stops publishing the analysis-api-test-framework artifact.
analysis-api-test-framework
Makes ExtrasProperty.kt internal.
ExtrasProperty
Marks KaFirReference and all its implementations with the internal modifier.
KaFirReference
Security1
Applies the fix for CVE-2024-7254 to the compiler's fork of protobuf 2.6.1.
protobuf
Platform9
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.
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.
KT-63165 Gradle: checkKotlinGradlePluginConfigurationErrors uses deprecated Gradle behavior.
KT-63165
KT-52976 Remove deprecated Gradle conventions usages.
KT-52976
KT-62780 K/JS: Deprecate node-specific properties in NodeJsRootExtension.
KT-62780
Deprecated109
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.
legacyDumpDeprecated
Updates Compose Gradle plugin deprecations ahead of 2.4.
Deprecates KotlinJsCompilerType and KotlinProjectExtension methods that use it.
KotlinJsCompilerTypeKotlinProjectExtension
Deprecates KaSymbolInformationProvider getterDeprecationStatus and setterDeprecationStatus.
KaSymbolInformationProvidergetterDeprecationStatussetterDeprecationStatus
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
Increases InputStream.readBytes(Int) deprecation level to HIDDEN.
InputStream.readBytes
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 the hasAnnotations flag in kotlin-metadata and adds JVM-only hasAnnotationsInBytecode instead.
hasAnnotationshasAnnotationsInBytecode
Reviews deprecations in stdlib for 2.2.
Deprecates Windows 7 support in Kotlin/Native.
Deprecates Ant support.
Deprecates declaration of atomic properties marked with @PublishedApi with an error.
@PublishedApi
Deprecates remaining kotlinOptions DSL features not yet covered by deprecation.
kotlinOptions
Updates Kotlin Gradle plugin deprecations ahead of 2.2.
Deprecates phantom-js for Karma in Wasm/JS.
phantom-jsKarma
Deprecates publishAllLibraryVariants in kotlin-android.
publishAllLibraryVariantskotlin-android
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, following Gradle 8.12 deprecation.
Task.project
Notes upcoming deprecation of Boolean 'is-' properties in Gradle Groovy scripts.
Deprecates the JvmDefault annotation with level HIDDEN.
JvmDefault
Warns users about the removal of context classes and constructors.
Adds a deprecation error for FIELD-targeted annotations on annotation properties.
FIELD
Prohibits accessing a nested class through a generic outer class via a deprecation warning.
KMM Wizards stop using the deprecated 'kotlinOptions' block.
kotlinOptions
Handles ProjectDependency.getDependencyProject() being deprecated in Gradle 8.11.
ProjectDependency.getDependencyProject()
Deprecates non-Provider API in JS infrastructure extensions.
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 general deprecation of types with inaccessible type arguments.
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
Updates KGP deprecations before 2.1.
Changes the deprecation message for KMP target shortcuts.
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.
KMP
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 deprecation warning for KT-57014, wrong nullability returned from JDK SAM constructor lambda.
Deprecates SAM constructor usages that require OptIn without an annotation.
OptIn
Deprecates upper bound violations in typealias constructors.
KT-54309 Deprecate use of a synthetic setter on a projected receiver.
KT-54309
KT-63156 Remove all deprecated declarations in kotlinx-metadata-jvm.
KT-63156
KT-65757 K2: Missing @Deprecated annotation on synthesized declarations.
KT-65757@Deprecated
KT-65641 Invalid replacements for deprecated properties 'konanHome' and 'konanDataDir' are suggested as quick fixes.
KT-65641
KT-64517 Drop deprecated KonanTargets.
KT-64517
KT-63157 Make sure that all deprecation levels are raised to ERROR for declarations intended for removal from kotlinx-metadata.
KT-63157
KT-63435 KJS: Get rid of deprecated outputFileProperty of Kotlin2JsCompile.
KT-63435
KT-64297 K2 KAPT: Deprecated members are not marked with @java.lang.Deprecated.
KT-64297@java
KT-64026 Maven.
KT-64026