aspect-build/bazel-lib (aspect_bazel_lib)
### [`v1.40.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.40.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.40.1...v1.40.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.40.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 = "04feedcd06f71d0497a81fdd3220140a373ff9d2bff94620fbd50b774f96d8e0",
strip_prefix = "bazel-lib-1.40.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.40.2/bazel-lib-v1.40.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()
```
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.40.0...v1.40.2
### [`v1.40.1`](https://togithub.com/aspect-build/bazel-lib/compare/v1.40.0...v1.40.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.40.0...v1.40.1)
### [`v1.40.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.40.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.39.1...v1.40.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.40.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 = "f6ef68871d206cf8f5f4eea83d26a366563a631b020afe1da2f838a9bff035c0",
strip_prefix = "bazel-lib-1.40.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.40.0/bazel-lib-v1.40.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()
```
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.39.1...v1.40.0
### [`v1.39.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.39.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.39.0...v1.39.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.39.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 = "5e9588d8407a576771f1e0d8956f541f78610f1b6e4cca29af2a096fccfe3b24",
strip_prefix = "bazel-lib-1.39.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.39.1/bazel-lib-v1.39.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()
```
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.39.0...v1.39.1
### [`v1.39.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.39.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.38.1...v1.39.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.39.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 = "4d6010ca5e3bb4d7045b071205afa8db06ec11eb24de3f023d74d77cca765f66",
strip_prefix = "bazel-lib-1.39.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.39.0/bazel-lib-v1.39.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: give version.bzl public visibility by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/670](https://togithub.com/aspect-build/bazel-lib/pull/670)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.38.1...v1.39.0
### [`v1.38.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.38.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.38.0...v1.38.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.38.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 = "262e3d6693cdc16dd43880785cdae13c64e6a3f63f75b1993c716295093d117f",
strip_prefix = "bazel-lib-1.38.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.38.1/bazel-lib-v1.38.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: remove need for rules_go when depending on a bzl_library target by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/663](https://togithub.com/aspect-build/bazel-lib/pull/663)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.38.0...v1.38.1
### [`v1.38.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.38.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.37.0...v1.38.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.38.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 = "b848cd8e93be7f18c3deda6d2f3ade92a657d3585e119953bc50dc75fef535c2",
strip_prefix = "bazel-lib-1.38.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.38.0/bazel-lib-v1.38.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
- Fix bzlmod ([#600](https://togithub.com/aspect-build/bazel-lib/issues/600)) by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/660](https://togithub.com/aspect-build/bazel-lib/pull/660)
- fix(ci): fix bzlmod issues and enable on ci ([#658](https://togithub.com/aspect-build/bazel-lib/issues/658)) by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/659](https://togithub.com/aspect-build/bazel-lib/pull/659)
- feat: backport 2.x features for interoperability by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/657](https://togithub.com/aspect-build/bazel-lib/pull/657)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.37.0...v1.38.0
### [`v1.37.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.37.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.36.0...v1.37.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.37.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 = "ce259cbac2e94a6dff01aff9455dcc844c8af141503b02a09c2642695b7b873e",
strip_prefix = "bazel-lib-1.37.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.37.0/bazel-lib-v1.37.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 Workflows 5.8.0-rc12 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/596](https://togithub.com/aspect-build/bazel-lib/pull/596)
- chore: upgrade to Aspect Workflows 5.8.0-rc14 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/598](https://togithub.com/aspect-build/bazel-lib/pull/598)
- feat: expose a config_setting for copy execution_requirements ([#606](https://togithub.com/aspect-build/bazel-lib/issues/606)) by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/607](https://togithub.com/aspect-build/bazel-lib/pull/607)
- fix: always include files from the same workspace as the build target in `copy_to_directory()` by [@dgp1130](https://togithub.com/dgp1130) in [https://github.com/aspect-build/bazel-lib/pull/360](https://togithub.com/aspect-build/bazel-lib/pull/360)
- fix: windows home directory by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/608](https://togithub.com/aspect-build/bazel-lib/pull/608)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.36.0...v1.37.0
### [`v1.36.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.36.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.35.0...v1.36.0)
📣 **NOTE**
v1.34.1 introduced a regression in performance for copying files, in particular users of rules_js with a large number of npm dependencies would be affected. This is now fixed in this release.
#### 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.36.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 = "cbf473d630ab67b36461d83b38fdc44e56f45b78d03c405e4958280211124d79",
strip_prefix = "bazel-lib-1.36.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.36.0/bazel-lib-v1.36.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 Workflows 5.8.0-rc9 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/557](https://togithub.com/aspect-build/bazel-lib/pull/557)
- chore: upgrade to Aspect Workflows 5.8.0-rc11 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/558](https://togithub.com/aspect-build/bazel-lib/pull/558)
- chore: update to Aspect CLI 5.7.2 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/559](https://togithub.com/aspect-build/bazel-lib/pull/559)
- feat: add assert_directory_contains test to testing.bzl by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/560](https://togithub.com/aspect-build/bazel-lib/pull/560)
- feat: add undeclared output mode to expand_template by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/561](https://togithub.com/aspect-build/bazel-lib/pull/561)
- fix(ci): don't run patch on windows by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/562](https://togithub.com/aspect-build/bazel-lib/pull/562)
- chore: update pre-commit buildifier by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/563](https://togithub.com/aspect-build/bazel-lib/pull/563)
- chore(deps): update dependency buildifier_prebuilt to v6.3.3 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/489](https://togithub.com/aspect-build/bazel-lib/pull/489)
- chore: bump to latest version of Aspect Workflows starter image by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/571](https://togithub.com/aspect-build/bazel-lib/pull/571)
- feat(presets): always fetch all coverage files on coverage runs by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/564](https://togithub.com/aspect-build/bazel-lib/pull/564)
- Revert "refactor: reduce execution requirements for copy" by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/594](https://togithub.com/aspect-build/bazel-lib/pull/594)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.35.0...v1.36.0
### [`v1.35.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.35.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.34.5...v1.35.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.35.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 = "e9505bd956da64b576c433e4e41da76540fd8b889bbd17617fe480a646b1bfb9",
strip_prefix = "bazel-lib-1.35.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.35.0/bazel-lib-v1.35.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 Workflows 5.8.0-rc2 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/521](https://togithub.com/aspect-build/bazel-lib/pull/521)
- chore(deps): update dependency bazel_gazelle to v0.33.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/522](https://togithub.com/aspect-build/bazel-lib/pull/522)
- fix(deps): update golang.org/x/exp digest to [`9212866`](https://togithub.com/aspect-build/bazel-lib/commit/9212866) by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/432](https://togithub.com/aspect-build/bazel-lib/pull/432)
- chore(deps): update dependency platforms to v0.0.7 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/491](https://togithub.com/aspect-build/bazel-lib/pull/491)
- chore(deps): update actions/checkout action to v4 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/523](https://togithub.com/aspect-build/bazel-lib/pull/523)
- docs: Add --incompatible_disallow_empty_glob to correctness.bazelrc by [@thirtyseven](https://togithub.com/thirtyseven) in [https://github.com/aspect-build/bazel-lib/pull/524](https://togithub.com/aspect-build/bazel-lib/pull/524)
- chore: upgrade to Aspect Workflows 5.8.0-rc6 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/530](https://togithub.com/aspect-build/bazel-lib/pull/530)
- fix: check in generated bazelrcs by [@thesayyn](https://togithub.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/535](https://togithub.com/aspect-build/bazel-lib/pull/535)
- chore: fix red ci by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/534](https://togithub.com/aspect-build/bazel-lib/pull/534)
- feat: expand_template allows inline template content by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/533](https://togithub.com/aspect-build/bazel-lib/pull/533)
- feat: add list utils by [@mgred](https://togithub.com/mgred) in [https://github.com/aspect-build/bazel-lib/pull/512](https://togithub.com/aspect-build/bazel-lib/pull/512)
- feat: update `copy_to_directory` tool to accept the name of its workspace and automatically include files from it by [@dgp1130](https://togithub.com/dgp1130) in [https://github.com/aspect-build/bazel-lib/pull/488](https://togithub.com/aspect-build/bazel-lib/pull/488)
- fix: lookup source files from execroot when running diff_test on RBE by [@mattem](https://togithub.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/531](https://togithub.com/aspect-build/bazel-lib/pull/531)
- refactor: remove stamp information from tools by [@thesayyn](https://togithub.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/537](https://togithub.com/aspect-build/bazel-lib/pull/537)
- refactor: add ability to test against tools from source by [@thesayyn](https://togithub.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/532](https://togithub.com/aspect-build/bazel-lib/pull/532)
- fix: allow for BUILD files in outputs of write_source_file by [@mattem](https://togithub.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/540](https://togithub.com/aspect-build/bazel-lib/pull/540)
- refactor: cleanup e2e by [@thesayyn](https://togithub.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/542](https://togithub.com/aspect-build/bazel-lib/pull/542)
- chore: upgrade to Aspect Workflows 5.8.0-rc8 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/546](https://togithub.com/aspect-build/bazel-lib/pull/546)
- refactor: consume tools from source if unstamped by [@thesayyn](https://togithub.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/543](https://togithub.com/aspect-build/bazel-lib/pull/543)
- docs: add minimum pre-commit version by [@mgred](https://togithub.com/mgred) in [https://github.com/aspect-build/bazel-lib/pull/544](https://togithub.com/aspect-build/bazel-lib/pull/544)
- chore: set --remote_download_minimal and --nobuild_runfile_links for all Workflows tasks by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/549](https://togithub.com/aspect-build/bazel-lib/pull/549)
- fix: macos sed by [@thesayyn](https://togithub.com/thesayyn) in [https://github.com/aspect-build/bazel-lib/pull/550](https://togithub.com/aspect-build/bazel-lib/pull/550)
- chore: bump GKE machine type to e2-standard-2 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/551](https://togithub.com/aspect-build/bazel-lib/pull/551)
- feat: add `propagate_common_{,test_,binary_}rule_attributes` to lib/utils. by [@reltuk](https://togithub.com/reltuk) in [https://github.com/aspect-build/bazel-lib/pull/553](https://togithub.com/aspect-build/bazel-lib/pull/553)
- chore: rules_go is a non-dev dep at HEAD by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/554](https://togithub.com/aspect-build/bazel-lib/pull/554)
- fix(ci): always build with -c opt by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/555](https://togithub.com/aspect-build/bazel-lib/pull/555)
- ci: add assertion that bcr patches apply by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/556](https://togithub.com/aspect-build/bazel-lib/pull/556)
#### New Contributors
- [@thirtyseven](https://togithub.com/thirtyseven) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/524](https://togithub.com/aspect-build/bazel-lib/pull/524)
- [@mgred](https://togithub.com/mgred) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/512](https://togithub.com/aspect-build/bazel-lib/pull/512)
- [@dgp1130](https://togithub.com/dgp1130) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/488](https://togithub.com/aspect-build/bazel-lib/pull/488)
- [@reltuk](https://togithub.com/reltuk) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/553](https://togithub.com/aspect-build/bazel-lib/pull/553)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.34.5...v1.35.0
### [`v1.34.5`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.34.5)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.34.4...v1.34.5)
#### 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.34.5")
```
> 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 = "09b51a9957adc56c905a2c980d6eb06f04beb1d85c665b467f659871403cf423",
strip_prefix = "bazel-lib-1.34.5",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.5/bazel-lib-v1.34.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
- chore: pick up new expand_template go binary by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/518](https://togithub.com/aspect-build/bazel-lib/pull/518)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.34.4...v1.34.5
### [`v1.34.4`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.34.4)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.34.3...v1.34.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.34.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 = "89692b19e7da5ab63a8ef0c40c6c3ae4d4d85f06141d05ee5ab82e33d2e6c625",
strip_prefix = "bazel-lib-1.34.4",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.4/bazel-lib-v1.34.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: revert fancy release automation by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/517](https://togithub.com/aspect-build/bazel-lib/pull/517)
- fix(expand_template): correct output permissions by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/516](https://togithub.com/aspect-build/bazel-lib/pull/516)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.34.3...v1.34.4
### [`v1.34.3`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.34.3)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.34.2...v1.34.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.34.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 = "e0edd9b633a8ee2bbb5a9ac294be5a8b645a8094f8d6ddba987fb85e1747ab46",
strip_prefix = "bazel-lib-1.34.3",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.3/bazel-lib-v1.34.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: strip 'v' prefix from tag when setting module version by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/514](https://togithub.com/aspect-build/bazel-lib/pull/514)
- refactor: invert the conditional for setting version by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/515](https://togithub.com/aspect-build/bazel-lib/pull/515)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.34.2...v1.34.3
### [`v1.34.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.34.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.34.1...v1.34.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.34.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 = "b44310bef17d33d0e34a624dbbc74de595d37adc16546bd612d6f178eac426e7",
strip_prefix = "bazel-lib-1.34.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.2/bazel-lib-v1.34.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 to Aspect Workflows 5.7.1 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/509](https://togithub.com/aspect-build/bazel-lib/pull/509)
- chore: update to Aspect Workflows 5.7.3 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/511](https://togithub.com/aspect-build/bazel-lib/pull/511)
- chore: pull in [https://github.com/bazel-contrib/rules-template/pull/93](https://togithub.com/bazel-contrib/rules-template/pull/93) by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/513](https://togithub.com/aspect-build/bazel-lib/pull/513)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.34.1...v1.34.2
### [`v1.34.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.34.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.34.0...v1.34.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.34.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 = "271d5f38c218a0c2fe2e94f94dfc0b497e931cbb335348bf1695015191be5367",
strip_prefix = "bazel-lib-1.34.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.1/bazel-lib-v1.34.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: add Aspect Workflows CI (on GCP + CircleCI) by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/499](https://togithub.com/aspect-build/bazel-lib/pull/499)
- docs: clarify write_source_files output constraint by [@seh](https://togithub.com/seh) in [https://github.com/aspect-build/bazel-lib/pull/498](https://togithub.com/aspect-build/bazel-lib/pull/498)
- chore: update to Aspect Workflows 5.7.0-rc10 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/500](https://togithub.com/aspect-build/bazel-lib/pull/500)
- chore(deps): update dependency bazel to v6.3.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/492](https://togithub.com/aspect-build/bazel-lib/pull/492)
- chore: update to Aspect Workflows 5.7.0 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/501](https://togithub.com/aspect-build/bazel-lib/pull/501)
- docs: add comment regarding linux-arm64 JQ toolchain by [@mattem](https://togithub.com/mattem) in [https://github.com/aspect-build/bazel-lib/pull/503](https://togithub.com/aspect-build/bazel-lib/pull/503)
- chore: add test coverage for run_binary & expand_variables makevars by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/504](https://togithub.com/aspect-build/bazel-lib/pull/504)
- chore: Switch to buildbuddy for RBE by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/507](https://togithub.com/aspect-build/bazel-lib/pull/507)
- refactor: reduce execution requirements for copy by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/506](https://togithub.com/aspect-build/bazel-lib/pull/506)
- fix: green up red main CI by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/508](https://togithub.com/aspect-build/bazel-lib/pull/508)
- yq: allow any filename in srcs by [@pjjw](https://togithub.com/pjjw) in [https://github.com/aspect-build/bazel-lib/pull/496](https://togithub.com/aspect-build/bazel-lib/pull/496)
#### New Contributors
- [@seh](https://togithub.com/seh) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/498](https://togithub.com/aspect-build/bazel-lib/pull/498)
- [@pjjw](https://togithub.com/pjjw) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/496](https://togithub.com/aspect-build/bazel-lib/pull/496)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.34.0...v1.34.1
### [`v1.34.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.34.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.33.0...v1.34.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.34.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 = "44f4f6d1ea1fc5a79ed6ca83f875038fee0a0c47db4f9c9beed097e56f8fad03",
strip_prefix = "bazel-lib-1.34.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.34.0/bazel-lib-v1.34.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: update to Aspect CLI 5.5.4 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/477](https://togithub.com/aspect-build/bazel-lib/pull/477)
- chore: setup CircleCI for Workflows by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/479](https://togithub.com/aspect-build/bazel-lib/pull/479)
- chore(deps): update slack orb to v4.12.5 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/481](https://togithub.com/aspect-build/bazel-lib/pull/481)
- chore(deps): update dependency io_bazel_stardoc to v0.5.6 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/441](https://togithub.com/aspect-build/bazel-lib/pull/441)
- chore(deps): update continuation orb to v1 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/474](https://togithub.com/aspect-build/bazel-lib/pull/474)
- chore(deps): update dependency buildifier_prebuilt to v6.1.2 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/472](https://togithub.com/aspect-build/bazel-lib/pull/472)
- feat: add freebsd support by [@rickystewart](https://togithub.com/rickystewart) in [https://github.com/aspect-build/bazel-lib/pull/447](https://togithub.com/aspect-build/bazel-lib/pull/447)
- Revert "chore(deps): update dependency buildifier_prebuilt to v6.1.2" by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/483](https://togithub.com/aspect-build/bazel-lib/pull/483)
- Revert "chore(deps): update dependency io_bazel_stardoc to v0.5.6" by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/484](https://togithub.com/aspect-build/bazel-lib/pull/484)
- chore: document JQ_BIN make var by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/485](https://togithub.com/aspect-build/bazel-lib/pull/485)
- chore: bump to Bazel 6.3.0 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/487](https://togithub.com/aspect-build/bazel-lib/pull/487)
- Fix `update_docs` with stardoc 0.6.0 and Bazel 7 by [@fmeum](https://togithub.com/fmeum) in [https://github.com/aspect-build/bazel-lib/pull/494](https://togithub.com/aspect-build/bazel-lib/pull/494)
#### New Contributors
- [@rickystewart](https://togithub.com/rickystewart) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/447](https://togithub.com/aspect-build/bazel-lib/pull/447)
- [@fmeum](https://togithub.com/fmeum) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/494](https://togithub.com/aspect-build/bazel-lib/pull/494)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.33.0...v1.34.0
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR is behind base branch, 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.33.0
->v1.40.2
Release Notes
aspect-build/bazel-lib (aspect_bazel_lib)
### [`v1.40.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.40.2) [Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.40.1...v1.40.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.40.2") ``` > Read more about bzlmod:Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR is behind base branch, 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.