Skip to content

Commit 542299d

Browse files
Bazel Release Systemfweikert
Bazel Release System
authored andcommitted
Release 7.0.0-pre.20230306.4 (2023-03-17)
Baseline: 0ce1748 Cherry picks: + 28dc0f9: Switch `RemoteFileArtifactValue` subclassing to optimize for memory cost. + e79de51: Remove NO_EXPORTING tag from cc_shared_library + e0cdace: Fix data race in prefetcher. Incompatible changes: - This has the side effect of changing the message on unsuccessful builds from ``` FAILED: Build did NOT complete successfully (0 packages loaded) ``` to ``` ERROR: Build did NOT complete successfully ``` - Bazel no longer increases the delay between progress updates when there is no cursor control. - This has the side effect of changing the message on unsuccessful builds from ``` FAILED: Build did NOT complete successfully (0 packages loaded) ``` to ``` ERROR: Build did NOT complete successfully ``` - the --experimental_async_execution flag is now a no-op. - --experimental_replay_action_out_err is not a no-op. - `cquery --output=files` also outputs source files. - `--incompatible_strict_conflict_checks` is flipped to true. See bazelbuild#16729 for details. - `--incompatible_strict_conflict_checks` is flipped to true. See bazelbuild#16729 for details. - `--incompatible_always_include_files_in_data` is flipped to true. See bazelbuild#16654 for details. - This changes the behavior of Python version in exec/host configuration. Mitigation is to set Python version on the targets. - When multiple --deleted_packages options are passed on the command line, they will be concatenated instead of the latest one taking effect. - This has the side effect of changing the message on unsuccessful builds from - JSON profile: Use doubles instead of strings for counter series. - query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). - --experimental_build_transitive_python_runfiles is flipped to false. See bazelbuild#16303 for details - --incompatible_python_disable_py2 is flipped to true. See bazelbuild#17293 for details. - When remote cache evicts blobs, Bazel will exit with code 39. - `--features` only applies to targets built in the target configuration, and `--host_features` is used for the host / exec configuration (gated behind `--incompatible_use_host_features`) - `--incompatible_strict_conflict_checks` is flipped to true. See bazelbuild#16729 for details. New features: - The `aquery` and `cquery` commands now respect the `--query_file` flag just like the `query` command. Important changes: - The new path variable `$(rlocationpath ...)` and its plural form `$(rlocationpaths ...)` can be used to expand labels to the paths accepted by the `Rlocation` function of runfiles libraries. This is the preferred way to access data dependencies at runtime and works on all platforms, even when runfiles are not enabled (e.g., on Windows by default). - Starlark `print()` statements are now emitted iff the line of code is executed. They are no longer replayed on subsequent invocations unless the Starlark code is re-executed. Additionally, multiple identical `print()` statements (same string from the same line of code, e.g. from a loop) are all emitted and no longer deduplicated. - Fixes a bug where some compilation flags would not be applied to a cc_test - removed outdated ctx.host_fragments - removed outdated ctx.host_configuration - Now that the host configuration is finished, `genrule` should prefer the use of `tools` and stop using `exec_tools`. - Added a `native.package_relative_label()` function, which converts a label string to a Label object in the context of the calling package, in contrast to `Label()`, which does so in the context of the current .bzl file. Both functions now also accept relative labels such as `:foo`, and are idempotent. - Update Android manifest merger to v30.1.3, and also drop support for legacy (pre-D8) desugaring. - Adds coverage metric support to android_local_test - Correctly encode double value positive infinity as "inf" instead of "+inf" for textprotos. - Add --use_target_platform_for_tests which uses the target platform for executing tests instead of the execution platform. - Custom C++ rules on Windows calling cc_common.create_linking_context_from_compilation_outputs should review whether each target of the rule type should produce a dynamic library since a condition which blocked their creation has been moved to the rules from behind the API. - Add flag `--experimental_remote_cache_ttl` and set the default value to 3 hours. This release contains contributions from many people at Google, as well as Alex Eagle, Amanda L Martin, Andreas Herrmann, Ankush Goyal, Anthony Ter-Saakov, Artem Zinnatullin, aryeh, Austin Schuh, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Ben Lee, Brentley Jones, Chirag Ramani, Christopher Peterson Sauer, Christopher Sauer, Daniel Grunwald, Daniel KT, Daniel Wagner-Hall, Ed Schouten, Emil Kattainen, Ezekiel Warren, Fabian Meumertzheim, Fabian Meumertzheim, Fahrzin Hemmati, Fahrzin Hemmati, Gaspare Vitta, Greg Magolan, Halil Sener, Hao Yuan, hvadehra, hvd, James Ma, John Hinnegan, Jon Parise, jonrose-dev, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, Kun-Lu, Lee Mracek, lripoche, Matt Mackay, Maxwell Elliott, mohamadk, nathyong, Nick Korostelev, Oliver Lee, Patrick Balestra, Patrick Balestra, Red Daly, robincaloudis, Robin Tweedie, Roger Hu, Saleem Abdulrasool, Sara Adams, Sascha Moecker, Severin Strobl, Siddhesh Bhupendra Kuakde, Simon Mavi Stewart, Son Luong Ngoc, Stiopa Koltsov, tbaing, Ted Kaplan, Ted Kaplan, Thulio Ferraz Assis, Tom Cnops, Ulf Adams, Ulrik Falklof, Uri Baghin, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Yannic Bonenberger, Yannic, Yi Cheng, yuzhy8701.
1 parent e55c544 commit 542299d

