mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
7.9 KiB
7.9 KiB
Please see Incompatible API Changes on how to verify compatibility.
Changes from API marked with
org.jetbrains.annotations.ApiStatus
@Experimental
,@ScheduledForRemoval
, or@Internal
are not listed here, as incompatible changes are to be expected.
{type="note"}
Java 11 is required (blog post) when targeting 2020.3 and later only.
Please make sure to always upgrade
gradle-intellij-plugin
to the latest version
{type="note"}
Early Access Program (EAP) releases of upcoming versions are available here.
2022.1
IntelliJ Platform 2022.1
com.intellij.platform.DirectoryProjectConfigurator.configureProject(Project, VirtualFile, Ref<Module>, boolean)
marked abstract- Implement 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 removed- JSch 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.
Collaboration Tools 2022.1
com.intellij.collaboration.auth.ui.AccountsPanelFactory.accountsPanel(Row, AccountManager, PersistentDefaultAccountHolder, AccountsListModel, AccountsDetailsProvider, Disposable, Icon)
method removed- Support for default accounts required a signature change.
Markdown Plugin 2022.1
org.intellij.markdown.parser.constraints.MarkdownConstraints.Companion
class removed- Some methods from a companion object were moved to
CommonMarkdownConstraints
and to extension functions onMarkdownConstraints
. org.intellij.markdown.parser.constraints.MarkdownConstraints.Companion
field removed- Some methods from a companion object were moved to
CommonMarkdownConstraints
and to extension functions onMarkdownConstraints
. org.intellij.markdown.parser.constraints.MarkdownConstraints
class now interface- Use
CommonMarkdownConstraints
for default method implementations instead. org.intellij.markdown.parser.markerblocks.providers.AtxHeaderProvider.<init>(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 removed- Use
org.intellij.markdown.html.HtmlGenerator.generateHtml(org.intellij.markdown.html.HtmlGenerator.TagRenderer)
instead. org.intellij.markdown.parser.markerblocks.MarkerBlockProvider.Companion.passSmallIndent(CharSequence)
was removed- Use
org.intellij.markdown.parser.markerblocks.MarkerBlockProvider.Companion.passSmallIndent(CharSequence, Integer)
instead.