github bazelbuild/bazel 7.2.1rc2

latest releases: 7.4.1, 9.0.0-pre.20241105.2, 7.4.1rc2...
pre-release4 months ago

Note

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

Release 7.2.1rc2 (2024-06-21)

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

Android

  • Replace //external:android/d8_jar_import with "@android_gmaven_r8//jar" (#22699)

External Deps

  • Fix crash on IOException in SingleExtensionEvalFunction (#22697)
  • You can now discard previous overrides for --override_repository and --override_module by specifying an empty path. For example, if --override_repository=myrepo=/foo is followed by --override_repository=myrepo=, then myrepo will not be overridden. (#22784)
  • Overlay files specified in source.json are now assumed to be under the overlay subdirectory. (#22823)
  • Fixed an issue with the WORKSPACE file still being evaluated when --noenable_workspace is set. (#22837)

Remote Execution

  • Fix an NPE with the compact execution log and coverage (#22707)
  • Retry on connection reset error for http cache. (#22785)

Local Execution

  • Fix permissions on tree artifact subdirectories as needed to move them out of the sandbox. (#22806)

Performance

  • Do not fail a sandboxed spawn for missing execution statistics (#22790)

Refer to the full list of commits for more details.

Acknowledgements:

This release contains contributions from many people at Google, as well as Fabian Meumertzheim and Simon Mavi Stewart.

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.