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 #521
- chore(deps): update dependency bazel_gazelle to v0.33.0 by @renovate in #522
- fix(deps): update golang.org/x/exp digest to 9212866 by @renovate in #432
- chore(deps): update dependency platforms to v0.0.7 by @renovate in #491
- chore(deps): update actions/checkout action to v4 by @renovate in #523
- docs: Add --incompatible_disallow_empty_glob to correctness.bazelrc by @thirtyseven in #524
- chore: upgrade to Aspect Workflows 5.8.0-rc6 by @gregmagolan in #530
- fix: check in generated bazelrcs by @thesayyn in #535
- chore: fix red ci by @alexeagle in #534
- feat: expand_template allows inline template content by @alexeagle in #533
- feat: add list utils by @mgred in #512
- feat: update
copy_to_directory
tool to accept the name of its workspace and automatically include files from it by @dgp1130 in #488 - fix: lookup source files from execroot when running diff_test on RBE by @mattem in #531
- refactor: remove stamp information from tools by @thesayyn in #537
- refactor: add ability to test against tools from source by @thesayyn in #532
- fix: allow for BUILD files in outputs of write_source_file by @mattem in #540
- refactor: cleanup e2e by @thesayyn in #542
- chore: upgrade to Aspect Workflows 5.8.0-rc8 by @gregmagolan in #546
- refactor: consume tools from source if unstamped by @thesayyn in #543
- docs: add minimum pre-commit version by @mgred in #544
- chore: set --remote_download_minimal and --nobuild_runfile_links for all Workflows tasks by @gregmagolan in #549
- fix: macos sed by @thesayyn in #550
- chore: bump GKE machine type to e2-standard-2 by @gregmagolan in #551
- feat: add
propagate_common_{,test_,binary_}rule_attributes
to lib/utils. by @reltuk in #553 - chore: rules_go is a non-dev dep at HEAD by @alexeagle in #554
- fix(ci): always build with -c opt by @alexeagle in #555
- ci: add assertion that bcr patches apply by @alexeagle in #556
New Contributors
- @thirtyseven made their first contribution in #524
- @mgred made their first contribution in #512
- @dgp1130 made their first contribution in #488
- @reltuk made their first contribution in #553
Full Changelog: v1.34.5...v1.35.0