Skip to content

v1.25.0

Compare
Choose a tag to compare
@kormide kormide released this 17 Feb 02:40
· 413 commits to main since this release
fde705b

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.25.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 = "d2a71e1e39961535db2f9164c7a588cff1a86938564634532062ed3a3cf307b3",
    strip_prefix = "bazel-lib-1.25.0",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.25.0/bazel-lib-v1.25.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

  • fix: migrate Aspect Workflows configuration past breaking changes by @gregmagolan in #355
  • fix: fix a bug where bazel run @jq//:jq cannot be run on M1 by @kormide in #354
  • fix: show directory being copied to in copy_to_directory progress message by @jbedard in #345
  • fix: allow additional attributes to be passed to assert_* tests by @kormide in #357
  • feat: add to_rlocation_path and to_repository_relative_path functions to paths.bzl by @gregmagolan in #362
  • Fix Realpath relying on path.IsAbs which does not work on windows by @jacobgardner in #358
  • fix: incorrect 'find -type' argument used on MacOS by @acordiner in #366
  • chore: fix spelling by @alexeagle in #368
  • feat: make bazel-lib the source-of-truth for Aspect recommended bazelrc settings by @gregmagolan in #369

New Contributors

Full Changelog: v1.24.2...v1.25.0