Release 8.2.0rc1 (2025-04-07)

Release Notes:

Configurability: + Add missing_toolchain_error to the platform rule, to customize error messages when a required toolchain type cannot be found for that platform. (#25284) + Add use_target_platform_constraints attribute to the toolchain rule, although it is not used, to enable writing custom test toolchains that are valid in 8.2.0 and later releases. (#25685)

ExternalDeps: + The repo_name parameter of bazel_dep can now be set to None to mark it a “nodep” dependency – that is, the bazel_dep specification is only honored if the target module already exists in the dependency graph by some other means. (#25381) + --experimental_downloader_config is now no longer experimental, and has been renamed to --downloader_config. The old flag name can still be used. (#25660)

Starlark-Integration: + Set generator_name, generator_function, generator_location, and the full Starlark stack for rule targets instantiated in a symbolic macro. (#25772)

Acknowledgements:

This release contains contributions from many people at Google, as well as Aaron Sky, bazel.build machine account, Chuck Grindel, Fabian Meumertzheim, Jim Carroll, jjudd, Keith Lea, kxxt, Roman Salvador, tfrench, 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.

Index of files