Skip to content

build: bump dev.openjavaformat:open-java-format from 21.0.2 to 21.1.0 in the maven group - #202

Merged
ObserverOfTime merged 1 commit into
masterfrom
dependabot/maven/maven-49c972a7fa
Nov 28, 2026
Merged

ObserverOfTime merged 1 commit into
masterfrom
dependabot/maven/maven-49c972a7fa

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 28, 2026

Copy link
Copy Markdown
Contributor

Bumps the maven group with 1 update: dev.openjavaformat:open-java-format.

Updates dev.openjavaformat:open-java-format from 21.0.2 to 21.1.0

Release notes

Sourced from dev.openjavaformat:open-java-format's releases.

21.1.0

The IntelliJ IDEA plugin now formats inside the IDE and optimizes imports with open-java-format. The output differs from 21.0.2 in a few narrow cases, so take this release with one reformatting run, in a commit of its own.

IntelliJ IDEA plugin

Reformat Code and Optimize Imports run the formatter inside the IDE's own JVM, with no process to start, and take milliseconds where a file used to take up to a second. The IDE's Java then decides which syntax parses: Java 21 in IntelliJ IDEA 2024.2, Java 25 in 2026.3. For newer syntax, choose In a separate JVM with a newer JDK under Run the formatter in the plugin's settings, next to Native binary; a project that used the native binary keeps it.

Optimize Imports, and everything that runs it, such as Actions on Save, now removes and sorts imports as the command line does. Imports the IDE inserts follow the same layout.

Formatter

A line comment that starts with a no-break space or another Unicode space keeps it, and a long string literal under a cast, a qualified .new or a method reference no longer fails the whole file. A misplaced Unicode escape and a stray ; between imports fail with an error at their line. With the formatJavadoc option, a comment loses the <p> tags at its end, and a <div> gets no <p> in front of it.

Command line, build plugins and Eclipse

Formatting ranges leaves the imports alone and reflows long strings only in the code it rewrites, the same on the command line, in formatDiff, in Eclipse and in IntelliJ IDEA. The Maven plugin and the Spotless step now write what the command line writes, and formatDiff no longer fails on a diff larger than 64 KB.

Library

Formatter.getFormatReplacements, Input.getPositionTokenMap and SnippetFormatter.format return java.util.List and Guava's RangeMap instead of ImmutableList and ImmutableRangeMap, so code that calls them has to be compiled again.

Thanks

To Liam Miller-Cushon of google-java-format, whose three fixes are ported here, and to joaonsk203 and doomfrawen, whose pull requests to google-java-format, #1526 and #1534, proposed the two Javadoc changes.

Commits
  • 897314c Upscale CI runners to macos-26
  • 24b7c4e Downgrade CI runners to macos-14
  • c2bd01c Merge pull request #273 from openjavaformat/abashev/fix-wasm-test-cases-path
  • 4332239 Build and test the wasm module in CI, on the Java 25 cases too
  • bb75dc3 Read the wasm differential test's cases from test-cases-java21
  • 5bb10b6 Merge pull request #272 from openjavaformat/abashev/Changelog-для-idea-плагина
  • bde6b31 Say in the plugin's description where Optimize Imports runs
  • 01ac706 Link the people thanked in the 21.1.0 notes, and their pull requests
  • d92782e Shorten the release notes for 21.1.0
  • b6a7578 Write the release notes for 21.1.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the maven group with 1 update: [dev.openjavaformat:open-java-format](https://github.com/openjavaformat/open-java-format).


Updates `dev.openjavaformat:open-java-format` from 21.0.2 to 21.1.0
- [Release notes](https://github.com/openjavaformat/open-java-format/releases)
- [Commits](openjavaformat/open-java-format@21.0.2...21.1.0)

---
updated-dependencies:
- dependency-name: dev.openjavaformat:open-java-format
  dependency-version: 21.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Dependency updates label Nov 28, 2026
@ObserverOfTime
ObserverOfTime merged commit 71168b2 into master Nov 28, 2026
15 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/maven-49c972a7fa branch November 28, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant