github bazelbuild/bazel 8.0.1rc1

pre-release11 hours ago

Note

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

The following release notes are still in the process of being updated and cleaned up.

Release 8.0.1rc1 (2025-01-15)

Release Notes:

Android:

  • Remove autoload warnings, improve errors and fix legacy repo name support (#24856)

CLI:

  • Mark --blazerc as allows_multiple in flag docs (#24877)
  • Report options with BoolOrEnumConverter as supporting --no... (#24909)

Configurability:

  • Allow native.bazel_version to be overridden for dev builds (#24772)
  • Forward @bazel_tools//tools/sh:toolchain_type to rules_shell (#24793)
  • Allow cc_binary with dynamic_deps to be extended (#24815)
  • Add and flip --incompatible_locations_prefers_executable (#24874)

Core:

  • Detect file reads that are longer than expected (#24821)

Documentation:

  • Symbolic macro Stardoc proto cherry picks (#24644)
  • Fix invalid dict syntax in macro docs (#24648)

ExternalDeps:

  • Retry the cleanup of downloadAndExtract (#24630)
  • Don't show fixup warnings during bazel mod tidy (#24769)
  • Handle access to files under invalid repo names gracefully (#24771)
  • Streamline ModuleExtensionId#toString() & Fix edge cases in lockfile handling (#24845)
  • Add more Bzlmod-related profiler spans (#24895)
  • Remove BUILD.bazel before symlinking when creating new_local_repository (#24901)

General:

  • Release 8.0.0 (2024-12-09)
  • Also apply --experimental_inprocess_symlink_creation to filesets. (#24918)

Local-Exec:

  • Fix symlink planting for multiple aspects (#24741)
  • Fix parsing cpu.max file in cgroup v2 implementation (#24753)

OSS:

  • Make rlocation in test-setup.sh compatible with /bin/sh (#24628)
  • Partially fix the bootstrap build (#24852)

Remote-Exec:

  • Create symlink trees through the native filesystem, not the action filesystem. (#24924)

Rules-CPP:

  • Print embedded label / version when starting Bazel. (#24650)

Rules-Java:

  • Fix checking TEST_PREMATURE_EXIT_FILE (#24660)

Rules-ObjC:

  • Fix linking objc binaries in the root package (#24726)
  • Fix linking objc binaries in the root package (#24727)

Acknowledgements:

This release contains contributions from many people at Google, as well as Alessandro Patti, bazel.build machine account, Fabian Meumertzheim, Keith Smiley, Simon Thornington, Xdng Yng, Xùdōng Yáng.

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.