github bazelbuild/bazel 7.3.0

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

Note

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

Release 7.3.0 (2024-08-12)

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

External Deps

  • Bazel now supports vendoring external dependencies with Bzlmod, see https://bazel.build/external/vendor for details. (#22794)
  • Added a new flag, --incompatible_use_plus_in_repo_names, which uses the plus character (+) instead of the tilde (~) in canonical repo names. This flag will be flipped to true in Bazel 8.0. (#23127)
  • The extract method is now available on module_ctx. (#22825)

Performance

  • Experimental support for path mapping CppCompile actions can be enabled via --modify_execution_info=CppCompile=+supports-path-mapping. For more information, refer to the discussion #22658. (#22876)
  • Actions that become identical when path mapped are now deduplicated during local execution (#21043)

Refer to the full list of commits for more details.

Acknowledgements:

This release contains contributions from many people at Google, as well as Cornelius Riemenschneider, David Sanderson, Fabian Meumertzheim, Honnix, Jordan Mele, Laurent Le Brun, 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.