Skip to content

Releases: bazel-contrib/bazel-lib

v0.11.6

17 May 00:25
Compare
Choose a tag to compare
v0.11.6 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "3de897140e0bc821fb10842114e2e01f11c9e4947e060d3c1ccc8857fb240f10",
    strip_prefix = "bazel-lib-0.11.6",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.11.6.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

Full Changelog: v0.11.5...v0.11.6

v0.11.5

16 May 23:48
Compare
Choose a tag to compare
v0.11.5 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "d74c2463ceed5db1daf880264064208330eb82c57a80d2d90b710098b0b27cc7",
    strip_prefix = "bazel-lib-0.11.5",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.11.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

  • fix: don't sort versions in bcr metadata.josn by @kormide in #103
  • refactor: show a more helpful error message in copy_to_bin by @kormide in #104
  • fix: only use ctx.attr.patches if patches param is not specified by @gregmagolan in #105
  • fix: add mnemonic to jq and yq by @thesayyn in #106
  • docs: link to docsite in README by @kormide in #107
  • feat: mirror releases to bcr by @kormide in #108

New Contributors

Full Changelog: v0.11.4...v0.11.5

v0.11.4

03 May 03:40
Compare
Choose a tag to compare
v0.11.4 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "77dae4a9ac464d810b58a0ab06d6410c2b4149d7bc7add607652b2b851eb404d",
    strip_prefix = "bazel-lib-0.11.4",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.11.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

  • fix: fix a bug where bcr action wouldn't follow redirects to artifact by @kormide in #101
  • fix: fix a bug where yq failed to build in the root package by @kormide in #98
  • style: minor nit, use destructuring assignment by @alexeagle in #102

Full Changelog: v0.11.3...v0.11.4

v0.11.3

03 May 02:47
Compare
Choose a tag to compare
v0.11.3 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "e86beb77a8270dbaa55bb121b0c440790bed6e4b5cf0ebf2785fe4149c06509a",
    strip_prefix = "bazel-lib-0.11.3",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.11.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

  • debug: add some logging to debug bcr action by @kormide in #100

Full Changelog: v0.11.2...v0.11.3

v0.11.2

03 May 02:26
0bea5cc
Compare
Choose a tag to compare
v0.11.2 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "af247c6a14f3238e03aa69718fb2b87a1eda03354cdf420866e38352f2772261",
    strip_prefix = "bazel-lib-0.11.2",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.11.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

  • test: change release action to use app token by @kormide in #99

Full Changelog: v0.11.1...v0.11.2

v0.11.1

03 May 01:52
fc855df
Compare
Choose a tag to compare
v0.11.1 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "a8b47eeaf3c1bd41c4f4b633ef4c959daf83fdee343379495098b50571d4b3b8",
    strip_prefix = "bazel-lib-0.11.1",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.11.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

  • chore: rename all instances of repository_ctx to the preferred rctx by @gregmagolan in #92
  • chore: use aspect_bazel_lib diff_test by @gregmagolan in #94
  • chore: replace is_windows select pattern with target_platform_has_constraint pattern by @gregmagolan in #95
  • chore: normalize @generated by comments by @gregmagolan in #93
  • refactor: export copy_to_directory_lib in the public API for use downstream in packaging rules by @gregmagolan in #96
  • feat: post a pr to bcr on successful release by @kormide in #97

Full Changelog: v0.11.0...v0.11.1

v0.11.0

29 Apr 00:00
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "14e84b21189d857539c083df223c8ae2eb58f56beb3da3ec746db1265f689c7a",
    strip_prefix = "bazel-lib-0.11.0",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.11.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

  • feat: support bzlmod usage of jq/yq by @alexeagle in #88
  • feat: add @aspect_bazel_lib_host repository and normalize function names in repo_utils by @gregmagolan in #90
  • feat: make it easier to resolve jq/yq toolchains from a repository rule by @kormide in #89

Full Changelog: v0.10.0...v0.11.0

v0.10.0

27 Apr 20:36
04c0f95
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "f8afbf8592a79ad80af485489a78887e578d29735edaff6d4af3983337da60b0",
    strip_prefix = "bazel-lib-0.10.0",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.10.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

  • feat: rename @yq_host and @jq_host to @yq and @jq respectively and export bin() function in index.bzl to get bin label for host platform by @gregmagolan in #87

Full Changelog: v0.9.8...v0.10.0

v0.9.8

23 Apr 19:09
c2d4481
Compare
Choose a tag to compare
v0.9.8 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "2f6f04a002a9f988ae79107a91a8498892fb03bee978a8bf841eb1bd9fded2ea",
    strip_prefix = "bazel-lib-0.9.8",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.8.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(version = "1.6")

# Register the following toolchain to use yq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")

register_yq_toolchains(version = "4.24.5")

What's Changed

Full Changelog: v0.9.7...v0.9.8

v0.9.7

22 Apr 01:52
Compare
Choose a tag to compare
v0.9.7 Pre-release
Pre-release

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "aedc52557a74dc69d0be0638d6bad38f0f617e2fef475a2945e2662ae5ee2f94",
    strip_prefix = "bazel-lib-0.9.7",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.7.tar.gz",
)

load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

aspect_bazel_lib_dependencies()

# Optional: register the following toolchain to use jq

load("@aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")

register_jq_toolchains(version = "1.6")

What's Changed

  • feat: add os_arch_name() function to repo_utils and cleanup yq & jq toolchains for repository names follow this convention by @gregmagolan in #82
  • feat: add jq_host and yq_host repositories by @gregmagolan in #83

Full Changelog: v0.9.6...v0.9.7