Note
If you are looking for rolling releases, please visit this page.
Release 8.0.1 (2025-01-17)
Bazel 8.0.1 is a patch LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers.
General
- Allow
native.bazel_version
to be overridden for dev builds (#24772) - Remove autoload warnings, improve errors and fix legacy repo name support (#24856)
- Fix checking TEST_PREMATURE_EXIT_FILE (#24660)
- Print embedded label / version when starting Bazel. (#24650)
- Detect file reads that are longer than expected (#24821)
Build Rules
- Forward
@bazel_tools//tools/sh:toolchain_type
torules_shell
(#24793) - Allow
cc_binary
withdynamic_deps
to be extended (#24815) - Add and flip
--incompatible_locations_prefers_executable
(#24874) - Fix linking objc binaries in the root package (#24726, #24727)
CLI
- Mark
--blazerc
asallows_multiple
in flag docs (#24877) - Report options with
BoolOrEnumConverter
as supporting--no...
(#24909)
External Deps
- Retry the cleanup of downloadAndExtract (#24630)
- Don't show fixup warnings during
bazel mod tidy
(#24769) - Handle access to files under invalid repo names gracefully (#24771)
- Streamline
ModuleExtensionId#toString()
& Fix edge cases in lockfile handling (#24845) - Add more Bzlmod-related profiler spans (#24895)
- Remove BUILD.bazel before symlinking when creating new_local_repository (#24901)
Local Execution
- Fix symlink planting for multiple aspects (#24741)
- Fix parsing cpu.max file in cgroup v2 implementation (#24753)
Remote Execution
- Create symlink trees through the native filesystem, not the action filesystem. (#24924)
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, Fabian Meumertzheim, Keith Smiley, and Simon Thornington.
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.