Releases: pantsbuild/pants
release_2.22.0rc2
release_2.21.1rc1
release_2.20.3rc1
release_2.23.0.dev4
NB. 2.23.0.dev3 was skipped due to infrastructure issues.
New Features
-
Allow capturing tfsec output as a report (#21155)
-
add
path_env_modify
field toadhoc_tool
andshell_command
to control how PATH is augmented (#21138) -
Allow customizing semgrep configurations; correct rule matching glob (#21126)
-
tests: add experimental-report-test-result-info option to the test goal (#21171)
-
Add targets for terraform lockfiles (#21099)
-
use a template for computing
output_path
for packageable targets (#21175) -
Native dockerfile parser (#21160)
-
Rudimentary export goal support for
node_modules
(#21036)
User API Changes
-
deprecate
--export-py-hermetic-scripts
in favor of new--export-py-non-hermetic-scripts-in-resolve
option (#21181) -
Upgrade default Node version from 18.20.3 to 20.15.1 (#21166)
-
Upgrade
pnpm
default version from 8.x series to 9.x (#21132)
Bug Fixes
-
Allow both
resource
andfile
targets forcomplete_platforms
on Python FaaS (#21169) -
Always run setuptools_scm in the local environment (#21188)
-
cleanup how adhoc and shell backends process environment variables (#21185)
-
Helm: warn on missing docker image (#21076)
-
Fix options parser discrepancy due to repeated evaluation of
.pants.rc
(#21118) -
(JavaScript) Throw a more descriptive error when the package name is missing (#21159)
-
Create [workunit-logger].logdir if it doesn't already exist (#21152)
-
Fix coverage calculation when
filter
option is used (#18057) -
Javascript backend - run node package install once per workspace (#20826)
Documentation
release_2.23.0.dev2
New Features
-
add intrinsic rule to request metadata about paths in filesystem (#20996)
-
Refactor venv export to use explicit
PythonExecutable
lookup (#21087) -
Generate entry_points.txt for python_tests that require entry points from a python_distribution (#21062)
-
parametrize: expand grouped parametrizations. (#21027)
User API Changes
- Bump default ruff version to 0.4.9 (#21079)
Bug Fixes
-
Always capture a
corepack
installation and support omitting version strings (#21021) -
Fix k8s-parser not able to load hikaru models (#21067)
-
Fix running python_sources with pex --executable (#21047)
Documentation
release_2.22.0rc0
release_2.23.0.dev1
New Features
-
Scala: Support the usage of the
_root_
package name (#21055) -
Add "workspace invalidation" sources support for shell / adhoc backends (#21051)
-
Resolve addresses in ARGs passed to COPY (#20989)
-
Support documenting macro constants. (#21028)
-
Add lint backend to run trufflehog (#20968)
User API Changes
- separate shell tailoring between sources and tests (#20972)
Bug Fixes
-
Fix non-writable files if "." in
output_directories
(#21049) -
fix: args for
helm pull
for OCI artifacts (#21057) -
build: Bump pex to 2.3.3 (#21046)
Documentation
release_2.23.0.dev0
User API Changes
- Resolve 2.23.0.dev0 deprecations: dependees, old ruff, crossversion=partial, remote_auth_bearer_token_path (#21041)
Bug Fixes
-
Fixed Docker image_id returned from parser using recent BuildKit on Windows (#21000)
-
Pick provider closest to the rule/subsystem/target type. (#21030)
-
Support extra env vars resolution of
PATH
in nodejs processes (#21035) -
Fix bug when computing implicit kwargs in @rules called by name. (#21038)
-
Provide default tfsec versions for all platforms (#21033)
-
scala source file should not depend on scalac plugins (#20971)
-
fix regression in choosing a compatible local environment (#21011)
release_2.22.0a0
New Features
-
Flag to disable publishing dependencies in deploy goal (#20871)
-
Add complete platform for Python 3.12 on AWS Lambda (#21004)
-
add workspace environment support (#20900)
-
export generated python sources to exported venvs (#20975)
-
Scala: Detect consumed symbols in self-type annotations (#20960)
User API Changes
- OpenAPI Java codegen fails with an ambiguous class path (#20969)
Bug Fixes
-
Update address parameters on overrides (#20934)
-
Always match source globs using the
any
conjunction. (#20958)
Documentation
release_2.21.0
View the release notes at https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/notes/2.21.x.md
Changes since 2.21.0rc0: