Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v2.44.2 #356

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
com.diffplug.spotless:spotless-maven-plugin build minor 2.34.0 -> 2.44.2 OpenSSF Scorecard

Release Notes

diffplug/spotless (com.diffplug.spotless:spotless-maven-plugin)

v2.44.0

Added
  • New static method to DiffMessageFormatter which allows to retrieve diffs with their line numbers (#​1960)
  • Gradle - Support for formatting shell scripts via shfmt. (#​1994)
Fixed
  • Fix empty files with biome >= 1.5.0 when formatting files that are in the ignore list of the biome configuration file. (#​1989 fixes #​1987)
  • Fix a regression in BufStep where the same arguments were being provided to every buf invocation. (#​1976)
Changed
  • Use palantir-java-format 2.39.0 on Java 21. (#​1948)
  • Bump default ktlint version to latest 1.0.1 -> 1.1.1. (#​1973)
  • Bump default googleJavaFormat version to latest 1.18.1 -> 1.19.2. (#​1971)
  • Bump default diktat version to latest 1.2.5 -> 2.0.0. (#​1972)

v2.43.0

Added
  • Support custom rule sets for Ktlint. (#​1896)
Fixed
Changed
  • Bump default ktlint version to latest 1.0.0 -> 1.0.1. (#​1855)
  • Add a Step to remove semicolons from Groovy files. (#​1881)

v2.42.0

Added
  • Support for biome. The Rome project was renamed to Biome.
    The configuration is still the same, but you should switch to the new biome tag / function and adjust
    the version accordingly. (#​1804).
  • Support for google-java-format's skip-javadoc-formatting option. (#​1793)
  • Support configuration of mirrors for P2 repositories in Maven DSL (#​1697).
  • New line endings mode GIT_ATTRIBUTES_FAST_ALLSAME. (#​1838)
Fixed
  • Fix support for plugins when using Prettier version 3.0.0 and newer. (#​1802)
  • Fix configuration cache issue around external process started '/usr/bin/git --version'. (#​1806)
Changed
  • Bump default flexmark version to latest 0.64.0 -> 0.64.8. (#​1801)
  • Bump default ktlint version to latest 0.50.0 -> 1.0.0. (#​1808)

v2.41.0

Added
  • Add a jsonPatch step to json formatter configurations. This allows patching of JSON documents using JSON Patches. (#​1753)
  • Support GJF own import order. (#​1780)
Fixed
  • Use latest versions of popular style guides for eslint tests to fix failing useEslintXoStandardRules test. (#​1761, #​1756)
  • Add support for prettier version 3.0.0 and newer. (#​1760, #​1751)
  • Fix npm install calls when npm cache is not up-to-date. (#​1760, #​1750)
Changed
  • Bump default eslint version to latest 8.31.0 -> 8.45.0 (#​1761)
  • Bump default prettier version to latest (v2) 2.8.1 -> 2.8.8. (#​1760)
  • Bump default greclipse version to latest 4.27 -> 4.28. (#​1775)

v2.40.0

Added
  • Added support for Protobuf formatting based on Buf. (#​1208)
  • enum OnMatch { INCLUDE, EXCLUDE } so that FormatterStep.filterByContent can not only include based on the pattern but also exclude. (#​1749)
Fixed
  • Update documented default semanticSort to false. (#​1728)
Changed
  • Bump default cleanthat version to latest 2.13 -> 2.17. (#​1734)
  • Bump default ktlint version to latest 0.49.1 -> 0.50.0. (#​1741)
    • Dropped support for ktlint 0.47.x following our policy of supporting two breaking changes at a time.
    • Dropped support for deprecated useExperimental parameter in favor of the ktlint_experimental property.

v2.39.0

Added
  • Jvm.Support now accepts -SNAPSHOT versions, treated as the non-SNAPSHOT. (#​1583)
  • Support Rome as a formatter for JavaScript and TypeScript code. Adds a new rome step to javascript and typescript formatter configurations. (#​1663)
  • Add semantics-aware Java import ordering (i.e. sort by package, then class, then member). (#​522)
Fixed
  • Fixed a regression which changed the import sorting order in googleJavaFormat introduced in 2.38.0. (#​1680)
  • Equo-based formatters now work on platforms unsupported by Eclipse such as PowerPC (fixes durian-swt#20)
  • When P2 download fails, indicate the responsible formatter. (#​1698)
Changed
  • Equo-based formatters now download metadata to ~/.m2/repository/dev/equo/p2-data rather than ~/.equo, and for CI machines without a home directory the p2 data goes to $GRADLE_USER_HOME/caches/p2-data. (#​1714)
  • Bump default googleJavaFormat version to latest 1.16.0 -> 1.17.0. (#​1710)
  • Bump default ktfmt version to latest 0.43 -> 0.44. (#​1691)
  • Bump default ktlint version to latest 0.48.2 -> 0.49.1. (#​1696)
    • Dropped support for ktlint 0.46.x following our policy of supporting two breaking changes at a time.
  • Bump default sortpom version to latest 3.0.0 -> 3.2.1. (#​1675)

v2.38.0

Added
  • Support configuration of mirrors for P2 repositories in EquoBasedStepBuilder (#​1629).
  • The style option in Palantir Java Format (#​1654).
  • Added formatter for Gherkin feature files (#​1649).
Changed
  • POTENTIALLY BREAKING Converted googleJavaFormat to a compile-only dependency and drop support for versions < 1.8. (#​1630)
  • Bump default cleanthat version to latest 2.6 -> 2.13. (#​1589 and #​1661)
  • Bump default diktat version 1.2.4.2 -> 1.2.5. (#​1631)
  • Bump default flexmark version 0.62.2 -> 0.64.0. (#​1302)
  • Bump default googleJavaFormat version 1.15.0 -> 1.16.0. (#​1630)
  • Bump default scalafmt version 3.7.1 -> 3.7.3. (#​1584)
  • Bump default Eclipse formatters for the 2023-03 release. (#​1662)
    • JDT and GrEclipse 4.26 -> 4.27
      • Improve GrEclipse error reporting. (#​1660)
    • CDT 11.0 -> 11.1

v2.37.0

Added
  • You can now put the filename into a license header template with $FILE. (#​1605 fixes #​1147)
Changed
  • We are now opting in to Gradle's new stable configuration cache. (#​1591)
  • Adopt Equo Solstice OSGi and p2 shim to update all Eclipse-based plugins. (#​1524)
    • Eclipse JDT now supports 4.9 through 4.26. Also we now recommend dropping the last .0, e.g. 4.26 instead of 4.26.0, you'll get warnings to help you switch.
    • Eclipse Groovy now supports 4.18 through 4.26. Also we now recommend dropping the last .0, e.g. 4.26 instead of 4.26.0, you'll get warnings to help you switch.
    • Eclipse CDT now supports 10.6 through 11.0.
    • Eclipse WTP is still WIP at #​1622.

v2.36.0

Added
  • gradlew equoIde opens a repeatable clean Spotless dev environment. (#​1523)
  • cleanthat added includeDraft option, to include draft mutators from composite mutators. (#​1574)
  • npm-based formatters now support caching of node_modules directory (#​1590)
Fixed
  • JacksonJsonFormatterFunc handles json files with an Array as root. (#​1585)
Changed

v2.35.0

Added
  • CleanThat Java Refactorer. (#​1560)
  • Introduce LazyArgLogger to allow for lazy evaluation of log messages in slf4j logging. (#​1565)
Fixed
  • Allow multiple instances of the same npm-based formatter to be used by separating their node_modules directories. (#​1565)
  • ktfmt default style uses correct continuation indent. (#​1562)
Changed
  • Bump default ktfmt version to latest 0.42 -> 0.43 (#​1561)
  • Bump default jackson version to latest 2.14.1 -> 2.14.2 (#​1536)

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update 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 added the Type: Dependency The issue is a dependency update. label Jan 20, 2025
@renovate renovate bot requested a review from a team as a code owner January 20, 2025 02:24
Copy link
Contributor

coderabbitai bot commented Jan 20, 2025

Walkthrough

The pull request involves a version upgrade of the Spotless Maven plugin in the refarch-gateway project's pom.xml file. The plugin version has been incremented from 2.34.0 to 2.44.2, which represents a minor update to the code formatting and linting tool used in the project's build process.

Changes

File Change Summary
refarch-gateway/pom.xml Updated Spotless Maven plugin version from 2.34.0 to 2.44.2

Poem

🐰 A Rabbit's Ode to Spotless Code 🧹

Formatting lines with magical might,
Spotless plugin now shines so bright!
Version bumped with a gentle hop,
Keeping our code clean from top to bottom
A maven update, precise and neat! 🌟


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f5e339c and 1c9105f.

📒 Files selected for processing (1)
  • refarch-gateway/pom.xml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: build (refarch-gateway, true)
  • GitHub Check: build-maven
🔇 Additional comments (1)
refarch-gateway/pom.xml (1)

34-34: LGTM! Spotless Maven plugin version update looks good.

The update from 2.34.0 to 2.44.2 is a minor version bump that includes new features and bug fixes. The plugin configuration remains compatible with the new version.

Let's verify the version's existence and compatibility:

✅ Verification successful

Version update to Spotless Maven plugin 2.44.2 is safe to proceed

The plugin is configured with minimal default settings, which significantly reduces the risk of compatibility issues. The version exists in Maven Central and is a stable release. Standard build testing will be sufficient to verify the update.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the new version exists and check its compatibility with Java 21

# Check if the version exists in Maven Central
curl -s "https://search.maven.org/solrsearch/select?q=g:com.diffplug.spotless+AND+a:spotless-maven-plugin+AND+v:2.44.2" | jq '.response.numFound'

# Check the plugin's Maven metadata for Java compatibility
curl -s "https://repo1.maven.org/maven2/com/diffplug/spotless/spotless-maven-plugin/2.44.2/spotless-maven-plugin-2.44.2.pom" | grep -A 5 "<maven.compiler"

Length of output: 302


Script:

#!/bin/bash
# Search for Spotless plugin configuration in pom.xml
echo "=== Spotless Plugin Configuration ==="
rg -U "<plugin>.*?<artifactId>spotless-maven-plugin</artifactId>.*?</plugin>" -A 20 "refarch-gateway/pom.xml"

# Search for any other Spotless-related configuration
echo -e "\n=== Other Spotless References ==="
rg "spotless" "refarch-gateway/pom.xml"

Length of output: 581


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the Component: API-Gateway Issues regarding the API Gateway label Jan 20, 2025
@devtobi devtobi closed this Jan 22, 2025
Copy link
Contributor Author

renovate bot commented Jan 22, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (2.44.2). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/refarch-gateway-spotless-maven-plugin.version branch January 22, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: API-Gateway Issues regarding the API Gateway Type: Dependency The issue is a dependency update.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant