This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
chore(deps): update dependency bazel to v6 - autoclosed #207
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:
5.4.0
->6.1.1
Release Notes
bazelbuild/bazel
v6.1.1
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.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.
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.0.0
Compare Source
Incompatible changes:
this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since the path would refer to a
netrc file inside the external repository by absolute path.
Migration should be straightforward.
genrule switched to use exec transition instead of host. This can
break targets with hardcoded output paths. To avoid using
hardcoded paths use make variables, see
https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
defined_label_variables
this incompatible change breaks old instances of http_archive
that specified netrc as an absolute path. It is unlikely there
are many instances in the wild since...
Error Prone now checks for unused return values of additional
methods on
java.lang.Object
, which can be disabled using--javacopts=-Xep:ReturnValueIgnored:OFF
Error Prone now checks for unused return values of additional
methods on
java.lang.Object
, which can be disabled using--javacopts=-Xep:ReturnValueIgnored:OFF
The --incompatible_existing_rules_immutable_view flag has been
flipped to true. https://github.com/bazelbuild/bazel/issues/13907es/13907 for
migration notes.
Split up the C++ archive from the C++ link action and set
CppArchive
as mnemonic.workspace(managed_directories=) is not available anymore.
--legacy_important_outputs now has a default of false.
--legacy_important_outputs default reverted to true.
objc_library now requires CcInfo in its deps. If this breaks
you, add empty CcInfo() to your rule.
Flag --experimental_local_memory_estimate removed.
Added a new flag
--incompatible_unambiguous_label_stringification, which causes
labels in the main repo to stringify into unambiguous forms
starting withttps://github.com/bazelbuild/bazel/issues/15916uild/bazel/issues/15916 for more
information.
analysis_test moved into testing.analysis_test
Flip incompatible_enable_cc_toolchain_resolution
https://github.com/bazelbuild/bazel/issues/72607260)
(Rollback) Flip incompatible_enable_cc_toolchain_resolution
https://github.com/bazelbuild/bazel/issues/72607260)
name parameter is removed from rule call
https://github.com/bazelbuild/bazel/issues/163016301)
name parameter is removed from rule call
https://github.com/bazelbuild/bazel/issues/163016301)
name parameter is removed from rule call
https://github.com/bazelbuild/bazel/issues/163016301)
--incompatible_remote_downloader_send_all_headers is flipped to
true. See #16356 for details.
GrpcRemoteDownloader only includes relevant headers instead of
sending all credentials.
In package_group's
packages
attribute, the syntax "//..." nowrefers to all packages in the same repository as the package
group, rather than all packages everywhere. The new item "public"
can be used instead to obtain the old behavior. In
bazel query --output=proto
(and--output=xml
), thepackages
attributenow serializes with the leading double slash included (for
instance,
//foo/bar/...
instead offoo/bar/...
). See also#16355, #16323, and #16391.
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.
New features:
Important changes:
for removal in Bazel 6.x.
along with the file name and URI.
--experimental_worker_multiplex_sandboxing
flag thatcontrols whether to sandbox multiplex workers that support it.
pre-processing and validation of field values. Iff this parameter
is set,
provider() returns a tuple of 2 elements: the usual provider
symbol (which,
when called, invokes init) and a raw constructor (which bypasses
init).
TestAttemptContinuation
bythrowing an
ExecException
will report anINCOMPLETE
status.Previously, Bazel
would fail to report any status for the test attempt.
in coverage mode without actually running the test.
formatted output. This deprecates the configuration field of
AnalysisProtosV2.ConfiguredTarget, and adds a new field,
configuration_id, to
be used instead.
interface_deps
a
tool or non-tool configuration.
interface_deps
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.