Releases: bazel-contrib/bazel-lib
v2.10.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.10.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 = "7b39d9f38b82260a8151b18dd4a6219d2d7fc4a0ac313d4f5a630ae6907d205d",
strip_prefix = "bazel-lib-2.10.0",
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.10.0/bazel-lib-v2.10.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
- fix(tar): handle directories with spaces in name by @alexeagle in #984
- feat: bats_test: add junit report to test results by @pjjw in #982
- docs: Update jq docs to show correct escaping by @ChrisChinchilla in #983
- refactor: Fix no-else-after-return by @hofbi in #988
- fix: honor umask in write_source_file by @sitaktif in #986
- fix: Disable the non-deterministic time header when using gzip compression by @hofbi in #989
- fix(deps): update module golang.org/x/sys to v0.28.0 by @renovate in #981
- chore(deps): update dependency bazel to v7.4.1 by @renovate in #971
- fix(bats_test): use env var rather than symbolic link by @alexeagle in #991
- chore(deps): Enable renovate for pre-commit by @hofbi in #994
- chore: start testing on Bazel 8 by @alexeagle in #972
- chore(deps): update pre-commit hook keith/pre-commit-buildifier to v7 by @renovate in #1000
- chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5 by @renovate in #1001
- chore(deps): update pre-commit hook commitizen-tools/commitizen to v4 by @renovate in #999
- chore(deps): update pre-commit hook crate-ci/typos to v1.28.2 by @renovate in #997
- feat(bzlmod): mark toolchains extension as reproducible by @cerisier in #970
- feat: Forward RunEnvironmentInfo if present by @molar in #1008
- ci(pre-commit): Add pre-commit CI job by @hofbi in #1002
- chore(deps): update dependency bazel to v8 by @renovate in #1004
- fix(tar): handle strip_prefix of root directory in mtree_mutate by @j-eid in #995
New Contributors
- @ChrisChinchilla made their first contribution in #983
- @sitaktif made their first contribution in #986
- @cerisier made their first contribution in #970
- @molar made their first contribution in #1008
- @j-eid made their first contribution in #995
Full Changelog: v2.9.4...v2.10.0
v2.9.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 = "2.9.4")
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 = "349aabd3c2b96caeda6181eb0ae1f14f2a1d9f3cd3c8b05d57f709ceb12e9fb3",
strip_prefix = "bazel-lib-2.9.4",
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.4/bazel-lib-v2.9.4.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: allow_tags_propagation defaults true in 7 by @alexeagle in #973
- docs: warn about gzip timestamps by @thesayyn in #979
- fix: access FilesToRunProvider.repo_mapping_manifest indirectly by @plobsing in #976
Full Changelog: v2.9.3...v2.9.4
v2.9.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.9.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 = "a272d79bb0ac6b6965aa199b1f84333413452e87f043b53eca7f347a23a478e8",
strip_prefix = "bazel-lib-2.9.3",
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.3/bazel-lib-v2.9.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: go back to bsdtar-prebuilt 3.7.4 but with a release with a working windows binary by @gregmagolan in #969
Full Changelog: v2.9.2...v2.9.3
v2.9.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.9.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 = "0e31778f1fd574d2c05d238bfc4c785fa4b7e50a5ef38b506e01cfd8ec2fccb3",
strip_prefix = "bazel-lib-2.9.2",
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.2/bazel-lib-v2.9.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: update metadata.template.json for LF donation by @alexeagle in #950
- feat: support bzlmod runfiles lookups by @plobsing in #953
- chore(deps): update dependency bazel to v7.3.2 by @renovate in #955
- feat(presets): java bazelrc options by @alexeagle in #947
- fix: unknown repo error with mtree_mutate and Bzlmod by @mering in #948
- fix(bazelrc): move flag to bazel6.bazelrc by @ajwerner in #959
- chore(docs): add tar to API listing by @alexeagle in #960
- chore: update old reference to aspect-build/bazel-lib by @gregmagolan in #962
- perf: report unused inputs for the tar rule by @plobsing in #951
- fix(deps): update module github.com/bmatcuk/doublestar/v4 to v4.7.1 by @renovate in #961
- fix: Use transitioned target platform for
platform_transition_test
by @fmeum in #965 - fix: Make build pass with --incompatible_auto_exec_groups by @dzbarsky in #963
New Contributors
Full Changelog: v2.9.1...v2.9.2
v2.9.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.9.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 = "f93d386d8d0b0149031175e81df42a488be4267c3ca2249ba5321c23c60bc1f0",
strip_prefix = "bazel-lib-2.9.1",
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.1/bazel-lib-v2.9.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
- fix: declare host_platform as non-dev dep by @jbedard in #945
- fix(presets): restore build runfile links for the 'coverage' command by @alexeagle in #943
Full Changelog: v2.9.0...v2.9.1
v2.9.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.9.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 = "da67c6a785cdc10faf960a22c44501fe6be357a6ebd2bd6101560f9c2a9e06b3",
strip_prefix = "bazel-lib-2.9.0",
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.0/bazel-lib-v2.9.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
- chore: skip linux only tests on non-linux platforms by @gregmagolan in #912
- chore: right size tests to supress bazel warning by @gregmagolan in #913
- chore: bump to Bazel 7.3.1 by @gregmagolan in #914
- refactor: make root workspace bzlmod only by @gregmagolan in #915
- chore: enable go, shell, yaml formatters and bazel run //:format by @gregmagolan in #917
- chore: remove non-bzlmod dep on @internal_platforms_do_not_use//host:constraints.bzl now that root workspace is bzlmod-only by @gregmagolan in #916
- fix: github workflow vulnerable to script injection by @diogoteles08 in #899
- chore: use aspect workflows RBE by @kormide in #919
- chore: now testing on Aspect Workflows RBE by @gregmagolan in #920
- chore: cleanup before bazel-contrib handoff by @gregmagolan in #918
- chore(deps): update dependency io_bazel_rules_go to v0.50.0 by @renovate in #925
- fix(deps): update golang.org/x/exp digest to 9b4947d by @renovate in #923
- chore(deps): update coreutils to v0.0.27 by @plobsing in #905
- perf: Improve copy_file.bzl's progress_message and do some cleanup by @dzbarsky in #931
- chore(deps): update dependency io_bazel_rules_go to v0.50.1 by @renovate in #930
- feat: performance preset: nobuild_runfiles_links by @alexeagle in #922
- chore(deps): update dependency bazel_skylib to v1.7.1 by @renovate in #924
- chore(deps): upgrade to newest bsdtar by @alexeagle in #940
- fix: add empty files to tar by @thesayyn in #939
- chore: update git urls by @alexeagle in #926
- fix: moving the preserve mtime test logic to Go for portability by @jpinkul in #908
- chore(deps): update dependency rules_go to v0.50.1 by @renovate in #941
- chore: stable job name for branch protection by @alexeagle in #883
- feat: add an option to not include copy_to_directory output in runfiles by @kormide in #886
- fix(tar): pick up bsdtar windows fix by @alexeagle in #942
New Contributors
- @diogoteles08 made their first contribution in #899
Full Changelog: v2.8.1...v2.9.0
v2.8.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.8.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 = "688354ee6beeba7194243d73eb0992b9a12e8edeeeec5b6544f4b531a3112237",
strip_prefix = "bazel-lib-2.8.1",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.8.1/bazel-lib-v2.8.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: green up CI on main branch by @alexeagle in #904
- refactor: deprecated expand_locations which is just pass-through to ctx.expand_location() by @gregmagolan in #910
- chore: fixup test sizes to resolve warnings by @gregmagolan in #911
- fix: correctly split quoted args by @gregmagolan in #909
Full Changelog: v2.8.0...v2.8.1
v2.8.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.8.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 = "cea19e6d8322fb212f155acb58d1590f632e53abde7f1be5f0a086a93cf4c9f4",
strip_prefix = "bazel-lib-2.8.0",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.8.0/bazel-lib-v2.8.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
- chore: upgrade to Aspect Workflows 5.10.9 by @gregmagolan in #881
- chore(deps): update bsdtar prebuilt by @alexeagle in #882
- fix: Set size to a default value as well as timeout. by @matts1 in #839
- chore(typos): Add typos hook plus some fixes by @hofbi in #637
- chore: upgrade to Aspect Workflows 5.10.11 by @gregmagolan in #888
- chore: upgrade to Aspect Workflows 5.10.12 by @gregmagolan in #890
- fix(typos): Fix almost all typos with hook by @hofbi in #884
- docs(tar): point to the tests as useful examples by @alexeagle in #892
- chore(deps): upgrade stardoc by @alexeagle in #894
- chore: bazel run //:gazelle_update_repos by @gregmagolan in #895
- perf: use darwin's clonefile syscall by @plobsing in #893
- fix: add bzlmod use_repo of org_golang_x_sys by @plobsing in #896
- feat: Adding a preserve mtime feature to copy_to_directory and copy_directory by @jpinkul in #898
- fix(docs): description of jq example didn't match behavior by @alexeagle in #897
- chore: turn off bzlmod misguided warning by @alexeagle in #901
- chore: bazel run //:buildifier by @gregmagolan in #903
New Contributors
- @matts1 made their first contribution in #839
- @hofbi made their first contribution in #637
- @plobsing made their first contribution in #893
- @jpinkul made their first contribution in #898
Full Changelog: v2.7.9...v2.8.0
v2.7.9
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.9")
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 = "c780120ab99a4ca9daac69911eb06434b297214743ee7e0a1f1298353ef686db",
strip_prefix = "bazel-lib-2.7.9",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.9/bazel-lib-v2.7.9.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
- perf: reduce concatenation in relative_path by @jbedard in #868
- fix(tar): expose package_dir argument in mtree_mutate by @gzm0 in #873
- fix(tar): append slash to top-level directory mtree entries by @sin-ack in #852
New Contributors
Full Changelog: v2.7.8...v2.7.9
v2.7.8
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.8")
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 = "714cf8ce95a198bab0a6a3adaffea99e929d2f01bf6d4a59a2e6d6af72b4818c",
strip_prefix = "bazel-lib-2.7.8",
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.8/bazel-lib-v2.7.8.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
- test: add test / example of using rootpath on a run_binary directory output by @gregmagolan in #862
- chore: add --check_direct_dependencies to .bazelrc by @gregmagolan in #864
- fix: Directory hidden files in write_source_file. by @jgiles in #860
- docs: add missing default stamp var by @alexeagle in #865
- chore: upgrade bsdtar to 3.7.4 by @alexeagle in #866
- fix: allow copy_to_directory to have an empty srcs list by @gregmagolan in #871
New Contributors
Full Changelog: v2.7.7...v2.7.8