Re: [bazel-dev] Bazel 6.0.0 release candidate 3 is available for testing

35 views
Skip to first unread message

Kshyanashree Mohapatra

unread,
Nov 30, 2022, 1:43:54 PM11/30/22
to baze...@googlegroups.com, bazel-...@googlegroups.com, Sunil Gowroji, Keerthana Kumar
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.html

Please 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:

  - Bazel no longer increases the delay between progress updates when
    there is no cursor control.
  - `--incompatible_always_include_files_in_data` is flipped
    to true. See https://github.com/bazelbuild/bazel/issues/16654 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.

Kshyanashree Mohapatra

unread,
Dec 2, 2022, 11:26:51 AM12/2/22
to baze...@googlegroups.com, bazel-...@googlegroups.com, Keerthana Kumar, Sunil Gowroji
Bazel 6.0.0rc4 is now available for those that want to try it out.


You can download it from:


Please 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.0rc4 (2022-12-02)

Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53

Cherry picks:

   + cd40666001e8d599bb61735898c195c6d2fae55b:
     replace _get_canonical_form(label) with str(label)
   + e2bc2374188b41924223385ad943db610e92e6c4:
     Avoid exceptions from hermetic sandbox for unsupported artifact
     subclasses
   + b564d145218e58b0440ffad82b3d1d54eef15d22:
     Remove warnings about ignored starlark options
   + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
     [6.0.0] Emit Tree objects in topological order (#16904)
This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Krzysztof Naglik, UebelAndre, Xùdōng Yáng, Yannic, kshyanashree, lunch-glide-pepper.

Fabian Meumertzheim

unread,
Dec 2, 2022, 11:40:36 AM12/2/22
to Kshyanashree Mohapatra, baze...@googlegroups.com, bazel-...@googlegroups.com, Keerthana Kumar, Sunil Gowroji
>   - `--incompatible_strict_conflict_checks` is flipped to true. See

This change has been rolled back, the flag defaults to false in 6.0.0rc4.

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAPSVonGP2kyYcwZLUgJ2k9QAjx%2BHACpxobUaUfMJxhyWemHxnA%40mail.gmail.com.

Xudong Yang

unread,
Dec 2, 2022, 11:45:32 AM12/2/22
to Fabian Meumertzheim, Kshyanashree Mohapatra, baze...@googlegroups.com, bazel-...@googlegroups.com, Keerthana Kumar, Sunil Gowroji
We have yet to fix the release note generation for the RCs, sorry about that; in the final release notes, this rolled back change is not in there.

"  YÁNG Xùdōng (杨旭东)
#  SURNAME Givenname
=  Software Engineer
@  Google Munich


Reply all
Reply to author
Forward
0 new messages