Releases: bazel-contrib/bazel-lib
v2.7.6
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.7.6")
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 = "b59781939f40c8bf148f4a71bd06e3027e15e40e98143ea5688b83531ec8528f",
strip_prefix = "bazel-lib-2.7.6",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.6/bazel-lib-v2.7.6.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
# Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
# Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
Full Changelog: v2.7.3...v2.7.6
What's Changed
- chore: run buildifier to green up main by @gregmagolan in #841
- chore: bump to Bazel 7.1.2 by @gregmagolan in #842
- ci: green up main by @gregmagolan in #844
- chore: bump buildifier, go and gazelle deps by @gregmagolan in #845
- chore: align ci patterns by @gregmagolan in #843
- chore: tidy in MODULE.bazel file by @gregmagolan in #846
- ci: green up rbe on main by @gregmagolan in #847
- fix: coreutils download path for darwin_amd64 by @mrmeku in #853
- refactor(release): switch release integrity to be dynamic by @alexeagle in #854
- fix: integrity hashes are now sha256 since #854 by @alexeagle in #855
New Contributors
Full Changelog: v2.7.3...v2.7.6
v2.7.5
Broken, do not use.
Release integrity shas are expected in the wrong format.
v2.7.4
Broken, do not use.
The integrity hashes for release binaries in the artifact don't match the ones fetched from GitHub.
v2.7.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 = "2.7.3")
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 = "87ab4ec479ebeb00d286266aca2068caeef1bb0b1765e8f71c7b6cfee6af4226",
strip_prefix = "bazel-lib-2.7.3",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.3/bazel-lib-v2.7.3.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
# Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
# Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- fix: register @zstd_toolchains//:all by @thesayyn in #832
- fix: only check for blank space between status entries in expand_template by @com6056 in #834
- fix(tar): handle spaces in input filenames by @alexeagle in #835
- fix: coreutils toolchain: Use statically linked linux amd64 variant by @malt3 in #706
Full Changelog: v2.7.2...v2.7.3
v2.7.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 = "2.7.2")
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 = "a8a92645e7298bbf538aa880131c6adb4cf6239bbd27230f077a00414d58e4ce",
strip_prefix = "bazel-lib-2.7.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.2/bazel-lib-v2.7.2.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
# Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
# Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- fix: register tar toolchain for bzlmod users by @alexeagle in #574
- chore: remove expand_template re-export by @kormide in #580
- chore: run CI on 2.x branch by @kormide in #581
- Avoid expanding mtree spec during analysis phase by @dzbarsky in #576
- fix: fix bad import by @kormide in #583
- chore: drop Bazel 5 support for 2.0 by @alexeagle in #585
- chore: run gazelle by @alexeagle in #584
- chore: check gazelle on CI by @alexeagle in #586
- chore: remove legacy copy_to_directory_action by @kormide in #582
- chore: remove is_windows attributes by @alexeagle in #587
- refactor: remove legacy copy_directory_action helper by @gregmagolan in #589
- refactor: remove output_dir from run_binary and expand_variables by @gregmagolan in #588
- refactor: remove to_workspace_path and to_manifest_path from paths by @gregmagolan in #590
- refactor: remove exclude_prefixes from copy_to_directory and copy_to_directory_bin_action by @gregmagolan in #591
- chore: fix tar_toolchain naming by @alexeagle in #599
- Fix bzlmod by @alexeagle in #600
- feat: expose a config_setting for copy execution_requirements by @alexeagle in #606
- feat: tar includes runfiles by @alexeagle in #595
- refactor: rework toolchain registration for WORKSPACE and bzlmod users by @kormide in #597
- refactor: use _mtree_line helper by @alexeagle in #612
- chore: add windows binaries by @alexeagle in #610
- chore: upgrade to Aspect Workflows 5.8.0 by @gregmagolan in #617
- chore: remove useless check for stamped binary by @alexeagle in #618
- Update ci.yaml by @alexeagle in #619
- chore: remove bazel5 presets by @kormide in #614
- Unconditionally use runfiles.merge_all in write_source_file by @dzbarsky in #623
- chore: tweak CCI config yaml by @gregmagolan in #627
- chore: upgrade to Aspect Workflows 5.8.2 by @gregmagolan in #628
- chore: update buildifier targets used by Aspect Workflows by @gregmagolan in #629
- feat: support treeartifacts (#630) by @alexeagle in #631
- chore: don't run legacy pipeline when warming by @gregmagolan in #634
- chore: upgrade to Aspect Workflows 5.8.3 by @gregmagolan in #635
- fix: fix execution requirements for 'build without the bytes' by @gregmagolan in #639
- Revert: feat: expose a config_setting for copy execution_requirements (#606) by @gregmagolan in #640
- refactor: move 'git archive' configuration to .gitattributes by @alexeagle in #641
- fix(deps): update module github.com/bmatcuk/doublestar/v4 to v4.6.1 by @renovate in #633
- chore: green up Windows CI by @gregmagolan in #643
- chore: update bcr maintainer list by @kormide in #644
- chore: upgrade to Aspect Workflows 5.8.7 by @gregmagolan in #646
- Upgrade coreutils and add darwin arm64 binary by @dzbarsky in #649
- Use coreutils toolchain for copy_file action by @dzbarsky in #622
- fix: exclude bazeliskrc from smoke test by @kormide in #654
- fix(ci): fix bzlmod issues and enable on ci by @kormide in #658
- fix: fix a bug where toolchain repositories were potentially duplicated by @kormide in #662
- feat: expose toolchains used for copy actions by @kormide in #661
- fix: remove need for rules_go when depending on a bzl_library target (#663) by @kormide in #664
- chore: add an e2e to test copy actions by @kormide in #665
- chore: enable dynamic port allocation on workflows NAT by @kormide in #669
- chore: upgrade to Aspect Workflows 5.8.10 by @gregmagolan in #672
- docs: fix load path for copy_file_to_bin_action by @gzm0 in #673
- chore: upgrade to Aspect Workflows 5.8.15 by @gregmagolan in #674
- chore: upgrade to Aspect Workflows 5.9.0-beta.2 by @gregmagolan in #677
- feat: expose common tar variables by @thesayyn in #679
- chore: bring in aspect_rules_lint and add format task to Aspect Workflows by @gregmagolan in #681
- chore: bazel run //:format by @gregmagolan in #682
- fix: expose tar_lib as public by @thesayyn in #680
- fix(deps): update golang.org/x/exp digest to f3f8817 by @renovate in #601
- feat: introduce extension compression mapping by @thesayyn in #683
- fix: isolate rules_lint dev dependency usage into its own Bazel package by @gregmagolan in #687
- chore: run Aspect Workflows setup step on small instances by @gregmagolan in #688
- chore: improve docs about mtree mutation by @alexeagle in #692
- fix(tar): propagate testonly attr to mtree_spec by @alexeagle in #691
- chore: enable workflows delivery on demostration target by @gregmagolan in #693
- chore: upgrade to Aspect Workflows 5.9.0-rc.0 by @gregmagolan in #694
- chore: upgrade to Aspect Workflows 5.9.0-rc.7 by @gregmagolan in #695
- chore: switch to smaller 'small' instances without nvme drives by @gregmagolan in #700
- fix #697: use to_repository_relative_path in mtree_spec by @gzm0 in #696
- feat: implement bats test runner by @thesayyn in #699
- fix: create windows launcher for bats by @thesayyn in #704
- test: fix timeout by @thesayyn in #707
- chore: upgrade to Aspect Workflows 5.9.0-rc.9 by @gregmagolan in #705
- chore: upgrade to Aspect Workflows 5.9.0.rc.10 by @gregmagolan in #710
- fix: move flags that should only be set with bazel 6 to bazel6.bazelrc recommended settings by @gregmagolan in #711
- Fix prerelease by @alexeagle in #708
- chore: test against bazel 7.0.0 by @gregmagolan in #713
- feat: add is_bazel_7_or_greater utility function to public API by @gregmagolan in #714
- refactor: remove --enable-runfiles from javascript recommended bazelrc settings by @gregmagolan in #715
- chore: fix failing test on arm64 machines by @gregmagolan in https://git...
v2.7.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 = "2.7.1")
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 = "b554eb7942a5ab44c90077df6a0c76fc67c5874c9446a007e9ba68be82bd4796",
strip_prefix = "bazel-lib-2.7.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.1/bazel-lib-v2.7.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
# Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
# Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- chore: bump to bsdtar-prebuilt 3.7.2-1 binaries for linux and darwin by @gregmagolan in #819
Full Changelog: v2.7.0...v2.7.1
v1.42.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.42.3")
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 = "d0529773764ac61184eb3ad3c687fb835df5bee01afedf07f0cf1a45515c96bc",
strip_prefix = "bazel-lib-1.42.3",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.42.3/bazel-lib-v1.42.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()
Full Changelog: v142.2...v1.42.3
v2.7.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 = "2.7.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 = "357dad9d212327c35d9244190ef010aad315e73ffa1bed1a29e20c372f9ca346",
strip_prefix = "bazel-lib-2.7.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.0/bazel-lib-v2.7.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
# Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
# Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- feat: add //lib:enable_runfiles config_setting by @gregmagolan in #807
- feat: add get_home_directory to repo_utils by @gregmagolan in #809
- feat: export utils from //lib:utils.bzl to match repo_utils and platform_utils by @gregmagolan in #810
- feat: add platform_transition_test by @lamcw in #770
New Contributors
Full Changelog: v2.6.1...v2.7.0
v2.6.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 = "2.6.1")
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 = "ac6392cbe5e1cc7701bbd81caf94016bae6f248780e12af4485d4a7127b4cb2b",
strip_prefix = "bazel-lib-2.6.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.6.1/bazel-lib-v2.6.1.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
# Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
# Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- Use statically-linked bsdtar on all platforms by @alexeagle in #804
Full Changelog: v2.6.0...v2.6.1
v1.42.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.42.2")
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 = "f9a0bb072aef719859aae5ad37722e97812ffffb263fd56a36cd8614a2e5d199",
strip_prefix = "bazel-lib-1.42.2",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.42.2/bazel-lib-v1.42.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.42.1...v1.42.2