Skip to content

Update dependency com.palantir.javaformat:palantir-java-format to v2.98.0 - #3068

Merged
Goooler merged 3 commits into
mainfrom
renovate/com.palantir.javaformat-palantir-java-format-2.x
Sep 15, 2026
Merged

Goooler merged 3 commits into
mainfrom
renovate/com.palantir.javaformat-palantir-java-format-2.x

Conversation

@renovate

@renovate renovate Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
com.palantir.javaformat:palantir-java-format 1.1.0 → 2.98.0 age confidence
com.palantir.javaformat:palantir-java-format 2.80.0 → 2.98.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

palantir/palantir-java-format (com.palantir.javaformat:palantir-java-format)

v2.98.0

Compare Source

💡 Improvements
  • Support IntelliJ Platform Gradle Plugin 2 (#​1767)

Full Changelog: 2.97.0...2.98.0

v2.97.0

Compare Source

No documented user-facing changes

Full Changelog: 2.96.0...2.97.0

v2.96.0

Compare Source

🐛 Fixes
  • Fix duplicate class entries in instrumentedJar that block plugin publishin (#​1714)

Full Changelog: 2.95.0...2.96.0

v2.95.0

Compare Source

No documented user-facing changes

Full Changelog: 2.94.0...2.95.0

v2.94.0

Compare Source

🐛 Fixes
  • Fix Spotless targetExclude patterns being overridden (#​1690)

Full Changelog: 2.93.0...2.94.0

v2.93.0

Compare Source

No documented user-facing changes

Full Changelog: 2.92.0...2.93.0

v2.92.0

Compare Source

🐛 Fixes
  • Only run the formatter on trusted projects (#​1681)

Full Changelog: 2.91.0...2.92.0

v2.91.0

Compare Source

🐛 Fixes
  • Fix issue when wrapping markdown docstrings resulted in 2 slashes instead of 3 (#​1672)

Full Changelog: 2.90.0...2.91.0

v2.90.0

Compare Source

🐛 Fixes
  • Fix crash when formatting method references (#​1630)

v2.89.0

Compare Source

💡 Improvements
  • [Performance Enhancements] Lambda expressions format change & Multi-level exploration logic changes (#​1535)

v2.88.0

Compare Source

🐛 Fixes

v2.87.0

Compare Source

🐛 Fixes
  • Exclude generated directories from formatting (#​1568)

v2.86.0

Compare Source

🐛 Fixes
  • correct import from groovy.util.* to groovy.xml.* to fix java.lang.NoClassDefFoundError: groovy/util/XmlParser on Gradle 9 (#​1536)
💡 Improvements
  • Convert Groovy tests to Java, remove nebula-test dependency, delete unused GradlewExecutor (#​1538)

v2.85.0

Compare Source

💡 Improvements
  • Improve logging when git diff fails (#​1490)

v2.84.0

Compare Source

💡 Improvements
  • Spotless excludes formatting of **/build/* files (#​1531)

v2.83.0

Compare Source

No documented user-facing changes

v2.82.0

Compare Source

No documented user-facing changes

v2.81.0

Compare Source

No documented user-facing changes

v2.80.0

Compare Source

💡 Improvements
  • [Enhancement] Only Send Updates When Formatting Changed (#​1188)

v2.79.0

Compare Source

💡 Improvements
  • Java files always end with a new line (#​1433)

v2.78.0

Compare Source

💡 Improvements
  • Format text blocks + Intellij reflows strings (#​1419)

v2.77.0

Compare Source

🐛 Fixes
  • Format annotated fields in records (#​1427)

v2.76.0

Compare Source

🐛 Fixes
  • Fix latest Intellij incompatibility (#​1428)

v2.75.0

Compare Source

🐛 Fixes
  • Fix comments after default switch case expressions (#​1420)

v2.74.0

Compare Source

💡 Improvements
  • JEP 456: Unnamed Variables & Patterns (#​1410)

v2.73.0

Compare Source

🐛 Fixes
  • bump spotless to version to 7.2.1 (#​1384)

v2.72.0

Compare Source

🐛 Fixes
  • Intellij uses the native image from .gradle/palantir-java-formatter-caches (#​1306)

v2.71.0

Compare Source

🐛 Fixes
  • Fix the following error when running under JDK 25 EA:

    'java.util.Queue com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.getDiagnostics()'
    java.lang.NoSuchMethodError: 'java.util.Queue com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.getDiagnostics()'
    ``` ([#​1367](https://redirect.github.com/palantir/palantir-java-format/pull/1367))
    

v2.70.0

Compare Source

🐛 Fixes
  • Update to use the new configuration cache safe GradleOperatingSystem (#​1338)

v2.69.0

Compare Source

💡 Improvements

v2.68.0

Compare Source

🐛 Fixes
  • bump gradle-idea-configuration and move off deprecated methods (#​1298)
  • Support for var in record patterns (#​1312)

v2.67.0

Compare Source

🐛 Fixes
  • SpotlessApply uses Java 21 version (#​1243)

v2.66.0

Compare Source

🐛 Fixes
  • Use recommended project.getService & update sinceBuild to match intellij version (#​1295)

v2.65.0

Compare Source

No documented user-facing changes

v2.64.0

Compare Source

💡 Improvements
  • Allow palantir-java-format idea plugin dependency configuration via idea-configuration plugin (#​1286)

v2.63.0

Compare Source

🐛 Fixes
  • Set working directory for the native image process (#​1273)

v2.62.0

Compare Source

💡 Improvements
  • Add formatter Intellij logs (#​1263)

v2.61.0

Compare Source

🐛 Fixes
  • Fix pluginVersion discovery (#​1247)

v2.60.0

Compare Source

🐛 Fixes
  • Native image IncludeAllLocales and updates reachability-metadata's resources glob to include all entries under com/sun/tools/javac/resources/** (#​1240)

v2.59.0

Compare Source

💡 Improvements
  • Sets min-version for pjf Intellij plugin (#​1237)

v2.58.0

Compare Source

🐛 Fixes
  • Make palantir-java-format dynamically unloadable (#​1232)

v2.57.0

Compare Source

💡 Improvements

v2.56.0

Compare Source

🐛 Fixes
  • Use modern infra to support multiple JDK versions (#​1226)

v2.55.0

Compare Source

🐛 Fixes
  • Fix nativeImageClassPath for Intellij configuration (#​1217)

v2.54.0

Compare Source

🐛 Fixes
  • Fix MissingResourceRegistration for native-image (#​1216)

v2.52.0

Compare Source

💡 Improvements
  • Initial Graal native-image creation and Benchmarks (#​1194)

v2.51.0

Compare Source

💡 Improvements
  • Use com.palantir.external-publish-intellij for idea plugins (#​1127)
  • Initial Graal native-image creation and Benchmarks (#​1194)

v2.50.0

Compare Source

Automated release, no documented user facing changes

v2.49.0

Compare Source

Type Description Link
Fix Ensure Actions on Save is configured properly in IntelliJ <=2023.3.6 #​1112

v2.48.0

Compare Source

Type Description Link
Fix The formatter should now always been enabled on save in intellij. #​1110

v2.47.0

Compare Source

Type Description Link
Improvement Add instructions for how to run a prerelease version of the idea plugin #​1084
Fix Stops optimizing imports via palantir-java-formatter #​1089

v2.46.0

Compare Source

Type Description Link
Fix Fixes bug where generated code or automated refactoring is formatted incorrectly by removing AD_HOC_FORMATTING #​1083

v2.45.0

Compare Source

Type Description Link
Fix Fix error message link for filing bugs #​1037

v2.44.0

Compare Source

Type Description Link
Fix Fix palantir-java-format not running on IntelliJ >=2024.1 by moving to new APIs. #​1078

v2.43.0

Compare Source

No documented user facing changes

v2.42.0

Compare Source

Type Description Link
Fix Properly format switch expressions #​1069

v2.41.0

Compare Source

Type Description Link
Fix Avoid computing expensive debug info for all checkState() calls #​1029
Improvement Enable Nullaway #​988

v2.40.0

Compare Source

Type Description Link
Fix Fix "Could not determine jdk version for project" error #​980

v2.39.0

Compare Source

No documented user facing changes

v2.38.0

Compare Source

Automated release, no documented user facing changes

v2.37.0

Compare Source

Automated release, no documented user facing changes

v2.36.0

Compare Source

Type Description Link
Feature Add option to format javadoc #​921

v2.35.0

Compare Source

Automated release, no documented user facing changes

v2.34.0

Compare Source

Type Description Link
Fix Ensure imports are optimised on save, as well as formatting. #​906

v2.33.0

Compare Source

Automated release, no documented user facing changes

v2.32.0

Compare Source

Type Description Link
Fix Update intellij compatibility range in IntelliJ plugin plugin.xml metadata file, but hopefully correctly this time. #​875

v2.31.0

Compare Source

Type Description Link
Fix Update intellij compatibility range in IntelliJ plugin plugin.xml metadata file. #​874

v2.30.0

Compare Source

No documented user facing changes

v2.29.0

Compare Source

Type Description Link
Fix Stop using the Save Actions plugin (broken in IntelliJ 2023.1) and use native format on save (requires IntelliJ >=2021.2) #​862

v2.28.0

Compare Source

Type Description Link
Fix Write configuration to IPR file if it exists, as well as the .idea directory, to avoid errors in legacy projects #​810

v2.27.0

Compare Source

Type Description Link
Improvement Use bootstrapping formatter starting from Intellij 2022.2 #​798

v2.26.0

Compare Source

Type Description Link
Improvement Support ea versions of Java #​784

v2.25.0

Compare Source

Type Description Link
Fix Fix problems on windows #​772

v2.24.0

Compare Source

Type Description Link
Improvement Publish gradle plugin to gradle plugin portal #​731

v2.23.0

Compare Source

Type Description Link
Improvement Fix lambda compactness regression #​728

v2.22.0

Compare Source

Type Description Link
Fix Only apply line break to lambdas with statements

## Before this PR
Previous PR #​707 was a little aggressive and inserted line breaks for non-statement lambdas.

## After this PR
Only multi-line lambdas cause a line-break in the method chain.
#​708

v2.21.0

Compare Source

Type Description Link
Improvement Break on lambda argument in method chain

## Before this PR
Chained calls involving lambda expressions don't line break, which conflicts with checkstyle (at least the gradle-baseline checkstyle config)

java<br>class PalantirLambdaInliningPrefersBreak {<br> void foo() {<br> return hello.read(txn -> {<br> doSomeWork();<br> doSomeMoreWork();<br> })<br> .chainedCall(() -> {<br> doSomeWork();<br> });<br> }<br>}<br><br>

## After this PR

java<br>class PalantirLambdaInliningPrefersBreak {<br> void foo() {<br> return hello<br> .read(txn -> {<br> doSomeWork();<br> doSomeMoreWork();<br> })<br> .chainedCall(() -> {<br> doSomeWork();<br> });<br> }<br>}<br>

## Possible downsides?
🤷‍♂️ I've also added a test to show that non-chained lambda calls don't include a line break
#​707

v2.20.0

Compare Source

Automated release, no documented user facing changes

v2.19.0

Compare Source

Type Description Link
Fix Handle non-sealed modifier #​671

v2.18.0

Compare Source

Type Description Link
Improvement bump jackson to 2.13.2 #​676

v2.17.0

Compare Source

Type Description Link
Fix Handle empty implementation version #​644

v2.16.0

Compare Source

Type Description Link
Fix Fix idea plugin failures due to slf4j references #​636

v2.15.0

Compare Source

Automated release, no documented user facing changes

v2.14.0

Compare Source

Type Description Link
Fix Handle empty format response replacements #​622

v2.13.0

Compare Source

Type Description Link
Improvement Fix Idea plugin regression self-bootstrapping for jdk17 #​620

v2.12.0

Compare Source

Type Description Link
Fix Fix the intellij plugin when the bundled formatter is used #​619

v2.11.0

Compare Source

Type Description Link
Fix palantir-java-format intellij plugin supports the new PLUGIN_DIR/lib/*.jar structure in addition to the old PLUGIN_DIR/impl/*.jar location #​617

v2.10.0

Compare Source

Type Description Link
Improvement Cherry-pick upstream changes. #​615

v2.9.0

Compare Source

Type Description Link
Fix Fix deadlock trying to format large input #​583

v2.8.0

Compare Source

Type Description Link
Fix Revert using bootstrapping formatter for Java 15 #​582

v2.7.0

Compare Source

Type Description Link
Improvement Enable bootstrapping formatter on java 15+ #​580

v2.6.0

Compare Source

Type Description Link
Fix Idea plugin: Fix NumberFormatException: For input string: "15.0.5" #​575

v2.5.0

Compare Source

Type Description Link
Improvement Add required exports to the jar manifest #​566

v2.4.0

Compare Source

Type Description Link
Improvement Bootstrap new jvm for running formatter with flags #​562

v2.3.0

Compare Source

Type Description Link
Improvement Fix java 16 compatibility #​559

v2.2.0

Compare Source

Type Description Link
Improvement Convert InitialConfigurationComponent from project component to postStartupActivity #​503

v2.1.0

Compare Source

Type Description Link
Fix Support Intellij 212 API level (2021.2 EAP). The type signature changed from Collection<TextRange> to Collection<? extends TextRange>. This is inspired by same fix in bazel intellij plugin to avoid compiling multiple versions #​502

v2.0.1

Compare Source

Type Description Link
Fix Fix line breaks in switch expression #​394

v2.0.0

Compare Source

Type Description Link
Break * Add support for java 14 language features.
* Break: Increase minimum source compatibility from java 8 to java 11.
* To use version 2.x of the formatter, you need to run on java 11 or higher.
* If you require the formatter to run on java 8, you won't be able to upgrade past version 1.x. Note that you can still produce java 8 jars from your repo but need to use at least java 11 to run the formatter.
#​365

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/com.palantir.javaformat-palantir-java-format-2.x branch from 069060d to cdd8c74 Compare September 15, 2026 03:45
@renovate

renovate Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: gradle/libs.versions.toml
Command failed: ./gradlew -Dorg.gradle.jvmargs=-Xms512m -Xmx512m --console=plain --dependency-verification lenient -q properties

FAILURE: Build failed with an exception.

* Where:
Settings file '/tmp/renovate/repos/github/diffplug/spotless/settings.gradle.kts' line: 11

* What went wrong:
Error resolving plugin [id: 'com.diffplug.spotless', version: '8.10.2', apply: false]
> A problem occurred configuring project ':build-logic'.
   > Could not resolve all artifacts for configuration 'classpath'.
      > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:2.4.0.
        Required by:
            buildscript of project ':build-logic'
            buildscript of project ':build-logic' > org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:6.7.3 > org.gradle.kotlin:gradle-kotlin-dsl-plugins:6.7.3
         > Repository Gradle Central Plugin Repository is disabled due to earlier error below:
            > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-api:2.4.0.
               > Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin-api/2.4.0/kotlin-gradle-plugin-api-2.4.0.pom'.
                  > Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin-api/2.4.0/kotlin-gradle-plugin-api-2.4.0.pom'. Received status code 429 from server: Too Many Requests
      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:2.4.0.
        Required by:
            buildscript of project ':build-logic' > org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:6.7.3 > org.gradle.kotlin:gradle-kotlin-dsl-plugins:6.7.3
         > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:2.4.0.
            > Could not parse POM https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin/2.4.0/kotlin-gradle-plugin-2.4.0.pom
               > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugins-bom:2.4.0.
                  > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugins-bom:2.4.0.
                     > Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugins-bom/2.4.0/kotlin-gradle-plugins-bom-2.4.0.pom'.
                        > Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugins-bom/2.4.0/kotlin-gradle-plugins-bom-2.4.0.pom'. Received status code 429 from server: Too Many Requests
> There are 3 more failures with identical causes.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 16s

Comment thread gradle/libs.versions.toml Outdated
@Goooler
Goooler enabled auto-merge September 15, 2026 04:25
@Goooler
Goooler disabled auto-merge September 15, 2026 04:43
@renovate
renovate Bot force-pushed the renovate/com.palantir.javaformat-palantir-java-format-2.x branch from 15b9bd9 to c7b3a5a Compare September 15, 2026 04:53
@renovate
renovate Bot force-pushed the renovate/com.palantir.javaformat-palantir-java-format-2.x branch from 532de90 to af278df Compare September 15, 2026 05:06
@renovate

renovate Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@Goooler
Goooler enabled auto-merge September 15, 2026 05:09
@Goooler
Goooler merged commit 7ba9411 into main Sep 15, 2026
28 checks passed
@Goooler
Goooler deleted the renovate/com.palantir.javaformat-palantir-java-format-2.x branch September 15, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant