Releases: bazel-contrib/bazel-lib
v2.0.0-beta0
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 = "2.0.0-beta0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "39ecbb25198950bab1cddc0f36e271f95a3e8bdb102c70e5c3ca6beb48602799",
strip_prefix = "bazel-lib-2.0.0-beta0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.0.0-beta0/bazel-lib-v2.0.0-beta0.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: upgrade to Aspect Workflows 5.8.0-rc9 by @gregmagolan in #557
- chore: upgrade to Aspect Workflows 5.8.0-rc11 by @gregmagolan in #558
- chore: update to Aspect CLI 5.7.2 by @gregmagolan in #559
- feat: add assert_directory_contains test to testing.bzl by @gregmagolan in #560
- feat: add undeclared output mode to expand_template by @gregmagolan in #561
- fix(ci): don't run patch on windows by @alexeagle in #562
- chore: update pre-commit buildifier by @alexeagle in #563
- chore(deps): update dependency buildifier_prebuilt to v6.3.3 by @renovate in #489
- chore: bump to latest version of Aspect Workflows starter image by @gregmagolan in #571
Full Changelog: v1.35.0...v2.0.0-beta0
v1.35.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.35.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
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:
# 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 in #521
- chore(deps): update dependency bazel_gazelle to v0.33.0 by @renovate in #522
- fix(deps): update golang.org/x/exp digest to 9212866 by @renovate in #432
- chore(deps): update dependency platforms to v0.0.7 by @renovate in #491
- chore(deps): update actions/checkout action to v4 by @renovate in #523
- docs: Add --incompatible_disallow_empty_glob to correctness.bazelrc by @thirtyseven in #524
- chore: upgrade to Aspect Workflows 5.8.0-rc6 by @gregmagolan in #530
- fix: check in generated bazelrcs by @thesayyn in #535
- chore: fix red ci by @alexeagle in #534
- feat: expand_template allows inline template content by @alexeagle in #533
- feat: add list utils by @mgred in #512
- feat: update
copy_to_directory
tool to accept the name of its workspace and automatically include files from it by @dgp1130 in #488 - fix: lookup source files from execroot when running diff_test on RBE by @mattem in #531
- refactor: remove stamp information from tools by @thesayyn in #537
- refactor: add ability to test against tools from source by @thesayyn in #532
- fix: allow for BUILD files in outputs of write_source_file by @mattem in #540
- refactor: cleanup e2e by @thesayyn in #542
- chore: upgrade to Aspect Workflows 5.8.0-rc8 by @gregmagolan in #546
- refactor: consume tools from source if unstamped by @thesayyn in #543
- docs: add minimum pre-commit version by @mgred in #544
- chore: set --remote_download_minimal and --nobuild_runfile_links for all Workflows tasks by @gregmagolan in #549
- fix: macos sed by @thesayyn in #550
- chore: bump GKE machine type to e2-standard-2 by @gregmagolan in #551
- feat: add
propagate_common_{,test_,binary_}rule_attributes
to lib/utils. by @reltuk in #553 - chore: rules_go is a non-dev dep at HEAD by @alexeagle in #554
- fix(ci): always build with -c opt by @alexeagle in #555
- ci: add assertion that bcr patches apply by @alexeagle in #556
New Contributors
- @thirtyseven made their first contribution in #524
- @mgred made their first contribution in #512
- @dgp1130 made their first contribution in #488
- @reltuk made their first contribution in #553
Full Changelog: v1.34.5...v1.35.0
v1.34.5
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.34.5")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
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:
# 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 in #518
Full Changelog: v1.34.4...v1.34.5
v1.34.4
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.34.4")
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 = "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:
# 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 in #517
- fix(expand_template): correct output permissions by @alexeagle in #516
Full Changelog: v1.34.3...v1.34.4
v1.34.3
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.34.3")
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 = "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:
# 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 in #514
- refactor: invert the conditional for setting version by @alexeagle in #515
Full Changelog: v1.34.2...v1.34.3
v1.34.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.34.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 = "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:
# 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 in #509
- chore: update to Aspect Workflows 5.7.3 by @gregmagolan in #511
- chore: pull in bazel-contrib/rules-template#93 by @alexeagle in #513
Full Changelog: v1.34.1...v1.34.2
v1.34.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.34.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 = "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:
# 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 in #499
- docs: clarify write_source_files output constraint by @seh in #498
- chore: update to Aspect Workflows 5.7.0-rc10 by @gregmagolan in #500
- chore(deps): update dependency bazel to v6.3.2 by @renovate in #492
- chore: update to Aspect Workflows 5.7.0 by @gregmagolan in #501
- docs: add comment regarding linux-arm64 JQ toolchain by @mattem in #503
- chore: add test coverage for run_binary & expand_variables makevars by @gregmagolan in #504
- chore: Switch to buildbuddy for RBE by @alexeagle in #507
- refactor: reduce execution requirements for copy by @alexeagle in #506
- fix: green up red main CI by @alexeagle in #508
- yq: allow any filename in srcs by @pjjw in #496
New Contributors
Full Changelog: v1.34.0...v1.34.1
v1.34.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.34.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 = "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:
# 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 in #477
- chore: setup CircleCI for Workflows by @gregmagolan in #479
- chore(deps): update slack orb to v4.12.5 by @renovate in #481
- chore(deps): update dependency io_bazel_stardoc to v0.5.6 by @renovate in #441
- chore(deps): update continuation orb to v1 by @renovate in #474
- chore(deps): update dependency buildifier_prebuilt to v6.1.2 by @renovate in #472
- feat: add freebsd support by @rickystewart in #447
- Revert "chore(deps): update dependency buildifier_prebuilt to v6.1.2" by @alexeagle in #483
- Revert "chore(deps): update dependency io_bazel_stardoc to v0.5.6" by @alexeagle in #484
- chore: document JQ_BIN make var by @alexeagle in #485
- chore: bump to Bazel 6.3.0 by @gregmagolan in #487
- Fix
update_docs
with stardoc 0.6.0 and Bazel 7 by @fmeum in #494
New Contributors
- @rickystewart made their first contribution in #447
- @fmeum made their first contribution in #494
Full Changelog: v1.33.0...v1.34.0
v1.33.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.33.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 = "d488d8ecca98a4042442a4ae5f1ab0b614f896c0ebf6e3eafff363bcc51c6e62",
strip_prefix = "bazel-lib-1.33.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.33.0/bazel-lib-v1.33.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: clarify rlocationpath by @alexeagle in #430
- fix: add queue name to workflows config by @kormide in #450
- chore(deps): update dependency bazel_gazelle to v0.31.1 by @renovate in #443
- chore(deps): update dependency bazel_skylib to v1.4.2 by @renovate in #453
- chore(deps): update dependency bazel to v6.2.1 by @renovate in #445
- ci: add bazel 7 prerelease tests by @jbedard in #452
- ci: enable buildifier check on ci by @jbedard in #451
- chore: disable bazel 7 on windows by @jbedard in #455
- chore: disable buildifier on windows by @jbedard in #454
- chore: disable bazel 5 tests on windows by @jbedard in #458
- feat: yq supports stamping by @malt3 in #456
- chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.4.2 by @renovate in #446
- Use actual newline (instead of "\n") to split strings in yq rule by @malt3 in #464
- chore(deps): update dependency buildifier_prebuilt to v6.1.0 by @renovate in #469
- chore(deps): update dependency io_bazel_rules_go to v0.41.0 by @renovate in #465
- chore(deps): update dependency bazel_gazelle to v0.32.0 by @renovate in #473
- chore(deps): update dependency bazel_skylib to v1.4.2 by @renovate in #462
- Update coreutils_toolchain.bzl by @alexeagle in #467
- docs: this sentence shouldn't be quoted by @alexeagle in #475
- fix(windows): use HOMEPATH in place of HOME by @alexeagle in #476
New Contributors
Full Changelog: v1.32.1...v1.33.0
v1.32.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.32.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 = "e3151d87910f69cf1fc88755392d7c878034a69d6499b287bcfc00b1cf9bb415",
strip_prefix = "bazel-lib-1.32.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.32.1/bazel-lib-v1.32.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.2.0 by @renovate in #433
- fix(stardoc): stop skipping stardoc w bzlmod by @alexeagle in #440
Full Changelog: v1.32.0...v1.32.1