Incompatible Changes in IntelliJ Platform and Plugins API 2017.*
Please see Incompatible API Changes on how to verify compatibility.
2017.3
Changes in IntelliJ Platform 2017.3
com.intellij.internal.statistic.AbstractApplicationUsagesCollectorclass removed- This class isn’t supposed to be used in regular plugins. Override
com.intellij.internal.statistic.AbstractProjectsUsagesCollectorinstead if you’re developing an IDE with its own statistics services. com.intellij.internal.statistic.UsagesCollector.doPersistProjectUsagesmethod removed- This method isn’t supposed to be used in regular plugins. There is no need to call this method anymore.
org.apache.sanselanpackage removed- Use classes from
org.apache.commons.imaginginstead. com.intellij.psi.MultiplePsiFilesPerDocumentFileViewProvider.getLanguagesabstract method added- Implementation of this class are supposed to have several languages so you need to implement this method explicitly and return them all.
org.jetbrains.kotlin.idea.configuration.KotlinProjectConfigurator.changeCoroutineConfigurationabstract method added- You need to implement this method and add the logic for updating the configuration in your build system.
org.jetbrains.kotlin.idea.configuration.KotlinProjectConfigurator.updateLanguageVersionabstract method added- You need to implement this method and add the logic for updating the configuration in your build system.
org.jetbrains.kotlin.idea.configuration.KotlinProjectConfigurator.addLibraryDependencyabstract method added- You need to implement this method and add the logic for updating the configuration in your build system.
Changes in DataGrip and Database Tools plugin 2017.3
com.intellij.database.dataSource.DataSourceManagerclass removed- Use
com.intellij.database.psi.DbPsiFacadeinstead. com.intellij.database.dataSource.DataSourceManagerExclass removed- Use
com.intellij.database.psi.DbPsiFacadeinstead. com.intellij.database.dataSource.DataSourceclass removed- Use
com.intellij.database.psi.DbDataSourceandcom.intellij.database.model.DatabaseSysteminstead. com.intellij.database.psi.DbDataSource.getModelmethod return type changed fromDbElement-based model toDasObject-based model- Use
com.intellij.database.psi.DbPsiFacade.findElementto get the correspondingcom.intellij.database.psi.DbElementwrapper when needed. com.intellij.database.view.DatabaseView.getTreeBuildermethod removed- Use
LangDataKeys.PSI_ELEMENT_ARRAY.get(event)to get Database view selection.
Changes in PhpStorm and PHP plugin 2017.3
com.jetbrains.php.lang.psi.elements.Function.getReturnType()method return type changed fromPsiElementtoPhpReturnType- Before method had been returning a
com.jetbrains.php.lang.psi.elements.ClassReference. Now method returnscom.jetbrains.php.lang.psi.elements.PhpReturnType. MethodReturnType.getClassReference()can be used if you need just aClassReference. If you need to get thePhpType, usecom.jetbrains.php.lang.psi.elements.Function.getReturnType.getType()method instead.
Last modified: 19 February 2020