Skip to content

5.4.0

Compare
Choose a tag to compare
@bazel-io bazel-io released this 15 Dec 16:50
· 9117 commits to master since this release

Release 5.4.0 (2022-12-15)

Baseline: 8d66a41

Release Notes
Bazel 5.4.0 is a minor LTS release. It is fully backward compatible with Bazel 5.0 and contains selected changes by the Bazel community and Google engineers.

  • Added rlocationpath(s) functions suitable for the Rlocation function offered by runfiles libraries for smoother transition from Bazel 5.x.x to Bazel 6.0.0 (#16668)
  • package(default_package_metadata=[...]) is now the preferred alternative to default_applicable_liceneses. default_applicable_liceneses will be removed in a future release. (#16892)
  • Fixed hanging issue when Bazel fails to upload action inputs. (#16819)
  • Upgraded google-auth-library-oauth2-http dependencies and fixed transitive dependency on opencensus-contrib-http-util 0.31.0. (#15639)
  • Fixed coverage generation for C++ when multiple files with the same name are present. (#16672)
  • Moved analysis_test into testing.analysis_test, an experimental function intended to be used only by the rules_testing repository. The move makes it easier to support both Bazel 5.4.0 and Bazel 6.0.0. (#16702)
  • Keep credentials obtained from a credential helper cached across build commands.(#16884)
  • Add 'toolchain' parameter to actions.{run,run_shell} (#16964)

Acknowledgements
This release contains contributions from many people at Google, as well as Andreas Fuchs, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Juh-Roch, Keith Smiley, Krzysztof Naglik, Niyas Sait, Noa Resare, Oliver Eikemeier, Peter Mounce, Philipp Schrader, Ryan Beasley, Thi Doãn, Yannic, Zhongpeng Lin.

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.