v1.33.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.33.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "d488d8ecca98a4042442a4ae5f1ab0b614f896c0ebf6e3eafff363bcc51c6e62",
strip_prefix = "bazel-lib-1.33.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.33.0/bazel-lib-v1.33.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
- docs: clarify rlocationpath by @alexeagle in #430
- fix: add queue name to workflows config by @kormide in #450
- chore(deps): update dependency bazel_gazelle to v0.31.1 by @renovate in #443
- chore(deps): update dependency bazel_skylib to v1.4.2 by @renovate in #453
- chore(deps): update dependency bazel to v6.2.1 by @renovate in #445
- ci: add bazel 7 prerelease tests by @jbedard in #452
- ci: enable buildifier check on ci by @jbedard in #451
- chore: disable bazel 7 on windows by @jbedard in #455
- chore: disable buildifier on windows by @jbedard in #454
- chore: disable bazel 5 tests on windows by @jbedard in #458
- feat: yq supports stamping by @malt3 in #456
- chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.4.2 by @renovate in #446
- Use actual newline (instead of "\n") to split strings in yq rule by @malt3 in #464
- chore(deps): update dependency buildifier_prebuilt to v6.1.0 by @renovate in #469
- chore(deps): update dependency io_bazel_rules_go to v0.41.0 by @renovate in #465
- chore(deps): update dependency bazel_gazelle to v0.32.0 by @renovate in #473
- chore(deps): update dependency bazel_skylib to v1.4.2 by @renovate in #462
- Update coreutils_toolchain.bzl by @alexeagle in #467
- docs: this sentence shouldn't be quoted by @alexeagle in #475
- fix(windows): use HOMEPATH in place of HOME by @alexeagle in #476
New Contributors
Full Changelog: v1.32.1...v1.33.0