aspect-build/bazel-lib
### [`v1.26.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.26.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.26.1...v1.26.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.26.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 = "dce068f085e9eabfec6d795caaabdbbe4a73550810f3cae3035aff7162e42b3c",
strip_prefix = "bazel-lib-1.26.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.26.2/bazel-lib-v1.26.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: fixup BCR presubmit; it doesn't like symlinks to rc files by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/374](https://togithub.com/aspect-build/bazel-lib/pull/374)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.26.1...v1.26.2
### [`v1.26.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.26.1)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.26.0...v1.26.1)
#### 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 = "d4879ccfbe9138f16af341346f19e0025e92c070d6bcd64fb4fc86ace4c8f30e",
strip_prefix = "bazel-lib-1.26.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.26.1/bazel-lib-v1.26.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: fixup BCR presubmit failure by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/373](https://togithub.com/aspect-build/bazel-lib/pull/373)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.26.0...v1.26.1
### [`v1.26.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.26.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.25.0...v1.26.0)
#### 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 = "a001471335f3b629a0cafac75c33bcced4a8b40c71eaae080afc3422e99e66d4",
strip_prefix = "bazel-lib-1.26.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.26.0/bazel-lib-v1.26.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: turn on more basic precommit checks by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/372](https://togithub.com/aspect-build/bazel-lib/pull/372)
- build: add MacOS and Windows to CI for landed commits by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/371](https://togithub.com/aspect-build/bazel-lib/pull/371)
- feat: add write_aspect_bazelrc_presets macro by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/370](https://togithub.com/aspect-build/bazel-lib/pull/370)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.25.0...v1.26.0
### [`v1.25.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.25.0)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.24.2...v1.25.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.25.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 = "d2a71e1e39961535db2f9164c7a588cff1a86938564634532062ed3a3cf307b3",
strip_prefix = "bazel-lib-1.25.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.25.0/bazel-lib-v1.25.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: migrate Aspect Workflows configuration past breaking changes by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/355](https://togithub.com/aspect-build/bazel-lib/pull/355)
- fix: fix a bug where `bazel run @jq//:jq` cannot be run on M1 by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/354](https://togithub.com/aspect-build/bazel-lib/pull/354)
- fix: show directory being copied to in copy_to_directory progress message by [@jbedard](https://togithub.com/jbedard) in [https://github.com/aspect-build/bazel-lib/pull/345](https://togithub.com/aspect-build/bazel-lib/pull/345)
- fix: allow additional attributes to be passed to assert_\* tests by [@kormide](https://togithub.com/kormide) in [https://github.com/aspect-build/bazel-lib/pull/357](https://togithub.com/aspect-build/bazel-lib/pull/357)
- feat: add to_rlocation_path and to_repository_relative_path functions to paths.bzl by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/362](https://togithub.com/aspect-build/bazel-lib/pull/362)
- Fix Realpath relying on path.IsAbs which does not work on windows by [@jacobgardner](https://togithub.com/jacobgardner) in [https://github.com/aspect-build/bazel-lib/pull/358](https://togithub.com/aspect-build/bazel-lib/pull/358)
- fix: incorrect 'find -type' argument used on MacOS by [@acordiner](https://togithub.com/acordiner) in [https://github.com/aspect-build/bazel-lib/pull/366](https://togithub.com/aspect-build/bazel-lib/pull/366)
- chore: fix spelling by [@alexeagle](https://togithub.com/alexeagle) in [https://github.com/aspect-build/bazel-lib/pull/368](https://togithub.com/aspect-build/bazel-lib/pull/368)
- feat: make bazel-lib the source-of-truth for Aspect recommended bazelrc settings by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/369](https://togithub.com/aspect-build/bazel-lib/pull/369)
#### New Contributors
- [@jacobgardner](https://togithub.com/jacobgardner) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/358](https://togithub.com/aspect-build/bazel-lib/pull/358)
- [@acordiner](https://togithub.com/acordiner) made their first contribution in [https://github.com/aspect-build/bazel-lib/pull/366](https://togithub.com/aspect-build/bazel-lib/pull/366)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.24.2...v1.25.0
### [`v1.24.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.24.2)
[Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.24.1...v1.24.2)
#### Using Bzlmod with Bazel 6:
1. Enable with `common --enable_bzlmod` in `.bazelrc`.
2. Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_bazel_lib", version = "1.24.2")
```
> Read more about bzlmod:
#### Using WORKSPACE
Paste this snippet into your file:
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "ef83252dea2ed8254c27e65124b756fc9476be2b73a7799b7a2a0935937fc573",
strip_prefix = "bazel-lib-1.24.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.24.2/bazel-lib-v1.24.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
```
Optional toolchains:
```starlark
### Register the following toolchain to use jq
load("@aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
### Register the following toolchain to use yq
load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
```
#### What's Changed
- fix: update copy_directory and copy_to_directory to use binaries with copy concurrency limited by [@gregmagolan](https://togithub.com/gregmagolan) in [https://github.com/aspect-build/bazel-lib/pull/352](https://togithub.com/aspect-build/bazel-lib/pull/352)
**Full Changelog**: https://github.com/aspect-build/bazel-lib/compare/v1.24.1...v1.24.2
Configuration
š Schedule: Branch creation - "before 3am 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.24.1
->v1.26.2
Release Notes
aspect-build/bazel-lib
### [`v1.26.2`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.26.2) [Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.26.1...v1.26.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.26.2") ``` > Read more about bzlmod:Configuration
š Schedule: Branch creation - "before 3am 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.