Update dependency aspect_bazel_lib to v2
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
aspect_bazel_lib | http_archive | major | v2.3.0 | source |
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
aspect-build/bazel-lib (aspect_bazel_lib)
v2.3.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.3.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "bda4a69fa50411b5feef473b423719d88992514d259dadba7d8218a1d02c7883",
strip_prefix = "bazel-lib-2.3.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.3.0/bazel-lib-v2.3.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
### Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
### Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- chore: fix failing test on arm64 machines by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/718
- feat: allow write_source_file(s) to write source files to bazel packages outside of the target's package by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/717
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v2.2.0...v2.3.0
v2.2.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.2.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "8d71a578e4e1b6a54aea7598ebfbd8fc9e3be5da881ff9d2b80249577b933a40",
strip_prefix = "bazel-lib-2.2.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.2.0/bazel-lib-v2.2.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
### Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
### Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- feat: add is_bazel_7_or_greater utility function to public API by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/714
- refactor: remove --enable-runfiles from javascript recommended bazelrc settings by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/715
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v2.1.2...v2.2.0
v2.1.2
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.1.2")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "a9ea6902c860918bd6928114efbc6ea2093df006af66459c9ac1637f9dd08f6a",
strip_prefix = "bazel-lib-2.1.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.1.2/bazel-lib-v2.1.2.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
### Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
### Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- chore: test against bazel 7.0.0 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/713
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v2.1.1...v2.1.2
v2.1.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.1.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "fc8bd670380eaba5314769abbe9fee21d641e3da06d9d26b8073a301f6d62332",
strip_prefix = "bazel-lib-2.1.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.1.0/bazel-lib-v2.1.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
### Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
### Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- fix: isolate rules_lint dev dependency usage into its own Bazel package by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/687
- chore: run Aspect Workflows setup step on small instances by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/688
- chore: improve docs about mtree mutation by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/692
- fix(tar): propagate testonly attr to mtree_spec by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/691
- chore: enable workflows delivery on demostration target by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/693
- chore: upgrade to Aspect Workflows 5.9.0-rc.0 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/694
- chore: upgrade to Aspect Workflows 5.9.0-rc.7 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/695
- chore: switch to smaller 'small' instances without nvme drives by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/700
- fix #697: use to_repository_relative_path in mtree_spec by @gzm0 in https://github.com/aspect-build/bazel-lib/pull/696
- feat: implement bats test runner by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/699
- fix: create windows launcher for bats by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/704
- test: fix timeout by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/707
- chore: upgrade to Aspect Workflows 5.9.0-rc.9 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/705
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v2.0.3...v2.1.0
v2.0.3
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.0.3")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "c858cc637db5370f6fd752478d1153955b4b4cbec7ffe95eb4a47a48499a79c3",
strip_prefix = "bazel-lib-2.0.3",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.0.3/bazel-lib-v2.0.3.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
### Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
### Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- chore: bring in aspect_rules_lint and add format task to Aspect Workflows by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/681
- chore: bazel run //:format by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/682
- fix: expose tar_lib as public by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/680
- fix(deps): update golang.org/x/exp digest to
f3f8817
by @renovate in https://github.com/aspect-build/bazel-lib/pull/601 - feat: introduce extension compression mapping by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/683
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v2.0.2...v2.0.3
v2.0.2
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.0.2")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "4c1de11ebabc23a3c976b73a2b2647596f545beda8a61d2c1c034e07f3f8b976",
strip_prefix = "bazel-lib-2.0.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.0.2/bazel-lib-v2.0.2.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
### Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
### Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- chore: add an e2e to test copy actions by @kormide in https://github.com/aspect-build/bazel-lib/pull/665
- chore: enable dynamic port allocation on workflows NAT by @kormide in https://github.com/aspect-build/bazel-lib/pull/669
- chore: upgrade to Aspect Workflows 5.8.10 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/672
- docs: fix load path for copy_file_to_bin_action by @gzm0 in https://github.com/aspect-build/bazel-lib/pull/673
- chore: upgrade to Aspect Workflows 5.8.15 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/674
- chore: upgrade to Aspect Workflows 5.9.0-beta.2 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/677
- feat: expose common tar variables by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/679
New Contributors
- @gzm0 made their first contribution in https://github.com/aspect-build/bazel-lib/pull/673
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v2.0.1...v2.0.2
v2.0.1
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:
- Toolchains are no longer automatically registered for WORKSPACE users. Users must call the
aspect_bazel_lib_register_toolchains
macro or call theregister_[xyz]_toolchain
macros individually. See snippets in the release notes below. - The
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.
- jq stamp variables are now of the form
$stamp[0].MY_VARIABLE
rather than$stamp.MY_VARIABLE
.
Starlark APIs:
- The
exclude_prefixes
attribute is removed fromcopy_to_directory
andcopy_to_directory_bin_action
. Users should useexclude_srcs_patterns
with glob patterns instead. - The
to_workspace_path
helper function is removed frompaths
. Usepaths.to_repository_relative_path
instead. - The
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. - The
copy_file_action
helper now uses the coreutils toolchain to perform a copy. - The
copy_directory_action
helper is removed. Usecopy_directory_bin_action
instead. - The
copy_to_directory_action
helper has been removed. Usecopy_to_directory_bin_action
action instead. - The load for
expand_template
has moved from@aspect_bazel_lib//lib:expand_make_vars.bzl
to@aspect_bazel_lib//lib:expand_template.bzl
.
New Features
- We have a hermetic
tar
rule. Read more: https://github.com/aspect-build/bazel-lib/blob/main/docs/tar.md
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.0.1")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "4b32cf6feab38b887941db022020eea5a49b848e11e3d6d4d18433594951717a",
strip_prefix = "bazel-lib-2.0.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.0.1/bazel-lib-v2.0.1.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
### Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
### Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- fix: exclude bazeliskrc from smoke test by @kormide in https://github.com/aspect-build/bazel-lib/pull/654
- fix(ci): fix bzlmod issues and enable on ci by @kormide in https://github.com/aspect-build/bazel-lib/pull/658
- fix: fix a bug where toolchain repositories were potentially duplicated by @kormide in https://github.com/aspect-build/bazel-lib/pull/662
- feat: expose toolchains used for copy actions by @kormide in https://github.com/aspect-build/bazel-lib/pull/661
- fix: remove need for rules_go when depending on a bzl_library target (#663) by @kormide in https://github.com/aspect-build/bazel-lib/pull/664
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v2.0.0...v2.0.1
v2.0.0
⚠ This release has some compatibility issues with rules_js and rules_ts which are fixed in bazel-lib v2.0.1.
Please upgrade to 2.0.1, and see release notes there.
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.0.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "c4f36285ceed51f75da44ffcf8fa393794d0dc2e273a2e03be50462e347740cd",
strip_prefix = "bazel-lib-2.0.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.0.0/bazel-lib-v2.0.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
### Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
### Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- chore: upgrade to Aspect Workflows 5.8.0-rc9 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/557
- chore: upgrade to Aspect Workflows 5.8.0-rc11 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/558
- chore: update to Aspect CLI 5.7.2 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/559
- feat: add assert_directory_contains test to testing.bzl by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/560
- feat: add undeclared output mode to expand_template by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/561
- fix(ci): don't run patch on windows by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/562
- chore: update pre-commit buildifier by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/563
- chore(deps): update dependency buildifier_prebuilt to v6.3.3 by @renovate in https://github.com/aspect-build/bazel-lib/pull/489
- chore: bump to latest version of Aspect Workflows starter image by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/571
- fix: register tar toolchain for bzlmod users by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/574
- chore: remove expand_template re-export by @kormide in https://github.com/aspect-build/bazel-lib/pull/580
- chore: run CI on 2.x branch by @kormide in https://github.com/aspect-build/bazel-lib/pull/581
- Avoid expanding mtree spec during analysis phase by @dzbarsky in https://github.com/aspect-build/bazel-lib/pull/576
- fix: fix bad import by @kormide in https://github.com/aspect-build/bazel-lib/pull/583
- chore: drop Bazel 5 support for 2.0 by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/585
- chore: run gazelle by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/584
- chore: check gazelle on CI by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/586
- chore: remove legacy copy_to_directory_action by @kormide in https://github.com/aspect-build/bazel-lib/pull/582
- chore: remove is_windows attributes by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/587
- refactor: remove legacy copy_directory_action helper by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/589
- refactor: remove output_dir from run_binary and expand_variables by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/588
- refactor: remove to_workspace_path and to_manifest_path from paths by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/590
- refactor: remove exclude_prefixes from copy_to_directory and copy_to_directory_bin_action by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/591
- chore: fix tar_toolchain naming by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/599
- Fix bzlmod by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/600
- feat: expose a config_setting for copy execution_requirements by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/606
- feat: tar includes runfiles by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/595
- refactor: rework toolchain registration for WORKSPACE and bzlmod users by @kormide in https://github.com/aspect-build/bazel-lib/pull/597
- refactor: use _mtree_line helper by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/612
- chore: add windows binaries by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/610
- chore: upgrade to Aspect Workflows 5.8.0 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/617
- chore: remove useless check for stamped binary by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/618
- Update ci.yaml by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/619
- chore: remove bazel5 presets by @kormide in https://github.com/aspect-build/bazel-lib/pull/614
- Unconditionally use runfiles.merge_all in write_source_file by @dzbarsky in https://github.com/aspect-build/bazel-lib/pull/623
- chore: tweak CCI config yaml by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/627
- chore: upgrade to Aspect Workflows 5.8.2 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/628
- chore: update buildifier targets used by Aspect Workflows by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/629
- feat: support treeartifacts (#630) by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/631
- chore: don't run legacy pipeline when warming by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/634
- chore: upgrade to Aspect Workflows 5.8.3 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/635
- fix: fix execution requirements for 'build without the bytes' by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/639
- Revert: feat: expose a config_setting for copy execution_requirements (#606) by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/640
- refactor: move 'git archive' configuration to .gitattributes by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/641
- fix(deps): update module github.com/bmatcuk/doublestar/v4 to v4.6.1 by @renovate in https://github.com/aspect-build/bazel-lib/pull/633
- chore: green up Windows CI by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/643
- chore: update bcr maintainer list by @kormide in https://github.com/aspect-build/bazel-lib/pull/644
- chore: upgrade to Aspect Workflows 5.8.7 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/646
- Upgrade coreutils and add darwin arm64 binary by @dzbarsky in https://github.com/aspect-build/bazel-lib/pull/649
- Use coreutils toolchain for copy_file action by @dzbarsky in https://github.com/aspect-build/bazel-lib/pull/622
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.35.0...v2.0.0
v1.40.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.40.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "f6ef68871d206cf8f5f4eea83d26a366563a631b020afe1da2f838a9bff035c0",
strip_prefix = "bazel-lib-1.40.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.40.0/bazel-lib-v1.40.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.39.1...v1.40.0
v1.39.1
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.39.1")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "5e9588d8407a576771f1e0d8956f541f78610f1b6e4cca29af2a096fccfe3b24",
strip_prefix = "bazel-lib-1.39.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.39.1/bazel-lib-v1.39.1.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.39.0...v1.39.1
v1.39.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.39.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "4d6010ca5e3bb4d7045b071205afa8db06ec11eb24de3f023d74d77cca765f66",
strip_prefix = "bazel-lib-1.39.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.39.0/bazel-lib-v1.39.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- feat: give version.bzl public visibility by @kormide in https://github.com/aspect-build/bazel-lib/pull/670
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.38.1...v1.39.0
v1.38.1
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "262e3d6693cdc16dd43880785cdae13c64e6a3f63f75b1993c716295093d117f",
strip_prefix = "bazel-lib-1.38.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.38.1/bazel-lib-v1.38.1.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- fix: remove need for rules_go when depending on a bzl_library target by @kormide in https://github.com/aspect-build/bazel-lib/pull/663
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.38.0...v1.38.1
v1.38.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "b848cd8e93be7f18c3deda6d2f3ade92a657d3585e119953bc50dc75fef535c2",
strip_prefix = "bazel-lib-1.38.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.38.0/bazel-lib-v1.38.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- Fix bzlmod (#600) by @kormide in https://github.com/aspect-build/bazel-lib/pull/660
- fix(ci): fix bzlmod issues and enable on ci (#658) by @kormide in https://github.com/aspect-build/bazel-lib/pull/659
- feat: backport 2.x features for interoperability by @kormide in https://github.com/aspect-build/bazel-lib/pull/657
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.37.0...v1.38.0
v1.37.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.37.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "ce259cbac2e94a6dff01aff9455dcc844c8af141503b02a09c2642695b7b873e",
strip_prefix = "bazel-lib-1.37.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.37.0/bazel-lib-v1.37.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- chore: upgrade to Aspect Workflows 5.8.0-rc12 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/596
- chore: upgrade to Aspect Workflows 5.8.0-rc14 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/598
- feat: expose a config_setting for copy execution_requirements (#606) by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/607
- fix: always include files from the same workspace as the build target in
copy_to_directory()
by @dgp1130 in https://github.com/aspect-build/bazel-lib/pull/360 - fix: windows home directory by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/608
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.36.0...v1.37.0
v1.36.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "cbf473d630ab67b36461d83b38fdc44e56f45b78d03c405e4958280211124d79",
strip_prefix = "bazel-lib-1.36.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.36.0/bazel-lib-v1.36.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- chore: upgrade to Aspect Workflows 5.8.0-rc9 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/557
- chore: upgrade to Aspect Workflows 5.8.0-rc11 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/558
- chore: update to Aspect CLI 5.7.2 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/559
- feat: add assert_directory_contains test to testing.bzl by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/560
- feat: add undeclared output mode to expand_template by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/561
- fix(ci): don't run patch on windows by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/562
- chore: update pre-commit buildifier by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/563
- chore(deps): update dependency buildifier_prebuilt to v6.3.3 by @renovate in https://github.com/aspect-build/bazel-lib/pull/489
- chore: bump to latest version of Aspect Workflows starter image by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/571
- feat(presets): always fetch all coverage files on coverage runs by @kormide in https://github.com/aspect-build/bazel-lib/pull/564
- Revert "refactor: reduce execution requirements for copy" by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/594
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.35.0...v1.36.0
v1.35.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.35.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "e9505bd956da64b576c433e4e41da76540fd8b889bbd17617fe480a646b1bfb9",
strip_prefix = "bazel-lib-1.35.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.35.0/bazel-lib-v1.35.0.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- chore: upgrade to Aspect Workflows 5.8.0-rc2 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/521
- chore(deps): update dependency bazel_gazelle to v0.33.0 by @renovate in https://github.com/aspect-build/bazel-lib/pull/522
- fix(deps): update golang.org/x/exp digest to
9212866
by @renovate in https://github.com/aspect-build/bazel-lib/pull/432 - chore(deps): update dependency platforms to v0.0.7 by @renovate in https://github.com/aspect-build/bazel-lib/pull/491
- chore(deps): update actions/checkout action to v4 by @renovate in https://github.com/aspect-build/bazel-lib/pull/523
- docs: Add --incompatible_disallow_empty_glob to correctness.bazelrc by @thirtyseven in https://github.com/aspect-build/bazel-lib/pull/524
- chore: upgrade to Aspect Workflows 5.8.0-rc6 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/530
- fix: check in generated bazelrcs by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/535
- chore: fix red ci by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/534
- feat: expand_template allows inline template content by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/533
- feat: add list utils by @mgred in https://github.com/aspect-build/bazel-lib/pull/512
- feat: update
copy_to_directory
tool to accept the name of its workspace and automatically include files from it by @dgp1130 in https://github.com/aspect-build/bazel-lib/pull/488 - fix: lookup source files from execroot when running diff_test on RBE by @mattem in https://github.com/aspect-build/bazel-lib/pull/531
- refactor: remove stamp information from tools by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/537
- refactor: add ability to test against tools from source by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/532
- fix: allow for BUILD files in outputs of write_source_file by @mattem in https://github.com/aspect-build/bazel-lib/pull/540
- refactor: cleanup e2e by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/542
- chore: upgrade to Aspect Workflows 5.8.0-rc8 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/546
- refactor: consume tools from source if unstamped by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/543
- docs: add minimum pre-commit version by @mgred in https://github.com/aspect-build/bazel-lib/pull/544
- chore: set --remote_download_minimal and --nobuild_runfile_links for all Workflows tasks by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/549
- fix: macos sed by @thesayyn in https://github.com/aspect-build/bazel-lib/pull/550
- chore: bump GKE machine type to e2-standard-2 by @gregmagolan in https://github.com/aspect-build/bazel-lib/pull/551
- feat: add
propagate_common_{,test_,binary_}rule_attributes
to lib/utils. by @reltuk in https://github.com/aspect-build/bazel-lib/pull/553 - chore: rules_go is a non-dev dep at HEAD by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/554
- fix(ci): always build with -c opt by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/555
- ci: add assertion that bcr patches apply by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/556
New Contributors
- @thirtyseven made their first contribution in https://github.com/aspect-build/bazel-lib/pull/524
- @mgred made their first contribution in https://github.com/aspect-build/bazel-lib/pull/512
- @dgp1130 made their first contribution in https://github.com/aspect-build/bazel-lib/pull/488
- @reltuk made their first contribution in https://github.com/aspect-build/bazel-lib/pull/553
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.34.5...v1.35.0
v1.34.5
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.34.5")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "09b51a9957adc56c905a2c980d6eb06f04beb1d85c665b467f659871403cf423",
strip_prefix = "bazel-lib-1.34.5",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.5/bazel-lib-v1.34.5.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- chore: pick up new expand_template go binary by @alexeagle in https://github.com/aspect-build/bazel-lib/pull/518
Full Changelog: https://github.com/aspect-build/bazel-lib/compare/v1.34.4...v1.34.5
v1.34.4
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.34.4")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "89692b19e7da5ab63a8ef0c40c6c3ae4d4d85f06141d05ee5ab82e33d2e6c625",
strip_prefix = "bazel-lib-1.34.4",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.4/bazel-lib-v1.34.4.tar.gz",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
### Register the following toolchain to use jq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- chore: revert fancy release automation by @alexeagle in [https://github.com/aspect-build/bazel-lib/pull/517](https:/
Configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.