7.0.1
Note
If you are looking for rolling releases, please visit this page.
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
- Fix linker feature detection being performed on wrong linker (#20901)
External Deps
- Let module extensions track calls to
Label()
(#20750) - Fix bootstrapped Bazel binary (#20612)
- Attempt to make main repo mapping inverse more efficient (#20625)
- Let .bzl files record their usages of repo mapping (#20848)
- Consider MODULE.bazel for workspace detection in bazel.sh (#20594)
- Avoid emitting canonical labels into generated repos (#20840)
Java
- Auto-create deploy jars for Bazel
java_test
targets if requested (#20602) java_binary
wrapper should forwardrestricted_to
(#20611)- Fix singlejar resource mapping for external repositories (#20904)
Local Execution
- Mount user-specified bind mounts before Bazel's own magic. (#20609)
- Print interactive sandboxed shell command with
--sandbox_debug
(#20734) - Fix two issues with --incompatible_sandbox_hermetic_tmp that manifested themselves when the output base was under /tmp (#20718)
- Add support for bind mounts under
/tmp
with hermetic tmp (#20749)
Remote Execution
- Force output checking for incremental run commands without the bytes. (#20881)
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 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.