Skip to content

v2.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Sep 01:35
· 18 commits to main since this release
c5f65e8

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 = "2.9.0")

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 = "da67c6a785cdc10faf960a22c44501fe6be357a6ebd2bd6101560f9c2a9e06b3",
    strip_prefix = "bazel-lib-2.9.0",
    url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.0/bazel-lib-v2.9.0.tar.gz",
)

load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

# Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

# Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

What's Changed

  • chore: skip linux only tests on non-linux platforms by @gregmagolan in #912
  • chore: right size tests to supress bazel warning by @gregmagolan in #913
  • chore: bump to Bazel 7.3.1 by @gregmagolan in #914
  • refactor: make root workspace bzlmod only by @gregmagolan in #915
  • chore: enable go, shell, yaml formatters and bazel run //:format by @gregmagolan in #917
  • chore: remove non-bzlmod dep on @internal_platforms_do_not_use//host:constraints.bzl now that root workspace is bzlmod-only by @gregmagolan in #916
  • fix: github workflow vulnerable to script injection by @diogoteles08 in #899
  • chore: use aspect workflows RBE by @kormide in #919
  • chore: now testing on Aspect Workflows RBE by @gregmagolan in #920
  • chore: cleanup before bazel-contrib handoff by @gregmagolan in #918
  • chore(deps): update dependency io_bazel_rules_go to v0.50.0 by @renovate in #925
  • fix(deps): update golang.org/x/exp digest to 9b4947d by @renovate in #923
  • chore(deps): update coreutils to v0.0.27 by @plobsing in #905
  • perf: Improve copy_file.bzl's progress_message and do some cleanup by @dzbarsky in #931
  • chore(deps): update dependency io_bazel_rules_go to v0.50.1 by @renovate in #930
  • feat: performance preset: nobuild_runfiles_links by @alexeagle in #922
  • chore(deps): update dependency bazel_skylib to v1.7.1 by @renovate in #924
  • chore(deps): upgrade to newest bsdtar by @alexeagle in #940
  • fix: add empty files to tar by @thesayyn in #939
  • chore: update git urls by @alexeagle in #926
  • fix: moving the preserve mtime test logic to Go for portability by @jpinkul in #908
  • chore(deps): update dependency rules_go to v0.50.1 by @renovate in #941
  • chore: stable job name for branch protection by @alexeagle in #883
  • feat: add an option to not include copy_to_directory output in runfiles by @kormide in #886
  • fix(tar): pick up bsdtar windows fix by @alexeagle in #942

New Contributors

Full Changelog: v2.8.1...v2.9.0