aspect-build/bazel-lib (aspect_bazel_lib)
### [`v2.9.0`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.9.0)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.8.1...v2.9.0)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.9.0")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
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](https://redirect.github.com/gregmagolan) in [https://github.com/bazel-contrib/bazel-lib/pull/912](https://redirect.github.com/bazel-contrib/bazel-lib/pull/912)
- chore: right size tests to supress bazel warning by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/bazel-contrib/bazel-lib/pull/913](https://redirect.github.com/bazel-contrib/bazel-lib/pull/913)
- chore: bump to Bazel 7.3.1 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/bazel-contrib/bazel-lib/pull/914](https://redirect.github.com/bazel-contrib/bazel-lib/pull/914)
- refactor: make root workspace bzlmod only by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/bazel-contrib/bazel-lib/pull/915](https://redirect.github.com/bazel-contrib/bazel-lib/pull/915)
- chore: enable go, shell, yaml formatters and bazel run //:format by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/bazel-contrib/bazel-lib/pull/917](https://redirect.github.com/bazel-contrib/bazel-lib/pull/917)
- chore: remove non-bzlmod dep on @internal_platforms_do_not_use//host:constraints.bzl now that root workspace is bzlmod-only by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/bazel-contrib/bazel-lib/pull/916](https://redirect.github.com/bazel-contrib/bazel-lib/pull/916)
- fix: github workflow vulnerable to script injection by [@diogoteles08](https://redirect.github.com/diogoteles08) in [https://github.com/bazel-contrib/bazel-lib/pull/899](https://redirect.github.com/bazel-contrib/bazel-lib/pull/899)
- chore: use aspect workflows RBE by [@kormide](https://redirect.github.com/kormide) in [https://github.com/bazel-contrib/bazel-lib/pull/919](https://redirect.github.com/bazel-contrib/bazel-lib/pull/919)
- chore: now testing on Aspect Workflows RBE by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/bazel-contrib/bazel-lib/pull/920](https://redirect.github.com/bazel-contrib/bazel-lib/pull/920)
- chore: cleanup before bazel-contrib handoff by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/bazel-contrib/bazel-lib/pull/918](https://redirect.github.com/bazel-contrib/bazel-lib/pull/918)
- chore(deps): update dependency io_bazel_rules_go to v0.50.0 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/bazel-contrib/bazel-lib/pull/925](https://redirect.github.com/bazel-contrib/bazel-lib/pull/925)
- fix(deps): update golang.org/x/exp digest to [`9b4947d`](https://redirect.github.com/aspect-build/bazel-lib/commit/9b4947d) by [@renovate](https://redirect.github.com/renovate) in [https://github.com/bazel-contrib/bazel-lib/pull/923](https://redirect.github.com/bazel-contrib/bazel-lib/pull/923)
- chore(deps): update coreutils to v0.0.27 by [@plobsing](https://redirect.github.com/plobsing) in [https://github.com/bazel-contrib/bazel-lib/pull/905](https://redirect.github.com/bazel-contrib/bazel-lib/pull/905)
- perf: Improve copy_file.bzl's progress_message and do some cleanup by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/bazel-contrib/bazel-lib/pull/931](https://redirect.github.com/bazel-contrib/bazel-lib/pull/931)
- chore(deps): update dependency io_bazel_rules_go to v0.50.1 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/bazel-contrib/bazel-lib/pull/930](https://redirect.github.com/bazel-contrib/bazel-lib/pull/930)
- feat: performance preset: nobuild_runfiles_links by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazel-contrib/bazel-lib/pull/922](https://redirect.github.com/bazel-contrib/bazel-lib/pull/922)
- chore(deps): update dependency bazel_skylib to v1.7.1 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/bazel-contrib/bazel-lib/pull/924](https://redirect.github.com/bazel-contrib/bazel-lib/pull/924)
- chore(deps): upgrade to newest bsdtar by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazel-contrib/bazel-lib/pull/940](https://redirect.github.com/bazel-contrib/bazel-lib/pull/940)
- fix: add empty files to tar by [@thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/bazel-contrib/bazel-lib/pull/939](https://redirect.github.com/bazel-contrib/bazel-lib/pull/939)
- chore: update git urls by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazel-contrib/bazel-lib/pull/926](https://redirect.github.com/bazel-contrib/bazel-lib/pull/926)
- fix: moving the preserve mtime test logic to Go for portability by [@jpinkul](https://redirect.github.com/jpinkul) in [https://github.com/bazel-contrib/bazel-lib/pull/908](https://redirect.github.com/bazel-contrib/bazel-lib/pull/908)
- chore(deps): update dependency rules_go to v0.50.1 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/bazel-contrib/bazel-lib/pull/941](https://redirect.github.com/bazel-contrib/bazel-lib/pull/941)
- chore: stable job name for branch protection by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazel-contrib/bazel-lib/pull/883](https://redirect.github.com/bazel-contrib/bazel-lib/pull/883)
- feat: add an option to not include copy_to_directory output in runfiles by [@kormide](https://redirect.github.com/kormide) in [https://github.com/bazel-contrib/bazel-lib/pull/886](https://redirect.github.com/bazel-contrib/bazel-lib/pull/886)
- fix(tar): pick up bsdtar windows fix by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/bazel-contrib/bazel-lib/pull/942](https://redirect.github.com/bazel-contrib/bazel-lib/pull/942)
#### New Contributors
- [@diogoteles08](https://redirect.github.com/diogoteles08) made their first contribution in [https://github.com/bazel-contrib/bazel-lib/pull/899](https://redirect.github.com/bazel-contrib/bazel-lib/pull/899)
**Full Changelog**: https://github.com/bazel-contrib/bazel-lib/compare/v2.8.1...v2.9.0
### [`v2.8.1`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.8.1)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.8.0...v2.8.1)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.8.1")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "688354ee6beeba7194243d73eb0992b9a12e8edeeeec5b6544f4b531a3112237",
strip_prefix = "bazel-lib-2.8.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.8.1/bazel-lib-v2.8.1.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: green up CI on main branch by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/904](https://redirect.github.com/aspect-build/bazel-lib/pull/904)
- refactor: deprecated expand_locations which is just pass-through to ctx.expand_location() by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/910](https://redirect.github.com/aspect-build/bazel-lib/pull/910)
- chore: fixup test sizes to resolve warnings by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/911](https://redirect.github.com/aspect-build/bazel-lib/pull/911)
- fix: correctly split quoted args by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/909](https://redirect.github.com/aspect-build/bazel-lib/pull/909)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v2.8.0...v2.8.1
### [`v2.8.0`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.8.0)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.9...v2.8.0)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.8.0")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "cea19e6d8322fb212f155acb58d1590f632e53abde7f1be5f0a086a93cf4c9f4",
strip_prefix = "bazel-lib-2.8.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.8.0/bazel-lib-v2.8.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: upgrade to Aspect Workflows 5.10.9 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/881](https://redirect.github.com/aspect-build/bazel-lib/pull/881)
- chore(deps): update bsdtar prebuilt by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/882](https://redirect.github.com/aspect-build/bazel-lib/pull/882)
- fix: Set size to a default value as well as timeout. by [@matts1](https://redirect.github.com/matts1) in [https://github.com/aspect-build/bazel-lib/pull/839](https://redirect.github.com/aspect-build/bazel-lib/pull/839)
- chore(typos): Add typos hook plus some fixes by [@hofbi](https://redirect.github.com/hofbi) in [https://github.com/aspect-build/bazel-lib/pull/637](https://redirect.github.com/aspect-build/bazel-lib/pull/637)
- chore: upgrade to Aspect Workflows 5.10.11 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/888](https://redirect.github.com/aspect-build/bazel-lib/pull/888)
- chore: upgrade to Aspect Workflows 5.10.12 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/890](https://redirect.github.com/aspect-build/bazel-lib/pull/890)
- fix(typos): Fix almost all typos with hook by [@hofbi](https://redirect.github.com/hofbi) in [https://github.com/aspect-build/bazel-lib/pull/884](https://redirect.github.com/aspect-build/bazel-lib/pull/884)
- docs(tar): point to the tests as useful examples by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/892](https://redirect.github.com/aspect-build/bazel-lib/pull/892)
- chore(deps): upgrade stardoc by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/894](https://redirect.github.com/aspect-build/bazel-lib/pull/894)
- chore: bazel run //:gazelle_update_repos by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/895](https://redirect.github.com/aspect-build/bazel-lib/pull/895)
- perf: use darwin's clonefile syscall by [@plobsing](https://redirect.github.com/plobsing) in [https://github.com/aspect-build/bazel-lib/pull/893](https://redirect.github.com/aspect-build/bazel-lib/pull/893)
- fix: add bzlmod use_repo of org_golang_x_sys by [@plobsing](https://redirect.github.com/plobsing) in [https://github.com/aspect-build/bazel-lib/pull/896](https://redirect.github.com/aspect-build/bazel-lib/pull/896)
- feat: Adding a preserve mtime feature to copy_to_directory and copy_directory by [@jpinkul](https://redirect.github.com/jpinkul) in [https://github.com/aspect-build/bazel-lib/pull/898](https://redirect.github.com/aspect-build/bazel-lib/pull/898)
- fix(docs): description of jq example didn't match behavior by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/897](https://redirect.github.com/aspect-build/bazel-lib/pull/897)
- chore: turn off bzlmod misguided warning by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/901](https://redirect.github.com/aspect-build/bazel-lib/pull/901)
- chore: bazel run //:buildifier by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/903](https://redirect.github.com/aspect-build/bazel-lib/pull/903)
#### New Contributors
- [@matts1](https://redirect.github.com/matts1) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/839](https://redirect.github.com/aspect-build/bazel-lib/pull/839)
- [@hofbi](https://redirect.github.com/hofbi) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/637](https://redirect.github.com/aspect-build/bazel-lib/pull/637)
- [@plobsing](https://redirect.github.com/plobsing) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/893](https://redirect.github.com/aspect-build/bazel-lib/pull/893)
- [@jpinkul](https://redirect.github.com/jpinkul) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/898](https://redirect.github.com/aspect-build/bazel-lib/pull/898)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v2.7.9...v2.8.0
### [`v2.7.9`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.7.9)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.8...v2.7.9)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.7.9")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "c780120ab99a4ca9daac69911eb06434b297214743ee7e0a1f1298353ef686db",
strip_prefix = "bazel-lib-2.7.9",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.9/bazel-lib-v2.7.9.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
- perf: reduce concatenation in relative_path by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/bazel-lib/pull/868](https://redirect.github.com/aspect-build/bazel-lib/pull/868)
- fix(tar): expose package_dir argument in mtree_mutate by [@gzm0](https://redirect.github.com/gzm0) in [https://github.com/aspect-build/bazel-lib/pull/873](https://redirect.github.com/aspect-build/bazel-lib/pull/873)
- fix(tar): append slash to top-level directory mtree entries by [@sin-ack](https://redirect.github.com/sin-ack) in [https://github.com/aspect-build/bazel-lib/pull/852](https://redirect.github.com/aspect-build/bazel-lib/pull/852)
#### New Contributors
- [@sin-ack](https://redirect.github.com/sin-ack) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/852](https://redirect.github.com/aspect-build/bazel-lib/pull/852)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v2.7.8...v2.7.9
### [`v2.7.8`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.7.8)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.7...v2.7.8)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.7.8")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "714cf8ce95a198bab0a6a3adaffea99e929d2f01bf6d4a59a2e6d6af72b4818c",
strip_prefix = "bazel-lib-2.7.8",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.8/bazel-lib-v2.7.8.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
- test: add test / example of using rootpath on a run_binary directory output by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/862](https://redirect.github.com/aspect-build/bazel-lib/pull/862)
- chore: add --check_direct_dependencies to .bazelrc by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/864](https://redirect.github.com/aspect-build/bazel-lib/pull/864)
- fix: Directory hidden files in write_source_file. by [@jgiles](https://redirect.github.com/jgiles) in [https://github.com/aspect-build/bazel-lib/pull/860](https://redirect.github.com/aspect-build/bazel-lib/pull/860)
- docs: add missing default stamp var by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/865](https://redirect.github.com/aspect-build/bazel-lib/pull/865)
- chore: upgrade bsdtar to 3.7.4 by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/866](https://redirect.github.com/aspect-build/bazel-lib/pull/866)
- fix: allow copy_to_directory to have an empty srcs list by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/871](https://redirect.github.com/aspect-build/bazel-lib/pull/871)
#### New Contributors
- [@jgiles](https://redirect.github.com/jgiles) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/860](https://redirect.github.com/aspect-build/bazel-lib/pull/860)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v2.7.7...v2.7.8
### [`v2.7.7`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.7.7)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.6...v2.7.7)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.7.7")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "6d758a8f646ecee7a3e294fbe4386daafbe0e5966723009c290d493f227c390b",
strip_prefix = "bazel-lib-2.7.7",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.7/bazel-lib-v2.7.7.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
- refactor: pre-factors for fix in copy_to_directory by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/858](https://redirect.github.com/aspect-build/bazel-lib/pull/858)
- fix: exclude files in copy_to_directory before checking their realpath by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/857](https://redirect.github.com/aspect-build/bazel-lib/pull/857)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v2.7.6...v2.7.7
### [`v2.7.6`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.7.6)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.5...v2.7.6)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.7.6")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "b59781939f40c8bf148f4a71bd06e3027e15e40e98143ea5688b83531ec8528f",
strip_prefix = "bazel-lib-2.7.6",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.6/bazel-lib-v2.7.6.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()
```
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v2.7.3...v2.7.6
#### What's Changed
- chore: run buildifier to green up main by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/841](https://redirect.github.com/aspect-build/bazel-lib/pull/841)
- chore: bump to Bazel 7.1.2 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/842](https://redirect.github.com/aspect-build/bazel-lib/pull/842)
- ci: green up main by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/844](https://redirect.github.com/aspect-build/bazel-lib/pull/844)
- chore: bump buildifier, go and gazelle deps by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/845](https://redirect.github.com/aspect-build/bazel-lib/pull/845)
- chore: align ci patterns by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/843](https://redirect.github.com/aspect-build/bazel-lib/pull/843)
- chore: tidy in MODULE.bazel file by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/846](https://redirect.github.com/aspect-build/bazel-lib/pull/846)
- ci: green up rbe on main by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/847](https://redirect.github.com/aspect-build/bazel-lib/pull/847)
- fix: coreutils download path for darwin_amd64 by [@mrmeku](https://redirect.github.com/mrmeku) in [https://github.com/aspect-build/bazel-lib/pull/853](https://redirect.github.com/aspect-build/bazel-lib/pull/853)
- refactor(release): switch release integrity to be dynamic by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/854](https://redirect.github.com/aspect-build/bazel-lib/pull/854)
- fix: integrity hashes are now sha256 since [#854](https://redirect.github.com/aspect-build/bazel-lib/issues/854) by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/855](https://redirect.github.com/aspect-build/bazel-lib/pull/855)
#### New Contributors
- [@mrmeku](https://redirect.github.com/mrmeku) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/853](https://redirect.github.com/aspect-build/bazel-lib/pull/853)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v2.7.3...v2.7.6
### [`v2.7.5`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.7.5)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.4...v2.7.5)
Broken, do not use.
Release integrity shas are expected in the wrong format.
### [`v2.7.4`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.7.4)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.3...v2.7.4)
Broken, do not use.
The integrity hashes for release binaries in the artifact don't match the ones fetched from GitHub.
### [`v2.7.3`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.7.3)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.2...v2.7.3)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.7.3")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "87ab4ec479ebeb00d286266aca2068caeef1bb0b1765e8f71c7b6cfee6af4226",
strip_prefix = "bazel-lib-2.7.3",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.3/bazel-lib-v2.7.3.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
- fix: register @zstd_toolchains//:all by [@thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/832](https://redirect.github.com/aspect-build/bazel-lib/pull/832)
- fix: only check for blank space between status entries in expand_template by [@com6056](https://redirect.github.com/com6056) in [https://github.com/aspect-build/bazel-lib/pull/834](https://redirect.github.com/aspect-build/bazel-lib/pull/834)
- fix(tar): handle spaces in input filenames by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/835](https://redirect.github.com/aspect-build/bazel-lib/pull/835)
- fix: coreutils toolchain: Use statically linked linux amd64 variant by [@malt3](https://redirect.github.com/malt3) in [https://github.com/aspect-build/bazel-lib/pull/706](https://redirect.github.com/aspect-build/bazel-lib/pull/706)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v2.7.2...v2.7.3
### [`v2.7.2`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.7.2)
[Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.7.1...v2.7.2)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "2.7.2")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "a8a92645e7298bbf538aa880131c6adb4cf6239bbd27230f077a00414d58e4ce",
strip_prefix = "bazel-lib-2.7.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.2/bazel-lib-v2.7.2.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
- fix: register tar toolchain for bzlmod users by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/574](https://redirect.github.com/aspect-build/bazel-lib/pull/574)
- chore: remove expand_template re-export by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/580](https://redirect.github.com/aspect-build/bazel-lib/pull/580)
- chore: run CI on 2.x branch by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/581](https://redirect.github.com/aspect-build/bazel-lib/pull/581)
- Avoid expanding mtree spec during analysis phase by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/aspect-build/bazel-lib/pull/576](https://redirect.github.com/aspect-build/bazel-lib/pull/576)
- fix: fix bad import by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/583](https://redirect.github.com/aspect-build/bazel-lib/pull/583)
- chore: drop Bazel 5 support for 2.0 by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/585](https://redirect.github.com/aspect-build/bazel-lib/pull/585)
- chore: run gazelle by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/584](https://redirect.github.com/aspect-build/bazel-lib/pull/584)
- chore: check gazelle on CI by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/586](https://redirect.github.com/aspect-build/bazel-lib/pull/586)
- chore: remove legacy copy_to_directory_action by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/582](https://redirect.github.com/aspect-build/bazel-lib/pull/582)
- chore: remove is_windows attributes by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/587](https://redirect.github.com/aspect-build/bazel-lib/pull/587)
- refactor: remove legacy copy_directory_action helper by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/589](https://redirect.github.com/aspect-build/bazel-lib/pull/589)
- refactor: remove output_dir from run_binary and expand_variables by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/588](https://redirect.github.com/aspect-build/bazel-lib/pull/588)
- refactor: remove to_workspace_path and to_manifest_path from paths by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/590](https://redirect.github.com/aspect-build/bazel-lib/pull/590)
- refactor: remove exclude_prefixes from copy_to_directory and copy_to_directory_bin_action by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/591](https://redirect.github.com/aspect-build/bazel-lib/pull/591)
- chore: fix tar_toolchain naming by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/599](https://redirect.github.com/aspect-build/bazel-lib/pull/599)
- Fix bzlmod by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/600](https://redirect.github.com/aspect-build/bazel-lib/pull/600)
- feat: expose a config_setting for copy execution_requirements by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/606](https://redirect.github.com/aspect-build/bazel-lib/pull/606)
- feat: tar includes runfiles by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/595](https://redirect.github.com/aspect-build/bazel-lib/pull/595)
- refactor: rework toolchain registration for WORKSPACE and bzlmod users by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/597](https://redirect.github.com/aspect-build/bazel-lib/pull/597)
- refactor: use \_mtree_line helper by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/612](https://redirect.github.com/aspect-build/bazel-lib/pull/612)
- chore: add windows binaries by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/610](https://redirect.github.com/aspect-build/bazel-lib/pull/610)
- chore: upgrade to Aspect Workflows 5.8.0 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/617](https://redirect.github.com/aspect-build/bazel-lib/pull/617)
- chore: remove useless check for stamped binary by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/618](https://redirect.github.com/aspect-build/bazel-lib/pull/618)
- Update ci.yaml by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/619](https://redirect.github.com/aspect-build/bazel-lib/pull/619)
- chore: remove bazel5 presets by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/614](https://redirect.github.com/aspect-build/bazel-lib/pull/614)
- Unconditionally use runfiles.merge_all in write_source_file by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/aspect-build/bazel-lib/pull/623](https://redirect.github.com/aspect-build/bazel-lib/pull/623)
- chore: tweak CCI config yaml by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/627](https://redirect.github.com/aspect-build/bazel-lib/pull/627)
- chore: upgrade to Aspect Workflows 5.8.2 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/628](https://redirect.github.com/aspect-build/bazel-lib/pull/628)
- chore: update buildifier targets used by Aspect Workflows by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/629](https://redirect.github.com/aspect-build/bazel-lib/pull/629)
- feat: support treeartifacts ([#630](https://redirect.github.com/aspect-build/bazel-lib/issues/630)) by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/631](https://redirect.github.com/aspect-build/bazel-lib/pull/631)
- chore: don't run legacy pipeline when warming by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/634](https://redirect.github.com/aspect-build/bazel-lib/pull/634)
- chore: upgrade to Aspect Workflows 5.8.3 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/635](https://redirect.github.com/aspect-build/bazel-lib/pull/635)
- fix: fix execution requirements for 'build without the bytes' by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/639](https://redirect.github.com/aspect-build/bazel-lib/pull/639)
- Revert: feat: expose a config_setting for copy execution_requirements ([#606](https://redirect.github.com/aspect-build/bazel-lib/issues/606)) by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/640](https://redirect.github.com/aspect-build/bazel-lib/pull/640)
- refactor: move 'git archive' configuration to .gitattributes by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/641](https://redirect.github.com/aspect-build/bazel-lib/pull/641)
- fix(deps): update module github.com/bmatcuk/doublestar/v4 to v4.6.1 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/633](https://redirect.github.com/aspect-build/bazel-lib/pull/633)
- chore: green up Windows CI by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/643](https://redirect.github.com/aspect-build/bazel-lib/pull/643)
- chore: update bcr maintainer list by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/644](https://redirect.github.com/aspect-build/bazel-lib/pull/644)
- chore: upgrade to Aspect Workflows 5.8.7 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/646](https://redirect.github.com/aspect-build/bazel-lib/pull/646)
- Upgrade coreutils and add darwin arm64 binary by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/aspect-build/bazel-lib/pull/649](https://redirect.github.com/aspect-build/bazel-lib/pull/649)
- Use coreutils toolchain for copy_file action by [@dzbarsky](https://redirect.github.com/dzbarsky) in [https://github.com/aspect-build/bazel-lib/pull/622](https://redirect.github.com/aspect-build/bazel-lib/pull/622)
- fix: exclude bazeliskrc from smoke test by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/654](https://redirect.github.com/aspect-build/bazel-lib/pull/654)
- fix(ci): fix bzlmod issues and enable on ci by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/658](https://redirect.github.com/aspect-build/bazel-lib/pull/658)
- fix: fix a bug where toolchain repositories were potentially duplicated by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/662](https://redirect.github.com/aspect-build/bazel-lib/pull/662)
- feat: expose toolchains used for copy actions by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/661](https://redirect.github.com/aspect-build/bazel-lib/pull/661)
- fix: remove need for rules_go when depending on a bzl_library target ([#663](https://redirect.github.com/aspect-build/bazel-lib/issues/663)) by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/664](https://redirect.github.com/aspect-build/bazel-lib/pull/664)
- chore: add an e2e to test copy actions by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/665](https://redirect.github.com/aspect-build/bazel-lib/pull/665)
- chore: enable dynamic port allocation on workflows NAT by [@kormide](https://redirect.github.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/669](https://redirect.github.com/aspect-build/bazel-lib/pull/669)
- chore: upgrade to Aspect Workflows 5.8.10 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/672](https://redirect.github.com/aspect-build/bazel-lib/pull/672)
- docs: fix load path for copy_file_to_bin_action by [@gzm0](https://redirect.github.com/gzm0) in [https://github.com/aspect-build/bazel-lib/pull/673](https://redirect.github.com/aspect-build/bazel-lib/pull/673)
- chore: upgrade to Aspect Workflows 5.8.15 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/674](https://redirect.github.com/aspect-build/bazel-lib/pull/674)
- chore: upgrade to Aspect Workflows 5.9.0-beta.2 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/677](https://redirect.github.com/aspect-build/bazel-lib/pull/677)
- feat: expose common tar variables by [@thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/679](https://redirect.github.com/aspect-build/bazel-lib/pull/679)
- chore: bring in aspect_rules_lint and add format task to Aspect Workflows by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/681](https://redirect.github.com/aspect-build/bazel-lib/pull/681)
- chore: bazel run //:format by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/682](https://redirect.github.com/aspect-build/bazel-lib/pull/682)
- fix: expose tar_lib as public by [@thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/680](https://redirect.github.com/aspect-build/bazel-lib/pull/680)
- fix(deps): update golang.org/x/exp digest to [`f3f8817`](https://redirect.github.com/aspect-build/bazel-lib/commit/f3f8817) by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/601](https://redirect.github.com/aspect-build/bazel-lib/pull/601)
- feat: introduce extension compression mapping by [@thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/683](https://redirect.github.com/aspect-build/bazel-lib/pull/683)
- fix: isolate rules_lint dev dependency usage into its own Bazel package by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/687](https://redirect.github.com/aspect-build/bazel-lib/pull/687)
- chore: run Aspect Workflows setup step on small instances by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/688](https://redirect.github.com/aspect-build/bazel-lib/pull/688)
- chore: improve docs about mtree mutation by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/692](https://redirect.github.com/aspect-build/bazel-lib/pull/692)
- fix(tar): propagate testonly attr to mtree_spec by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/691](https://redirect.github.com/aspect-build/bazel-lib/pull/691)
- chore: enable workflows delivery on demostration target by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/693](https://redirect.github.com/aspect-build/bazel-lib/pull/693)
- chore: upgrade to Aspect Workflows 5.9.0-rc.0 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/694](https://redirect.github.com/aspect-build/bazel-lib/pull/694)
- chore: upgrade to Aspect Workflows 5.9.0-rc.7 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/695](https://redirect.github.com/aspect-build/bazel-lib/pull/695)
- chore: switch to smaller 'small' instances without nvme drives by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/700](https://redirect.github.com/aspect-build/bazel-lib/pull/700)
- fix [#697](https://redirect.github.com/aspect-build/bazel-lib/issues/697): use to_repository_relative_path in mtree_spec by [@gzm0](https://redirect.github.com/gzm0) in [https://github.com/aspect-build/bazel-lib/pull/696](https://redirect.github.com/aspect-build/bazel-lib/pull/696)
- feat: implement bats test runner by [@thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/699](https://redirect.github.com/aspect-build/bazel-lib/pull/699)
- fix: create windows launcher for bats by [@thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/704](https://redirect.github.com/aspect-build/bazel-lib/pull/704)
- test: fix timeout by [@thesayyn](https://redirect.github.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/707](https://redirect.github.com/aspect-build/bazel-lib/pull/707)
- chore: upgrade to Aspect Workflows 5.9.0-rc.9 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/705](https://redirect.github.com/aspect-build/bazel-lib/pull/705)
- chore: upgrade to Aspect Workflows 5.9.0.rc.10 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/710](https://redirect.github.com/aspect-build/bazel-lib/pull/710)
- fix: move flags that should only be set with bazel 6 to bazel6.bazelrc recommended settings by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/711](https://redirect.github.com/aspect-build/bazel-lib/pull/711)
- Fix prerelease by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/708](https://redirect.github.com/aspect-build/bazel-lib/pull/708)
- chore: test against bazel 7.0.0 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/713](https://redirect.github.com/aspect-build/bazel-lib/pull/713)
- feat: add is_bazel\_7\_or_greater utility function to public API by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/714](https://redirect.github.com/aspect-build/bazel-lib/pull/714)
- refactor: remove --enable-runfiles from javascript recommended bazelrc settings by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/715](https://redirect.github.com/aspect-build/bazel-lib/pull/715)
- chore: fix failing test on arm64 machines by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/718](https://redirect.github.com/aspect-build/bazel-lib/pull/718)
- feat: allow write_source_file(s) to write source files to bazel packages outside of the target's package by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/717](https://redirect.github.com/aspect-build/bazel-lib/pull/717)
- chore: upgrade to Aspect Workflows 5.9.0-rc.15 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/722](https://redirect.github.com/aspect-build/bazel-lib/pull/722)
- chore(deps): update dependency bazel_gazelle to v0.35.0 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/647](https://redirect.github.com/aspect-build/bazel-lib/pull/647)
- fix(deps): update golang.org/x/exp digest to [`db7319d`](https://redirect.github.com/aspect-build/bazel-lib/commit/db7319d) by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/709](https://redirect.github.com/aspect-build/bazel-lib/pull/709)
- chore: reduce size of remote cache to tune deployment costs by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/725](https://redirect.github.com/aspect-build/bazel-lib/pull/725)
- chore: bump to e2-medium k8s nodes by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/726](https://redirect.github.com/aspect-build/bazel-lib/pull/726)
- chore: upgrade bash rlocation lib to v3 by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/727](https://redirect.github.com/aspect-build/bazel-lib/pull/727)
- chore(deps): update dependency io_bazel_rules_go to v0.45.1 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/569](https://redirect.github.com/aspect-build/bazel-lib/pull/569)
- chore(deps): update dependency platforms to v0.0.8 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/632](https://redirect.github.com/aspect-build/bazel-lib/pull/632)
- chore: add example of using write_source_file to merge output tree artifact files with source files that are already in an output directory by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/730](https://redirect.github.com/aspect-build/bazel-lib/pull/730)
- FR-723: make WriteSourceFileInfo public by [@ewhauser](https://redirect.github.com/ewhauser) in [https://github.com/aspect-build/bazel-lib/pull/724](https://redirect.github.com/aspect-build/bazel-lib/pull/724)
- chore: upgrade to Aspect Workflows 5.9.0-rc.16 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/731](https://redirect.github.com/aspect-build/bazel-lib/pull/731)
- chore: upgrade to Aspect Workflows 5.9.0-rc.19 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/733](https://redirect.github.com/aspect-build/bazel-lib/pull/733)
- chore: set correct warming queue by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/734](https://redirect.github.com/aspect-build/bazel-lib/pull/734)
- chore(deps): update dependency bazel_features to v0.2.0 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/729](https://redirect.github.com/aspect-build/bazel-lib/pull/729)
- chore: BCR testing on Bazel 6 and 7 by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/736](https://redirect.github.com/aspect-build/bazel-lib/pull/736)
- Update paths.bzl by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/735](https://redirect.github.com/aspect-build/bazel-lib/pull/735)
- perf: remove unnecessary calls to 'to_list' by [@mattem](https://redirect.github.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/737](https://redirect.github.com/aspect-build/bazel-lib/pull/737)
- chore(deps): update dependency bazel_skylib to v1.5.0 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/648](https://redirect.github.com/aspect-build/bazel-lib/pull/648)
- fix(deps): update golang.org/x/exp digest to [`1b97071`](https://redirect.github.com/aspect-build/bazel-lib/commit/1b97071) by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/728](https://redirect.github.com/aspect-build/bazel-lib/pull/728)
- chore: upgrade to Aspect Workflows 5.9.0 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/740](https://redirect.github.com/aspect-build/bazel-lib/pull/740)
- chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.5.0 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/685](https://redirect.github.com/aspect-build/bazel-lib/pull/685)
- chore: upgrade to Aspect Workflows 5.9.1 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/741](https://redirect.github.com/aspect-build/bazel-lib/pull/741)
- chore: upgrade to Aspect Workflows 5.9.2 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/742](https://redirect.github.com/aspect-build/bazel-lib/pull/742)
- chore: cancel previous GHA from the same PR by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/745](https://redirect.github.com/aspect-build/bazel-lib/pull/745)
- fix: merge user tags in stardoc_with_diff_test by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/746](https://redirect.github.com/aspect-build/bazel-lib/pull/746)
- chore: upgrade to Aspect Workflows 5.9.4 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/750](https://redirect.github.com/aspect-build/bazel-lib/pull/750)
- Update tar.bzl by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/751](https://redirect.github.com/aspect-build/bazel-lib/pull/751)
- chore: upgrade to Aspect Workflows 5.9.5 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/752](https://redirect.github.com/aspect-build/bazel-lib/pull/752)
- chore: update always_delivery to auto_delivery by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/753](https://redirect.github.com/aspect-build/bazel-lib/pull/753)
- presets: remove eternal test_timeout_filtering by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/758](https://redirect.github.com/aspect-build/bazel-lib/pull/758)
- chore: upgrade to Aspect Worklfows 5.9.9 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/761](https://redirect.github.com/aspect-build/bazel-lib/pull/761)
- chore: make it possible to override run_binary#use_default_shell_env by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/762](https://redirect.github.com/aspect-build/bazel-lib/pull/762)
- chore: upgrade to Aspect Workflows 5.9.10 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/764](https://redirect.github.com/aspect-build/bazel-lib/pull/764)
- Remove unnecessary ctx.resolve_tools. by [@tjgq](https://redirect.github.com/tjgq) in [https://github.com/aspect-build/bazel-lib/pull/763](https://redirect.github.com/aspect-build/bazel-lib/pull/763)
- chore: upgrade to Aspect Workflows 5.9.11 by [@gregmagolan](https://redirect.github.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/765](https://redirect.github.com/aspect-build/bazel-lib/pull/765)
- docs: add bats docs by [@jbedard](https://redirect.github.com/jbedard) in [https://github.com/aspect-build/bazel-lib/pull/766](https://redirect.github.com/aspect-build/bazel-lib/pull/766)
- chore: green up CI by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/767](https://redirect.github.com/aspect-build/bazel-lib/pull/767)
- chore(deps): update actions/cache action to v4 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/744](https://redirect.github.com/aspect-build/bazel-lib/pull/744)
- chore(deps): update actions/github-script action to v7 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/759](https://redirect.github.com/aspect-build/bazel-lib/pull/759)
- Update renovate.json by [@alexeagle](https://redirect.github.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/572](https://redirect.github.com/aspect-build/bazel-lib/pull/572)
- jq: add data file and location expansion support by [@novas0x2a](https://redirect.github.com/novas0x2a) in [https://github.com/aspect-build/bazel-lib/pull/757](https://redirect.github.com/aspect-build/bazel-lib/pull/757)
- chore(deps): update dependency bazel to v6.5.0 by [@renovate](https://redirect.github.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/738](https://redirect.github.com/aspect-build/bazel-lib/pull/738)
- feat(list): add `unique` function by [@mgred](https://redirect.github.com/mgred) in [https://github.com/aspect-build/bazel-lib/pull/716](https://redirect.github.com/aspect-build/bazel-lib/pull/716)
- chore: bump libxml2 deb to USN-6658-1 by [@mattem](https://redirect.github.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/768](https://redirect.github.com/aspect-build/b
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.5.3
->2.9.0
v2.5.3
->v2.9.0
Release Notes
aspect-build/bazel-lib (aspect_bazel_lib)
### [`v2.9.0`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v2.9.0) [Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v2.8.1...v2.9.0) #### Using Bzlmod with Bazel 6: 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_bazel_lib", version = "2.9.0") ``` > Read more about bzlmod:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.