mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
api changes: remove 2016-2018 pages
This commit is contained in:
parent
a1ad8b8989
commit
c6a9d5ba5c
6
ijs.tree
6
ijs.tree
@ -358,14 +358,12 @@
|
||||
accepts-web-file-names="api_reference.html,feature_extractor.html,plugin_details.html,custom_channels.html,plugins_list.html,maven_interface.html,plugin_upload.html,plugin_developers.html"/>
|
||||
</toc-element>
|
||||
<toc-element toc-title="Appendix II — API Changes">
|
||||
<toc-element id="api_changes_list.md" toc-title="Incompatible API Changes">
|
||||
<toc-element id="api_changes_list.md" toc-title="Incompatible API Changes"
|
||||
accepts-web-file-names="api-changes-list-2016.html,api-changes-list-2017.html,api-changes-list-2018.html">
|
||||
<toc-element id="api_changes_list_2022.md" toc-title="2022.*"/>
|
||||
<toc-element id="api_changes_list_2021.md" toc-title="2021.*"/>
|
||||
<toc-element id="api_changes_list_2020.md" toc-title="2020.*"/>
|
||||
<toc-element id="api_changes_list_2019.md" toc-title="2019.*"/>
|
||||
<toc-element id="api_changes_list_2018.md" toc-title="2018.*"/>
|
||||
<toc-element id="api_changes_list_2017.md" toc-title="2017.*"/>
|
||||
<toc-element id="api_changes_list_2016.md" toc-title="2016.*"/>
|
||||
</toc-element>
|
||||
<toc-element id="api_notable.md" toc-title="Notable API Changes">
|
||||
<toc-element id="api_notable_list_2022.md" toc-title="2022.*"/>
|
||||
|
@ -101,9 +101,6 @@ The following pages list the breaking changes in IDE and plugin releases with re
|
||||
* [Changes in 2021.*](api_changes_list_2021.md)
|
||||
* [Changes in 2020.*](api_changes_list_2020.md)
|
||||
* [Changes in 2019.*](api_changes_list_2019.md)
|
||||
* [Changes in 2018.*](api_changes_list_2018.md)
|
||||
* [Changes in 2017.*](api_changes_list_2017.md)
|
||||
* [Changes in 2016.*](api_changes_list_2016.md)
|
||||
|
||||
## Library Updates
|
||||
|
||||
|
@ -1,29 +0,0 @@
|
||||
[//]: # (title: Incompatible Changes in IntelliJ Platform and Plugins API 2016.*)
|
||||
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
|
||||
<!--
|
||||
See the note on how to document new problems on the main page reference_guide/api_changes_list.md
|
||||
-->
|
||||
|
||||
Please see [Incompatible API Changes](api_changes_list.md) on how to verify compatibility.
|
||||
|
||||
## 2016.3
|
||||
|
||||
### IntelliJ Platform 2016.3
|
||||
|
||||
[`com.intellij.openapi.application.ApplicationListener.afterWriteActionFinished`](upsource:///platform/core-api/src/com/intellij/openapi/application/ApplicationListener.java) abstract method added
|
||||
: Implement this method or extend [`com.intellij.openapi.application.ApplicationAdapter`](upsource:///platform/core-api/src/com/intellij/openapi/application/ApplicationAdapter.java) class instead of implementing the interface.
|
||||
|
||||
## 2016.2
|
||||
|
||||
### IntelliJ Platform 2016.2
|
||||
|
||||
`com.intellij.util.net.HttpConfigurable.PROXY_LOGIN` field removed
|
||||
: Use [`com.intellij.util.net.HttpConfigurable.getProxyLogin()`](upsource:///platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java) instead.
|
||||
|
||||
`com.intellij.util.net.HttpConfigurable.PROXY_PASSWORD_CRYPT` field removed
|
||||
: [`com.intellij.util.net.HttpConfigurable.getPlainProxyPassword()`](upsource:///platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java) instead.
|
||||
|
||||
`org.jetbrains.asm4` package removed
|
||||
: Use classes from `org.jetbrains.org.objectweb.asm` package instead.
|
@ -1,62 +0,0 @@
|
||||
[//]: # (title: Incompatible Changes in IntelliJ Platform and Plugins API 2017.*)
|
||||
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
|
||||
<!--
|
||||
See the note on how to document new problems on the main page reference_guide/api_changes_list.md
|
||||
-->
|
||||
|
||||
Please see [Incompatible API Changes](api_changes_list.md) on how to verify compatibility.
|
||||
|
||||
> Changes from API marked with `@Deprecated(forRemoval=true)` or any of [`org.jetbrains.annotations.ApiStatus`](https://github.com/JetBrains/java-annotations/blob/master/common/src/main/java/org/jetbrains/annotations/ApiStatus.java) `@Experimental`, `@ScheduledForRemoval`, or `@Internal` are not listed here, as incompatible changes are to be expected.
|
||||
>
|
||||
> For API annotated with `ApiStatus.@Internal`, see [](api_internal.md) for more details and replacements.
|
||||
>
|
||||
{type="note"}
|
||||
|
||||
## 2017.3
|
||||
|
||||
### IntelliJ Platform 2017.3
|
||||
|
||||
`com.intellij.internal.statistic.AbstractApplicationUsagesCollector` class removed
|
||||
: This class isn't supposed to be used in regular plugins. Override `com.intellij.internal.statistic.AbstractProjectsUsagesCollector` instead if you're developing an IDE with its own statistics services.
|
||||
|
||||
`com.intellij.internal.statistic.UsagesCollector.doPersistProjectUsages` method removed
|
||||
: This method isn't supposed to be used in regular plugins. There is no need to call this method anymore.
|
||||
|
||||
`org.apache.sanselan` package removed
|
||||
: Use classes from `org.apache.commons.imaging` instead.
|
||||
|
||||
`com.intellij.psi.MultiplePsiFilesPerDocumentFileViewProvider.getLanguages` abstract method added
|
||||
: An implementation of this class is supposed to have several languages, so you need to explicitly implement the method and return them all.
|
||||
|
||||
`org.jetbrains.kotlin.idea.configuration.KotlinProjectConfigurator.changeCoroutineConfiguration` abstract 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.updateLanguageVersion` abstract 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.addLibraryDependency` abstract method added
|
||||
: You need to implement this method and add the logic for updating the configuration in your build system.
|
||||
|
||||
### DataGrip and Database Tools Plugin 2017.3
|
||||
|
||||
`com.intellij.database.dataSource.DataSourceManager` class removed
|
||||
: Use `com.intellij.database.psi.DbPsiFacade` instead.
|
||||
|
||||
`com.intellij.database.dataSource.DataSourceManagerEx` class removed
|
||||
: Use `com.intellij.database.psi.DbPsiFacade` instead.
|
||||
|
||||
`com.intellij.database.dataSource.DataSource` class removed
|
||||
: Use `com.intellij.database.psi.DbDataSource` and `com.intellij.database.model.DatabaseSystem` instead.
|
||||
|
||||
`com.intellij.database.psi.DbDataSource.getModel` method return type changed from `DbElement`-based model to `DasObject`-based model
|
||||
: Use `com.intellij.database.psi.DbPsiFacade.findElement` to get the corresponding `com.intellij.database.psi.DbElement` wrapper when needed.
|
||||
|
||||
`com.intellij.database.view.DatabaseView.getTreeBuilder` method removed
|
||||
: Use `LangDataKeys.PSI_ELEMENT_ARRAY.get(event)` to get Database view selection.
|
||||
|
||||
### PhpStorm and PHP Plugin 2017.3
|
||||
|
||||
`com.jetbrains.php.lang.psi.elements.Function.getReturnType()` method return type changed from `PsiElement` to `PhpReturnType`
|
||||
: Before method had been returning a `com.jetbrains.php.lang.psi.elements.ClassReference`. Now method returns `com.jetbrains.php.lang.psi.elements.PhpReturnType`. Method `ReturnType.getClassReference()` can be used if you need just a `ClassReference`. If you need to get the `PhpType`, use `com.jetbrains.php.lang.psi.elements.Function.getReturnType.getType()` method instead.
|
@ -1,144 +0,0 @@
|
||||
[//]: # (title: Incompatible Changes in IntelliJ Platform and Plugins API 2018.*)
|
||||
|
||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
|
||||
<!--
|
||||
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
See the note on how to document new problems on the main page reference_guide/api_changes_list.md
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
-->
|
||||
|
||||
Please see [Incompatible API Changes](api_changes_list.md) on how to verify compatibility.
|
||||
|
||||
> Changes from API marked with `@Deprecated(forRemoval=true)` or any of [`org.jetbrains.annotations.ApiStatus`](https://github.com/JetBrains/java-annotations/blob/master/common/src/main/java/org/jetbrains/annotations/ApiStatus.java) `@Experimental`, `@ScheduledForRemoval`, or `@Internal` are not listed here, as incompatible changes are to be expected.
|
||||
>
|
||||
> For API annotated with `ApiStatus.@Internal`, see [](api_internal.md) for more details and replacements.
|
||||
>
|
||||
{type="note"}
|
||||
|
||||
## 2018.3
|
||||
|
||||
### IntelliJ Platform 2018.3
|
||||
|
||||
`com.intellij.openapi.externalSystem.action.ExternalSystemAction.isEnabled` method `AnActionEvent` parameter marked `@NotNull`
|
||||
: This may break source-compatibility with inheritors written in Kotlin if they declare parameter type as nullable.
|
||||
|
||||
`com.intellij.openapi.externalSystem.action.ExternalSystemAction.isVisible` method `AnActionEvent` parameter marked `@NotNull`
|
||||
: This may break source-compatibility with inheritors written in Kotlin if they declare parameter type as nullable.
|
||||
|
||||
`com.intellij.openapi.actionSystem.AnAction.actionPerformed` method `AnActionEvent` parameter marked `@NotNull`
|
||||
: This may break source-compatibility with inheritors written in Kotlin if they declare parameter type as nullable.
|
||||
|
||||
`com.intellij.openapi.actionSystem.DataContext.getData` method `dataId` parameter marked `@NotNull`
|
||||
: This may break source-compatibility with inheritors written in Kotlin if they declare parameter type as nullable.
|
||||
|
||||
`com.intellij.openapi.actionSystem.ToggleAction.isSelected` method `AnActionEvent` parameter marked `@NotNull`
|
||||
: This may break source-compatibility with inheritors written in Kotlin if they declare parameter type as nullable.
|
||||
|
||||
`com.intellij.openapi.actionSystem.ToggleAction.setSelected` method `AnActionEvent` parameter marked `@NotNull`
|
||||
: This may break source-compatibility with inheritors written in Kotlin if they declare parameter type as nullable.
|
||||
|
||||
`com.intellij.openapi.actionSystem.DataProvider.getData` method `dataId` parameter marked `@NotNull`
|
||||
: This may break source-compatibility with inheritors written in Kotlin if they declare parameter type as nullable.
|
||||
|
||||
`com.intellij.psi.meta.PsiMetaData.getDependences` method removed
|
||||
: Use `com.intellij.psi.meta.PsiMetaData.getDependencies` instead.
|
||||
|
||||
## 2018.2
|
||||
|
||||
### IntelliJ Platform 2018.2
|
||||
|
||||
`com.intellij.util.Query.forEach` method parameter type changed from `Processor<Result>` to `Processor<? super Result>`
|
||||
: Update `Query` implementations accordingly.
|
||||
|
||||
`com.intellij.util.Query.forEachAsync` method parameter type changed from `Processor<Result>` to `Processor<? super Result>`
|
||||
: Update `Query` implementations accordingly.
|
||||
|
||||
`com.intellij.util.QueryExecutor.execute` method parameter type changed from `Processor<Result>` to `Processor<? super Result>`
|
||||
: Update `QueryExecutor` implementations accordingly.
|
||||
|
||||
`com.intellij.openapi.application.QueryExecutorBase.processQuery` method parameter type changed from `Processor<Result>` to `Processor<? super Result>`
|
||||
: Update `QueryExecutorBase` inheritors accordingly.
|
||||
|
||||
`com.intellij.util.InstanceofQuery` class type parameter `T` added
|
||||
: Set this parameter at call sites to base query type.
|
||||
|
||||
`com.intellij.task.ProjectTaskManager.build` method parameter type changed from `Artifact[]` to `ProjectModelBuildableElement[]`
|
||||
: In most of the cases, it's enough to recompile the code.
|
||||
|
||||
`com.intellij.task.ProjectTaskManager.rebuild` method parameter type changed from `Artifact[]` to `ProjectModelBuildableElement[]`
|
||||
: In most of the cases, it's enough to recompile the code.
|
||||
|
||||
`org.apache.batik.script.InterpreterFactory.createInterpreter` abstract method added
|
||||
: Update `InterpreterFactory` implementations accordingly.
|
||||
|
||||
## 2018.1
|
||||
|
||||
### IntelliJ Platform 2018.1
|
||||
|
||||
`com.google.common.base.Objects.ToStringHelper` class removed
|
||||
: Use `com.google.common.base.MoreObjects.ToStringHelper` instead.
|
||||
|
||||
`com.google.common.util.concurrent.Futures.get` method removed
|
||||
: Use `com.google.common.util.concurrent.Futures.getChecked` instead.
|
||||
|
||||
[`org.tmatesoft.svn`](https://svnkit.com/index.html) package removed
|
||||
: Use classes from `org.jetbrains.idea.svn` instead.
|
||||
|
||||
`org.jetbrains.idea.svn.svnkit.SvnKitManager` class removed
|
||||
: Use `org.jetbrains.idea.svn.api.ClientFactory` instead.
|
||||
|
||||
`clojure` package removed
|
||||
: Clojure 1.8 jars are removed from the IntelliJ Ultimate package; provide your own jars if needed.
|
||||
|
||||
`com.intellij.ide.structureView.newStructureView.StructureViewComponent.getTreeBuilder` method removed
|
||||
: Use `queueUpdate` and `getTree` instead.
|
||||
|
||||
### PhpStorm and PHP Plugin 2018.1
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.DOC_COMMENT` field type changed from `com.intellij.psi.tree.ILazyParseableElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocCommentElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocSpecialTag` field type changed from `com.intellij.psi.tree.ILazyParseableElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocMethodTagElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocTag` field type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocTagElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocReturn` field type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocTagElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocMixin` field type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocTagElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocThrows` field type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocTagElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocParam` field type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocTagElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocInlineTag` field type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocTagElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocMethod` field type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocMethodElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.PhpDocElementTypes.phpDocProperty` field type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.jetbrains.php.lang.documentation.phpdoc.psi.stubs.PhpDocPropertyElementType`
|
||||
: 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.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.parser.tags.PhpDocTagParser.getElementType` method return type changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocElementType` to `com.intellij.psi.tree.IElementType`
|
||||
: In most of the cases, it's enough to recompile the code. It's also necessary to change the return type of subclasses.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.psi.impl.PhpDocCommentImpl` superclass changed from `com.intellij.psi.impl.source.tree.LazyParseablePsiElement` to `com.jetbrains.php.lang.psi.elements.impl.PhpPsiElementImpl`
|
||||
: It's necessary to check that the code doesn't rely on the superclass.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.psi.impl.tags.PhpDocTagImpl` superclass changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.impl.PhpDocPsiElementImpl` to `com.jetbrains.php.lang.psi.elements.impl.PhpTypedElementImpl`
|
||||
: It's necessary to check that the code doesn't rely on the superclass. The change also affects all the inheritors of `PhpDocTagImpl`.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.psi.impl.tags.PhpDocMethodTagImpl` superclass changed from `com.intellij.psi.impl.source.tree.LazyParseablePsiElement` to `com.jetbrains.php.lang.documentation.phpdoc.psi.impl.tags.PhpDocTagImpl`
|
||||
: It's necessary to check that the code doesn't rely on the superclass.
|
||||
|
||||
`com.jetbrains.php.lang.documentation.phpdoc.psi.impl.tags.PhpDocMethodImpl` superclass changed from `com.jetbrains.php.lang.documentation.phpdoc.psi.impl.PhpDocPsiElementImpl` to `com.jetbrains.php.lang.psi.elements.impl.PhpNamedElementImpl`
|
||||
: It's necessary to check that the code doesn't rely on the superclass.
|
Loading…
x
Reference in New Issue
Block a user