Skip to content

Commit 724177f

Browse files
Bazel Release Systemfweikert
Bazel Release System
authored andcommitted
Release 6.0.0-pre.20220315.4 (2022-03-25)
Baseline: bc2f051 Cherry picks: + a421288: Automated rollback of commit 5576979. Incompatible changes: - this incompatible change breaks old instances of http_archive that specified netrc as an absolute path. It is unlikely there are many instances in the wild since the path would refer to a netrc file inside the external repository by absolute path. Migration should be straightforward. - genrule switched to use exec transition instead of host. This can break targets with hardcoded output paths. To avoid using hardcoded paths use make variables, see https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre defined_label_variables - this incompatible change breaks old instances of http_archive that specified netrc as an absolute path. It is unlikely there are many instances in the wild since... - Error Prone now checks for unused return values of additional methods on `java.lang.Object`, which can be disabled using `--javacopts=-Xep:ReturnValueIgnored:OFF` - Error Prone now checks for unused return values of additional methods on `java.lang.Object`, which can be disabled using `--javacopts=-Xep:ReturnValueIgnored:OFF` - The --incompatible_existing_rules_immutable_view flag has been flipped to true. See #13907 for migration notes. Important changes: - Deprecate --incompatible_applicable_licenses flag, in preparation for removal in Bazel 6.x. - Treat py_*.srcs_version="PY2" the same as "PY2ONLY". - The Build Event Protocol now contains file digests and sizes along with the file name and URI. - Refactor system suspend event handling. - alias() can now select() directly on constraint_value() - Allow \a \b \f \v escape sequences in Starlark. - Match remote and local xcode version by most granular version. - Adds `--experimental_worker_multiplex_sandboxing` flag that controls whether to sandbox multiplex workers that support it. - provider() has a new parameter: init, a callback for performing pre-processing and validation of field values. Iff this parameter is set, provider() returns a tuple of 2 elements: the usual provider symbol (which, when called, invokes init) and a raw constructor (which bypasses init). - Tests that fail to create or complete their `TestAttemptContinuation` by throwing an `ExecException` will report an `INCOMPLETE` status. Previously, Bazel would fail to report any status for the test attempt. - Fixed an issue where Bazel could erroneously report a test passes in coverage mode without actually running the test. - Include more information about configurations in cquery proto formatted output. This deprecates the configuration field of AnalysisProtosV2.ConfiguredTarget, and adds a new field, configuration_id, to be used instead. - experimental cc_library.implementation_deps inverted to interface_deps - In aquery and cquery proto output, indicate if a configuration is a tool or non-tool configuration. - Include complete configurations in cquery proto output. - experimental cc_library.implementation_deps inverted to interface_deps - Make protocOpts() publicly accessible. - Add some documentation about how configuration information is conveyed in cquery proto output. - Introduces experimental static library linking API under apple_common.link_multi_arch_static_library - Further deprecation and removal of pkg_tar. Stop supporting legacy use of 'files' attribute, where it could be a list of labels instead of a map of paths to labels. - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled its purpose because --all_incompatible_changes would never set it. The last rule it gated (pkg_tar) is scheduled to be removed in Bazel 6.x. - Add coverage configuration fragment, used to expose output_generator label. - Bazel now no longer includes system headers on macOS in coverage reports (#14969). This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Andrew Katson, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Bohdan Vanieiev, Bradley Burns, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Fredrickson, Christopher Sauer, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Fabian Meumertzheim, floriographygoth, Fredrik Medley, Greg Estren, Greg, Hannes Kufler, hvadehra, jheaff1, Jiawen Chen, Joel Williamson, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Marek uppa, Matt Mackay, Michael P. Nitowski, Mostyn Bramley-Moore, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Pras Velagapudi, Rahul Butani, Ryan Schmidt, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Tetsuo Kiso, Thi Doan, Ulf Adams, Ulrik Falklof, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
1 parent 276fb09 commit 724177f

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

