intellij-sdk-code-samples/reference_guide/api_changes_list_2022.md
2022-01-03 15:46:27 +01:00

6.2 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 GitHub Release

{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 from StubIndexKey<Integer, PsiClass> to StubIndexKey<CharSequence, PsiClass>
JavaFullClassNameIndex now takes CharSequence instead of its hashCode to allow specific optimizations
com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.getKey method return type changed from StubIndexKey<Integer, PsiClass> to StubIndexKey<CharSequence, PsiClass>
JavaFullClassNameIndex now takes CharSequence instead of its hashCode to allow specific optimizations
com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(Integer, Project, GlobalSearchScope) method parameter type changed from Integer to CharSequence
JavaFullClassNameIndex now takes CharSequence instead of its hashCode to allow specific optimizations
JSch was removed from the core
Add com.jcraft:jsch:0.1.55 as a dependency explicitly.