diff --git a/README.md b/README.md index 4bd00f75..a5c8d1fb 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,13 @@ A version is three numbers, `..`, and each one answers a que The line between the last two numbers is the output, not the kind of change: a fix that changes the output raises the second number, a fix that does not raises the third. +**Builds on JDK 17 to 20 take 17.x**, the formatter and the Gradle plugin built for Java 17, from +the [`17.X.X`](https://github.com/openjavaformat/open-java-format/tree/17.X.X) branch. Its minor +versions follow this line's: 17.1.x formats every file that javac 17 parses exactly as 21.1.x does, +and its third number counts its own releases. It publishes the jars and the Gradle plugin. The +native image and the IDE plugins come with 21.x, and the 17.x Gradle plugin runs the native image of +the 21 release that `openjavaformat.native.formatter.version` names. + Up to 2.98.0.6 the version was palantir-java-format's with a build number appended. Once the bug fixes made the output differ from upstream, that numbering lost its meaning.