Build Number Ranges
Use this reference of build number ranges to specify the correct
until-build values in your plugin descriptor. Setting the actual values in plugin.xml is managed by
patchPluginXml Gradle task, see Patching the Plugin Configuration File.
Please note the following regarding values:
Values must represent the actual build numbers, any made-up numbers must not be used (e.g.,
until-buildmeans it will include all future builds (including unreleased IDE versions, which might impact compatibility later).
Dot star suffix (
.*) can be used in
until-buildto support all releases for the specific branch (i.e.,
222.*for all 2022.2.x releases).
Build Number Format
To denote a release, a multipart build number is used. It consists of the following parts:
Product ID (
ICfor IDEA Community,
IUfor IDEA Ultimate,
PSfor PhpStorm, etc.)
Branch number (
Build number in the branch (
Branch numbers are based on the
YYYY.R IDE release version numbers. The branch number takes the last two digits of the year and the
R release number. For example,
162 for 2016.2,
163 for 2016.3, etc.
The build number may have multiple components:
IU-18.104.22.1686.42. This gives more flexibility for third-party plugins and IDE developers. Plugins may specify compatibility versions more precisely (e.g., requiring a specific bugfix release); IDE vendors may have build numbers based on a specific IntelliJ Platform version and specify additional internal version (e.g.
XX-22.214.171.1246.42) to allow plugin developers for their IDE to specify compatibility.
Multipart build numbers can also be used in the
until-build attributes of
idea-version. Usually you should omit the product ID and use only the branch number and build number, for example:
IntelliJ Platform Based Products of Recent IDE Versions
When supporting multiple major versions, it is strongly recommended to build against the lowest supported version to guarantee backwards-compatibility. In the case of supporting a range of platform versions with different underlying Java level it is required.
See Verifying Plugin Compatibility for tooling support to ensure compatibility with chosen version range and IDEs. Consult Incompatible API Changes and Notable API Changes for an overview of known breaking and relevant changes.
IntelliJ Platform version
2022.2 NOTE Java 17 is now required (blog post)
2020.3 NOTE Java 11 is now required (blog post)
Note that there is no
220. In the
YYYY.R versioning scheme, the
R part starts at 1.