v2.8.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.8.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 = "cea19e6d8322fb212f155acb58d1590f632e53abde7f1be5f0a086a93cf4c9f4",
strip_prefix = "bazel-lib-2.8.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.8.0/bazel-lib-v2.8.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.10.9 by @gregmagolan in #881
- chore(deps): update bsdtar prebuilt by @alexeagle in #882
- fix: Set size to a default value as well as timeout. by @matts1 in #839
- chore(typos): Add typos hook plus some fixes by @hofbi in #637
- chore: upgrade to Aspect Workflows 5.10.11 by @gregmagolan in #888
- chore: upgrade to Aspect Workflows 5.10.12 by @gregmagolan in #890
- fix(typos): Fix almost all typos with hook by @hofbi in #884
- docs(tar): point to the tests as useful examples by @alexeagle in #892
- chore(deps): upgrade stardoc by @alexeagle in #894
- chore: bazel run //:gazelle_update_repos by @gregmagolan in #895
- perf: use darwin's clonefile syscall by @plobsing in #893
- fix: add bzlmod use_repo of org_golang_x_sys by @plobsing in #896
- feat: Adding a preserve mtime feature to copy_to_directory and copy_directory by @jpinkul in #898
- fix(docs): description of jq example didn't match behavior by @alexeagle in #897
- chore: turn off bzlmod misguided warning by @alexeagle in #901
- chore: bazel run //:buildifier by @gregmagolan in #903
New Contributors
- @matts1 made their first contribution in #839
- @hofbi made their first contribution in #637
- @plobsing made their first contribution in #893
- @jpinkul made their first contribution in #898
Full Changelog: v2.7.9...v2.8.0