chore(deps): update dependency aspect_bazel_lib to v2 #134
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.39.0
->2.0.1
v1.39.0
->v2.0.1
Release Notes
aspect-build/bazel-lib (aspect_bazel_lib)
v2.0.1
Compare Source
🎉 Welcome to the first major release of bazel-lib since 1.0, which was released in June 2022.
We've carefully followed semver to this point, which means we couldn't make any breaking changes for the last 16 months.
To keep the project healthy, we have to occasionally clean up old code, so this release has the accumulated breaking changes.
BREAKING CHANGES
We no longer officially support Bazel 5. We encourage users to upgrade to Bazel 6.
We no longer provide a workaround for Bazel 5 users to get a
@local_config_platform
repository.If you need this, you must upgrade to Bazel 6.
JavaScript developers must upgrade to rules_js v1.34.0 and rules_ts v2.1.0.
Toolchains:
aspect_bazel_lib_register_toolchains
macro or call theregister_[xyz]_toolchain
macros individually. See snippets in the release notes below.host
repository has been moved from the extensionext
into a differed module extension named host.jq:
We now run jq version 1.7, which includes a Linux arm64 binary.
$stamp[0].MY_VARIABLE
rather than$stamp.MY_VARIABLE
.Starlark APIs:
exclude_prefixes
attribute is removed fromcopy_to_directory
andcopy_to_directory_bin_action
. Users should useexclude_srcs_patterns
with glob patterns instead.to_workspace_path
helper function is removed frompaths
. Usepaths.to_repository_relative_path
instead.to_manifest_path
helper function is removed from paths. Usepaths.to_rlocation_path
instead.output_dir
is removed fromexpand_variables
. Pass output directory/tree artifacts toouts
instead.output_dir
is removed fromrun_binary
. Useout_dirs
instead.copy_file_action
helper now uses the coreutils toolchain to perform a copy.copy_directory_action
helper is removed. Usecopy_directory_bin_action
instead.copy_to_directory_action
helper has been removed. Usecopy_to_directory_bin_action
action instead.expand_template
has moved from@aspect_bazel_lib//lib:expand_make_vars.bzl
to@aspect_bazel_lib//lib:expand_template.bzl
.New Features
tar
rule. Read more: https://github.com/aspect-build/bazel-lib/blob/main/docs/tar.mdUsing Bzlmod with Bazel 6:
common --enable_bzlmod
in.bazelrc
.MODULE.bazel
file:Using WORKSPACE
Paste this snippet into your
WORKSPACE
file:What's Changed
Full Changelog: bazel-contrib/bazel-lib@v2.0.0...v2.0.1
v2.0.0
Compare Source
Please upgrade to 2.0.1, and see release notes there.
Using Bzlmod with Bazel 6:
common --enable_bzlmod
in.bazelrc
.MODULE.bazel
file:Using WORKSPACE
Paste this snippet into your
WORKSPACE
file:What's Changed
Full Changelog: bazel-contrib/bazel-lib@v1.35.0...v2.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.