intellij-sdk-code-samples/reference_guide/api_changes_list_2025.md

6.3 KiB

Incompatible Changes in IntelliJ Platform and Plugins API 2025.*

List of known Breaking API Changes in 2025.*

2025.2

IntelliJ Platform 2025.2

2025.1

IntelliJ Platform 2025.1

Code scheduled with SwingUtilities.invokeLater and SwingUtilities.invokeAndWait does not hold the write-intent lock
Consider using an explicit wrapping with ReadAction.compute() or WriteAction.run(ThrowableRunnable<E>). See .
Coroutines running under Dispatchers.Main do not hold the write-intent lock
To restore the old behavior, consider using Dispatchers.EDT. See .
Class com.intellij.psi.xml.XmlElementType no longer extends com.intellij.psi.xml.XmlTokenType
Update code usages.

External System 2025.1

com.intellij.openapi.externalSystem.service.internal.ExternalSystemProcessingManager class now interface
Recompile code usages.

Kotlin Plugin 2025.1

org.jetbrains.kotlin.KtFakeSourceElement class renamed to org.jetbrains.kotlin.KtFakePsiSourceElement
Update code usages.
org.jetbrains.kotlin.ir.linkage.IrDeserializer.IrLinkerExtension class removed
This class was removed from the Kotlin compiler and is no longer available.
org.jetbrains.kotlin.ir.builders.TranslationPluginContext class removed
This class was removed from the Kotlin compiler and is no longer available.

Remote Development 2025.1

com.jetbrains.rd.ide.model.AddToGroupRuleModel class removed
Remove all usages.
com.jetbrains.rd.ide.model.ActionConstraintModel class removed
Remove all usages.

JavaScript and TypeScript Plugin 2025.1

com.intellij.lang.javascript.service.JSAsyncLanguageServiceBase.JSLanguageServiceInfoReporter class moved to package com.intellij.lang.javascript.service
Update all usages
com.intellij.lang.javascript.BaseJSTokenTypes class removed
Use com.intellij.lang.javascript.JSTokenTypes class instead