Formatter now has a field public static final File NO_FILE_SENTINEL which can be used to pass string content to a Formatter or FormatterStep when there is no actual File to format. (#1525)
[2.33.0] - 2023-01-26
Added
ProcessRunner has added some convenience methods so it can be used for maven testing. (#1496)
ProcessRunner allows to limit captured output to a certain number of bytes. (#1511)
ProcessRunner is now capable of handling long-running tasks where waiting for exit is delegated to the caller. (#1511)
Allow to specify node executable for node-based formatters using nodeExecutable parameter (#1500)
Fixed
The default list of type annotations used by formatAnnotations has had 8 more annotations from the Checker Framework added #1494
Changes
POTENTIALLY BREAKING Bump minimum JRE from 8 to 11, next release likely to bump bytecode to Java 11 (#1514 part 1 of #1337)
Rename YamlJacksonStep into JacksonYamlStep while normalizing Jackson usage (#1492)
Convert gson integration to use a compile-only source set (#1510).
** POTENTIALLY BREAKING** Removed support for KtLint 0.3x and 0.45.2 (#1475)
KtLint does not maintain a stable API - before this PR, we supported every breaking change in the API since 2019.
From now on, we will support no more than 2 breaking changes at a time.
NpmFormatterStepStateBase delays npm install call until the formatter is first used. This enables better integration
with gradle-node-plugin. (#1522)
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 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)
Bumps spotless-maven-plugin from 2.2.0 to 2.36.0.
Changelog
Sourced from spotless-maven-plugin's changelog.
... (truncated)
Commits
78e0049
Published lib/2.36.039c84f2
speedup npm install step for npm based formatters (#1590 fixes #1480 and #1582)8ebb896
Merge remote-tracking branch 'upstream/main' into 1480-speedup-npm-install-st...78ccbc9
1480: make TimedLogger package-private (PR feedback)6716228
AddequoIde
task to make eclipse setup easier (#1523)2a54d84
Update changelogs.74f2ee8
Merge branch 'main' into feat/equo-ide2872741
Handle JSON with Array as root (#1585)e2f7f76
Merge branch 'main' into JacksonJasonShouldHandleTopArrayc7e46d8
Update plugin changelogs.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 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)