Releases: bazel-contrib/bazel-lib
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:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.31.1")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
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:
# 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 in #396
- fix(deps): update golang.org/x/exp digest to 10a5072 by @renovate in #353
- Correctly handle empty directory when checking for missing file by @acordiner in #402
- chore(deps): update dependency bazel_gazelle to v0.30.0 by @renovate in #401
- chore: use config.yml to indicate releaser by @alexeagle in #404
- Use test command for test flags by @alexeagle in #406
- docs(jq): document empty srcs by @alexeagle in #407
- docs(write_source_file): specify the name of the generated diff_test by @jbedard in #410
- Chore: update YQ by @henkerik in #405
- chore: update copy directory golang binary release versions to use by @gregmagolan in #416
- chore: update to Bazel 6.1.2 and Aspect CLI 5.3.4 by @gregmagolan in #417
- fix(deps): update golang.org/x/exp digest to 47ecfdc by @renovate in #413
- fix(yq): restore default version, reverting #405 by @alexeagle in #421
New Contributors
Full Changelog: v1.30.0...v1.31.1
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.
v1.30.2
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.30.2")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "97fa63d95cc9af006c4c7b2123ddd2a91fb8d273012f17648e6423bae2c69470",
strip_prefix = "bazel-lib-1.30.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.30.2/bazel-lib-v1.30.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# 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: detect bzlmod automatically rather than requiring the user sets… by @alexeagle in #397
Full Changelog: v1.30.1...v1.30.2
v1.30.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
# Due to a publishing problem, workaround BCR for this release:
bazel_dep(name = "aspect_bazel_lib", version = "1.29.2")
archive_override(
module_name = "aspect_bazel_lib",
integrity = "sha256-5Qv2bboZb/HKzSFoZ+E2FBA0PScs4Menexyo8WlVu4o=",
strip_prefix = "bazel-lib-1.30.0",
urls = ["https://github.com/aspect-build/bazel-lib/releases/download/v1.30.0/bazel-lib-v1.30.0.tar.gz"],
)
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "e50bf66dba196ff1cacd216867e1361410343d272ce0c7a77b1ca8f16955bb8a",
strip_prefix = "bazel-lib-1.30.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.30.0/bazel-lib-v1.30.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# 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: windows CI by @gregmagolan in #395
- feat: detect bzlmod automatically rather than requiring the user sets… by @alexeagle in #397
Full Changelog: v1.29.2...v1.30.0
v1.30.1
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.30.1")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "965c64e7eed12b208fb49cd731d8c0dae2b3b3a64917437c899a0f5c5f292dcc",
strip_prefix = "bazel-lib-1.30.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.30.1/bazel-lib-v1.30.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# 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: windows CI by @gregmagolan in #395
Full Changelog: v1.29.2...v1.30.1
v1.29.2
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.29.2")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "ee95bbc80f9ca219b93a8cc49fa19a2d4aa8649ddc9024f46abcdd33935753ca",
strip_prefix = "bazel-lib-1.29.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.29.2/bazel-lib-v1.29.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# 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: v1.29.1...v1.29.2
v1.29.1
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "087f347a1725b299915f8ab81887c61e1911ed482a56c5d8985a0e190f080326",
strip_prefix = "bazel-lib-1.29.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.29.1/bazel-lib-v1.29.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# 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: disable stardoc under bzlmod and windows by default by @alexeagle in #394
Full Changelog: v1.29.0...v1.29.1
v1.29.0
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "0aed9a6e7612b2968b5aa1ac0f801f5ec956ec2c04810da2c1445cac34938596",
strip_prefix = "bazel-lib-1.29.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.29.0/bazel-lib-v1.29.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# 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(bazelrc-presets): restore 60s progress rate on CI by @alexeagle in #383
- chore: update to Aspect CLI 5.2.1 by @gregmagolan in #389
- Update link to example from angular by @garymm in #388
- fix: remove merkle tree caching by @kormide in #390
- chore: use coreutils hashsum by @thesayyn in #333
- chore: remove unnecessary call to register_coreutils_toolchains() in e2e/coreutils by @gregmagolan in #393
New Contributors
Full Changelog: v1.28.0...v1.29.0
v1.28.0
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.28.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "2518c757715d4f5fc7cc7e0a68742dd1155eaafc78fb9196b8a18e13a738cea2",
strip_prefix = "bazel-lib-1.28.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.28.0/bazel-lib-v1.28.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# 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
- docs: include from-HEAD install by @alexeagle in #382
- Presets cleanup by @kormide in #384
- chore: set --heap_dump_on_oom preset to apply to all commands by @kormide in #385
- feat: add consistent_label_str utility to generate consistent label strings for all Bazel versions by @gregmagolan in #386
- chore: update to Aspect CLI 5.2.0-rc0 by @gregmagolan in #387
Full Changelog: v1.27.2...v1.28.0
v1.27.2
Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.27.2")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "b4cd1114874ab15f794134eefbc254eb89d3e1de640bf4a11f2f402e886ad29e",
strip_prefix = "bazel-lib-1.27.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.27.2/bazel-lib-v1.27.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# 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 --experimental_guard_against_concurrent_changes from recommended correctness settings by @gregmagolan in #380
Full Changelog: v1.27.1...v1.27.2