Can I make already released plugin backward compatible?

已回答

Hi, 

I released a code inspection plugin but I made an error. I did not set minimum IDE build versions compatible with the plugin. So right now the plugin is compatible with the following:

IntelliJ IDEA Ultimate — 2021.3.2 — 2021.3.3

IntelliJ IDEA Educational — 2021.3.3 — 2021.3.4

Android Studio — Dolphin 2021.3.1 Beta 4

IntelliJ IDEA Community — 2021.3.2 — 2021.3.3


a. How can I make it backward compatible now?
b. Do I always need to specify maximum IDE build version as well and what happens if I don't?

评论操作 固定链接

Hi Ruben,

Please clarify the issue. Did you set the wrong values or you didn't set them at all?

Regarding b., you don't have to specify the maximum value. If you skip it, the plugin will be available to install in any new IDE version. It means that sometimes it can be incompatible and if a user installs it when it is incompatible, they will get runtime errors. Compatibility report is available on the Marketplace (it is also sent to the vendor's email on every verification).

0
评论操作 固定链接

Hi Karol,

Thanks for your reply. I didn't set them at all.

0
评论操作 固定链接

The easiest way is to correct the values in the plugin.xml file and upload it to the Marketplace again and delete the wrong one.

0
评论操作 固定链接

Hi Karol,

Ok I did not delete the older version. Will try deleting and updated here. Thanks! 

I had done these steps previously:

I did the changes in plugin.xml and released a new version but I still don't see the plugin in older versions of IDE (I checked in AndroidStudio Chipmunk).

plugin.xml changes:

<idea-version since-build="191.*"/>

Marketplace screenshot:

0
评论操作 固定链接

Please configure plugin.xml according to the docs:
https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html

You can also do it with the patchPluginXml task of the Gradle IntelliJ Plugin:
https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#patchpluginxml-task-sincebuild

The Android Studio versions supported by Plugin Verifier are currently limited and the Supported Products section may show inaccurate information.

0

请先登录再写评论。