Releases: bazel-contrib/bazel-lib
Releases · bazel-contrib/bazel-lib
v0.11.3
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
Full Changelog: v0.11.2...v0.11.3
v0.11.2
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
Full Changelog: v0.11.1...v0.11.2
v0.11.1
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
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
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
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
- fix: minor yq docs updates and fixes by @kormide in #84
- feat: add default yq and jq versions by @gregmagolan in #86
Full Changelog: v0.9.7...v0.9.8
v0.9.7
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
v0.9.6
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "fc1ad541c749187714261fe94ef6157e2c0f0cb33e1ee4197436e9c8967d161c",
strip_prefix = "bazel-lib-0.9.6",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.6.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
Full Changelog: v0.9.5...v0.9.6
v0.9.5
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "b5bdbfe570f5463607b7eff24f239c2f7ec9b2edc8db45a225e9575c4366b410",
strip_prefix = "bazel-lib-0.9.5",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.5.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
- chore: remove unused file by @gregmagolan in #77
- fix: set --nolegacy_external_runfiles in .bazelrc by @gregmagolan in #76
- feat: add some additional make variable substitutions for common useful values in the context by @gregmagolan in #73
- feat: add create_windows_native_launcher_script to lib/windows_utils.bzl by @gregmagolan in #75
- fix: make tool of run_binary cfg=exec by @gregmagolan in #74
- fix: improve execution requirements of all copy files/directory rules for better perf by @gregmagolan in #79
Full Changelog: v0.9.4...v0.9.5
v0.9.4
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "f8ae724cd54c3284892ebaf5a308ed0760a18cc0cc73ff64e0325b7556437201",
strip_prefix = "bazel-lib-0.9.4",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.4.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
- fix: add copy_file_to_bin_action and copy_files_to_bin_actions to //lib:copy_to_bin.bzl by @gregmagolan in #72
Full Changelog: v0.9.3...v0.9.4