Skip to content

Tags: diffplug/spotless

Tags

maven/3.1.0

Toggle maven/3.1.0's commit message

### Changes
- Bump default `ktfmt` version to latest `0.58` -> `0.59`. ([#2681](#2681)
- Bump default `jackson` version to latest `2.20.0` -> `2.20.1`. ([#2730](#2730))
- Bump default `cleanthat` version to latest `2.23` -> `2.24`. ([#2620](#2620))
- **POTENTIALLY BREAKING** Removed support for `ktlint` versions below 1.0. ([#2711](#2711))
### Fixed
- Use absolute path in the git pre push hook
- palantirJavaFormat is no longer arbitrarily set to outdated versions on Java 17, latest available version is always used ([#2686](#2686) fixes [#2685](#2685))
### Added
- `<forbidModuleImports>` API for java ([#2679](#2679))

lib/4.1.0

Toggle lib/4.1.0's commit message

### Changes
- Bump default `ktfmt` version to latest `0.58` -> `0.59`. ([#2681](#2681)
- Bump default `jackson` version to latest `2.20.0` -> `2.20.1`. ([#2730](#2730))
- Bump default `cleanthat` version to latest `2.23` -> `2.24`. ([#2620](#2620))
- **POTENTIALLY BREAKING** Removed support for `ktlint` versions below 1.0. ([#2711](#2711))
### Fixed
- palantirJavaFormat is no longer arbitrarily set to outdated versions on Java 17, latest available version is always used ([#2686](#2686) fixes [#2685](#2685))
### Added
- Add a `forbidModuleImports` API for java ([#2679](#2679))
- new options to customize Flexmark, e.g. to allow YAML front matter ([#2616](#2616))

gradle/8.1.0

Toggle gradle/8.1.0's commit message

### Changes
- Bump default `ktfmt` version to latest `0.58` -> `0.59`. ([#2681](#2681)
- Bump default `jackson` version to latest `2.20.0` -> `2.20.1`. ([#2730](#2730))
- Bump default `cleanthat` version to latest `2.23` -> `2.24`. ([#2620](#2620))
- **POTENTIALLY BREAKING** Removed support for `ktlint` versions below 1.0. ([#2711](#2711))
### Fixed
- Tasks were being eagerly instantiated, now avoided using TaskProviders. [#2719](#2719)
  - **POTENTIALLY BREAKING** Bump minimum supported Gradle version from 7.3 to 8.1. [#2719](#2719)
- Use absolute path in the git pre push hook.
- palantirJavaFormat is no longer arbitrarily set to outdated versions on Java 17, latest available version is always used ([#2686](#2686) fixes [#2685](#2685))
### Added
- `forbidModuleImports()` API for java ([#2679](#2679))
- new options to customize Flexmark, e.g. to allow YAML front matter ([#2616](#2616))

maven/3.0.0

Toggle maven/3.0.0's commit message

### Changes
* **BREAKING** Bump the required Java to `17`. ([#2375](#2375), [#2540](#2540))
* **BREAKING** Renamed `removeWildcardImports` to `forbidWildcardImports`. ([#2633](#2633))
* **BREAKING** `spotless:install-git-pre-push-hook` task is now always installed in the root `.git/hooks` directory by resolving the top-level project base directory. ([#2570](#2570))
* Bump JGit from `6.10.1` to `7.3.0` ([#2257](#2257))
  * Adds support for worktrees (fixes [#1765](#1765))
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](#2345))
* Bump default `gson` version to latest `2.13.1` -> `2.13.2`. ([#2615](#2615))
* Bump default `jackson` version to latest `2.19.2` -> `2.20.0`. ([#2606](#2606))
* Bump default `ktfmt` version to latest `0.53` -> `0.58` ([#2613](#2613))
  * **BREAKING** use `TrailingCommaManagementStrategy` enum instead of `manageTrailingCommas` boolean configuration option
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.1`. ([#2555](#2555))
* Bump default `palantir-java-format` version to latest `2.57.0` -> `2.71.0`.
### Fixed
* Fix `spaceBeforeSeparator` in Jackson formatter. ([#2103](#2103))
### Added
* `<lintSupressions>` API ([#2309](#2309))
* There is now a `forbidRegex(String name, String searchRegex, String lintDetail)` which throws a lint anytime the regex matches. ([#2633](#2633))

lib/4.0.0

Toggle lib/4.0.0's commit message
### Changes

* **BREAKING** Bump the required Java to `17`. ([#2375](#2375), [#2540](#2540))
* **BREAKING** Renamed `RemoveWildcardImportsStep` to `ForbidWildcardImportsStep`. ([#2633](#2633))
* Bump JGit from `6.10.1` to `7.3.0` ([#2257](#2257))
  * Adds support for worktrees (fixes [#1765](#1765))
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](#2345))
* Bump default `gson` version to latest `2.13.1` -> `2.13.2`. ([#2615](#2615))
* Bump default `jackson` version to latest `2.19.2` -> `2.20.0`. ([#2606](#2606))
* Bump default `ktfmt` version to latest `0.53` -> `0.58` ([#2613](#2613))
  * **BREAKING** use `TrailingCommaManagementStrategy` enum instead of `manageTrailingCommas` boolean configuration option
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.1`. ([#2555](#2555))
* Bump default `palantir-java-format` version to latest `2.57.0` -> `2.71.0`.
### Fixed
* Fix `spaceBeforeSeparator` in Jackson formatter. ([#2103](#2103))
* `GitPrePushHookInstaller` uses a lock to run gracefully if it is called many times in parallel. ([#2570](#2570))
### Added
* Add a `lint` mode to `ReplaceRegexStep` ([#2571](#2571))
* `LintSuppression` now enforces unix-style paths in its `setPath` and `relativizeAsUnix` methods. ([#2629](#2629))
* Add `rewrite` support ([#2588](#2588))

gradle/8.0.0

Toggle gradle/8.0.0's commit message

### Changed
* **BREAKING** Bump the required Gradle to `7.3` and required Java to `17`. ([#2375](#2375), [#2540](#2540))
* **BREAKING** Renamed `removeWildcardImports` to `forbidWildcardImports`. ([#2633](#2633))
* **BREAKING** `spotlessInstallGitPrePushHook` task is now installed only on the root project. ([#2570](#2570))
* **BREAKING** `LintSuppression` now enforces unix-style paths in its `setPath` method. ([#2629](#2629))
* Running `spotlessCheck` with violations unilaterally produces the error message `Run './gradlew spotlessApply' to fix these violations`. ([#2592](#2592))
* Bump JGit from `6.10.1` to `7.3.0` ([#2257](#2257))
  * Adds support for worktrees (fixes [#1765](#1765))
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](#2345))
* Bump default `gson` version to latest `2.13.1` -> `2.13.2`. ([#2615](#2615))
* Bump default `jackson` version to latest `2.19.2` -> `2.20.0`. ([#2606](#2606))
* Bump default `ktfmt` version to latest `0.53` -> `0.58` ([#2613](#2613))
  * **BREAKING** use `TrailingCommaManagementStrategy` enum instead of `manageTrailingCommas` boolean configuration option
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.1`. ([#2555](#2555))
* Bump default `palantir-java-format` version to latest `2.57.0` -> `2.71.0`.
### Fixed
* Respect system gitconfig when performing git operations ([#2404](#2404))
* Fix `spaceBeforeSeparator` in Jackson formatter. ([#2103](#2103))
* `spotlessInstallGitPrePushHook` is now compatible with configuration cache. ([#2570](#2570))
### Added
* There is now a `forbidRegex(String name, String regex, String lintDetail)` which throws a lint anytime the regex matches. ([#2633](#2633))

maven/2.46.1

Toggle maven/2.46.1's commit message

### Fixed
* `spotless:install-git-pre-push-hook` didn't work on windows, now fixed. ([#2562](#2562))

lib/3.3.1

Toggle lib/3.3.1's commit message

### Fixed
* `GitPrePushHookInstaller` didn't work on windows, now fixed. ([#2562](#2562))

gradle/7.2.1

Toggle gradle/7.2.1's commit message

### Fixed
* `spotlessInstallGitPrePushHook` didn't work on windows, now fixed. ([#2562](#2562))

maven/2.46.0

Toggle maven/2.46.0's commit message

### Added
* Allow specifying path to Biome JSON config file directly in `biome` step. Requires biome 2.x. ([#2548](#2548))
* `spotless:install-git-pre-push-hook` goal, which installs a Git `pre-push` hook to run `spotless:check` and `spotless:apply`. ([#2553](#2553))
## Changed
* Bump default `gson` version to latest `2.11.0` -> `2.13.1`. ([#2414](#2414))
* Bump default `jackson` version to latest `2.18.1` -> `2.19.2`. ([#2558](#2558))
* Bump default `gherkin-utils` version to latest `9.0.0` -> `9.2.0`. ([#2408](#2408))
* Bump default `cleanthat` version to latest `2.22` -> `2.23`. ([#2556](#2556))