chore(deps): update dependency bazel to v6.2.0 - autoclosed #885
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:
6.0.0
->6.2.0
Release Notes
bazelbuild/bazel
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.
v6.1.2
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.
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.This release contains contributions from many people at Google, as well as Brentley Jones, Ezekiel Warren, Fabian Meumertzheim, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, lunch-glide-pepper, oquenchil, Ted Kaplan, Ted Kaplan, UebelAndre, Xùdōng Yáng, Yannic, yuzhy8701.
v6.1.1
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.