aspect-build/bazel-lib
### [`v1.24.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.24.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.24.1...v1.24.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 = "1.24.2")
```
> Read more about bzlmod:
##### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "ef83252dea2ed8254c27e65124b756fc9476be2b73a7799b7a2a0935937fc573",
strip_prefix = "bazel-lib-1.24.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.24.2/bazel-lib-v1.24.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
##### 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: update copy_directory and copy_to_directory to use binaries with copy concurrency limited by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/352](https://togithub.com/aspect-build/bazel-lib/pull/352)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.24.1...v1.24.2
### [`v1.24.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.24.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.24.0...v1.24.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 = "1.24.1")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "5829c55a2400cdfbbdeeaf562bce947361d31c7cab13d56f12c34d781b6c0344",
strip_prefix = "bazel-lib-1.24.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.24.1/bazel-lib-v1.24.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: limit copy concurrency by [@f0rmiga](https://togithub.com/f0rmiga) in [https://github.com/aspect-build/bazel-lib/pull/351](https://togithub.com/aspect-build/bazel-lib/pull/351)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.24.0...v1.24.1
### [`v1.24.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.24.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.23.3...v1.24.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 = "1.24.0")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "8743da1d0d82df1eb6d9fd240fc213033b65d099ba4f7caa3ec52f6655fc25e1",
strip_prefix = "bazel-lib-1.24.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.24.0/bazel-lib-v1.24.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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(deps): update dependency bazel_gazelle to v0.29.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/325](https://togithub.com/aspect-build/bazel-lib/pull/325)
- chore(deps): update dependency io_bazel_rules_go to v0.37.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/290](https://togithub.com/aspect-build/bazel-lib/pull/290)
- feat: add assert helper for zip contents by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/342](https://togithub.com/aspect-build/bazel-lib/pull/342)
- release: publish release artifact by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/350](https://togithub.com/aspect-build/bazel-lib/pull/350)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.23.3...v1.24.0
### [`v1.23.3`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.23.3)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.23.2...v1.23.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 = "1.23.3")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "79623d656aa23ad3fd4692ab99786c613cd36e49f5566469ed97bc9b4c655f03",
strip_prefix = "bazel-lib-1.23.3",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.23.3.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: update copy toolchain to latest releases by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/340](https://togithub.com/aspect-build/bazel-lib/pull/340)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.23.2...v1.23.3
### [`v1.23.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.23.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.23.1...v1.23.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 = "1.23.2")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "4b2e774387bae6242879820086b7b738d49bf3d0659522ea5d9363be01a27582",
strip_prefix = "bazel-lib-1.23.2",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.23.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: add e2e/workspace test by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/339](https://togithub.com/aspect-build/bazel-lib/pull/339)
- fix: use custom realpath function in copy_directory and copy_to_directory since github.com/yookoala/realpath has bugs on Windows by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/338](https://togithub.com/aspect-build/bazel-lib/pull/338)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.23.1...v1.23.2
### [`v1.23.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.23.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.23.0...v1.23.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 = "1.23.1")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "ee20ea853d4f07227af5e65e7e56f6431b418f68755c4be6cd9ed0c477e4918d",
strip_prefix = "bazel-lib-1.23.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.23.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: bzlmod toolchain registration for copy_directory & copy_to_directory by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/336](https://togithub.com/aspect-build/bazel-lib/pull/336)
- chore: update copy toolchains to latest release by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/337](https://togithub.com/aspect-build/bazel-lib/pull/337)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.23.0...v1.23.1
### [`v1.23.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.23.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.22.0...v1.23.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 = "1.23.0")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "d9a5918e2771647e2be7a73e9d6a3e492e27655eace4fd2a253b6c2a1585e0d9",
strip_prefix = "bazel-lib-1.23.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.23.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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
- feat: hardlink generated files in copy_to_directory and copy_directory instead of copying by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/321](https://togithub.com/aspect-build/bazel-lib/pull/321)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.22.0...v1.23.0
### [`v1.22.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.22.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.21.4...v1.22.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 = "1.22.0")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "418df4c244471fac693f56bdb9ec1b70b4a06593d11ab876dda57fe358a66791",
strip_prefix = "bazel-lib-1.22.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.22.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: upgrade to Aspect CLI 5.1.2 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/331](https://togithub.com/aspect-build/bazel-lib/pull/331)
- feat: add coreutils toolchain by [@thesayyn](https://togithub.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/332](https://togithub.com/aspect-build/bazel-lib/pull/332)
- fix: fix pathing issue in new copy_to_directory binary tool on Windows by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/334](https://togithub.com/aspect-build/bazel-lib/pull/334)
- fix: on Windows you must call filepath.Walkdir on the realpath and not the symlink path by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/335](https://togithub.com/aspect-build/bazel-lib/pull/335)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.21.4...v1.22.0
### [`v1.21.4`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.21.4)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.21.3...v1.21.4)
#### 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 = "1.21.4")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "be479a40bbbc93c8f5c757f77beb95d24bfb8b910f72c794d9ab27cf7d309118",
strip_prefix = "bazel-lib-1.21.4",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.21.4.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: cleanup copy tools golang code by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/327](https://togithub.com/aspect-build/bazel-lib/pull/327)
- refactor: parallize copy_to_directory binary tool using go routines by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/329](https://togithub.com/aspect-build/bazel-lib/pull/329)
- chore: cleanup copy_to_directory docs and expose attr docstrings via lib for use downstream by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/330](https://togithub.com/aspect-build/bazel-lib/pull/330)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.21.3...v1.21.4
### [`v1.21.3`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.21.3)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.21.2...v1.21.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 = "1.21.3")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "fc140d923229f7d9d6712c9cc0fb1611d6e3f6a4f98281d06140b87f7b72ef2c",
strip_prefix = "bazel-lib-1.21.3",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.21.3.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: parallelize copies in copy_directory with go routines by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/326](https://togithub.com/aspect-build/bazel-lib/pull/326)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.21.2...v1.21.3
### [`v1.21.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.21.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.21.1...v1.21.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 = "1.21.2")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "ecffe1ce39f63e8036d6496eeb53705a992b5447b2e8120f3d100c251ded03fa",
strip_prefix = "bazel-lib-1.21.2",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.21.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: update pre-bazel 6 work-around in utils to only apply for bazel versions < 6 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/320](https://togithub.com/aspect-build/bazel-lib/pull/320)
- Add copy_directory binary tool by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/324](https://togithub.com/aspect-build/bazel-lib/pull/324)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.21.1...v1.21.2
### [`v1.21.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.21.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.21.0...v1.21.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 = "1.21.1")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "8122ee442e97c6281d9029e7e7cb47d4d362e33e569b7255e3d694e237d440d8",
strip_prefix = "bazel-lib-1.21.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.21.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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
- Add hardlink support to copy_to_directory binary tool by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/322](https://togithub.com/aspect-build/bazel-lib/pull/322)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.21.0...v1.21.1
### [`v1.21.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.21.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.20.0...v1.21.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 = "1.21.0")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "20514864a32d94b2e3113dbf4d71572c908993d3235ea29a2d805a36195cd1e9",
strip_prefix = "bazel-lib-1.21.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.21.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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
- feat(jq): add a diff_test helper by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/317](https://togithub.com/aspect-build/bazel-lib/pull/317)
- chore: update bcr homepage by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/316](https://togithub.com/aspect-build/bazel-lib/pull/316)
- fix: write_source_files incompatibility with bzlmod when writing from external repo by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/318](https://togithub.com/aspect-build/bazel-lib/pull/318)
- feat: modify assert_json_matches api before release by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/319](https://togithub.com/aspect-build/bazel-lib/pull/319)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.20.0...v1.21.0
### [`v1.20.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.20.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.19.2...v1.20.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 = "1.20.0")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "558d70e36425c317c70b19fb0f68241a3747bcf46561b5ffc19bed17527adbb3",
strip_prefix = "bazel-lib-1.20.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.20.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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
- Remove the use of realpath in tests by [@kzadorozhny](https://togithub.com/kzadorozhny) in [https://github.com/aspect-build/bazel-lib/pull/315](https://togithub.com/aspect-build/bazel-lib/pull/315)
- feat: improved copy_to_directory performance & globbing support using copy_to_directory_bin_action by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/311](https://togithub.com/aspect-build/bazel-lib/pull/311)
#### New Contributors
- [@kzadorozhny](https://togithub.com/kzadorozhny) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/315](https://togithub.com/aspect-build/bazel-lib/pull/315)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.19.2...v1.20.0
### [`v1.19.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.19.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.19.1...v1.19.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 = "1.19.2")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "931a562afb3ea1d2c828145d8ed65b32245bfb67e4ee7d73092bae7be8dd764f",
strip_prefix = "bazel-lib-1.19.2",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.19.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: handle directory symlinks in copy_to_directory_bin_action tool binary by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/314](https://togithub.com/aspect-build/bazel-lib/pull/314)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.19.1...v1.19.2
### [`v1.19.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.19.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.19.0...v1.19.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 = "1.19.1")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "ae56efc54ce3025ea908900e0d061423310b15e4676ae1359105583a2944665c",
strip_prefix = "bazel-lib-1.19.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.19.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### 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: switch copy_to_directory binary tool to use com_github_bmatcuk_doublestar_v4 instead of com_github_gobwas_glob by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/313](https://togithub.com/aspect-build/bazel-lib/pull/313)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.19.0...v1.19.1
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 this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.19.0
->v1.24.2
Release Notes
aspect-build/bazel-lib
### [`v1.24.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.24.2) [Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.24.1...v1.24.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 = "1.24.2") ``` > 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.