Bazel 3.1 has just been released.
Bazel 3.1 is not a major release. As such, updating from Bazel 3.0 is expected to be straightforward.
- The following obsolete flags have been removed:
- A maximum attribute name length of 128 is enforced, as well as a maximum 200 attributes per rule is enforced. These limitations were chosen to be large, and we don’t expect anyone to hit them. They allow Bazel to fail gracefully before internal limitations are reached.
- Allow assembly file sources in
- Add stamp parameter for
cc_common.linkto enable including build info.
- Aspects may now propagate through dependencies on rule outputs by being
apply_to_generating_rules = True.
query --output=buildnow shows where rule classes are defined (in addition to where rule targets are instantiated).
--target_pattern_fileflag provides a way to supply any number of targets to bazel, regardless of operating system limits on command line length.
- The default
.netrcfile on Windows is set to
patchfunction can handle file permission properly.
This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Benjamin Romano, Bor Kae Hwang, Chris Heisterkamp, Cristian Hancila, Dmitri G, Douglas Parker, George Gensure, Gregor Jasny, John Millikin, Keith Smiley, Leo, Mike Fourie, Patrick Balestra, Robbert Van Ginkel, Ryota, Samuel Giddins, Ulf Adams, Vertexwahn, Xavier Bonaventura, Yannic Bonenberger.