Skip to content

Commit

Permalink
release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdyas committed May 21, 2024
1 parent 7ff9bc2 commit 039e2dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/notes/2.22.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ The default version of `semgrep` used by the `pants.backends.experimental.tool.s

[The `pants.backend.shell.lint.shfmt` backend](https://www.pantsbuild.org/2.22/docs/shell#shfmt-autoformatter) now uses shfmt version 3.8.0 by default.

The `adhoc_tool` and `shell_command` target supports now support invalidating based on changes to filesystem metadata via the new `invalidation_globs` field.

#### Yaml

Setting [the `orphan_files_behaviour = "ignore"` option](https://www.pantsbuild.org/2.22/reference/subsystems/yamllint#orphan_files_behavior) the `pants.backend.experimental.tools.yamllint` backend is now properly silent. It previously showed spurious warnings.
Expand All @@ -84,6 +86,8 @@ Setting [the `orphan_files_behaviour = "ignore"` option](https://www.pantsbuild.

The `PythonToolRequirementsBase` and `PythonToolBase` classes now have a new `help_short` field. Subclasses should now use `help_short` instead of the `help` field. The `help` field will be automatically generated using `help_short`, and will include the tool's default package version and provide instructions on how to override this version using a custom lockfile.

New intrinsic rule for requesting "full" metadata for a filesystem path. Request PathFullStatResult as output with SinglePath as the input.

## Full Changelog

For the full changelog, see the individual GitHub Releases for this series: https://github.com/pantsbuild/pants/releases

0 comments on commit 039e2dc

Please sign in to comment.