bazel-contrib / rules-template

A template for creating a new Bazel ruleset
Apache License 2.0
75 stars 20 forks source link

chore(deps): update dependency bazel to v6.5.0 #88

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Update Change
bazel minor 6.2.1 -> 6.5.0

Release Notes

bazelbuild/bazel (bazel) ### [`v6.5.0`](https://togithub.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-650-2024-01-23) [Compare Source](https://togithub.com/bazelbuild/bazel/compare/6.4.0...6.5.0) Baseline: 50b61e38fb6eaa08a6c811a313824a59f1c2abbf Release Notes: + Fix tree file materialized as symlink to another file when building without the bytes. (#​20409) + Don't pass --add-opens= to javac (#​20472) + Flip --incompatible_visibility_private_attributes_at_definition (#​20520) + Fix extraction of tar archives containing sparse files. (#​20531) + RemoteSpawnRunner: record inbetween phases in timing profile (#​20550) + Add profiling to `remoteActionBuildingSemaphore.acquire()` (#​20549) + The label API shakeup & docs cleanup (#​20590) + Disable rewriter test (#​20758) + Disable PyTest.testSmoke on macOS (#​20729) + Upgrade abseil-cpp to fix build on macos_arm64 (#​20785) + Ignore read-only errors when updating the `mtime` of the `install_base` (#​20568) + Restart at most once when prepopulating repository rule environment (#​20667) + Fix bootstrapped Bazel binary (#​20804) + Add flag `experimental_throttle_remote_action_building` (#​20861) + Fix versioned shared libraries for macOS toolchain (#​20847) + Proto toolchainisation cherrypicks (#​20925) Acknowledgements: This release contains contributions from many people at Google, as well as bazel.build machine account, Brentley Jones, Fabian Meumertzheim, Jordan Mele, Mai Hussien, oquenchil, Rahul Butani, Son Luong Ngoc, Xùdōng Yáng. ### [`v6.4.0`](https://togithub.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-640-2023-10-19) [Compare Source](https://togithub.com/bazelbuild/bazel/compare/6.3.2...6.4.0) Baseline: 0f231ac8acabcd8aa309da041c98ab90a1552418 Release Notes: + Support multiple remote execution digest functions (#​19042) + Release 6.4.0 remote (#​18959) + Move BazelFileSystemModule into bazel package (#​19043) + Fix a bug where frozen targets list was mutated while expanding env attribute (#​19053) + Mark isolated extension usages as experimental (#​19065) + Add the remote_require_cached flag (#​19075) + Advertise CcInfo from cc_import (#​19086) (#​19088) + Update java_tools version to 12.6 (#​19092) + Set the digest_function field as part of all relevant gRPC requests (#​19049) + Merge `use_repo` buildifier fixups into a single command (#​19134) + Ensure that extension unique names followed by `~` are prefix-free (#​19164) + Lockfile updates & fixes (#​19153) + Switch xcode_autoconf to use 'configure = True' (#​19174) + Cherry pick Add a Starlark flag that allows disabling proguard. This will be useful for testing later. (#​19179) + Update CODEOWNERS for 6.4.0 (#​19194) + Friendlier error message for `bazel_dep`s without `version` (#​19196) + Always check `$config_dependencies` visibility at use (#​19197) + Add support for the BLAKE3 digest function (#​19191) + Enable cc toolchain resolution when cross compiling to windows arm64. (#​19198) + Ensure disk cache root exists (#​19225) + Fix valid json when using jsonproto output in queries with new `--ouput=streamed_jsonproto` implementation. (#​19226) + Add toolchain type for Java bootstrap runtime (#​19220) + Add Starlark implementation for several CcCommon methods. (#​19076) + Rename `cc_test_wrapper` to `cc_test` (#​19231) + Cherry-pick commits to fix a Windows issue (#​19232) + Add support for more workspace boundary files to bash completion (#​19281) + Use `debugPrint` instead of `str` for `fail` arguments (#​19283) + Include name in `repr` of exported `rule`s (#​19229) + Download `BazelRegistryJson` only once per registry (#​19300) + Make module extension tag's `debugPrint` useful for error messages (#​19285) + Intern repository mapping entries (#​19293) + Add `additional_linker_inputs` option to `cc_library` rule (#​19264) + Do not rerun module extensions when only imports or locations change (#​19284) + Add profiling for Bzlmod operations (#​19313) + Retry on javax.net.ssl.SSLException ... BAD_DECRYPT (#​19346) + Fetch `RepoSpecs` in parallel (#​19354) + Make `MODULE.bazel.lock` deterministic (#​19370) + Ensure lockfile is updated after reset to pre-build state (#​19371) + build-runfiles: remove temporary file prior to creating it (#​19386) + Always fail on unknown attributes (#​19404) + Ignore Starlark options on commands with `allowResidue = False` (#​19417) + Separate PackageSpecificationProvider from its target (PackageGroupConfiguredTarget) (#​19420) + Expose PackageSpecificationInfo provider as a top level symbol (#​19422) + Revert "Report remote execution messages as events" (#​19415) + [6.4] Add --incompatible_disable_objc_library_transition (#​19393) + Create .bazelversion to address postsubmit timeout issues (#​19435) + Add `contains` method inside `PackageSpecificationProvider` (#​19425) + Wrong include path to Clang 16 on Windows (#​19430) + Simplify release notes by just printing the first line of the commit … (#​19448) + Remove PackageGroupConfiguredTarget.isAvailableFor function (#​19444) + Remove default -s flag from macOS libtool invocation (#​19454) + Turn off lockfile feature by default (#​19462) + Take the no-remote-exec tag into account when computing the action salt (#​19457) + Add `--incompatible_merge_fixed_and_default_shell_env` (#​19319) + Improve error when a label is provided in `config_setting`'s `values` (#​19484) + Mark tool inputs in the execution log. (#​19483) + Add visionOS support (#​19436) + Intern empty `Depset`s (#​19443) + Do not allow applicable_licenses on platform. (#​19426) + Cherry pick Bzlmod fixes (#​19494) + Optimize classpath pre-processing in java_stub_template.txt (#​19491) + Add output name to CacheNotFoundException (#​19452) + feat: add option to exit early if analysis cache is discarded (#​19503) + Cherry pick platform dependent lockfile (#​19498) + Print Passed and Failed methods in detailed test summary (#​19505) + Add formatted timestamp entries to volatile workspace status file. (#​19499) + Write an explicit line ending to the lockfile (#​19519) + Only use `/showIncludes` if supported (#​19521) + Also apply `NestedSet` optimizations to `Depset` (#​19492) + Add diff_against_dynamic_baseline option to experimental_output_direc… (#​19514) + Update java_tools to v12.7 (#​19522) + Advertise CcInfo from cc_proto_library (#​19534) + Update unknown Xcode version error message and provide an environment variable to force re-evaluation (#​19540) + Print dep chain leading to a module that is in error (#​19543) + Show fetch progress for the `mod` command (#​19542) + Revert "Switch xcode_autoconf to use 'configure = True' (#​19174)" (#​19550) + Explain the use of `str(Label(...))` in the docs (#​19554) + Add `--consistent_labels` flag to all query commands (#​19567) + Inject builtin modules at the end of the MODULE.bazel file (#​19573) + Disable bzlmod_query_test for RBE build (#​19585) + Clear runfiles environment variables for `bazel run` (#​19606) + cc_library: propagate data dependencies via implementation_deps. (#​19590) + Error on potential unsupported `/showIncludes` lines (#​19611) + Use case-insensitive comparison for Windows paths in `runfiles.bash` (#​19626) + Show test labels in summaries in display form (#​19625) + Remove stale extension entries from lockfile (#​19683) + Keep leading zero in formatted date (#​19694) + Bzlmod lockfile: fix pretty printing for attributes (#​19691) + MODULE.bazel.lock file contains user specific paths (#​19698) + Consider RCs equivalent to release for `bazel_compatibility` (#​19689) + Use `Label` in `@bazel_tools//tools/jdk` macros (#​19675) + Remove stale extension entries from lockfile if module order changes (#​19730) + Update rules_java 5.5.1 (#​19701) + Fix Java compilation for jdk21 (#​19735) + Fix output materialized as symlink when building without the bytes. (#​19739) + Make lockfile's `RepoSpec` attributes more readable (#​19748) + Merge rule and aspect validation output groups (#​19745) + Fix handling of non-ASCII characters in archive entry file names (#​19765) + Raise an early error on invalid labels in transitions inputs/outputs (#​19764) + Handle synthetic method parameters entries that don't have names (#​19758) + Bazel release process: Fix push justification. (#​19768) + Flip --experimental_cc_implementation_deps (#​19751) + Add blake3 NEON instructions on linux arm64 (#​19804) + Fix crash when `environ` contains duplicate entries (#​19827) + Bump c++ standard to c++14 per default (#​19794) + Collect debug info context from implementation deps (#​19836) + Fix unconditional Skyframe invalidation with --lockfile_mode=… (#​19848) Acknowledgements: This release contains contributions from many people at Google, as well as Andreas Herrmann, bazel.build machine account, Brentley Jones, buildbreaker2021, Chirag Ramani, David Ostrovsky, Ed Schouten, Fabian Meumertzheim, George Gensure, Greg, John Laxson, Julio Merino, Keith Smiley, Matt Mackay, Mauricio G, NelsonLi0701, nglevin, Nicholas Junge, oquenchil, Orion Hodson, Roman Salvador, Ted Kaplan, Thi Doan, Thi Don, Tyler Williams, Xùdōng Yáng. ### [`v6.3.2`](https://togithub.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-632-2023-08-08) [Compare Source](https://togithub.com/bazelbuild/bazel/compare/6.3.1...6.3.2) Baseline: 283ed362e6ccceb047553c2517a0331afd02db90 Release Notes: + Ensure that extension unique names followed by `~` are prefix-free (#​19167) + Lockfile updates & fixes (#​19153) (#​19175) + Empty commit to try to fix CI issue (#​19177) Acknowledgements: This release contains contributions from many people at Google, as well as bazel.build machine account, Fabian Meumertzheim. ### [`v6.3.1`](https://togithub.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-631-2023-07-31) [Compare Source](https://togithub.com/bazelbuild/bazel/compare/6.3.0...6.3.1) Baseline: 0f231ac8acabcd8aa309da041c98ab90a1552418 Release Notes: + Mark isolated extension usages as experimental (#​19050) + Fix a bug where frozen targets list was mutated while expanding env attribute (#​19052) + Add documentation for --experimental_isolated_extension_usage (#​19071) + Advertise CcInfo from cc_import (#​19086) + Create .bazelversion to address postsubmit issues (#​19089) + Update java_tools version to 12.6 (#​19091) + Disable lockfiles by default (#​19106) Acknowledgements: This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, oquenchil, Xùdōng Yáng. ### [`v6.3.0`](https://togithub.com/bazelbuild/bazel/blob/HEAD/CHANGELOG.md#Release-630-2023-07-24) [Compare Source](https://togithub.com/bazelbuild/bazel/compare/6.2.1...6.3.0) Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d Release Notes: + Automatic code cleanup. (#​18417) + Update CODEOWNERS for 6.3.0 (#​18369) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18388) + Add implementation deps support for Objective-C (#​18372) + Update release notes scripts (#​18400) + Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#​18430) + Use wall-time for credential helper invalidation (#​18413) + blaze_util_posix: handle killpg failures (#​18403) + Pass version to java_runtimes created by local_java_repository (#​18415) + Add jsonproto option to query --output flag (#​18438) + Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419) + rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#​18447) + Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#​18453) + Wire credential helper to repository fetching. (#​18429) + Updates/fixes to relnotes script (#​18470) + Report percentual download progress in repository rules (#​18471) + Support remote symlink outputs when building without the bytes. (#​18476) + Enrich local BEP upload errors with file path and digest possible. (#​18481) + Set `GTEST_SHARD_STATUS_FILE` in test setup (#​18482) + Fix relnotes script (#​18491) + Fix Xcode 14.3 compatibility (#​18490) + Fix https://github.com/bazelbuild/bazel/issues/18493. (#​18514) + Extend the credential helper default timeout to 10s. (#​18527) + Fix formatting of release notes (#​18534) + Use extension rather than local names in ModuleExtensionMetadata (#​18536) + [credentialhelper] Ignore all errors when writing stdin (#​18540) + Improve error on invalid `-//foo` and `-@​repo//foo` options (#​18516) + Implement failure circuit breaker (#​18541) + Actually check `TEST_SHARD_STATUS_FILE` has been touched (#​18418) + Ignore hash string casing (#​18414) + Error if repository name isn't supplied (#​18425) + Track repo rule label attributes after the first non-existent one (#​18412) + Add ServerCapabilities into RemoteExecutionClient (#​18442) + RemoteExecutionService: support output_symlinks in ActionResult (#​18441) + RemoteExecutionService: Action.Command to set output_paths (#​18440) + Use local_termination_grace_seconds when testing LinuxSandbox availability (#​18568) + Fix dangling string literal in `extension_metadata` docs (#​18598) + Include actual MODULE.bazel location in stack traces (#​18612) + Make cpp file extensions case sensitive again (#​18552) + Fix error when script is run after the final tag is created. (#​18638) + Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#​18649) + Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#​18656) + Use failure_rate instead of failure count for circuit breaker (#​18559) + Update ignored_error logic for circuit_breaker (#​18662) + Don't rewind the build if invocation id stays the same (#​18670) + Fix potential memory leak in UI (#​18659) + Test that a credential helper can supply credentials for bzlmod. (#​18663) + Add flag --experimental_collect_code_coverage_for_generated_files. (#​18664) + Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command. Closes #​18130. (#​18609) + Fix split post-processing of LLVM-based coverage (#​18737) + Allow module extension usages to be isolated (#​18727) + BEGIN_PUBLIC (#​18729) + Declare credential helpers to be a stable feature. (#​18752) + Add a new provider for injecting native libs in android_binary (#​18753) + Properly handle invalid credential files (#​18779) + The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#​18787) + Report remote execution messages as events (#​18780) + Fail on isolated extension usages without imports (#​18793) + Add changes to cc_shared_library from head to 6.3 (#​18606) + Remove option to disable FJP. (#​18791) + Update to latest turbine version (#​18803) + None. None (#​18808) + Wait for outputs downloads before emitting local BEP events that reference these outputs. (#​18815) + Perform builtins injection for WORKSPACE-loaded bzl files. (#​18819) + Fix non-declared symlink issue for local actions when BwoB. (#​18817) + Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#​18823) + add feature on windows toolchain with right tag (#​18654) + coverage_common.instrumented_files_info now has a metadata_files argument (#​18838) + Download directory output for test actions (#​18846) + Teach DexMapper to not separate synthetic classes from their context … (#​18853) + **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#​18870) + Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#​18419)" (#​18886) + Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function. Fixes #​18766. (#​18882) + Open-source Google test `ConvenienceSymlinkTest` (#​18890) + Update Error Prone to 2.20.0 (#​18885) + Check if json.gz files exist, not the gcov version. (#​18889) + Lockfile updates (#​18894) + handle exception instead of crashing (#​18895) + Add a new provider for passing dex related artifacts in android_binary (#​18899) + Prevent most side effects of yanked modules (#​18908) + Restore the classic desugar tool in the Bazel 6.3.0 branch so that the Bazel Android tools can be built for 6.3.0 without breaking backwards compatibility (#​18909) + Update java_tools to v12.5 (#​18868) + Add ActionCacheStatistics to BEP (#​18914) + Adjust --top_level_targets_for_symlinks (#​18916) + Track dev/non-dev `use_extension` calls (#​18918) + Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#​18921) + Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#​18773) + Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#​18891) + Report dev/non-dev deps imported via non-dev/dev usages (#​18922) + Add reverted 'isolate' changes (#​18928) + Identify isolated extensions by exported name (#​18923) + test-setup.sh: Attempt to raise the original signal once more (#​18932) + Ignore broken classic desugar tests (#​18933) + Disable UseCorrectAssertInTests by default (#​18948) + Fix VS 2022 autodetection (#​18960) + Fix absolute file paths showing up in lockfiles (#​18993) + Add support for isolated extension usages to the lockfile (#​19008) Acknowledgements: This release contains contributions from many people at Google, as well as amishra-u, Andreas Herrmann, Andy Hamon, andyrinne12, Benjamin Lee, Benjamin Peterson, Brentley Jones, Chirag Ramani, Christopher Rydell, Daniel Wagner-Hall, Ed Schouten, Fabian Brandstetter, Fabian Meumertzheim, Greg, Ivan Golub, Jon Landis, JY Lin, Kai Zhang, Keith Smiley, kotlaja, lripoche, oquenchil, Pavan Singh, Rasrack, Son Luong Ngoc, Takeo Sawada, Vertexwahn, Xùdōng Yáng, Yannic.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.