Skip to content

Releases: pantsbuild/pants

release_2.22.0rc2

26 Jul 04:30
release_2.22.0rc2
4b69188
Compare
Choose a tag to compare
release_2.22.0rc2 Pre-release
Pre-release

NB. 2.22.0rc1 was skipped due to infrastructure issues.

Bug Fixes

  • Fix coverage calculation when filter option is used (Cherry-pick of #18057) (#21150)

  • Fix RuleRunner to work without BUILD_ROOT file in pytest sandbox (Cherry-pick of #21112) (#21121)

release_2.21.1rc1

26 Jul 12:19
release_2.21.1rc1
9215529
Compare
Choose a tag to compare
release_2.21.1rc1 Pre-release
Pre-release

NB. 2.21.1rc0 was skipped due to infrastructure issues.

Bug Fixes

  • Fix running python_sources with pex --executable (Cherry-pick of #21047) (#21085)

Documentation

  • Rewrite IPython repl docs for new install_from_resolve approach (Cherry-pick of #21060) (#21069)

release_2.20.3rc1

26 Jul 11:56
release_2.20.3rc1
367b0f4
Compare
Choose a tag to compare
release_2.20.3rc1 Pre-release
Pre-release

NB. 2.23.3rc0 was skipped due to infrastructure issues.

Bug Fixes

  • Fix running python_sources with pex --executable (Cherry-pick of #21047) (#21084)

Documentation

  • Rewrite IPython repl docs for new install_from_resolve approach (Cherry-pick of #21060) (#21068)

release_2.23.0.dev4

25 Jul 04:38
release_2.23.0.dev4
275b6ec
Compare
Choose a tag to compare
release_2.23.0.dev4 Pre-release
Pre-release

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 to adhoc_tool and shell_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 and file targets for complete_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

  • goals: update update-build-files goal help text (#21186)

  • Use $(brew --prefix) in docs instead of assuming a certain path (#21151)

  • docs/javascript: Add overview of javascript backend and nodejs configuration (#21141)

release_2.23.0.dev2

23 Jun 21:51
release_2.23.0.dev2
cfb3caf
Compare
Choose a tag to compare
release_2.23.0.dev2 Pre-release
Pre-release

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

  • docs: there may be multiple BUILD files in a directory (#20818)

  • Sketch new "Maintenance tasks and scripts" contributing dev docs (#21061)

  • Update release docs to work around file watcher race condition. (#21081)

release_2.22.0rc0

23 Jun 22:10
release_2.22.0rc0
0e6af27
Compare
Choose a tag to compare
release_2.22.0rc0 Pre-release
Pre-release

Bug Fixes

  • Fix k8s-parser not able to load hikaru models (Cherry-pick of #21067) (#21090)

  • Fix running python_sources with pex --executable (Cherry-pick of #21047) (#21086)

  • fix regression in choosing a compatible local environment (Cherry pick of #21011) (#21014)

Documentation

  • Rewrite IPython repl docs for new install_from_resolve approach (Cherry-pick of #21060) (#21070)

release_2.23.0.dev1

17 Jun 21:12
release_2.23.0.dev1
c2ed4f0
Compare
Choose a tag to compare
release_2.23.0.dev1 Pre-release
Pre-release

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

  • Fixed several broken links in docs (#21073)

  • Rewrite IPython repl docs for new install_from_resolve approach (#21060)

release_2.23.0.dev0

11 Jun 01:19
release_2.23.0.dev0
a6fb082
Compare
Choose a tag to compare
release_2.23.0.dev0 Pre-release
Pre-release

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

05 Jun 06:02
release_2.22.0a0
99badc0
Compare
Choose a tag to compare
release_2.22.0a0 Pre-release
Pre-release

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

  • Fix help text for stevedore_namespace BUILD file symbol. (#20984)

  • Use code blocks in nodejs-test example docs (#20983)

  • Lower log message level for nailgun to reduce verbosity (#20946)

  • Publish: sort the results output at the end. (#20953)

release_2.21.0

28 May 23:43
release_2.21.0
9a993cd
Compare
Choose a tag to compare

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:

Documentation

  • Update release notes links in Plugin Upgrade Guide docs after movement (Cherry-pick of #20936) (#20942)