Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ A version is three numbers, `<java>.<minor>.<build>`, 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.

Expand Down
Loading