Incompatible Changes in IntelliJ Platform and Plugins API 2019.*
Changes in IntelliJ Platform 2019.2
java.org.java_websocketpackage removed- Java-WebSocket Library was removed, bundle it with your plugin instead.
com.intellij.ui.layout.Cell.invoke$default(Cell, JComponent, CCFlags[], int, GrowPolicy, String, int, Object)method parameter type changed- Signature of this function has been seriously changed without possibility to keep the old function. Change invocations and overriding of that function according to new parameters and recompile the code.
com.yourkitpackage removed- YourKit library has been extracted into the separate plugin which is not bundled in all IDEs by default. YourKit library is a library for profiling IDE, and its util classes shouldn’t be used for general purpose. Instead of
com.yourkit.util.Stringsplease useorg.apache.commons.lang.StringUtils. Instead ofcom.yourkit.util.ArrayUtilplease useorg.apache.commons.lang.ArrayUtils org.jetbrains.intellij.build.ProductProperties: fieldsyourkitAgentBinariesDirectoryPathandenableYourkitAgentInEAPhave been removed- Please bundle performanceTesting plugin in case you would like to bundle YourKit profiler within your IDE.
com.intellij.extapi.psi.PsiElementBaseclass removed- Please use
com.intellij.psi.impl.PsiElementBaseor one of its descendants as a base class for PSI elements, e.g.com.intellij.extapi.psi.ASTWrapperPsiElement, as suggested in Custom Language Support Tutorial. com.intellij.extapi.psi.MetadataPsiElementBaseclass removed- Please use different base class for PSI elements.
Changes in IntelliJ Platform 2019.1
kotlinx.coroutines.experimentalpackage removed- Bundled Kotlin library is updated to 1.3 so the plugins must migrate to the stable versions of coroutines.
com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl(Project, FileStatusManager, FileIndexFacade, ProjectManager, DefaultVcsRootPolicy, VcsFileListenerContextHelper)constructor removed- Use
com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl.<init>(Project, FileStatusManager, FileIndexFacade, ProjectManager, DefaultVcsRootPolicy). com.intellij.injected.editor.DocumentWindow.injectedToHost(int, boolean)abstract method added- Implement the method in
DocumentWindowimplementations. git4idea.rebase.GitCommitEditingAction.actionPerformed(AnActionEvent)method marked final- Implement
actionPerformedAfterChecksinstead ofactionPerformed. git4idea.rebase.GitCommitEditingAction.actionPerformedAfterChecks(AnActionEvent)abstract method added- Implement
actionPerformedAfterChecksinstead ofactionPerformed. com.intellij.util.lang.UrlClassLoader.loadPlatformLibrarymethod removed- Use
com.intellij.util.loader.NativeLibraryLoader.loadPlatformLibraryinstead. com.intellij.openapi.util.KeyedExtensionCollector.getExtensions()method marked final- Remove custom implementation.
Changes in DataGrip and Database Tools plugin 2019.1
com.intellij.sql.psi.SqlTokens.SQL_IDENTfield type changed fromcom.intellij.sql.psi.impl.SqlTokenTypetocom.intellij.sql.psi.SqlTokenType- In most of the cases, it’s enough to recompile the code. It may also be needed to check that the code doesn’t rely on the field’s type.
Changes in Kotlin Plugin API 1.3
org.jetbrains.kotlin.KtNodeTypes.BOOLEAN_CONSTANTfield type changed fromorg.jetbrains.kotlin.KtNodeTypetocom.intellij.psi.tree.IElementType- Field type has been generalized. In most of the cases, it’s enough to recompile the code of the plugin.
org.jetbrains.kotlin.KtNodeTypes.CHARACTER_CONSTANTfield type changed fromorg.jetbrains.kotlin.KtNodeTypetocom.intellij.psi.tree.IElementType- Field type has been generalized. In most of the cases, it’s enough to recompile the code of the plugin.
org.jetbrains.kotlin.KtNodeTypes.FLOAT_CONSTANTfield type changed fromorg.jetbrains.kotlin.KtNodeTypetocom.intellij.psi.tree.IElementType- Field type has been generalized. In most of the cases, it’s enough to recompile the code of the plugin.
org.jetbrains.kotlin.KtNodeTypes.INTEGER_CONSTANTfield type changed fromorg.jetbrains.kotlin.KtNodeTypetocom.intellij.psi.tree.IElementType- Field type has been generalized. In most of the cases, it’s enough to recompile the code of the plugin.
org.jetbrains.kotlin.KtNodeTypes.STRING_TEMPLATEfield type changed fromorg.jetbrains.kotlin.KtNodeTypetocom.intellij.psi.tree.IElementType- Field type has been generalized. In most of the cases, it’s enough to recompile the code of the plugin.
Last modified: 23 April 2019