github pantsbuild/pants release_2.16.0a0

latest releases: release_2.24.0a0, release_2.23.0rc3, release_2.22.1...
pre-release20 months ago

New Features

  • Allow python tools to be installed from a user resolve. (#18418)

  • golang: add support for passthrough args for gofmt (#18409)

  • Add the ability for Pants to provide Python via a union (with a pyenv impl) (#18352)

  • Add sources_fingerprint to peek on source-creating targets (#18383)

  • New BUILD file symbols help info (#18378)

  • Visibility: support matching on target names. (#18369)

  • Support for peeking at dependency/dependents rules (#18112)

  • Adds support for supplying "runnable" dependencies to the execution_dependencies field (#18347)

  • javascript: Support esm modules and commonjs specific javascript file extensions (#18208)

  • Adds system_binary target, which can be used to reproducibly find a pre-installed binary for use with adhoc_tool (#18332)

  • Enable running third-party Go main packages (#17449)

User API Changes

  • Add python311 runtime to python_google_cloud_function target (#18405)

  • Delegate lockfile requirement validation to Pex when possible. (#18415)

  • Upgrade Pex to 2.1.126. (#18408)

  • Deprecate the default interpreter constraints. (#18390)

  • Give pantsd more RAM by default. (#18389)

Plugin API Changes

  • Support specifying a named resolve as the superset in a PexRequirements. (#18397)

  • Deprecate the @rule_helper decorator. (#18330)

  • Get rid of the LockfileContent class (#18305)

Bug fixes

  • python: collect files with '[tool.ruff' sections as candidates for Ruff config files (#18413)

  • Fix OSError when running pants in systemd-nspawn container (#18398)

  • Fix paths issue with transitive excludes. (#18396)

  • Fix export-codgen with multiple output types from same input type (#18373)

  • Errors in --loop wait for changes rather than re-running immediately (#18367)

  • Support using env() in prelude macro files (#18273)

  • Docker environment uses a volume for named caches (#18327)

  • Load fromfile files relative to build root (#18311)

  • Ensure that the pep-517 backend shim works on Python 2.7. (#18295)

Documentation

  • Update documentation on how to install the pants binary (#18372)

  • Some doc fixes suggested by users. (#18393)

  • docs: tidy up writing plugins tutorial (#18380)

  • docs: upgrade plugin writing tutorial to 2.15.0 (#18371)

  • Use valid container/app names in helm examples (#18358)

  • Remove defunct newsletter (#18355)

  • docs: mention code generation when troubleshooting missing imports from first-party code (#18073)

  • Fix documentation example for python_awslambda targets (#18302)

  • Change bool values to lowercase in TOML snippets (#18299)

Don't miss a new pants release

NewReleases is sending notifications on new releases.