Skip to content

Releases: bazel-contrib/bazel-lib

v0.5.0

01 Mar 16:06
71c1b89
Compare
Choose a tag to compare
v0.5.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 = "5f5f1237601d41d61608ad0b9541614935839232940010f9e62163c3e53dc1b7",
    strip_prefix = "bazel-lib-0.5.0",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.5.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

  • build: add a presubmit.yml file for bazel buildkite ci by @kormide in #33
  • fix: fix typo in bazel ci config file name by @kormide in #34
  • fix: fix buildifier 5.0.0 errors by @kormide in #35
  • chore: Update github archive URLs to have stable SHAs by @alexeagle in #32
  • feat: write_source_files windows implementation by @kormide in #37
  • feat: bulk updates for write_source_files by @kormide in #40

Full Changelog: v0.4.3...v0.5.0

v0.4.3

07 Feb 18:17
Compare
Choose a tag to compare
v0.4.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 = "ca5ae17c88cf7235e720ac97b2f5b0509a02eacfc43f6f6dd4c831dacbe197c6",
    strip_prefix = "bazel-lib-0.4.3",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.4.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

  • [utils] propagate CPU tags by @mattem in #24
  • build: fix ci build caching by @kormide in #25
  • fix: use robocopy in copy_file#is_directory and copy_to_directory by @gregmagolan in #26
  • fix: add missing .bzl suffix in release template loads by @mattem in #29
  • fix: improve jq usage docs by @kormide in #30
  • feat: write_source_files by @kormide in #28

New Contributors

Full Changelog: v0.4.2...v0.4.3

v0.4.2

22 Dec 00:58
Compare
Choose a tag to compare
v0.4.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 = "534c9c61b72c257c95302d544984fd8ee63953c233292c5b6952ca5b33cd225e",
    strip_prefix = "bazel-lib-0.4.2",
    url = "https://github.com/aspect-build/bazel-lib/archive/v0.4.2.tar.gz",
)

load("@aspect_bazel_lib//lib:repositories", "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.4.1...v0.4.2

v0.4.1

18 Dec 00:57
87cecb5
Compare
Choose a tag to compare
v0.4.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 = "c3d259bf275a8666b38f9aa796eb8200310e7294d77aa690ef5ba516da50250a",
    strip_prefix = "bazel-lib-0.4.1",
    url = "https://github.com/aspect-build/bazel-lib/archive/v0.4.1.tar.gz",
)

load("@aspect_bazel_lib//lib:repositories", "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

  • docs: add jq usage examples by @kormide in #16
  • feat: add include_external_repositories and exclude_prefixes attributes to copy_to_directory by @gregmagolan in #17
  • fix: allow tags/visibility on jq rule by @alexeagle in #19

Full Changelog: v0.4.0...v0.4.1

v0.4.0

15 Dec 19:53
4c2620c
Compare
Choose a tag to compare
v0.4.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 = "a28dbee79b1382a170d4b93ba676a9e31cea48f1985dbdd4ee500211d2a005e9",
    strip_prefix = "bazel-lib-0.4.0",
    url = "https://github.com/aspect-build/bazel-lib/archive/v0.4.0.tar.gz",
)

load("@aspect_bazel_lib", "aspect_bazel_lib_dependencies")

aspect_bazel_lib_dependencies()

# Optional: register the following toolchain to use jq

load("@aspect_bazel_lib", "register_jq_toolchains")

register_jq_toolchains(version = "1.6")

What's Changed

  • fix: release archive needs a strip_prefix by @alexeagle in #14
  • Add jq toolchain and rule by @kormide in #11
  • docs: update workspace snippet with jq instructions by @kormide in #15

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

11 Dec 19:42
Compare
Choose a tag to compare
v0.3.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 = "e834c368f36cb336b5b42cd1dd9cd4b6bafa0ad3ed7f92f54a47e5ab436e4f59",
    strip_prefix = "bazel-lib-0.3.0",
    url = "https://github.com/aspect-build/bazel-lib/archive/v0.3.0.tar.gz",
)

What's Changed

Full Changelog: v0.2.7...v0.3.0

v0.2.7

02 Dec 02:12
48b0a77
Compare
Choose a tag to compare
v0.2.7 Pre-release
Pre-release

WORKSPACE snippet:

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "5b80d60e00a7ea2d9d540c594e5ec41c946c163e272056c626026fcbb7918de2",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v0.2.7/bazel_lib-0.2.7.tar.gz",
)

v0.2.6

17 Nov 05:50
Compare
Choose a tag to compare
v0.2.6 Pre-release
Pre-release

WORKSPACE snippet:

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "8c8cf0554376746e2451de85c4a7670cc8d7400c1f091574c1c1ed2a65021a4c",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v0.2.6/bazel_lib-0.2.6.tar.gz",
)

v0.2.5

11 Nov 15:06
Compare
Choose a tag to compare
v0.2.5 Pre-release
Pre-release

WORKSPACE snippet:

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "b1bb3575ec16e7e11ee0fcf57802b82435144cc25bb97861b77e07894543cc8a",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v0.2.5/bazel_lib-0.2.5.tar.gz",
)

v0.2.3

10 Nov 18:41
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release
release