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

5.0 KiB

Incompatible Changes in IntelliJ Platform and Plugins API 2025.*

List of known Breaking API Changes in 2025.*

2025.1

IntelliJ Platform 2025.1

The code scheduled with SwingUtilities.invokeLater and SwingUtilities.invokeAndWait does not hold the write-intent lock
Consider using an explicit wrapping with com.intellij.openapi.application.ReadAction.compute or com.intellij.openapi.application.WriteAction.run(com.intellij.util.ThrowableRunnable<E>).
Coroutines running under Dispatchers.Main do not hold the write-intent lock
To restore the old behavior, consider using Dispatchers.EDT.

Kotlin Plugin 2025.1

org.jetbrains.kotlin.KtFakeSourceElement class renamed to org.jetbrains.kotlin.KtFakePsiSourceElement
Update code usages.