Incompatible Changes in IntelliJ Platform and Plugins API 2022.*
Please see Incompatible API Changes on how to verify compatibility.
Early Access Program (EAP) releases of upcoming versions are available here.
2022.2
IntelliJ Platform 2022.2
Java Plugin 2022.2
com.intellij.codeInspection.javaDoc.JavaDocLocalInspection
class removedUse
com.intellij.codeInspection.javaDoc.JavadocDeclarationInspection.ADDITIONAL_TAGS
field instead ofJavaDocLocalInspection.myAdditionalJavadocTags
.
Plugin DevKit Plugin 2022.2
icons.DevkitIcons
class renamed toorg.jetbrains.idea.devkit.DevKitIcons
Use
org.jetbrains.idea.devkit.DevKitIcons
instead.icons.DevkitIcons.Gutter
class renamed toorg.jetbrains.idea.devkit.DevKitIcons.Gutter
Use
org.jetbrains.idea.devkit.DevKitIcons.Gutter
instead.
Collaboration Tools 2022.2
com.intellij.collaboration.auth.ui.AccountsListModelBase.notifyCredentialsChanged(A account)
method visibility changed from protected to privateMethod hidden for better encapsulation.
com.intellij.collaboration.auth.ui.AccountsPanelFactory.INSTANCE
field removedFactory is now a factory.
com.intellij.collaboration.auth.ui.LoadingAccountsDetailsProvider.DetailsLoadingResult
class removedBetter API introduced in the form of
com.intellij.collaboration.auth.ui.AccountsDetailsLoader
.com.intellij.collaboration.auth.ui.LoadingAccountsDetailsProvider
class removedBetter API introduced in the form of
com.intellij.collaboration.auth.ui.AccountsDetailsLoader
.
Grazie Plugin 2022.2
Method
com.intellij.grazie.GrazieBundle.message(key, parameters)
marked staticTo shorten Java callers.
2022.1
IntelliJ Platform 2022.1
org.apache.log4j
package removedlog4j library removed from IntelliJ Platform, please see this blog post for migration instructions.
org.slf4j
package removedlog4j library removed from IntelliJ Platform, please see this blog post for migration instructions.
com.intellij.openapi.diagnostic.Log4jBasedLogger
class removedlog4j library removed from IntelliJ Platform, please see this blog post for migration instructions.
com.intellij.platform.DirectoryProjectConfigurator.configureProject(Project, VirtualFile, Ref<Module>, boolean)
marked abstractImplement it instead of removed one.
com.intellij.psi.impl.java.stubs.index.JavaStubIndexKeys.CLASS_FQN
field type changed fromStubIndexKey<Integer, PsiClass>
toStubIndexKey<CharSequence, PsiClass>
JavaFullClassNameIndex
now takesCharSequence
instead of itshashCode
to allow specific optimizations.com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.getKey
method return type changed fromStubIndexKey<Integer, PsiClass>
toStubIndexKey<CharSequence, PsiClass>
JavaFullClassNameIndex
now takesCharSequence
instead of itshashCode
to allow specific optimizations.com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(Integer, Project, GlobalSearchScope)
method parameter type changed fromInteger
toCharSequence
JavaFullClassNameIndex
now takesCharSequence
instead of itshashCode
to allow specific optimizations.com.jcraft.jsch
package removedJSch library was removed, bundle it with your plugin instead.
com.intellij.diagnostic.DialogAppender.addFilter(Filter)
method removedDialogAppender
now implementsjava.util.logging.Handler
, usesetFilter
method if you need to apply a filter.com.intellij.psi.impl.cache.impl.BaseFilterLexerUtil.ScanContent
class removedTodo index is removed from the indexing procedure, use specific
calcIdEntries
orcalcTodoEntries
method instead.com.intellij.psi.impl.cache.impl.BaseFilterLexerUtil.scanContent(FileContent, IdAndToDoScannerBasedOnFilterLexer)
method removedTodo index is removed from the indexing procedure, use specific
calcIdEntries
orcalcTodoEntries
method instead.com.intellij.util.ui.StartupUiUtil.createStyleSheet(String)
method removedMethod moved to
com.intellij.util.ui.StyleSheetUtil
Collaboration Tools 2022.1
com.intellij.collaboration.auth.ui.AccountsPanelFactory.accountsPanel(Row, AccountManager, PersistentDefaultAccountHolder, AccountsListModel, AccountsDetailsProvider, Disposable, Icon)
method removedSupport for default accounts required a signature change.
Markdown Plugin 2022.1
org.intellij.markdown.parser.constraints.MarkdownConstraints.Companion
class removedSome methods from a companion object were moved to
CommonMarkdownConstraints
and to extension functions onMarkdownConstraints
.org.intellij.markdown.parser.constraints.MarkdownConstraints.Companion
field removedSome methods from a companion object were moved to
CommonMarkdownConstraints
and to extension functions onMarkdownConstraints
.org.intellij.markdown.parser.constraints.MarkdownConstraints
class now interfaceUse
CommonMarkdownConstraints
for default method implementations instead.org.intellij.markdown.parser.markerblocks.providers.AtxHeaderProvider(boolean)
constructor parameterboolean
removedAtxHeaderProvider
now always requires at least one space between#
and its content as specified by the CommonMark spec.org.intellij.markdown.html.HtmlGenerator.generateHtml()
method removedUse
org.intellij.markdown.html.HtmlGenerator.generateHtml(org.intellij.markdown.html.HtmlGenerator.TagRenderer)
instead.org.intellij.markdown.parser.markerblocks.MarkerBlockProvider.Companion.passSmallIndent(CharSequence)
method removedUse
org.intellij.markdown.parser.markerblocks.MarkerBlockProvider.Companion.passSmallIndent(CharSequence, Integer)
instead.
Database Tools and SQL Plugin 2022.1
com.intellij.database.datagrid.DataProducer.processRequest(DataRequest)
method parameter type changed fromDataRequest
toGridDataRequest
GridDataRequest
is a part of new API for async loading of table data. It's not possible to keep old method with default implementation becauseDataProducer
will no longer have dependency onDataRequest
. Plugins need to be recompiled to maintain bytecode compatibility.com.intellij.database.datagrid.DataRequest.RawQueryRequest.afterLastRowAdded(DataRequest.Context, int)
method parameter type changed fromDataRequest.Context
toGridDataRequest.Context
The signature of the method was changed in the interface
com.intellij.database.datagrid.DataConsumer
that is now a part of new API for async loading of table data. Change the parameter type of the overridden method and recompile plugin to maintain bytecode compatibility.com.intellij.database.datagrid.DataConsumer.addRows(DataRequest.Context, List<DataConsumer.Row>)
method parameter type changed fromDataRequest.Context
toGridDataRequest.Context
The signature of the method was changed in the interface
com.intellij.database.datagrid.DataConsumer
that is now a part of new API for async loading of table data. Change the parameter type of the overridden method and recompile plugin to maintain bytecode compatibility.com.intellij.database.datagrid.DataConsumer.addRows(DataRequest.Context, List<DataConsumer.Row>)
method parameter type changed fromList<DataConsumer.Row>
toList<? extends GridRow>
The signature of the method was changed in the interface
com.intellij.database.datagrid.DataConsumer
that is now a part of new API for async loading of table data. Change the parameter type of the overridden method and recompile plugin to maintain bytecode compatibility.com.intellij.database.extractors.ObjectFormatter.getPlainValue(Object, DataConsumer.Column, Dbms)
method removedMethod was removed because we refactor table editor API. It will not depend on Dbms anymore. Please use
ObjectFormatter.objectToString
instead.