release_2.11.0rc0
Pre-releaseNew Features
-
Generate and compile Go from Protobuf (#14714)
-
Add the ability to infer assets from strings for Python (#14049)
-
Add
[python].lockfile_generator
to allow using Pex for lockfile generation (#14740) -
Add protobuf linting using Buf with
pants.backend.codegen.protobuf.lint.buf
backend (#14540) -
Add
run
support topyoxidizer_binary
(#14646) -
Add new
[docker].tools
option (#14361) -
Add
build_file_dir()
symbol to BUILD files (#14827) -
Adds
excludes
field tojvm_artifact
targets (#14715) -
Basic support for Helm charts (#14658)
-
Support
package
goal for Helm charts (#14797) -
Python dependency inference supports multiple resolves for first-party targets (#14486)
-
Default the parameters of
parametrize
d dependencies onparametrize
d targets (#14788) -
Allow for codegen targets to be used directly by JVM compiler requests (#14751)
User API Changes
-
Update default Python interpreter constraints to not use Python 3.6 (#14803)
-
python_sources
andpython_tests
target generators no longer impact interpreter constraints calculations (#14821) -
Target generators (like
python_sources
) now only directly depend on their generated targets (#14766) -
Deprecate not explicitly setting
[python].lockfile_generator
(#14817) -
Change default
[python].resolves
from3rdparty/python/default_lockfile.txt
to3rdparty/python/default.lock
(Cherry-pick of #14815) (#14818) -
Swap the order of generated names and parameters in Addresses. (#14814)
-
Rename
_python_requirements_file
target to_generator_sources_helper
(#14727) -
Add
SSL_CERT_DIR
andSSL_CERT_FILE
to the default for[subprocess-environment].env_vars
(#14808) -
Upgrade Pex to 2.1.72. (#14795)
Plugin API Changes
-
Deprecate
Subsystem.register_options
in favor of the new attribute-based Option types (#14772) -
New util rule for isolating binary tools. (#14374)
Bug fixes
-
Fix empty
sys.path
entries causing an error during invalidation glob calculation. (#14819) -
Fix exclusive spawn mechanism for relative paths and working directories. (#14812)
-
Fix a coverage config rewriting bug. (#14784)
-
golang: fix regression in analysis code (#14733)
Performance
-
Don't restart Pantsd when
requirements.txt
andpyproject.toml
change if using target generators (#14829) -
Switch default tool lockfiles to Pex lockfiles for faster installation (#14811)
-
Port
Process
operations to use ofDigestTrie
(#14723)