github bazelbuild/bazel 9.0.1

9 hours ago

Note

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

Release 9.0.1 (2026-03-10)

General

  • Update all embedded JDKs to 25.0.2 (#28548)
  • Update buildozer to v8.5.1 (#28679)

C++ / Objective-C

  • Fix clang warnings on Windows (#28775)
  • Updated rules_cc to 0.2.17 (#28906)

CLI

  • Add a new optional param to fail() to allow pretty-printing user errors without a stack trace. (#28817)

Configurability

  • Fix NPE caused by --repo_env with no value set (#28640)
  • Fix visibility for implicit deps of parent rules (#28687)
  • Refactor flag aliases to be passed around as labels (#28835)
  • rules_python flag alias fixes (#28854)
  • Support external repository labels in package_group (#28895)
  • Emit helpful error when using removed providers (#28360)

Core

  • Prevent a Blaze crash when an aspect uses a test's TestRunner action. (#28756)

External Deps

  • Revert "Upgrade Apache Commons Compress from 1.26.1 to 1.28.0" (#28550)
  • Fix disk cache failures on concurrent read-write access on Windows (#28552)
  • Error on single_version_override patch with wrong patch_strip (#28622)
  • Force `rctx.{download_and,}extract` to create user-readable files (#28649)
  • Fix `StarlarkBaseExternalContext#checkInOutputDirectory` (#28677)
  • Update and minimize the JDK for Windows arm64 builds (#28714)
  • Only use workspace facts for validation with --lockfile_mode=error (#28767)
  • Replant symlinks before caching repos (#28785)

OSS

  • Support proto_library targets in @bazel_tools//src/main/protobuf (#28502)

Performance

  • Fix overflow in network metrics counters (#28864)

Python

  • Add deprecation warning to --build_python_zip (#28586)

Remote Execution

  • Fix a deadlock in `RemotePathChecker` when using a disk cache (#28465)

Acknowledgements:

This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Joseph Gette, Keith Smiley, Ted Kaplan, and Will Stranton.

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.