You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2023/02/12 17:59:38 UTC
[GitHub] [avro] dependabot[bot] opened a new pull request, #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
dependabot[bot] opened a new pull request, #2097:
URL: https://github.com/apache/avro/pull/2097
Bumps [spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.27.2 to 2.33.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/diffplug/spotless/blob/main/CHANGES.md">spotless-maven-plugin's changelog</a>.</em></p>
<blockquote>
<h2>[2.33.0] - 2023-01-26</h2>
<h3>Added</h3>
<ul>
<li><code>ProcessRunner</code> has added some convenience methods so it can be used for maven testing. (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1496">#1496</a>)</li>
<li><code>ProcessRunner</code> allows to limit captured output to a certain number of bytes. (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1511">#1511</a>)</li>
<li><code>ProcessRunner</code> is now capable of handling long-running tasks where waiting for exit is delegated to the caller. (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1511">#1511</a>)</li>
<li>Allow to specify node executable for node-based formatters using <code>nodeExecutable</code> parameter (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1500">#1500</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>The default list of type annotations used by <code>formatAnnotations</code> has had 8 more annotations from the Checker Framework added <a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1494">#1494</a></li>
</ul>
<h3>Changes</h3>
<ul>
<li><strong>POTENTIALLY BREAKING</strong> Bump minimum JRE from 8 to 11, next release likely to bump bytecode to Java 11 (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1514">#1514</a> part 1 of <a href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1337">#1337</a>)</li>
<li>Rename <code>YamlJacksonStep</code> into <code>JacksonYamlStep</code> while normalizing Jackson usage (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1492">#1492</a>)</li>
<li>Convert <code>gson</code> integration to use a compile-only source set (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1510">#1510</a>).</li>
<li>** POTENTIALLY BREAKING** Removed support for KtLint 0.3x and 0.45.2 (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1475">#1475</a>)
<ul>
<li><code>KtLint</code> does not maintain a stable API - before this PR, we supported every breaking change in the API since 2019.</li>
<li>From now on, we will support no more than 2 breaking changes at a time.</li>
</ul>
</li>
<li>NpmFormatterStepStateBase delays <code>npm install</code> call until the formatter is first used. This enables better integration
with <code>gradle-node-plugin</code>. (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1522">#1522</a>)</li>
<li>Bump default <code>ktlint</code> version to latest <code>0.48.1</code> -> <code>0.48.2</code> (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1529">#1529</a>)</li>
<li>Bump default <code>scalafmt</code> version to latest <code>3.6.1</code> -> <code>3.7.1</code> (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1529">#1529</a>)</li>
</ul>
<h2>[2.32.0] - 2023-01-13</h2>
<h3>Added</h3>
<ul>
<li>Add option <code>editorConfigFile</code> for <code>ktLint</code> <a href="https://github-redirect.dependabot.com/diffplug/spotless/issues/142">#142</a>
<ul>
<li><strong>POTENTIALLY BREAKING</strong> <code>ktlint</code> step now modifies license headers. Make sure to put <code>licenseHeader</code> <em>after</em> <code>ktlint</code>.</li>
</ul>
</li>
<li>Added <code>skipLinesMatching</code> option to <code>licenseHeader</code> to support formats where license header cannot be immediately added to the top of the file (e.g. xml, sh). (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1441">#1441</a>).</li>
<li>Add YAML support through Jackson (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1478">#1478</a>)</li>
<li>Added support for npm-based <a href="https://eslint.org/">ESLint</a>-formatter for javascript and typescript (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1453">#1453</a>)</li>
<li>Better suggested messages when user's default is set by JVM limitation. (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/995">#995</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Support <code>ktlint</code> 0.48+ new rule disabling syntax (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1456">#1456</a>) fixes (<a href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1444">#1444</a>)</li>
<li>Fix subgroups leading catch all matcher.</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Bump default version for <code>prettier</code> from <code>2.0.5</code> to <code>2.8.1</code> (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1453">#1453</a>)</li>
<li>Bump the dev version of Gradle from <code>7.5.1</code> to <code>7.6</code> (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1409">#1409</a>)
<ul>
<li>We also removed the no-longer-required dependency <code>org.codehaus.groovy:groovy-xml</code></li>
</ul>
</li>
<li>Breaking changes to Spotless' internal testing infrastructure <code>testlib</code> (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1443">#1443</a>)
<ul>
<li><code>ResourceHarness</code> no longer has any duplicated functionality which was also present in <code>StepHarness</code></li>
<li><code>StepHarness</code> now operates on <code>Formatter</code> rather than a <code>FormatterStep</code></li>
<li><code>StepHarnessWithFile</code> now takes a <code>ResourceHarness</code> in its constructor to handle the file manipulation parts</li>
<li>Standardized that we test exception <em>messages</em>, not types, which will ease the transition to linting later on</li>
<li>Bump default <code>ktlint</code> version to latest <code>0.47.1</code> -> <code>0.48.1</code> (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1456">#1456</a>)</li>
</ul>
</li>
<li>Switch our publishing infrastructure from CircleCI to GitHub Actions (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1462">#1462</a>).
<ul>
<li>Help wanted for moving our tests too (<a href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1472">#1472</a>)</li>
</ul>
</li>
</ul>
<h2>[2.31.1] - 2023-01-02</h2>
<h3>Fixed</h3>
<ul>
<li>Improve memory usage when using git ratchet (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1426">#1426</a>)</li>
<li>Support <code>ktlint</code> 0.48+ (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1432">#1432</a>) fixes (<a href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1430">#1430</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Bump default <code>ktlint</code> version to latest <code>0.47.1</code> -> <code>0.48.0</code> (<a href="https://github-redirect.dependabot.com/diffplug/spotless/pull/1432">#1432</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/diffplug/spotless/commit/8804eb1041c1cc75f20bc8d0e02a68cdeaee5c30"><code>8804eb1</code></a> Published lib/2.33.0</li>
<li><a href="https://github.com/diffplug/spotless/commit/f71b28658bf015b20d7b3a4dc084c8b4fa4f0c19"><code>f71b286</code></a> Fix bug in changelog publish setup.</li>
<li><a href="https://github.com/diffplug/spotless/commit/5c3411d00a120c59f301c6ea57f4e2aff2fb4164"><code>5c3411d</code></a> Add missing changelog links to root <code>settings.gradle</code></li>
<li><a href="https://github.com/diffplug/spotless/commit/e3be8779f436d9bb1d7b72d1dc98a0eb14864488"><code>e3be877</code></a> Bump default versions to latest available (<a href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1529">#1529</a>)</li>
<li><a href="https://github.com/diffplug/spotless/commit/5d6714d5666194e3b418a23d3d2379b797fb31fc"><code>5d6714d</code></a> Update changelogs.</li>
<li><a href="https://github.com/diffplug/spotless/commit/87b6dd8b8bd8a3848d02f612f38b1d547a95bcbe"><code>87b6dd8</code></a> Bump default scalafmt <code>3.6.1</code> -> <code>3.7.1</code></li>
<li><a href="https://github.com/diffplug/spotless/commit/87a168b877a216dd0c397e58aa37e5c319dd8c7c"><code>87a168b</code></a> Bump default KtLint <code>0.48.1</code> -> <code>0.48.2</code></li>
<li><a href="https://github.com/diffplug/spotless/commit/6b3ab241584f8f08e25d4d846e3bbddaa8df7aa5"><code>6b3ab24</code></a> Bump minimum JRE to 11 by yelling at JRE 8 users (<a href="https://github-redirect.dependabot.com/diffplug/spotless/issues/1514">#1514</a>)</li>
<li><a href="https://github.com/diffplug/spotless/commit/fb03922888f9a1e3c3e987249c121df191fe3abd"><code>fb03922</code></a> The Kotlin gradle integration tests had tested every possible combination. A ...</li>
<li><a href="https://github.com/diffplug/spotless/commit/56a6f7e3d1ccfcdb2fd385a5d06cc3e831c49b22"><code>56a6f7e</code></a> Improved KtLintStepTest.equality to not download so much.</li>
<li>Additional commits viewable in <a href="https://github.com/diffplug/spotless/compare/maven/2.27.2...lib/2.33.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [avro] dependabot[bot] commented on pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #2097:
URL: https://github.com/apache/avro/pull/2097#issuecomment-1433399553
Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request `@dependabot recreate`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [avro] martin-g commented on pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #2097:
URL: https://github.com/apache/avro/pull/2097#issuecomment-1433487465
Yes, newer versions require JDK 11+.
Maybe we should move the plugin to a Maven profile ?!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [avro] nielsbasjes commented on pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
Posted by "nielsbasjes (via GitHub)" <gi...@apache.org>.
nielsbasjes commented on PR #2097:
URL: https://github.com/apache/avro/pull/2097#issuecomment-1433452915
It fails with:
```Caused by: java.lang.UnsupportedClassVersionError: com/diffplug/spotless/maven/SpotlessApplyMojo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [avro] martin-g commented on pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #2097:
URL: https://github.com/apache/avro/pull/2097#issuecomment-1434290108
> I was thinking about putting the build only under Java 11 or 17 and then use toolchains to select the JDK for building. You can then still build for java 8.
Agreed!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [avro] nielsbasjes commented on pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
Posted by "nielsbasjes (via GitHub)" <gi...@apache.org>.
nielsbasjes commented on PR #2097:
URL: https://github.com/apache/avro/pull/2097#issuecomment-1433556297
I was thinking about putting the build only under Java 11 or 17 and then use toolchains to select the JDK for building. You can then still build for java 8.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [avro] dependabot[bot] closed pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] closed pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
URL: https://github.com/apache/avro/pull/2097
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [avro] nielsbasjes commented on pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
Posted by "nielsbasjes (via GitHub)" <gi...@apache.org>.
nielsbasjes commented on PR #2097:
URL: https://github.com/apache/avro/pull/2097#issuecomment-1433359568
@dependabot rebase
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [avro] dependabot[bot] commented on pull request #2097: Bump spotless-maven-plugin from 2.27.2 to 2.33.0 in /lang/java
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #2097:
URL: https://github.com/apache/avro/pull/2097#issuecomment-1455159500
Superseded by #2123.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org