chore(deps): update dependency bazel to v8 #373
Merged
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.5.0
->8.0.0
Release Notes
bazelbuild/bazel (bazel)
v8.0.0
Compare Source
v7.4.1
Compare Source
v7.4.0
Compare Source
Release 7.4.0 (2024-10-22)
Bazel 7.4.0 is a minor LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers.
Configurability
External Deps
--ignore_dev_dependency
. (Overrides in non-root modules are already ignored.) (#23550)single_version_override
are now effective as long as the patch file lies in the root module. (#23757)override_repo
andinject_repo
can be used to override and inject repos in module extensions. (#23938)Remote Execution
C++ / Objective-C
cc_static_library
rule produces a static library that bundles given targets and all their transitive dependencies. It has to be enabled via--experimental_cc_static_library
. (#23392)Refer to the full list of commits for more details.
Acknowledgements:
This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Cornelius Riemenschneider, Daniel Wagner-Hall, David Sanderson, Dennis van den Berg, Fabian Meumertzheim, FaBrand, Fredrik Medley, George Gensure, Grzegorz Lukasik, Jamison Lahman, Jay Conrod, Jordan Mele, Keith Smiley, Laurent Le Brun, Lior Gorelik, Luis Padron, Michael Siegrist, Son Luong Ngoc, Tom Renn, and xinyu.wang.
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
.v7.3.2
Compare Source
v7.3.1
Compare Source
v7.3.0
Compare Source
v7.2.1
Compare Source
v7.2.0
Compare Source
Release 7.2.0 (2024-06-10)
Bazel 7.2.0 is a minor LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers.
C++ / Objective-C
parse_headers
feature to validate header files with--process_headers_in_dependencies
. (#22369)CLI
Configurability
//foo:bar
now means "all configured targets with label//foo:bar
" instead of "choose an arbitrary configured target with label//foo:bar
". This is in line with cquery behavior. (#22135)alias
targets. (#22212)External Deps
--incompatible_disable_native_repo_rules
to disable native repo rule usage in WORKSPACE. All native repo rules now have a Starlark counterpart that can be used in both WORKSPACE and Bzlmod; see #22080 for more details. (#22203)MODULE.bazel.lock
is now less likely to result in merge conflicts and is updated incrementally, with only new files downloaded from registries and existing ones taken from the repository cache (if configured). (#22351)include()
directive toMODULE.bazel
files, which allows the root module file to be divided into multiple segments. (#22204)--experimental_worker_for_repo_fetching=auto
). (#22261, #22573)git_override
now accepts thestrip_prefix
arg and passes it to the underlyinggit_repository
call. (#22137)print
statements in module files are now only executed for the root module and modules subject to non-registry overrides (e.g.local_path_override
). (#22263)refresh
value for--lockfile_mode
behaves like theupdate
mode, but additionally forces a refresh of mutable registry content (yanked versions and missing module versions) when switched to or from time to time while enabled. (#22371)bazel fetch
now more reliably fetches repos required for a build by triggering the analysis phase. (#21841)Label
instances passed toprint
orfail
as positional arguments are now formatted with apparent repository names (optimized for human readability). (#22460)mctx.getenv
now correctly invalidate module extensions. (#22541)MODULE.bazel.lock
files can be resolved automatically. See https://bazel.build/external/lockfile#automatic-resolution for the required setup. (#22650)Local Execution
--incompatible_sandbox_hermetic_tmp
. (#22407)Remote Execution
--combined_report=lcov
is now announced on the BES via the newCoverageReport
event. (#22327)--incompatible_modify_execution_info_additive
, which causes the--modify_execution_info
flag to become additive when specified multiple times. (#22316)--experimental_remote_output_service
and--experimental_remote_output_service_output_path_prefix
for remote output serviceStarlark / Build Language
min
andmax
buitins now allow akey
callback, similarly tosorted
. (#21960)native.package_relative_label
can now be used in rule initializers.Refer to the full list of commits for more details.
Acknowledgements:
This release contains contributions from many people at Google, as well as Brentley Jones, Cameron Martin, Daniel Wagner-Hall, Douglas Thor, Fabian Meumertzheim, George Gensure, Isaac Torres, Keith Smiley, Mark Elliot, Romain Chossart, Son Luong Ngoc, Spencer Putt, and Thomas Weischuh.
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
.v7.1.2
Compare Source
v7.1.1
Compare Source
Release 7.1.1 (2024-03-21)
Baseline:
9b39cca
Bazel 7.1.1 is a patch LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers.
External Deps
bazel mod tidy
failure with no changes (#21662)bazel mod show_repo
(#21694)bazel mod tidy
crashes (#21700)bazel fetch
usecquery
under the hood (#21735)Local Execution
Performance
Java
ct.sym
with non-hermeticjava_runtime
(#21670)Acknowledgements:
This release contains contributions from many people at Google, as well as Fabian Meumertzheim.
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
.v7.1.0
Compare Source
Release 7.1.0 (2024-03-11)
Baseline:
8f4b115
Bazel 7.1.0 is a minor LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers.
Configurability
genrule
now supports settingstamp = -1
to request conditional stamping (based on the value of the build's--stamp
flag). (#21512)External Deps
--enable_workspace
(defaults toTrue
) that allows the user to completely disable WORKSPACE logic when turned off. We plan to change the default toFalse
with Bazel 8. (#20365)repository_ctx.watch()
andmodule_ctx.watch()
allow changes to a path to trigger a refetch/re-evaluation of the repo/extension.repository_ctx.read()
andrepository_ctx.template()
gain a new watch parameter to allow them to watch for changes to the path in question.path.readdir()
now watches for changes under the directory by default.repository_ctx.watch_tree()
allows changes to anything transitively under a directory tree to trigger a repo refetch.repository_ctx.getenv
, which allows Starlark repository rules to declare environment variable dependencies during the fetch, instead of upfront usingrepository_rule.environ
. (#20944)--experimental_worker_for_repo_fetching
now defaults toauto
, which uses virtual threads from JDK 21 if it's available. This eliminates restarts during repo fetching. (#21082)bazel mod tidy
subcommand automatically updatesuse_repo
calls in theMODULE.bazel
file for extensions that usemodule_ctx.extension_metadata
. (#21265)bazel mod dump_repo_mapping <canonical repo name>...
returns the repository mappings of the given repositories in NDJSON. This information can be used by IDEs and Starlark language servers to resolve labels with--enable_bzlmod
. (#21023)init_submodules
attribute togit_override
. Registries now support thegit_repository
type insource.json
. (#21036)--enable_bzlmod
. (#21149)bazel fetch
by replacing query with cquery as underlying implementation (#21567, #13847).--noincompatible_enable_deprecated_label_apis
. (#20977)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()
.Performance
1024^2/1000^2
).Python
Remote Execution
expires
from Credential Helpers. (#21429)Acknowledgements:
This release contains contributions from many people at Google, as well as Alessandro Patti, Artem V. Navrotskiy, Brentley Jones, Cameron Martin, Christian Scott, Cristin Donoso, David Ostrovsky, Ed Schouten, Fabian Meumertzheim, Gunnar Wagenknecht, Jordan Mele, Keith Smiley, Nikhil Kalige, Patrick Balestra, Rahul Butani, Ryan Beasley, Son Luong Ngoc, Sushain Cherivirala, thesayyn, Viktor Kustov, Yannic Bonenberger.
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
.v7.0.2
Compare Source
Release 7.0.2 (2024-01-25)
Baseline:
2634a6e
Bazel 7.0.2 is a patch LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers.
External Deps
Acknowledgements:
This release contains contributions from people at Google.
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
.v7.0.1
Compare Source
Baseline:
d798ebd
Bazel 7.0.1 is a patch LTS release. It is fully backward compatible with Bazel 7.0 and contains selected changes by the Bazel community and Google engineers.
C++ / Objective-C
External Deps
Label()
(#20750)Java
java_test
targets if requested (#20602)java_binary
wrapper should forwardrestricted_to
(#20611)Local Execution
--sandbox_debug
(#20734)/tmp
with hermetic tmp (#20749)Remote Execution
Acknowledgements:
This release contains contributions from many people at Google, as well as David Ostrovsky, Fabian Meumertzheim, Siddhartha Bagaria, Tianyu Geng.
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
.v7.0.0
Compare Source
Configuration
📅 Schedule: Branch creation - "* * * * 1-5" (UTC), 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.