github bazelbuild/bazel 7.7.0rc2

latest releases: 9.0.0-pre.20251022.1, 7.7.0rc3
pre-releaseone day ago

Note

If you are looking for rolling releases, please visit this page.

The following release notes are still in the process of being updated and cleaned up.

Release 7.7.0rc2 (2025-10-27)

Bazel 7.7.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.

General

  • Bazel now requires the minimal glibc version of 2.25.
  • Fixed a compatibility issue with macOS Tahoe. (#27088)

Configurability

  • The new ctx.configuration.short_id field provides a short identifier for the current configuration that is understood by bazel config. (#27219)

External Deps

  • Added repository_ctx.original_name, which contains the original value of the name attribute as specified at the repo rule call site. (#27034)
  • Modules backed by http_archive or git_repository no longer require a MODULE.bazel file to be contained in the source archive. (#27216)
  • source.json now supports a new attribute mirror_urls as backup URLs for the source archive. (#27004)
  • Fixed bazel mod path/all_paths behavior. (#26937)
  • The flag_alias directive is added to MODULE.bazel as a no-op for forward compatibility. (#27335)

Refer to the full list of commits for more details.

Acknowledgements:

This release contains contributions from many people at Google, as well as David Sanderson, David Zbarsky, Fabian Meumertzheim, Grzegorz Lukasik, Ruoyu Zhong, Son Luong Ngoc, Ulrik Falklof, and wudisheng.

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.

Don't miss a new bazel release

NewReleases is sending notifications on new releases.