Skip to content

Releases: bazel-contrib/bazel-lib

v2.9.3

19 Oct 06:08
1e45f06
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

15 Oct 21:07
43f8b3e
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

26 Sep 16:08
b48be23
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

19 Sep 01:35
c5f65e8
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

Full Changelog: v2.8.1...v2.9.0

v2.8.1

19 Aug 20:40
73d021f
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

Full Changelog: v2.8.0...v2.8.1

v2.8.0

14 Aug 18:34
a36dd12
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

New Contributors

Full Changelog: v2.7.9...v2.8.0

v2.7.9

20 Jul 05:14
cc956d8
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

21 Jun 21:19
18ae5a8
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

v2.7.7

28 May 18:19
7a8f00c
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.7.7")

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 = "6d758a8f646ecee7a3e294fbe4386daafbe0e5966723009c290d493f227c390b",
    strip_prefix = "bazel-lib-2.7.7",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.7/bazel-lib-v2.7.7.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

  • refactor: pre-factors for fix in copy_to_directory by @gregmagolan in #858
  • fix: exclude files in copy_to_directory before checking their realpath by @gregmagolan in #857

Full Changelog: v2.7.6...v2.7.7

v2.7.6

23 May 23:29
22c33df
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

New Contributors

Full Changelog: v2.7.3...v2.7.6