v2.4.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 = "2.4.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 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
strip_prefix = "bazel-lib-2.4.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.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
- chore(deps): update dependency bazel_gazelle to v0.35.0 by @renovate in #647
- fix(deps): update golang.org/x/exp digest to db7319d by @renovate in #709
- chore: reduce size of remote cache to tune deployment costs by @gregmagolan in #725
- chore: bump to e2-medium k8s nodes by @gregmagolan in #726
- chore: upgrade bash rlocation lib to v3 by @alexeagle in #727
- chore(deps): update dependency io_bazel_rules_go to v0.45.1 by @renovate in #569
- chore(deps): update dependency platforms to v0.0.8 by @renovate in #632
- chore: add example of using write_source_file to merge output tree artifact files with source files that are already in an output directory by @gregmagolan in #730
- FR-723: make WriteSourceFileInfo public by @ewhauser in #724
- chore: set correct warming queue by @gregmagolan in #734
- chore(deps): update dependency bazel_features to v0.2.0 by @renovate in #729
- chore: BCR testing on Bazel 6 and 7 by @alexeagle in #736
- Update paths.bzl by @alexeagle in #735
- perf: remove unnecessary calls to 'to_list' by @mattem in #737
- chore(deps): update dependency bazel_skylib to v1.5.0 by @renovate in #648
- fix(deps): update golang.org/x/exp digest to 1b97071 by @renovate in #728
- chore: upgrade to Aspect Workflows 5.9.0 by @gregmagolan in #740
- chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.5.0 by @renovate in #685
- chore: upgrade to Aspect Workflows 5.9.2 by @gregmagolan in #742
- chore: cancel previous GHA from the same PR by @gregmagolan in #745
- fix: merge user tags in stardoc_with_diff_test by @gregmagolan in #746
New Contributors
Full Changelog: v2.3.0...v2.4.1