Build Number Ranges
Use this reference of build number ranges to specify the correct since-build
and 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.,
999.*
,2023.4
, or2023.9999
foruntil-build
).Not specifying
until-build
means it will include all future builds (including unreleased IDE versions, which might impact compatibility later).Dot star suffix (
.*
) can be used inuntil-build
to 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 (
IC
for IDEA Community,IU
for IDEA Ultimate,RM
for RubyMine,PY
for PyCharm,PS
for PhpStorm, etc.)Branch number (
162
)Build number in the branch (
94
)
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-162.94.11
, IU-162.94.11.256.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. 256.42
in XX-162.94.11.256.42
) to allow plugin developers for their IDE to specify compatibility.
Multipart build numbers can also be used in the since-build
and 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.
Branch number | IntelliJ Platform version |
---|---|
2023.1 | |
2022.3 | |
2022.2 NOTE Java 17 is now required (blog post) | |
2022.1 | |
2021.3 | |
2021.2 | |
2021.1 | |
2020.3 NOTE Java 11 is now required (blog post) | |
2020.2 | |
2020.1 | |
2019.3 | |
2019.2 | |
2019.1 |
Note that there is no YY0
. In the YYYY.R
versioning scheme, the R
part starts at 1.