File tree

1 file changed

+115
-0
lines changed

1 file changed

+115
-0
lines changed

CHANGELOG.md

+115
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,118 @@
1+
## Release 7.0.0-pre.20230306.4 (2023-03-17)
2+
3+
```
4+
Baseline: 0ce17480390cdced2df8d59249561613e81f446f
5+
6+
Cherry picks:
7+
8+
+ 28dc0f93bf725d35124d3c17e8aaa654cfa3b498:
9+
Switch `RemoteFileArtifactValue` subclassing to optimize for
10+
memory cost.
11+
+ e79de51b91263b33ced77f0a749a1856972510d1:
12+
Remove NO_EXPORTING tag from cc_shared_library
13+
+ e0cdaced03750823021b8b1f5b82a71170d67642:
14+
Fix data race in prefetcher.
15+
```
16+
17+
Incompatible changes:
18+
19+
- This has the side effect of changing the message on unsuccessful
20+
builds from
21+
```
22+
FAILED: Build did NOT complete successfully (0 packages loaded)
23+
```
24+
to
25+
```
26+
ERROR: Build did NOT complete successfully
27+
```
28+
- Bazel no longer increases the delay between progress updates when
29+
there is no cursor control.
30+
- This has the side effect of changing the message on unsuccessful
31+
builds from
32+
```
33+
FAILED: Build did NOT complete successfully (0 packages loaded)
34+
```
35+
to
36+
```
37+
ERROR: Build did NOT complete successfully
38+
```
39+
- the --experimental_async_execution flag is now a no-op.
40+
- --experimental_replay_action_out_err is not a no-op.
41+
- `cquery --output=files` also outputs source files.
42+
- `--incompatible_strict_conflict_checks` is flipped to true. See
43+
https://github.com/bazelbuild/bazel/issues/16729 for details.
44+
- `--incompatible_strict_conflict_checks` is flipped to true. See
45+
https://github.com/bazelbuild/bazel/issues/16729 for details.
46+
- `--incompatible_always_include_files_in_data` is flipped to true.
47+
See https://github.com/bazelbuild/bazel/issues/16654 for details.
48+
- This changes the behavior of Python version in exec/host
49+
configuration. Mitigation is to set Python version on the targets.
50+
- When multiple --deleted_packages options are passed on the
51+
command line, they will be concatenated instead of the latest one
52+
taking effect.
53+
- This has the side effect of changing the message on unsuccessful
54+
builds from
55+
- JSON profile: Use doubles instead of strings for counter series.
56+
- query --output=proto --order_output=deps now returns targets in
57+
topological order (previously there was no ordering).
58+
- --experimental_build_transitive_python_runfiles is flipped to
59+
false. See #16303 for details
60+
- --incompatible_python_disable_py2 is flipped to true. See #17293
61+
for details.
62+
- When remote cache evicts blobs, Bazel will exit with code 39.
63+
- `--features` only applies to targets built in the target
64+
configuration, and `--host_features` is used for the host / exec
65+
configuration (gated behind `--incompatible_use_host_features`)
66+
- `--incompatible_strict_conflict_checks` is flipped to true. See
67+
https://github.com/bazelbuild/bazel/issues/16729 for details.
68+
69+
New features:
70+
71+
- The `aquery` and `cquery` commands now respect the
72+
`--query_file` flag just like the `query` command.
73+
74+
Important changes:
75+
76+
- The new path variable `$(rlocationpath ...)` and its plural form
77+
`$(rlocationpaths ...)` can be used to expand labels to the paths
78+
accepted by the `Rlocation` function of runfiles libraries. This
79+
is the preferred way to access data dependencies at runtime and
80+
works on all platforms, even when runfiles are not enabled (e.g.,
81+
on Windows by default).
82+
- Starlark `print()` statements are now emitted iff the line of
83+
code is executed. They are no longer replayed on subsequent
84+
invocations unless the Starlark code is re-executed.
85+
Additionally, multiple identical `print()` statements (same
86+
string from the same line of code, e.g. from a loop) are all
87+
emitted and no longer deduplicated.
88+
- Fixes a bug where some compilation flags would not be applied to
89+
a cc_test
90+
- removed outdated ctx.host_fragments
91+
- removed outdated ctx.host_configuration
92+
- Now that the host configuration is finished, `genrule` should
93+
prefer the use of `tools` and stop using `exec_tools`.
94+
- Added a `native.package_relative_label()` function, which
95+
converts a label string to a Label object in the context of the
96+
calling package, in contrast to `Label()`, which does so in the
97+
context of the current .bzl file. Both functions now also accept
98+
relative labels such as `:foo`, and are idempotent.
99+
- Update Android manifest merger to v30.1.3, and also drop support
100+
for legacy (pre-D8) desugaring.
101+
- Adds coverage metric support to android_local_test
102+
- Correctly encode double value positive infinity as "inf" instead
103+
of "+inf" for textprotos.
104+
- Add --use_target_platform_for_tests which uses the target
105+
platform for executing tests instead of the execution platform.
106+
- Custom C++ rules on Windows calling
107+
cc_common.create_linking_context_from_compilation_outputs should
108+
review whether each target of the rule type should produce a
109+
dynamic library since a condition which blocked their creation
110+
has been moved to the rules from behind the API.
111+
- Add flag `--experimental_remote_cache_ttl` and set the default
112+
value to 3 hours.
113+
114+
This release contains contributions from many people at Google, as well as Alex Eagle, Amanda L Martin, Andreas Herrmann, Ankush Goyal, Anthony Ter-Saakov, Artem Zinnatullin, aryeh, Austin Schuh, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Ben Lee, Brentley Jones, Chirag Ramani, Christopher Peterson Sauer, Christopher Sauer, Daniel Grunwald, Daniel KT, Daniel Wagner-Hall, Ed Schouten, Emil Kattainen, Ezekiel Warren, Fabian Meumertzheim, Fabian Meumertzheim, Fahrzin Hemmati, Fahrzin Hemmati, Gaspare Vitta, Greg Magolan, Halil Sener, Hao Yuan, hvadehra, hvd, James Ma, John Hinnegan, Jon Parise, jonrose-dev, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, Kun-Lu, Lee Mracek, lripoche, Matt Mackay, Maxwell Elliott, mohamadk, nathyong, Nick Korostelev, Oliver Lee, Patrick Balestra, Patrick Balestra, Red Daly, robincaloudis, Robin Tweedie, Roger Hu, Saleem Abdulrasool, Sara Adams, Sascha Moecker, Severin Strobl, Siddhesh Bhupendra Kuakde, Simon Mavi Stewart, Son Luong Ngoc, Stiopa Koltsov, tbaing, Ted Kaplan, Ted Kaplan, Thulio Ferraz Assis, Tom Cnops, Ulf Adams, Ulrik Falklof, Uri Baghin, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Yannic Bonenberger, Yannic, Yi Cheng, yuzhy8701.
115+
1116
## Release 6.1.1 (2023-03-15)
2117

3118
```

0 commit comments

Comments
 (0)