From 2a06ba74ba90eb6ea7beb4b9835538a7c5cee3cc Mon Sep 17 00:00:00 2001 From: Sergey Patrikeev Date: Tue, 19 Mar 2019 15:29:20 +0300 Subject: [PATCH] Document incompatible Kotlin Plugin API changes 2019. A couple of Kotlin's API fields' types have been generalized. In most of the cases, it's enough to recompile the corresponding plugins. --- .../api_changes/api_changes_list_2019.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/reference_guide/api_changes/api_changes_list_2019.md b/reference_guide/api_changes/api_changes_list_2019.md index 72d538d4c..4eb37d29e 100644 --- a/reference_guide/api_changes/api_changes_list_2019.md +++ b/reference_guide/api_changes/api_changes_list_2019.md @@ -42,3 +42,20 @@ See the note on how to document new problems on the main page reference_guide/ap `com.intellij.sql.psi.SqlTokens.SQL_IDENT` field type changed from `com.intellij.sql.psi.impl.SqlTokenType` to `com.intellij.sql.psi.SqlTokenType` : 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. + +## Changes in Kotlin Plugin API + +`org.jetbrains.kotlin.KtNodeTypes.BOOLEAN_CONSTANT` field type changed from `org.jetbrains.kotlin.KtNodeType` to `com.intellij.psi.tree.IElementType` +: Field type has been generalised. In most of the cases, it's enough to recompile the code of the plugin. + +`org.jetbrains.kotlin.KtNodeTypes.CHARACTER_CONSTANT` field type changed from `org.jetbrains.kotlin.KtNodeType` to `com.intellij.psi.tree.IElementType` +: Field type has been generalised. In most of the cases, it's enough to recompile the code of the plugin. + +`org.jetbrains.kotlin.KtNodeTypes.FLOAT_CONSTANT` field type changed from `org.jetbrains.kotlin.KtNodeType` to `com.intellij.psi.tree.IElementType` +: Field type has been generalised. In most of the cases, it's enough to recompile the code of the plugin. + +`org.jetbrains.kotlin.KtNodeTypes.INTEGER_CONSTANT` field type changed from `org.jetbrains.kotlin.KtNodeType` to `com.intellij.psi.tree.IElementType` +: Field type has been generalised. In most of the cases, it's enough to recompile the code of the plugin. + +`org.jetbrains.kotlin.KtNodeTypes.STRING_TEMPLATE` field type changed from `org.jetbrains.kotlin.KtNodeType` to `com.intellij.psi.tree.IElementType` +: Field type has been generalised. In most of the cases, it's enough to recompile the code of the plugin.