diff --git a/CHANGELOG.md b/CHANGELOG.md index b41d670a3fe16a..f8a723c4a8475b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,308 @@ +## Release 8.0.0 (2024-12-09) + +``` + +Release Notes: + +``` + +## Release 9.0.0-pre.20241125.4 (2024-12-07) + +``` +Baseline: 7b20da28ec69e3921a043199e6d0afb0246e71f0 + +Cherry picks: + + + e27ab916aaa6b12f2be4e463a54ef49965cc04a7: + Automated rollback of commit + 3fdec931bfc401a379e2446731cf19daffe24a10. + + 17f3cbc33a1dc0b68479f1f1a25ab832f6322842: + Automated rollback of commit + 8f74d8f4de7ba474adad59769241bb38ee83d3ab. + + bae909caf645559ba958a279a834e6a11ac5eae6: + Release 9.0.0-pre.20241125.4 (2024-12-07) + + 291dad6d529082d967753e23c667093ec87322c0: + Release 9.0.0-pre.20241125.4 (2024-12-07) + + 5d4705148b2a7b10b6c0cf12b0acf127625cda1b: + Release 9.0.0-pre.20241125.4 (2024-12-07) +``` + +This release contains contributions from many people at Google, as well as . + +## Release 9.0.0-pre.20241125.4 (2024-12-07) + +``` +Baseline: 7b20da28ec69e3921a043199e6d0afb0246e71f0 + +Cherry picks: + + + e27ab916aaa6b12f2be4e463a54ef49965cc04a7: + Automated rollback of commit + 3fdec931bfc401a379e2446731cf19daffe24a10. + + 17f3cbc33a1dc0b68479f1f1a25ab832f6322842: + Automated rollback of commit + 8f74d8f4de7ba474adad59769241bb38ee83d3ab. + + bae909caf645559ba958a279a834e6a11ac5eae6: + Release 9.0.0-pre.20241125.4 (2024-12-07) + + 291dad6d529082d967753e23c667093ec87322c0: + Release 9.0.0-pre.20241125.4 (2024-12-07) +``` + +This release contains contributions from many people at Google, as well as . + +## Release 9.0.0-pre.20241125.4 (2024-12-07) + +``` +Baseline: 7b20da28ec69e3921a043199e6d0afb0246e71f0 + +Cherry picks: + + + e27ab916aaa6b12f2be4e463a54ef49965cc04a7: + Automated rollback of commit + 3fdec931bfc401a379e2446731cf19daffe24a10. + + 17f3cbc33a1dc0b68479f1f1a25ab832f6322842: + Automated rollback of commit + 8f74d8f4de7ba474adad59769241bb38ee83d3ab. +``` + +This release contains contributions from many people at Google, as well as . + +## Release 9.0.0-pre.20241125.3 (2024-12-04) + +``` +Baseline: 7b20da28ec69e3921a043199e6d0afb0246e71f0 + +Cherry picks: + + + e27ab916aaa6b12f2be4e463a54ef49965cc04a7: + Automated rollback of commit + 3fdec931bfc401a379e2446731cf19daffe24a10. + + d699813bb7120f2b80886763ddc1d1b01805db9b: + Release 9.0.0-pre.20241125.3 (2024-12-04) + + 0ee3d20da076a7e221ebe53a41ab3d7a60db23a6: + Release 9.0.0-pre.20241125.3 (2024-12-04) + + 08b47315d87033a38feb56e68a4fac99c9788af2: + Release 9.0.0-pre.20241125.3 (2024-12-04) + + 6c25f89955ad56c351e2b69a5dedb612f7dd45c2: + Release 9.0.0-pre.20241125.3 (2024-12-04) +``` + +This release contains contributions from many people at Google, as well as . + +## Release 9.0.0-pre.20241125.3 (2024-12-04) + +``` +Baseline: 7b20da28ec69e3921a043199e6d0afb0246e71f0 + +Cherry picks: + + + e27ab916aaa6b12f2be4e463a54ef49965cc04a7: + Automated rollback of commit + 3fdec931bfc401a379e2446731cf19daffe24a10. + + d699813bb7120f2b80886763ddc1d1b01805db9b: + Release 9.0.0-pre.20241125.3 (2024-12-04) + + 0ee3d20da076a7e221ebe53a41ab3d7a60db23a6: + Release 9.0.0-pre.20241125.3 (2024-12-04) +``` + +This release contains contributions from many people at Google, as well as . + +## Release 9.0.0-pre.20241125.3 (2024-12-04) + +``` +Baseline: 7b20da28ec69e3921a043199e6d0afb0246e71f0 + +Cherry picks: + + + e27ab916aaa6b12f2be4e463a54ef49965cc04a7: + Automated rollback of commit + 3fdec931bfc401a379e2446731cf19daffe24a10. +``` + +Important changes: + + - `archive_override` now accepts all attributes usable with + `http_archive`; similar for `git_override` and `git_repository`. + - Fixed an issue where `genquery` in external repos would evaluate + labels as if they were in the main repo. + - Re-enable symbolic macro attribute inheritance. + +This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jordan Mele, Simon Thornington, Ulrik Falklof, Xdng Yng, Xudong Yang. + +## Release 9.0.0-pre.20241119.2 (2024-11-27) + +``` +Baseline: ebeab8ce6607f0ea8448178219c61a935535be6a + +Cherry picks: + + + 650142fbe290d97e39b702d1dbcdbe126614b927: + Automated rollback of commit + 4515bb6c932ce62c7889cf322319a3b49158acad. + + 4754de207c4dd05c531b57847e3a47bea229954a: + [Rolling release] Do not forward legacy `cmd.exe` variables to + the server (#24500) + + 94fb35b0af7d30b5479bfdb40cae51960a50f24c: + Fix rolling release (#24513) +``` + +Incompatible changes: + + - Changing --test_env no longer invalidates the analysis cache. + `ctx.configuration.test_env` may be empty for non-test rules and + should not be used by such rules. + +Important changes: + + - Add a set data type to Starlark, guarded by the + --experimental_enable_starlark_set flag. + - symbolic macro attribute inheritance is now marked experimental; + set --experimental_enable_macro_inherit_attrs flag to enable it. + - Changing any part of `--run_under` that isn't the label (such as + the shell command) no longer invalidates the analysis cache. + - The progress of completed configured aspects is now shown in the + UI, next to the number of completed targets. Example: "(100 + packages loaded, 10000 targets and 500 aspects configured)". + +This release contains contributions from many people at Google, as well as Fabian Meumertzheim, kalvdans, Xùdōng Yáng. + +## Release 9.0.0-pre.20241113.4 (2024-11-20) + +``` +Baseline: 8d02d476f0a1ccc5bfcc47b2dd9ac17526c4d0fb + +Cherry picks: + + + 04871da8478a9ce713a0c08b442a686bed61c7c9: + Use LinkedHashSet instead of HashSet in + CcCompilationContext.Builder for determinism + + aa5d821c58d8b20ba55365b32d1bccc3235eb70a: + Automated rollback of commit + 7ffa08e649a57728a642fb1643396678ea2032a8. + + 08beb210eddd35b703857e005d99c60b963e8e10: + Put macro attribute inheritance behind an off-by-default + --experimental_enable_macro_inherit_attrs flag + + f8e1588bb3ae7f46ded713e129c6eff63d76d107: + Update `with_cfg.bzl` to v0.6.0 +``` + +Incompatible changes: + + - On Windows, a change to the output base locking protocol might + cause an older Bazel invoked immediately after a newer Bazel (on + the same output base) to error out instead of blocking for the + lock, even if --block_for_lock is enabled. + - The `--watchfs` startup option is now a no-op and will be removed + in April 2025. Use the `--watchfs` command option instead. + - The mnemonic passed to --worker_extra_flag is now matched against + the worker key mnemonic when one is available, instead of the + action mnemonic. This makes it consistent with other worker flags + taking a mnemonic. + +New features: + + - The "blaze --quiet" command line option can now be used to make + Blaze emit much less output. + - REPO.bazel now allows another directive, "ignore_directories()". + It takes a list of directories to ignore just like .bazelignore + does, but with glob semantics. + - Commands executed by "bazel run" now have two extra environment + variables: $BUILD_ID indicates the id of the Bazel command and + $BUILD_EXECROOT indicates the execroot of the Bazel server. + +Important changes: + + - The stripPrefix parameter of repository_ctx.download_and_extract() + and repository_ctx.extract() has been renamed to strip_prefix; + the deprecated + stripPrefix name remains usable for compatibility. + - A no-config transition is now available as `config.no_config()`. + - Actions that create runfiles trees are now considered regular + actions. This means that they are now reported in statistics, + critical paths and the like. + - External repositories that are managed by Bzlmod can now contain + a top-level `external` directory or package. + - `repository_ctx.execute` can now remove an environment variable + when executing a process by associating it with the value `None` + in the `environment` argument. + - Add inherit_attrs param to macro() to allow symbolic macros to + inherit attributes from rules or other symbolic macros. + - `bazel mod` now tries to evaluate all module extensions, even + when some have failed to evaluate. + - The new `--inject_repository` flag can be used to add new + repositories via the CLI with `--enable_bzlmod`. Such + repositories behave as if they were declared by + `local_repository` via `use_repo_rule` in the root module. + - symbolic macro attribute inheritance is now marked experimental; + set --experimental_enable_macro_inherit_attrs flag to enable it. + +This release contains contributions from many people at Google, as well as Alexander Golovlev, Benson Muite, Cornelius Riemenschneider, dependabot[bot], Dimi Shahbaz, Fabian Meumertzheim, Farid Zakaria, Honnix, Jay Conrod, John Millikin, Keith Smiley, Matt Brown, Richard Woodbury, Roman Salvador, Rostislav Rumenov, Wojciech Mazur, Xdng Yng, Zhongpeng Lin. + +## Release 7.4.1 (2024-11-11) + +``` + +Release Notes: + +``` + +## Release 9.0.0-pre.20241016.1 (2024-10-22) + +``` +Baseline: 253fedc5d5adbb6015735b31103be584e2125d5b +``` + +Incompatible changes: + + - With the default Unix toolchain on macOS, binaries now use + `@rpath` to find their `.dylib` dependencies. This is required to + fix issues where tools run during the build couldn't find their + dynamic dependencies. + - The flag `--incompatible_disallow_empty_glob` now defaults to + true. + +Important changes: + + - Native android_sdk is no longer available within Bazel. Use + https://github.com/bazelbuild/rules_android + - Add the + --incompatible_simplify_unconditional_selects_in_rule_attrs + option to simplify configurable rule attributes which contain + only unconditional selects; for example, if ["a"] + + select("//conditions:default", ["b"]) is assigned to a rule + attribute, it is stored as ["a", "b"]. + - `--incompatible_disallow_unsound_directory_outputs` is deleted. + - `--incompatible_remote_symlinks` and + `--incompatible_remote_dangling_symlinks` are deleted. + - The default value of + `--experimental_remote_cache_eviction_retries` is changed to `5`. + - If --proto:rule_classes flag is enabled, query proto output will + contain rule class definitions in Stardoc proto format. + - Non-singleton target visibility lists can now contain + "//visibility:public" and "//visibility:private" elements; the + result is appropriately simplified when assigned to an attribute: + ["//foo:__subpackages__", "//visibility:public"] is saved as + ["//visibility:public"], ["//foo:__subpackages__", + "//visibility:private"] is saved as ["//foo:__subpackages__"], + and for consistency's sake, an empty target visibility list [] is + saved as ["//visibility:private"]. + - Symbolic Macros -- and with them, Finalizers and the new + Macro-Aware Visibility model -- are now generally available + (`--experimental_enable_first_class_macros` now defaults to + true). Trivial `select()` values are automatically unwrapped + (`--incompatible_simplify_unconditional_selects_in_rule_attrs` + now defaults to true). + - Moved all Bazel Android tool and action code to rules_android. + - Add conlyopts and cxxopts attributes to cc rules + - `@bazel_tools//tools/android` no longer exists. Use + https://github.com/bazelbuild/rules_android instead. + - Bazel now supports all characters in the rlocation and target + paths of runfiles and can be run from workspaces with a space in + their full path. + - The Python six library is no longer part of @external_tools. + +This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, CaerusKaru, Dennis van den Berg, dependabot[bot], Fabian Meumertzheim, Fredrik Medley, hvd, Keith Smiley, Maria, Mislav Mandaric, Tomasz Pasternak, Xavier Bonaventura, Xdng Yng, Xùdōng Yáng. + ## Release 8.0.0-pre.20240925.4 (2024-10-03) ```