Skip to content

v1.9.0

Compare
Choose a tag to compare
@alexeagle alexeagle released this 29 Jul 23:23
· 616 commits to main since this release
71910e9

Using Bzlmod:

  1. Enable with --experimental_enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "1.9.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 = "e8cd4d0a6b47e8a2d8f962416f880cf8713a2dfce0db349a1d50efebc7011028",
    strip_prefix = "bazel-lib-1.9.0",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.9.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: fix out-of-date text in copy_to_directory.include_srcs_patterns docstring: by @gregmagolan in #201
  • chore: fix out-of-date text in copy_to_directory.include_srcs_patterns docstring by @gregmagolan in #202
  • feat: add include_srcs_packages and exclude_srcs_packages and improve implementation and documentation of other filters and transformations by @gregmagolan in #203

Full Changelog: v1.8.1...v1.9.0