Skip to content

Releases: bazel-contrib/bazel-lib

v0.9.6

20 Apr 05:07
3e4024c
Compare
Choose a tag to compare
v0.9.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 = "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

14 Apr 17:52
d59ca60
Compare
Choose a tag to compare
v0.9.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 = "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

13 Apr 21:00
b9bc7a4
Compare
Choose a tag to compare
v0.9.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 = "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

v0.9.3

13 Apr 20:49
6828d92
Compare
Choose a tag to compare
v0.9.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 = "8c61ca679301f757bedb5a1106efdacf2e26c5d99d9297861e121c73849caf44",
    strip_prefix = "bazel-lib-0.9.3",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.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

  • refactor: split copy_to_bin_action into copy_file_to_bin_action and copy_files_to_bin_actions by @gregmagolan in #71

Full Changelog: v0.9.2...v0.9.3

v0.9.2

13 Apr 19:44
62bb04d
Compare
Choose a tag to compare
v0.9.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 = "fe7eb29f526b9997b53305e76d26d08f9ff93161bb76fe698907961bc1927544",
    strip_prefix = "bazel-lib-0.9.2",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.9.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 copy_to_bin_action for use in other rules by @gregmagolan in #70

Full Changelog: v0.9.1...v0.9.2

v0.9.1

12 Apr 23:34
b2955dc
Compare
Choose a tag to compare
v0.9.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 = "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

Full Changelog: v0.9.0...v0.9.1

v0.9.0

12 Apr 01:28
Compare
Choose a tag to compare
v0.9.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 = "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

06 Apr 18:33
0f30bf9
Compare
Choose a tag to compare
v0.8.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 = "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

01 Apr 18:02
Compare
Choose a tag to compare
v0.8.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 = "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

01 Apr 18:01
e679a26
Compare
Choose a tag to compare
v0.8.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 = "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