v2.0.0-beta0
Pre-release
Pre-release
github-actions
released this
03 Oct 20:57
·
292 commits
to main
since this release
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-beta0")
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 = "39ecbb25198950bab1cddc0f36e271f95a3e8bdb102c70e5c3ca6beb48602799",
strip_prefix = "bazel-lib-2.0.0-beta0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.0.0-beta0/bazel-lib-v2.0.0-beta0.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 #557
- chore: upgrade to Aspect Workflows 5.8.0-rc11 by @gregmagolan in #558
- chore: update to Aspect CLI 5.7.2 by @gregmagolan in #559
- feat: add assert_directory_contains test to testing.bzl by @gregmagolan in #560
- feat: add undeclared output mode to expand_template by @gregmagolan in #561
- fix(ci): don't run patch on windows by @alexeagle in #562
- chore: update pre-commit buildifier by @alexeagle in #563
- chore(deps): update dependency buildifier_prebuilt to v6.3.3 by @renovate in #489
- chore: bump to latest version of Aspect Workflows starter image by @gregmagolan in #571
Full Changelog: v1.35.0...v2.0.0-beta0