intellij-sdk-code-samples/reference_guide/api_changes_list_2025.md
2025-03-17 09:19:37 +01:00

8.1 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 .
com.intellij.psi.xml.XmlTokenType class now interface
Use XmlTokenType constants directly.
Class com.intellij.psi.xml.XmlElementType no longer extends com.intellij.psi.xml.XmlTokenType
Update code usages.
filetype.xml.description property removed from resource bundle messages.XmlPsiBundle
Use property from resource bundle messages.XmlParserBundle
xml.parsing.closing.tag.matches.nothing property removed from resource bundle messages.XmlPsiBundle
Use property from resource bundle messages.XmlParserBundle
xml.parsing.unclosed.attribute.value property removed from resource bundle messages.XmlPsiBundle
Use property from resource bundle messages.XmlParserBundle
xml.parsing.unescaped.ampersand.or.nonterminated.character.entity.reference property removed from resource bundle messages.XmlPsiBundle
Use property from resource bundle messages.XmlParserBundle

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.
org.jetbrains.kotlin.analysis.decompiler.stub.file.ClsClassFinder.isKotlinInternalCompiledFile$default(ClsClassFinder, VirtualFile, byte[], int, Object) method removed
Recompile code usages.

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.JSElementTypes.toModuleContentType(IElementType type) method removed
Use com.intellij.lang.javascript.JSModuleContentType.toModuleContentType(IElementType type) method instead
com.intellij.lang.javascript.BaseJSTokenTypes class removed
Use com.intellij.lang.javascript.JSTokenTypes class instead
com.intellij.lang.javascript.highlighting.TypeScriptHighlighter(DialectOptionHolder dialectOptionsHolder, boolean skipKeywordHighlights) constructor removed
Use constructor without skipKeywordHighlights parameter
com.intellij.lang.javascript.dialects.ECMA6SyntaxHighlighterFactory.ECMA6SyntaxHighlighter(DialectOptionHolder dialectOptionsHolder, boolean skipKeywordHighlights) constructor removed
Use constructor without skipKeywordHighlights parameter
com.intellij.lang.javascript.highlighting.JSHighlighter(DialectOptionHolder dialectOptionsHolder, boolean skipKeywordHighlights) constructor removed
Use constructor without skipKeywordHighlights parameter