Releases: bazel-contrib/bazel-lib
Releases · bazel-contrib/bazel-lib
v0.9.1
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "2694728a2abe68bf6068aab81ec8d76b897038aafa49065c70689ec56a4ec440",
strip_prefix = "bazel-lib-0.9.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.1.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 copy_directory_action help to the public API by @gregmagolan in #67
- feat: add copy_file_action helper function to the public API by @gregmagolan in #68
- feat: add copy_to_bin rule by @gregmagolan in #69
Full Changelog: v0.9.0...v0.9.1
v0.9.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "a8f2bd1cd7e66ea2fc05a20875ef0bc013a138b9395a89b8445ad24832482c45",
strip_prefix = "bazel-lib-0.9.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.0.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 repo_utils with fork of @bazel_tools patch function that takes a working_directory argument by @gregmagolan in #66
Full Changelog: v0.8.3...v0.9.0
v0.8.3
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "b3de6702d48904e8dbe9b45d29e5f07d3258d826981fda87424462b36f16b35f",
strip_prefix = "bazel-lib-0.8.3",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.8.3.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
- update buildifier and fix formatting by @kormide in #61
- feat: add copy_directory by @kormide in #63
- refactor: remove directory functionality from copy_file by @kormide in #64
- fix(write_source_files): fix nested directories by @jbedard in #65
Full Changelog: v0.8.2...v0.8.3
v0.8.2
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "cd818c793f2d1fc9ae3ca2cbe90b5affd54db4a5ed1f1543831b78c7f14938c5",
strip_prefix = "bazel-lib-0.8.2",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.8.2.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.8.1...v0.8.2
v0.8.1
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "46d5fea317514b0efa09b3343ddcf7f576af95ae402155f40ab591cd621a6c28",
strip_prefix = "bazel-lib-0.8.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.8.1.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: use -R instead of -r in cp calls so macos & linux behavior is the same by @gregmagolan in #58
Full Changelog: v0.8.0...v0.8.1
v0.8.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "a1a035af1504c14215bcd7e9db3041ecb94f681128e77d6edd45532273bfe1f2",
strip_prefix = "bazel-lib-0.8.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.8.0.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 run_binary with output directory support & improved makevar expansion by @gregmagolan in #57
Full Changelog: v0.7.0...v0.8.0
v0.7.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "acad0272a64362354756a27f43bddd9150368ee8b96eb2c114cfd2f9e4ce6c13",
strip_prefix = "bazel-lib-0.7.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.7.0.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
- test - add bash script tests to CI by @jbedard in #54
- fix(write_source_files): fix writing to workspace root by @jbedard in #53
- test(write_source_files): ensure generated git-ignored files are created by @jbedard in #56
- feat: platform_transition_filegroup by @alexeagle in #55
New Contributors
Full Changelog: v0.6.2...v0.7.0
v0.6.2
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "e1576ba9a488945ada050bf24d71700d7f792389efb9af72e5132b2db6ceb26e",
strip_prefix = "bazel-lib-0.6.2",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.6.2.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 diff_test attr to write_source_file(s) for .gitignored files by @gregmagolan in #52
Full Changelog: v0.6.1...v0.6.2
v0.6.1
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "4d709266337d8e147fb647d6dfa3bbcfb6983ab79bece9cf661e3dc13ae3c3bc",
strip_prefix = "bazel-lib-0.6.1",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.6.1.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: replace default_info_files with output_files which adds output_group attribute by @gregmagolan in #50
Full Changelog: v0.6.0...v0.6.1
v0.6.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "db5934e4fad078b0e5654ea5036bbd2e16f24b211c87849add9130da1ac7cc63",
strip_prefix = "bazel-lib-0.6.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.6.0.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
- Add default_info_files rule & DirectoryPathInfo support in write_source_files and diff_test by @gregmagolan in #48
Full Changelog: v0.5.2...v0.6.0