chore(deps): update dependency bazel to v6.5.0 #367
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
bazelbuild/bazel (bazel)
v6.5.0
Compare Source
Baseline:
50b61e3
Bazel 6.5.0 is a minor LTS release. It is fully backward compatible with Bazel 6.0 and contains selected changes by the Bazel community and Google engineers.
General
mtime
of theinstall_base
(#20568)C++ / Objective-C
Configurability
External Dependencies
Java
Remote Execution
remoteActionBuildingSemaphore.acquire()
(#20549)experimental_throttle_remote_action_building
(#20861)Starlark / Build API
--noincompatible_enable_deprecated_label_apis
. (#20590)native.repository_name()
is deprecated in favor of the newnative.repo_name()
.Label.workspace_name
is deprecated in favor of the newLabel.repo_name
.Label.relative()
is deprecated in favor of the newLabel.same_package_label()
alongside the existingnative.package_relative_label()
andLabel()
.Acknowledgements:
This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, Jordan Mele, Rahul Butani, and Son Luong Ngoc.
Notice: Bazel installers contain binaries licensed under the GPLv2 with Classpath exception. Those installers should always be redistributed along with the source code.
Some versions of Bazel contain a bundled version of OpenJDK. The license of the bundled OpenJDK and other open-source components can be displayed by running the command
bazel license
. The vendor and version information of the bundled OpenJDK can be displayed by running the commandbazel info java-runtime
. The binaries and source-code of the bundled OpenJDK can be downloaded from our mirror server.Security: All our binaries are signed with our public key
3D5919B
.v6.4.0
Compare Source
v6.3.2
Compare Source
v6.3.1
Compare Source
v6.3.0
Compare Source
v6.2.1
Compare Source
v6.2.0
Compare Source
Incompatible changes:
Bazel no longer increases the delay between progress updates when
there is no cursor control.
--incompatible_always_include_files_in_data
is flippedto true. https://github.com/bazelbuild/bazel/issues/166546654 for
details.
cquery --output=files
also outputs source files.Closes #16602.
--incompatible_strict_conflict_checks
is flipped to true. Seehttps://github.com/bazelbuild/bazel/issues/167296729 for details.
This changes the behavior of Python version in exec/host
configuration. Mitigation is to set Python version on the targets.
--features
only applies to targets built in the targetconfiguration, and
--host_features
is used for the host / execconfiguration (gated behind
--incompatible_use_host_features
)Fixes https://github.com/bazelbuild/bazel/issues/13839
Closes #16626.
New features:
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 pathsaccepted by the
Rlocation
function of runfiles libraries. Thisis 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 ofcode is executed. They are no longer replayed on subsequent
invocations unless the Starlark code is re-executed.
Additionally, multiple identical
print()
statements (samestring 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
Added a
native.package_relative_label()
function, whichconverts a label string to a Label object in the context of the
calling package, in contrast to
Label()
, which does so in thecontext of the current .bzl file. Both functions now also accept
relative labels such as
:foo
, and are idempotent.Adds coverage metric support to android_local_test
Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
couldn't see the Bzlmod root module's mappings when Bzlmod is
enabled.
Added
native.module_name()
andnative.module_version()
toallow BUILD macro authors to acquire information about which
Bazel module the current repo is associated with.
@foo
labels can now be used on the command line as thetop-level target (that is,
bazel build @​foo
now works).Double-dot syntax is now forbidden (
bazel build ../foo
will nolonger work).
Added preliminary support for a lockfile for Bzlmod. It's
disabled by default; use
--lockfile_mode=update
to enable it.This lockfile contains only Bazel module information; it does not
involve module extensions.
Added a new
max_compatibility_level
attribute to thebazel_dep
directive, which allows version selection to upgradea dependency up to the specified compatibility level.
Co-authored-by: Brentley Jones [email protected]
--experimental_remote_grpc_log
has been renamed to--remote_grpc_log
Closes #18180.
This release contains contributions from many people at Google, as well as Ben Lee, Brentley Jones, Ezekiel Warren, Fabian Meumertzheim, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, lunch-glide-pepper, oquenchil, Patrick Balestra, Son Luong Ngoc, Ted Kaplan, Ted Kaplan, UebelAndre, Xùdōng Yáng, Yannic, yuzhy8701.
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.