Skip to content

6.5.0

Compare
Choose a tag to compare
@bazel-io bazel-io released this 23 Jan 18:19
· 7485 commits to master since this release

Note

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

Baseline: 50b61e3

Bazel 6.5.0 is a minor LTS release. It is fully backward compatible with Bazel 6.0 and contains selected changes by the Bazel community and Google engineers.

General

  • Fix tree file materialized as symlink to another file when building without the bytes. (#20409)
  • Fix bootstrapped Bazel binary (#20804)
  • Ignore read-only errors when updating the mtime of the install_base (#20568)

C++ / Objective-C

  • Fix versioned shared libraries for macOS toolchain (#20847)

Configurability

  • Flip --incompatible_visibility_private_attributes_at_definition (#20520)
  • Implemented --incompatible_enable_proto_toolchain_resolution (#20925)

External Dependencies

  • Fix extraction of tar archives containing sparse files. (#20531)
  • Restart at most once when prepopulating repository rule environment (#20667)

Java

  • Don't pass --add-opens= to javac (#20472)

Remote Execution

  • RemoteSpawnRunner: record inbetween phases in timing profile (#20550)
  • Add profiling to remoteActionBuildingSemaphore.acquire() (#20549)
  • Add flag experimental_throttle_remote_action_building (#20861)

Starlark / Build API

  • Various methods and fields related to labels and repos are deprecated in favor of new options with clearer naming and intent. The deprecated APIs can be disabled by setting --noincompatible_enable_deprecated_label_apis. (#20590)
    • native.repository_name() is deprecated in favor of the new native.repo_name().
    • Label.workspace_name is deprecated in favor of the new Label.repo_name.
    • Label.relative() is deprecated in favor of the new Label.same_package_label() alongside the existing
    • native.package_relative_label() and Label().

Acknowledgements:

This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, Jordan Mele, Rahul Butani, and Son Luong Ngoc.

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.