v2.5.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.5.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 = "f5ea76682b209cc0bd90d0f5a3b26d2f7a6a2885f0c5f615e72913f4805dbb0d",
strip_prefix = "bazel-lib-2.5.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.5.0/bazel-lib-v2.5.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.9.10 by @gregmagolan in #764
- Remove unnecessary ctx.resolve_tools. by @tjgq in #763
- chore: upgrade to Aspect Workflows 5.9.11 by @gregmagolan in #765
- docs: add bats docs by @jbedard in #766
- chore: green up CI by @alexeagle in #767
- chore(deps): update actions/cache action to v4 by @renovate in #744
- chore(deps): update actions/github-script action to v7 by @renovate in #759
- Update renovate.json by @alexeagle in #572
- jq: add data file and location expansion support by @novas0x2a in #757
- chore(deps): update dependency bazel to v6.5.0 by @renovate in #738
- feat(list): add
unique
function by @mgred in #716 - chore: bump libxml2 deb to USN-6658-1 by @mattem in #768
New Contributors
- @tjgq made their first contribution in #763
- @novas0x2a made their first contribution in #757
Full Changelog: v2.4.2...v2.5.0