mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
7.7 KiB
7.7 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
andSwingUtilities.invokeAndWait
does not hold the write-intent lock - Consider using an explicit wrapping with
ReadAction.compute()
orWriteAction.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 extendscom.intellij.psi.xml.XmlTokenType
- Update code usages.
filetype.xml.description
property removed from resource bundlemessages.XmlPsiBundle
- Use property from resource bundle
messages.XmlParserBundle
xml.parsing.closing.tag.matches.nothing
property removed from resource bundlemessages.XmlPsiBundle
- Use property from resource bundle
messages.XmlParserBundle
xml.parsing.unclosed.attribute.value
property removed from resource bundlemessages.XmlPsiBundle
- Use property from resource bundle
messages.XmlParserBundle
xml.parsing.unescaped.ampersand.or.nonterminated.character.entity.reference
property removed from resource bundlemessages.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 toorg.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 packagecom.intellij.lang.javascript.service
- Update all usages
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