Bazel 6.0.0rc3 is now available for those that want to try it out.
You can download it from:
https://releases.bazel.build/6.0.0/rc3/index.htmlPlease report regressions to
https://github.com/bazelbuild/bazel/issues as soon as possible.
The release notes for version 6.0.0 are:
# Release 6.0.0rc3 (2022-11-30)
Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
Cherry picks:
+ 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
Add required `--add-opens` server JVM args also with
non-embedded JDK
+ 8349c95fc98beb4008085942a67a57f0c4da074b:
Also collect clang resource directory with
`-no-canonical-prefixes`
+ dce6ed777d958d65c7f3d4a2f54f8117778a449e:
Make `bazel run` works with minimal mode
+ ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
Include source files with `cquery --output=files` (#16826)
+ 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
Fsync before rename after copy in DiskCacheClient
+ 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
Update GetActionResult for disk cache to check referenced files
when …
+ 0bc0ff5244142eb3348d42025ce21eeb337ad189:
Make Java runfiles library compilable with JDK 8
+ fe169654a29d8ad33105d5d0034a7857834fed5d:
[6.0.0] Default --incompatible_strict_conflict_checks to true.
(#16864)
+ 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
true. (#16864)" (#16872)
+ 312238f2b1414c98ed7d7d51dc4e18278edb2540:
Make C++ runfiles library build with `-Werror=shadow`
+ 2baa5a4284467d70f1b31ea779b79d38ef07d164:
Keep credentials cached across build commands.
+ 8818a57fce32a7872f045f03a334e1c9403724d3:
[6.0.0] Only inject metadata for outputs that cannot be
reconstructed by skyf… (#16879)
+ 31e4bf409eed71e8fb626092189eacb95f80fed9:
Update java_tools v11.9
+ cd40666001e8d599bb61735898c195c6d2fae55b:
replace _get_canonical_form(label) with str(label)
Incompatible changes:
there is no cursor control.
to true. See
for details.
- `cquery --output=files` also outputs source files.
Closes #16602.
- `--incompatible_strict_conflict_checks` is flipped to true. See
https://github.com/bazelbuild/bazel/issues/16729 for details.
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).
Work towards #16124
Fixes #10923
Closes #16428.
- 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
This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Krzysztof Naglik, UebelAndre, Xùdōng Yáng, Yannic, kshyanashree.