aspect-build/bazel-lib
### [`v1.18.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.18.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.17.0...v1.18.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.18.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 = "be236556c7b9c7b91cb370e837fdcec62b6e8893408cd4465ae883c9d7c67024",
strip_prefix = "bazel-lib-1.18.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.18.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: add executable attribute to write_source_files by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/293](https://togithub.com/aspect-build/bazel-lib/pull/293)
- refactor: use rm -R instead -r as it is the primary option and lowercase -r is the alias by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/294](https://togithub.com/aspect-build/bazel-lib/pull/294)
- fix: add diff_test to docs by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/296](https://togithub.com/aspect-build/bazel-lib/pull/296)
- feat: add write_source_file to public API by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/295](https://togithub.com/aspect-build/bazel-lib/pull/295)
- fix: write_source_files should use target platform for additional_update_targets by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/297](https://togithub.com/aspect-build/bazel-lib/pull/297)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.17.0...v1.18.0
### [`v1.17.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.17.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.16.3...v1.17.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.17.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 = "dee6d20f7c250a3808d601044ea187e41369a544f53f440b3bdafe0a7f53e553",
strip_prefix = "bazel-lib-1.17.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.17.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: add base64 encode & decode utility functions by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/292](https://togithub.com/aspect-build/bazel-lib/pull/292)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.16.3...v1.17.0
### [`v1.16.3`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.16.3)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.16.2...v1.16.3)
##### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.16.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 = "695d319362b227725e4daa60d863b4d1969b167889902511f1fd3051cea1071f",
strip_prefix = "bazel-lib-1.16.3",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.16.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
- build: fix bzlmod presubmit failure with bazel version by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/288](https://togithub.com/aspect-build/bazel-lib/pull/288)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.16.2...v1.16.3
### [`v1.16.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.16.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.16.1...v1.16.2)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.16.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 = "1a353526ee5a6ff1b7c83d1b60460488ae6a122726f29408c447545cc903c106",
strip_prefix = "bazel-lib-1.16.2",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.16.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
- feat: install Aspect CLI for all users by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/278](https://togithub.com/aspect-build/bazel-lib/pull/278)
- chore: update to Aspect CLI Pro 4.2.1 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/279](https://togithub.com/aspect-build/bazel-lib/pull/279)
- ci: fix pattern for Bazel version CI matrix so Aspect CLI is still used by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/280](https://togithub.com/aspect-build/bazel-lib/pull/280)
- chore: update to Aspect CLI Pro 4.2.2 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/281](https://togithub.com/aspect-build/bazel-lib/pull/281)
- build: use Aspect CLI in e2e tests by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/282](https://togithub.com/aspect-build/bazel-lib/pull/282)
- perf: optimize glob_match if the expression does not have any glob symbols by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/283](https://togithub.com/aspect-build/bazel-lib/pull/283)
- chore: update to Aspect CLI 4.3.2 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/284](https://togithub.com/aspect-build/bazel-lib/pull/284)
- chore: update to Aspect CLI 5.0.0 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/285](https://togithub.com/aspect-build/bazel-lib/pull/285)
- chore: update to Aspect CLI 5.0.1 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/286](https://togithub.com/aspect-build/bazel-lib/pull/286)
- chore: unrelease by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/287](https://togithub.com/aspect-build/bazel-lib/pull/287)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.16.1...v1.16.2
### [`v1.16.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.16.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.16.0...v1.16.1)
##### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.16.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 = "3534a27621725fbbf1d3e53daa0c1dda055a2732d9031b8c579f917d7347b6c4",
strip_prefix = "bazel-lib-1.16.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.16.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: nit cleanup in copy_to_directory \_longest_glob_match helper by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/275](https://togithub.com/aspect-build/bazel-lib/pull/275)
- refactor: move bzl_library target out of @local_config_platform and just use exports_files in there instead by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/276](https://togithub.com/aspect-build/bazel-lib/pull/276)
- fix: fix copy_to_directory flattening with root_paths = \['\*\*'] by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/277](https://togithub.com/aspect-build/bazel-lib/pull/277)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.16.0...v1.16.1
### [`v1.16.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.16.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.15.0...v1.16.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.16.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 = "88ac1874c9930c5f01482d25a4f25104a788a178bf1c20053c00322ea7059bd6",
strip_prefix = "bazel-lib-1.16.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.16.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: account for github actions deprecation by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/271](https://togithub.com/aspect-build/bazel-lib/pull/271)
- feat: add assert_outputs by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/273](https://togithub.com/aspect-build/bazel-lib/pull/273)
- perf: do not execute glob for non-glob copy_to_directory root_paths/replace_prefix params by [@jbedard](https://togithub.com/jbedard) in [https://github.com/aspect-build/bazel-lib/pull/274](https://togithub.com/aspect-build/bazel-lib/pull/274)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.15.0...v1.16.0
### [`v1.15.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.15.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.14.0...v1.15.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.15.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 = "eae670935704ce5f9d050b2c23d426b4ae453458830eebdaac1f11a6a9da150b",
strip_prefix = "bazel-lib-1.15.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.15.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.28.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/267](https://togithub.com/aspect-build/bazel-lib/pull/267)
- feat: add maybe_http_archive by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/270](https://togithub.com/aspect-build/bazel-lib/pull/270)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.14.0...v1.15.0
### [`v1.14.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.14.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.13.1...v1.14.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.14.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 = "9305799c6d9e425e6b73270a0f9eb0aa1082050823a7eefad95edcece545e77b",
strip_prefix = "bazel-lib-1.14.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.14.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: declare bzlmod repository by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/262](https://togithub.com/aspect-build/bazel-lib/pull/262)
- feat: add is_bazel\_6\_or_greater utility function by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/264](https://togithub.com/aspect-build/bazel-lib/pull/264)
- chore: upgrade to Bazel 6.0.0rc1 but continue to also test Bazel 5.3.2 on CI by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/266](https://togithub.com/aspect-build/bazel-lib/pull/266)
- fix: use bzlmod @@ in to_label if Bazel version is 6 or greater by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/265](https://togithub.com/aspect-build/bazel-lib/pull/265)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.13.1...v1.14.0
### [`v1.13.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.13.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.13.0...v1.13.1)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.13.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 = "c15e3bdb626973728c375ef78c58fdee27c9b9affea5c9db57c78eafda8395bf",
strip_prefix = "bazel-lib-1.13.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.13.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(deps): update dependency bazel_skylib to v1.3.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/259](https://togithub.com/aspect-build/bazel-lib/pull/259)
- chore(deps): update dependency bazel to v5.3.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/260](https://togithub.com/aspect-build/bazel-lib/pull/260)
- fix: workaround bazel bug? by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/261](https://togithub.com/aspect-build/bazel-lib/pull/261)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.13.0...v1.13.1
### [`v1.13.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.13.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.12.1...v1.13.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.13.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 = "0154b46f350c7941919eaa30a4f2284a0128ac13c706901a5c768a829af49e11",
strip_prefix = "bazel-lib-1.13.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.13.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
- doc: update stamping.bzl making executable chmod by [@f0rmiga](https://togithub.com/f0rmiga) in [https://github.com/aspect-build/bazel-lib/pull/247](https://togithub.com/aspect-build/bazel-lib/pull/247)
- feat: add test_suite containing all tests from write_source_files by [@mattem](https://togithub.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/256](https://togithub.com/aspect-build/bazel-lib/pull/256)
- fix: handle other CPU architectures in local_config_platform by [@mattem](https://togithub.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/257](https://togithub.com/aspect-build/bazel-lib/pull/257)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.12.1...v1.13.0
### [`v1.12.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.12.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.12.0...v1.12.1)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.12.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 = "79381b0975ba7d2d5653239e5bab12cf54d89b10217fe771b8edd95047a2e44b",
strip_prefix = "bazel-lib-1.12.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.12.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: upgrade skylib by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/248](https://togithub.com/aspect-build/bazel-lib/pull/248)
- refactor: move Aspect Workflows configuration files to new location by [@mattem](https://togithub.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/249](https://togithub.com/aspect-build/bazel-lib/pull/249)
- fix: use person as release author by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/250](https://togithub.com/aspect-build/bazel-lib/pull/250)
- refactor: give internal impl methods meaningful names by [@jbedard](https://togithub.com/jbedard) in [https://github.com/aspect-build/bazel-lib/pull/252](https://togithub.com/aspect-build/bazel-lib/pull/252)
- chore(deps): update dependency bazel to v5.3.1 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/225](https://togithub.com/aspect-build/bazel-lib/pull/225)
- chore(deps): update dependency io_bazel_rules_go to v0.35.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/191](https://togithub.com/aspect-build/bazel-lib/pull/191)
- chore(deps): remove build_bazel_integration_testing by [@jbedard](https://togithub.com/jbedard) in [https://github.com/aspect-build/bazel-lib/pull/253](https://togithub.com/aspect-build/bazel-lib/pull/253)
- fix: isolate bzl_libary targets for //lib/private:\*.bzl i //lib/private/docs package so that platform_utils dep on @local_config_platform//:constraints doesn't leak unless downstream consumer is generating docs by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/254](https://togithub.com/aspect-build/bazel-lib/pull/254)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.12.0...v1.12.1
### [`v1.12.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.12.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.8...v1.12.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.12.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 = "229a6d65b8b30af0dcaeb77c723b568ef7a2e4ad54dd65168a16992b6b6fe4c7",
strip_prefix = "bazel-lib-1.12.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.12.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
- Update release.yml by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/244](https://togithub.com/aspect-build/bazel-lib/pull/244)
- feat: add bazel_version value to host_repo repository rule by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/246](https://togithub.com/aspect-build/bazel-lib/pull/246)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.8...v1.12.0
### [`v1.11.8`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.8)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.7...v1.11.8)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.8")
```
> 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 = "a12740bcc1a1f47de850ff84f10d9eb4c930792f69309feb986fdbeb69f83cfe",
strip_prefix = "bazel-lib-1.11.8",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.8.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: fix bzl_library breakage created with load from @local_config_platform in copy rules by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/242](https://togithub.com/aspect-build/bazel-lib/pull/242)
- fix: don't generate @aspect_bazel_lib_local_config_platform repository as it is a leaky abstraction for rule consumers and not just rule authors by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/243](https://togithub.com/aspect-build/bazel-lib/pull/243)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.7...v1.11.8
### [`v1.11.7`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.7)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.6...v1.11.7)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.7")
```
> 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 = "3a4745bb5a649612148ab9fdb4bdfcf0fa4120b469fabdb007acb50f85670139",
strip_prefix = "bazel-lib-1.11.7",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.7.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 `shlib/lib/assertions.sh` and related tests by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/aspect-build/bazel-lib/pull/237](https://togithub.com/aspect-build/bazel-lib/pull/237)
#### New Contributors
- [@cgrindel](https://togithub.com/cgrindel) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/237](https://togithub.com/aspect-build/bazel-lib/pull/237)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.6...v1.11.7
### [`v1.11.6`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.6)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.5...v1.11.6)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.6")
```
> 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 = "cb8ef14aa104e91936697f8fb07a6ce844c73b25126fe2287a0242f7324c14c0",
strip_prefix = "bazel-lib-1.11.6",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.6.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 MODULE.bazel to use register_toolchains by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/240](https://togithub.com/aspect-build/bazel-lib/pull/240)
- copy_to_directory performance improvements by [@jbedard](https://togithub.com/jbedard) in [https://github.com/aspect-build/bazel-lib/pull/236](https://togithub.com/aspect-build/bazel-lib/pull/236)
- docs: add stamping to readme index by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/239](https://togithub.com/aspect-build/bazel-lib/pull/239)
- fix: fix host platform detection on all copy actions which always run locally by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/241](https://togithub.com/aspect-build/bazel-lib/pull/241)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.2...v1.11.6
### [`v1.11.5`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.5)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.4...v1.11.5)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.5")
```
> 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 = "652787b522d02c6141d7fe189c9aac38d89dd49f7eda5a59d1db5d7ff0896336",
strip_prefix = "bazel-lib-1.11.5",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.5.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: TARGET make variable expansion: no extra leading @ by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/229](https://togithub.com/aspect-build/bazel-lib/pull/229)
- Cleanup diff_test and copy_file implementations by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/aspect-build/bazel-lib/pull/230](https://togithub.com/aspect-build/bazel-lib/pull/230)
- ci: exclude rbe jobs from matrix if no engflow secret by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/232](https://togithub.com/aspect-build/bazel-lib/pull/232)
- Add JUnit XML output to diff_test by [@jfirebaugh](https://togithub.com/jfirebaugh) in [https://github.com/aspect-build/bazel-lib/pull/227](https://togithub.com/aspect-build/bazel-lib/pull/227)
- ci: prepare bazel-lib for publish-to-bcr app by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/238](https://togithub.com/aspect-build/bazel-lib/pull/238)
#### New Contributors
- [@dzbarsky](https://togithub.com/dzbarsky) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/230](https://togithub.com/aspect-build/bazel-lib/pull/230)
- [@jfirebaugh](https://togithub.com/jfirebaugh) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/227](https://togithub.com/aspect-build/bazel-lib/pull/227)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.1...v1.11.5
### [`v1.11.4`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.4)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.3...v1.11.4)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.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 = "a7977885ddafca6f4aa87fabcd47dba49ef5e9b513b8b3fa09d5a59606e7e4f0",
strip_prefix = "bazel-lib-1.11.4",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.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
- fix: TARGET make variable expansion: no extra leading @ by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/229](https://togithub.com/aspect-build/bazel-lib/pull/229)
- Cleanup diff_test and copy_file implementations by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/aspect-build/bazel-lib/pull/230](https://togithub.com/aspect-build/bazel-lib/pull/230)
- ci: exclude rbe jobs from matrix if no engflow secret by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/232](https://togithub.com/aspect-build/bazel-lib/pull/232)
- Add JUnit XML output to diff_test by [@jfirebaugh](https://togithub.com/jfirebaugh) in [https://github.com/aspect-build/bazel-lib/pull/227](https://togithub.com/aspect-build/bazel-lib/pull/227)
- ci: prepare bazel-lib for publish-to-bcr app by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/238](https://togithub.com/aspect-build/bazel-lib/pull/238)
#### New Contributors
- [@dzbarsky](https://togithub.com/dzbarsky) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/230](https://togithub.com/aspect-build/bazel-lib/pull/230)
- [@jfirebaugh](https://togithub.com/jfirebaugh) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/227](https://togithub.com/aspect-build/bazel-lib/pull/227)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.1...v1.11.4
### [`v1.11.3`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.3)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.2...v1.11.3)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.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 = "86e9a503c95441b097ade4127fd0a7e0a0ca2d751b17b4a079f63bff8b04a9f9",
strip_prefix = "bazel-lib-1.11.3",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.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
- fix: TARGET make variable expansion: no extra leading @ by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/229](https://togithub.com/aspect-build/bazel-lib/pull/229)
- Cleanup diff_test and copy_file implementations by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/aspect-build/bazel-lib/pull/230](https://togithub.com/aspect-build/bazel-lib/pull/230)
- ci: exclude rbe jobs from matrix if no engflow secret by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/232](https://togithub.com/aspect-build/bazel-lib/pull/232)
- Add JUnit XML output to diff_test by [@jfirebaugh](https://togithub.com/jfirebaugh) in [https://github.com/aspect-build/bazel-lib/pull/227](https://togithub.com/aspect-build/bazel-lib/pull/227)
- ci: prepare bazel-lib for publish-to-bcr app by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/238](https://togithub.com/aspect-build/bazel-lib/pull/238)
#### New Contributors
- [@dzbarsky](https://togithub.com/dzbarsky) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/230](https://togithub.com/aspect-build/bazel-lib/pull/230)
- [@jfirebaugh](https://togithub.com/jfirebaugh) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/227](https://togithub.com/aspect-build/bazel-lib/pull/227)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.1...v1.11.3
### [`v1.11.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.1...v1.11.2)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.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 = "9eb2871b833cf02882935d9bd24f40f5d00a64bd07ed443eb13642a475bfb641",
strip_prefix = "bazel-lib-1.11.2",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.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: TARGET make variable expansion: no extra leading @ by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/229](https://togithub.com/aspect-build/bazel-lib/pull/229)
- Cleanup diff_test and copy_file implementations by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/aspect-build/bazel-lib/pull/230](https://togithub.com/aspect-build/bazel-lib/pull/230)
- ci: exclude rbe jobs from matrix if no engflow secret by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/232](https://togithub.com/aspect-build/bazel-lib/pull/232)
- Add JUnit XML output to diff_test by [@jfirebaugh](https://togithub.com/jfirebaugh) in [https://github.com/aspect-build/bazel-lib/pull/227](https://togithub.com/aspect-build/bazel-lib/pull/227)
- ci: prepare bazel-lib for publish-to-bcr app by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/238](https://togithub.com/aspect-build/bazel-lib/pull/238)
#### New Contributors
- [@dzbarsky](https://togithub.com/dzbarsky) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/230](https://togithub.com/aspect-build/bazel-lib/pull/230)
- [@jfirebaugh](https://togithub.com/jfirebaugh) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/227](https://togithub.com/aspect-build/bazel-lib/pull/227)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.1...v1.11.2
### [`v1.11.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.11.0...v1.11.1)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.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 = "8ea64f13c6db68356355d6a97dced3d149e9cd7ba3ecb4112960586e914e466d",
strip_prefix = "bazel-lib-1.11.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.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: don't fail fast on GitHub actions matrix by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/226](https://togithub.com/aspect-build/bazel-lib/pull/226)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.11.0...v1.11.1
### [`v1.11.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.11.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.10.1...v1.11.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.11.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 = "779885424473657cc50c8391b627321e920f23aa57141445015d00d2a0def8ff",
strip_prefix = "bazel-lib-1.11.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.11.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
- ci: enable engflow RBE for github actions by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/218](https://togithub.com/aspect-build/bazel-lib/pull/218)
- fix: broken gh actions cache by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/209](https://togithub.com/aspect-build/bazel-lib/pull/209)
- fix: fix a bug where the same file couldn't be copied to the same output dir twice on Windows by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/221](https://togithub.com/aspect-build/bazel-lib/pull/221)
- chore: set test timeouts to short by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/222](https://togithub.com/aspect-build/bazel-lib/pull/222)
- jq support for stamping by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/224](https://togithub.com/aspect-build/bazel-lib/pull/224)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.10.1...v1.11.0
### [`v1.10.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.10.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.10.0...v1.10.1)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.10.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 = "e00a57d37a8d8b629951e43d1af9b079429b6ea9710752f08910f13afdb825f0",
strip_prefix = "bazel-lib-1.10.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.10.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: fix a bug where multiple files were not written at the root package by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/215](https://togithub.com/aspect-build/bazel-lib/pull/215)
- Circleci setup by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/207](https://togithub.com/aspect-build/bazel-lib/pull/207)
- chore(deps): update continuation orb to v0.3.1 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/217](https://togithub.com/aspect-build/bazel-lib/pull/217)
- fix: fix issue in copy_to_directory where root_path is the full path of a directory input by [@tkoolen-bdi](https://togithub.com/tkoolen-bdi) in [https://github.com/aspect-build/bazel-lib/pull/216](https://togithub.com/aspect-build/bazel-lib/pull/216)
#### New Contributors
- [@tkoolen-bdi](https://togithub.com/tkoolen-bdi) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/216](https://togithub.com/aspect-build/bazel-lib/pull/216)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.10.0...v1.10.1
### [`v1.10.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.10.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.9.2...v1.10.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.10.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 = "33332c0cd7b5238b5162b5177da7f45a05641f342cf6d04080b9775233900acf",
strip_prefix = "bazel-lib-1.10.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.10.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: normalize src and outputs paths in copy_to_directory by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/206](https://togithub.com/aspect-build/bazel-lib/pull/206)
- chore: add Aspect CI configuration by [@mattem](https://togithub.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/208](https://togithub.com/aspect-build/bazel-lib/pull/208)
- feat: add utility for asserting that a file contains a string by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/210](https://togithub.com/aspect-build/bazel-lib/pull/210)
- fix: /bin/false instead of /dev/null by [@f0rmiga](https://togithub.com/f0rmiga) in [https://github.com/aspect-build/bazel-lib/pull/211](https://togithub.com/aspect-build/bazel-lib/pull/211)
- fix: handle copy_to_directory '.' and './\*\*' special patterns correctly when in the root package by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/212](https://togithub.com/aspect-build/bazel-lib/pull/212)
- fix: fix make var expansion in expand_template by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/213](https://togithub.com/aspect-build/bazel-lib/pull/213)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.9.2...v1.10.0
### [`v1.9.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.9.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.9.1...v1.9.2)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.9.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 = "e034e4aea098c91ac05ac7e08f01a302275378a0bc0814c4939e96552c912212",
strip_prefix = "bazel-lib-1.9.2",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.9.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: improve handling of duplicate files in copy_to_directory by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/205](https://togithub.com/aspect-build/bazel-lib/pull/205)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.9.1...v1.9.2
### [`v1.9.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.9.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.9.0...v1.9.1)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.9.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 = "c6b3ab90e04dbf6d7753c1a59d50b73eec2c91ed59396940ddad7975008c0eb9",
strip_prefix = "bazel-lib-1.9.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.9.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: improve error messages to copy_to_directory and add missing aliases by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/204](https://togithub.com/aspect-build/bazel-lib/pull/204)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.9.0...v1.9.1
### [`v1.9.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.9.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.8.1...v1.9.0)
#### Using Bzlmod:
1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.9.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 = "e8cd4d0a6b47e8a2d8f962416f880cf8713a2dfce0db349a1d50efebc7011028",
strip_prefix = "bazel-lib-1.9.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.9.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### Register the following toolchain to use jq
load("@aspect
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.8.1
->v1.18.0
Release Notes
aspect-build/bazel-lib
### [`v1.18.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.18.0) [Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.17.0...v1.18.0) #### Using Bzlmod: 1. Enable with `--experimental_enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_bazel_lib", version = "1.18.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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.