8.3.0rc2
Pre-releaseNote
If you are looking for rolling releases, please visit this page.
Release 8.3.0rc2 (2025-06-17)
Bazel 8.3.0 is a minor LTS release. It is fully backward compatible with Bazel 8.0 and contains selected changes by the Bazel community and Google engineers.
General
- Bazel now prints exactly which startup options have changed when the running Bazel server needs to be killed. (#26034)
Apple / Xcode
- Added support for dSYM generation to cc_binary. (#26031)
- On macOS, Bazel now respects the environment variable DEVELOPER_DIR for Xcode selection. (#25885)
C / C++
- Added strip_include_prefix to cc_import. (#26296)
External Dependencies
- Added a new flag
--repo_contents_cache
(defaults to thecontents
directory under the--repository_cache
) where Bazel stores fetched contents of repos that can be safely cached across workspaces. A repo rule can indicate cacheability by returningrepository_ctx.repo_metadata(reproducible=True)
from its implementation function. (#26129) - source.json now supports a new attribute
mirror_urls
as backup URLs for the source archive. (#25937) - Added the
load_wasm
andexecute_wasm
methods torepository_ctx
andmodule_ctx
that allow repo rules and module extensions to run a WebAssembly binary. These methods are only available if--experimental_repository_ctx_execute_wasm
is set. (#26280) - User-provided repo names may now start with a number. (#26252)
- Added a "hidden" lockfile under the output base that contains the output of reproducible module extensions for performance. (#26195)
Performance
- Add executable to stateful runfiles if necessary, avoiding a very costly check during analysis. (#26288)
Refer to the full list of commits for more details.
Acknowledgements:
This release contains contributions from many people at Google, as well as Aaron Levy, Adin Cebic, Benji Vos, benjivos, David Sanderson, Fabian Meumertzheim, Farid Zakaria, Greg, helly25, Jaden Peterson, Jim Carroll, John Millikin, Jordan Mele, Keith Smiley, Zhongpeng Lin, and Alberto Cavalcante.
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.