7.2.0rc1
版本发布时间: 2024-05-16 00:44:52
bazelbuild/bazel最新发布版本:7.2.1(2024-06-26 01:32:26)
[!NOTE] If you are looking for rolling releases, please visit this page.
Release 7.2.0rc1 (2024-05-15)
Baseline: https://github.com/bazelbuild/bazel/commit/3e4e2af78d5b7d210094acfe43abdda23b185be1
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
- The default Unix C++ toolchain now supports the
parse_headers
feature to validate header files with--process_headers_in_dependencies
. (#22369)
Configurability
- aquery:
//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) - Starlark command-line flags can now be referred to through
alias
targets. (#22212)
External Deps
- Added a new flag
--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) - The format for
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) - bzlmod
git_override
now accepts thestrip_prefix
arg and passes it to the underlyinggit_repository
call. (#22137) - Added a new
include()
directive toMODULE.bazel
files, which allows the root module file to be divided into multiple segments. (#22204)- Known issue: bazel mod tidy doesn't yet work with include()d segments. Will be fixed in rc2.
- Fixed certain deadlocks in repo fetching with worker threads (
--experimental_worker_for_repo_fetching=auto
). (#22261) -
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) - The new
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)
Remote Execution
- The combined coverage report produced via
--combined_report=lcov
is now announced on the BES via the newCoverageReport
event. (#22327) - The compact and full execution logs now contain start times for spawns (if available). (#22341)
- Added a new flag
--incompatible_modify_execution_info_additive
, which causes the--modify_execution_info
flag to become additive when specified multiple times. (#22316) - Added new flags
--experimental_remote_output_service
and--experimental_remote_output_service_output_path_prefix
for remote output service
Starlark / Build Language
- Starlark
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, 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 command bazel 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 3D5919B448457EE0.
1、 bazel-7.2.0rc1-darwin-arm64 63.79MB
2、 bazel-7.2.0rc1-darwin-arm64.sha256 94B
3、 bazel-7.2.0rc1-darwin-arm64.sig 566B
4、 bazel-7.2.0rc1-darwin-x86_64 65.43MB
5、 bazel-7.2.0rc1-darwin-x86_64.sha256 95B
6、 bazel-7.2.0rc1-darwin-x86_64.sig 566B
7、 bazel-7.2.0rc1-dist.zip 258.91MB
8、 bazel-7.2.0rc1-dist.zip.sha256 90B
9、 bazel-7.2.0rc1-dist.zip.sig 566B
10、 bazel-7.2.0rc1-installer-darwin-arm64.sh 60.58MB
11、 bazel-7.2.0rc1-installer-darwin-arm64.sh.sha256 107B
12、 bazel-7.2.0rc1-installer-darwin-arm64.sh.sig 566B
13、 bazel-7.2.0rc1-installer-darwin-x86_64.sh 62.07MB
14、 bazel-7.2.0rc1-installer-darwin-x86_64.sh.sha256 108B
15、 bazel-7.2.0rc1-installer-darwin-x86_64.sh.sig 566B
16、 bazel-7.2.0rc1-installer-linux-x86_64.sh 64.47MB
17、 bazel-7.2.0rc1-installer-linux-x86_64.sh.sha256 107B
18、 bazel-7.2.0rc1-installer-linux-x86_64.sh.sig 566B
19、 bazel-7.2.0rc1-linux-arm64 66.98MB
20、 bazel-7.2.0rc1-linux-arm64.sha256 93B
21、 bazel-7.2.0rc1-linux-arm64.sig 566B
22、 bazel-7.2.0rc1-linux-x86_64 68.2MB
23、 bazel-7.2.0rc1-linux-x86_64.sha256 94B
24、 bazel-7.2.0rc1-linux-x86_64.sig 566B
25、 bazel-7.2.0rc1-windows-arm64.exe 224.63MB
26、 bazel-7.2.0rc1-windows-arm64.exe.sha256 99B
27、 bazel-7.2.0rc1-windows-arm64.exe.sig 566B
28、 bazel-7.2.0rc1-windows-arm64.zip 221.41MB
29、 bazel-7.2.0rc1-windows-arm64.zip.sha256 99B
30、 bazel-7.2.0rc1-windows-arm64.zip.sig 566B
31、 bazel-7.2.0rc1-windows-x86_64.exe 63.76MB
32、 bazel-7.2.0rc1-windows-x86_64.exe.sha256 100B
33、 bazel-7.2.0rc1-windows-x86_64.exe.sig 566B
34、 bazel-7.2.0rc1-windows-x86_64.zip 61.71MB
35、 bazel-7.2.0rc1-windows-x86_64.zip.sha256 100B
36、 bazel-7.2.0rc1-windows-x86_64.zip.sig 566B
37、 bazel_7.2.0rc1-linux-x86_64.deb 64.31MB
38、 bazel_7.2.0rc1-linux-x86_64.deb.sha256 98B
39、 bazel_7.2.0rc1-linux-x86_64.deb.sig 566B
40、 bazel_nojdk-7.2.0rc1-darwin-arm64 46.9MB
41、 bazel_nojdk-7.2.0rc1-darwin-arm64.sha256 100B
42、 bazel_nojdk-7.2.0rc1-darwin-arm64.sig 566B
43、 bazel_nojdk-7.2.0rc1-darwin-x86_64 47.73MB
44、 bazel_nojdk-7.2.0rc1-darwin-x86_64.sha256 101B
45、 bazel_nojdk-7.2.0rc1-darwin-x86_64.sig 566B
46、 bazel_nojdk-7.2.0rc1-linux-arm64 46.92MB
47、 bazel_nojdk-7.2.0rc1-linux-arm64.sha256 99B
48、 bazel_nojdk-7.2.0rc1-linux-arm64.sig 566B
49、 bazel_nojdk-7.2.0rc1-linux-x86_64 48.05MB
50、 bazel_nojdk-7.2.0rc1-linux-x86_64.sha256 100B
51、 bazel_nojdk-7.2.0rc1-linux-x86_64.sig 566B
52、 bazel_nojdk-7.2.0rc1-windows-arm64.exe 45.91MB
53、 bazel_nojdk-7.2.0rc1-windows-arm64.exe.sha256 105B
54、 bazel_nojdk-7.2.0rc1-windows-arm64.exe.sig 566B
55、 bazel_nojdk-7.2.0rc1-windows-x86_64.exe 45.76MB
56、 bazel_nojdk-7.2.0rc1-windows-x86_64.exe.sha256 106B