diff --git a/CHANGELOG.md b/CHANGELOG.md index 78ac7ed9e6b76d..3fe6e9e3c168d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,83 @@ +## Release 8.0.0-pre.20240909.1 (2024-09-19) + +``` +Baseline: 29f7c863d859b2a19b0c6f58cd59c9d74aa188c1 + +Cherry picks: + + + b637c473249e8ff971fd410b4018ef70569c2833: + Release 8.0.0-pre.20240909.1 (2024-09-19) + + 5166a571e013c7f45e682f22e177e94f3d9c9e21: + Release 8.0.0-pre.20240909.1 (2024-09-19) +``` + +Incompatible changes: + + - `ctx.resolve_tools` is no longer available by default, in + preparation for complete removal. See + https://github.com/bazelbuild/bazel/issues/22249 for migration + instructions. Use `--noincompatible_disallow_ctx_resolve_tools` + to temporarily make it available again. + - The `aquery` command now reports all potential inputs of actions + that support input discovery, including the input headers of C++ + compilation actions and those explicitly marked as unused through + the `unused_inputs_list` argument to `ctx.actions.run`. Set + `--noinclude_pruned_inputs` to omit pruned inputs from `aquery` + output when running it after action execution. + RELNOTES[INC]: This is not a release note, but a reminder to + remove the note for `--include_scheduling_dependencies`, which + was introduced in the 8.x tree but won't make it into the final + release. + - `--zip_undeclared_test_outputs` now defaults to false, causing + undeclared test outputs (i.e., files written to + `$TEST_UNDECLARED_OUTPUTS_DIR` by a test) to be produced as a + directory instead of a zip file. + +Important changes: + + - A new experimental flag, + `--experimental_build_event_output_group_mode`, allows users to + change how a given output group's files are reported in BEP. The + current behavior is `FILESET` which populates + `OutputGroup.file_sets`. Users may now specify `INLINE` to + instead report files directly in the + `TargetComplete`/`AspectComplete` event under + `OutputGroup.inline_files`. Users may also specify `BOTH` to + populate `OutputGroup.file_sets` and `OutputGroup.inline_files`. + - Bazel no longer has the android_binary, android_library, + android_device_script_fixture and android_host_service_fixture + rules. Use https://github.com/bazelbuild/rules_android instead. + See https://github.com/bazelbuild/bazel/issues/23199 + - Bazel no longer has the android_sdk_repository rule. Use + https://github.com/bazelbuild/rules_android instead. + - Uploading local action results to a disk or remote cache now + occurs in the background whenever possible, potentially + unblocking the execution of followup actions. Set + `--noremote_cache_async` to revert to the previous behavior. + - `--incompatible_remote_downloader_send_all_headers` is removed. + - `--build_event_upload_max_threads` is removed. + - `incompatible_remote_output_paths_relative_to_input_root` is + removed. + - The default value of + `--experimental_remote_cache_compression_threshold` is changed to + `100`. + - Build without the Bytes is disabled when using HTTP cache. + - Build without the Bytes is disabled when using HTTP cache. + - Symlink trees are now created through direct filesystem calls by + default, instead of delegated to a helper process. On Windows, + this entails respecting the `--windows_enable_symlinks` flag, + falling back to a copy when the flag is unset (the helper process + always attempts to create symlinks, irrespective of the flag). + Set `--noexperimental_inprocess_symlink_creation` to temporarily + revert to the previous behavior, which will be removed in a + future release. + - By default, coverage artifacts will be reported inline in the + `TargetComplete` event. To disable this behavior, pass + `--experimental_build_event_output_group_mode=baseline.lcov=named_ + set_of_files_only`. + +This release contains contributions from many people at Google, as well as Adam Azarchs, Alessandro Patti, Benjamin Peterson, Cornelius Riemenschneider, Fabian Meumertzheim, Jordan Mele, PikachuHy, Xdng Yng, xinyu.wang. + ## Release 8.0.0-pre.20240826.1 (2024-09-06) ```