aspect-build/bazel-lib
### [`v1.31.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.31.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.31.0...v1.31.1)
Note: release notes for v1.31.0 were removed, as the change to `DEFAULT_YQ_VERSION` was more breaking than we realized, and not meeting our semver guarantee.
Please do not use that 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.31.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 = "5f3443b1d98a462a8b7330f4742483afc8b2d17c8555dd97ce4146f43e961718",
strip_prefix = "bazel-lib-1.31.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.31.1/bazel-lib-v1.31.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 to v6.1.1 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/396](https://togithub.com/aspect-build/bazel-lib/pull/396)
- fix(deps): update golang.org/x/exp digest to [`10a5072`](https://togithub.com/aspect-build/bazel-lib/commit/10a5072) by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/353](https://togithub.com/aspect-build/bazel-lib/pull/353)
- Correctly handle empty directory when checking for missing file by [@acordiner](https://togithub.com/acordiner) in [https://github.com/aspect-build/bazel-lib/pull/402](https://togithub.com/aspect-build/bazel-lib/pull/402)
- chore(deps): update dependency bazel_gazelle to v0.30.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/401](https://togithub.com/aspect-build/bazel-lib/pull/401)
- chore: use config.yml to indicate releaser by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/404](https://togithub.com/aspect-build/bazel-lib/pull/404)
- Use test command for test flags by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/406](https://togithub.com/aspect-build/bazel-lib/pull/406)
- docs(jq): document empty srcs by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/407](https://togithub.com/aspect-build/bazel-lib/pull/407)
- docs(write_source_file): specify the name of the generated diff_test by [@jbedard](https://togithub.com/jbedard) in [https://github.com/aspect-build/bazel-lib/pull/410](https://togithub.com/aspect-build/bazel-lib/pull/410)
- Chore: update YQ by [@henkerik](https://togithub.com/henkerik) in [https://github.com/aspect-build/bazel-lib/pull/405](https://togithub.com/aspect-build/bazel-lib/pull/405)
- chore: update copy directory golang binary release versions to use by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/416](https://togithub.com/aspect-build/bazel-lib/pull/416)
- chore: update to Bazel 6.1.2 and Aspect CLI 5.3.4 by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/417](https://togithub.com/aspect-build/bazel-lib/pull/417)
- fix(deps): update golang.org/x/exp digest to [`47ecfdc`](https://togithub.com/aspect-build/bazel-lib/commit/47ecfdc) by [@renovate](https://togithub.com/renovate) in [https://github.com/aspect-build/bazel-lib/pull/413](https://togithub.com/aspect-build/bazel-lib/pull/413)
- fix(yq): restore default version, reverting [#405](https://togithub.com/aspect-build/bazel-lib/issues/405) by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/421](https://togithub.com/aspect-build/bazel-lib/pull/421)
#### New Contributors
- [@henkerik](https://togithub.com/henkerik) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/405](https://togithub.com/aspect-build/bazel-lib/pull/405)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.30.0...v1.31.1
### [`v1.31.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.31.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.30.2...v1.31.0)
This release was unintentionally breaking, because `DEFAULT_YQ_VERSION` was changed and `yq` made significant breaking changes in a minor release. Please use v1.31.1 instead.
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.30.2
->v1.31.1
Release Notes
aspect-build/bazel-lib
### [`v1.31.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.31.1) [Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.31.0...v1.31.1) Note: release notes for v1.31.0 were removed, as the change to `DEFAULT_YQ_VERSION` was more breaking than we realized, and not meeting our semver guarantee. Please do not use that 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.31.1") ``` > 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.