CHANGELOG.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,100 @@
1+
## Release 6.0.0-pre.20220315.4 (2022-03-25)
2+
3+
```
4+
Baseline: bc2f0519a4e6f0ac3ea42ff50da2c9919c5b6c0e
5+
6+
Cherry picks:
7+
8+
+ a421288560e776d952a6b198e399b312e3a3a1b1:
9+
Automated rollback of commit
10+
5576979669383c2380c11b59beaa2f8263ff1f56.
11+
```
12+
13+
Incompatible changes:
14+
15+
- this incompatible change breaks old instances of http_archive
16+
that specified netrc as an absolute path. It is unlikely there
17+
are many instances in the wild since the path would refer to a
18+
netrc file inside the external repository by absolute path.
19+
Migration should be straightforward.
20+
- genrule switched to use exec transition instead of host. This can
21+
break targets with hardcoded output paths. To avoid using
22+
hardcoded paths use make variables, see
23+
https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
24+
defined_label_variables
25+
- this incompatible change breaks old instances of http_archive
26+
that specified netrc as an absolute path. It is unlikely there
27+
are many instances in the wild since...
28+
- Error Prone now checks for unused return values of additional
29+
methods on `java.lang.Object`, which can be disabled using
30+
`--javacopts=-Xep:ReturnValueIgnored:OFF`
31+
- Error Prone now checks for unused return values of additional
32+
methods on `java.lang.Object`, which can be disabled using
33+
`--javacopts=-Xep:ReturnValueIgnored:OFF`
34+
- The --incompatible_existing_rules_immutable_view flag has been
35+
flipped to true. See
36+
https://github.com/bazelbuild/bazel/issues/13907 for
37+
migration notes.
38+
39+
Important changes:
40+
41+
- Deprecate --incompatible_applicable_licenses flag, in preparation
42+
for removal in Bazel 6.x.
43+
- Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
44+
- The Build Event Protocol now contains file digests and sizes
45+
along with the file name and URI.
46+
- Refactor system suspend event handling.
47+
- alias() can now select() directly on constraint_value()
48+
- Allow \a \b \f \v escape sequences in Starlark.
49+
- Match remote and local xcode version by most granular version.
50+
- Adds `--experimental_worker_multiplex_sandboxing` flag that
51+
controls whether to sandbox multiplex workers that support it.
52+
- provider() has a new parameter: init, a callback for performing
53+
pre-processing and validation of field values. Iff this parameter
54+
is set,
55+
provider() returns a tuple of 2 elements: the usual provider
56+
symbol (which,
57+
when called, invokes init) and a raw constructor (which bypasses
58+
init).
59+
- Tests that fail to create or complete their
60+
`TestAttemptContinuation` by
61+
throwing an `ExecException` will report an `INCOMPLETE` status.
62+
Previously, Bazel
63+
would fail to report any status for the test attempt.
64+
- Fixed an issue where Bazel could erroneously report a test passes
65+
in coverage mode without actually running the test.
66+
- Include more information about configurations in cquery proto
67+
formatted output. This deprecates the configuration field of
68+
AnalysisProtosV2.ConfiguredTarget, and adds a new field,
69+
configuration_id, to
70+
be used instead.
71+
- experimental cc_library.implementation_deps inverted to
72+
interface_deps
73+
- In aquery and cquery proto output, indicate if a configuration is
74+
a
75+
tool or non-tool configuration.
76+
- Include complete configurations in cquery proto output.
77+
- experimental cc_library.implementation_deps inverted to
78+
interface_deps
79+
- Make protocOpts() publicly accessible.
80+
- Add some documentation about how configuration information is
81+
conveyed in cquery proto output.
82+
- Introduces experimental static library linking API under
83+
apple_common.link_multi_arch_static_library
84+
- Further deprecation and removal of pkg_tar. Stop supporting
85+
legacy use of 'files' attribute, where it could be a list of
86+
labels instead of a map of paths to labels.
87+
- Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
88+
its purpose because --all_incompatible_changes would never set
89+
it. The last rule it gated (pkg_tar) is scheduled to be removed
90+
in Bazel 6.x.
91+
- Add coverage configuration fragment, used to expose
92+
output_generator label.
93+
- Bazel now no longer includes system headers on macOS in coverage
94+
reports (#14969).
95+
96+
This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Andrew Katson, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Bohdan Vanieiev, Bradley Burns, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Fredrickson, Christopher Sauer, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Fabian Meumertzheim, floriographygoth, Fredrik Medley, Greg Estren, Greg, Hannes Kufler, hvadehra, jheaff1, Jiawen Chen, Joel Williamson, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Marek uppa, Matt Mackay, Michael P. Nitowski, Mostyn Bramley-Moore, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Pras Velagapudi, Rahul Butani, Ryan Schmidt, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Tetsuo Kiso, Thi Doan, Ulf Adams, Ulrik Falklof, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
97+
198
## Release 5.1.0 (2022-03-24)
299

3100
```

0 commit comments

Comments
 (0)