Skip to content

v1.27.1

Compare
Choose a tag to compare
@kormide kormide released this 22 Feb 23:51
· 386 commits to main since this release
09c08e4

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "1.27.1")

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 = "80897b673c2b506d21f861ae316689aa8abcc3e56947580a41bf9e68ff13af58",
    strip_prefix = "bazel-lib-1.27.1",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.27.1/bazel-lib-v1.27.1.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: declare extension repos on single line by @kormide in #377
  • fix: add missing **kwargs to write_aspect_bazelrc_presets by @gregmagolan in #379
  • fix: update recommend CI flags from Workflows by @mattem in #378

Full Changelog: v1.27.0...v1.27.1