Release 10.0.0-pre.20260826.1 (2026-09-08)

Baseline: 609cb51089a86f7e40552a1f79c16992376f06db

Cherry picks:

   + bd75cfcf5c906fb6b88515c993edcd34bfadeecb:
     Update protobuf to 36.0.bcr.1
     (https://github.com/bazelbuild/bazel/pull/30886)

Incompatible changes:

  - `--rewind_lost_inputs` is now enabled by default. Builds with
    BwoB automatically recover from remote cache eviction by
    rewinding actions that generated lost inputs.

New features:

  - With the new
    `--experimental_keep_change_prunable_nodes_during_gc` flag,
    Skyframe will keep computed nodes that aren't requested by the
    current evaluation but whose dependencies would be verified clean
    after change pruning.

Important changes:

  - `--server_javabase` and nojdk builds of Bazel can now use JREs in
    addition to JDKs.
  - Test targets can now be built for a target platform that no
    execution platform is compatible with, e.g. to cross-compile
    them. Running such a test fails with an error at execution time
    instead of failing analysis.
  - Disk cache action results are now always trusted with
    `--rewind_lost_inputs`, even if Build without the Bytes makes it
    so that the outputs are not available locally.
  - Cycles between `MODULE.bazel` files connected via `include()` are
    now reported as an error instead of hanging the build.
  - Fixed a crash while evaluating `MODULE.bazel` files when Skyframe
    dropped its temporary state in response to memory pressure.
  - Fixed a build failure with `--execution_log_compact_file` when a
    C++ action template has no inputs.
  - Files uploaded to the disk cache are now copied with a
    copy-on-write clone where the filesystem supports it, so a cache
    entry can share its blocks with the output it was uploaded from.
  - Module extensions are now correctly rerun when the root module
    changes the `dev_dependency` value of a `use_extension` call,
    which is visible to extensions as
    `module_ctx.root_module_has_non_dev_dependency`.
  - None
    RELNOTES: None
  - The C++ include scanner now properly resolves headers that are
    generated at build time and included as part of the toolchain.

This release contains contributions from many people at Google, as well as Alex Eagle, Armando Montanez, Benjamin Peterson, Chi Wang, David Ostrovsky, David Zbarsky, Fabian Meumertzheim, Fabian Meumertzheim, Fabian Meumertzheim, Fabian Meumertzheim, Garrett Holmstrom, Han-Wen Nienhuys, Herdiyan Adam Putra, Hoyt Summers Pittman, JonathanPerry651, Jordan Mele, Ladd Van Tol, Rahul Butani, Rajkaran Yadav, Tamir Duberstein, Tyler French, wade-arista.
1 file changed
tree: 603522daf24ff7fbd690f9079bd0a3920ea6639f
  1. .bazelci/
  2. .devcontainer/
  3. .gemini/
  4. .github/
  5. docs/
  6. examples/
  7. scripts/
  8. site/
  9. src/
  10. third_party/
  11. tools/
  12. .bazelrc
  13. .bazelversion
  14. .gitattributes
  15. .gitignore
  16. AGENTS.md
  17. AUTHORS
  18. bazel_downloader.cfg
  19. BUILD
  20. CHANGELOG.md
  21. CODE_OF_CONDUCT.md
  22. CODEOWNERS
  23. combine_distfiles.py
  24. combine_distfiles_to_tar.sh
  25. compile.sh
  26. CONTRIBUTING.md
  27. CONTRIBUTORS
  28. distdir.bzl
  29. extensions.bzl
  30. LICENSE
  31. maven_install.json
  32. MODULE.bazel
  33. MODULE.bazel.lock
  34. oneversion_allowlist.csv
  35. oneversion_allowlist_for_tests.csv
  36. pyproject.toml
  37. README.md
  38. repositories.bzl
  39. requirements.txt
  40. SECURITY.md
README.md

Bazel

{Fast, Correct} - Choose two

Build and test software of any size, quickly and reliably.

  • Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.

  • One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.

  • Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.

  • Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.

Getting Started

Documentation

Reporting a Vulnerability

To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.

Contributing to Bazel

See CONTRIBUTING.md

Build status