Skip to content

Releases: bazel-contrib/bazel-lib

v0.8.0

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

31 Mar 23:55
096133e
Compare
Choose a tag to compare
v0.7.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 = "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

28 Mar 21:59
3599515
Compare
Choose a tag to compare
v0.6.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 = "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

16 Mar 02:24
bda5c63
Compare
Choose a tag to compare
v0.6.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 = "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

16 Mar 00:39
3b93ee0
Compare
Choose a tag to compare
v0.6.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 = "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

v0.5.3

15 Mar 00:40
3b93ee0
Compare
Choose a tag to compare
v0.5.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 = "4f018d3c685174115188ffb778fca10a3f43f82bbbf0aa63361c1cd02f708dbb",
    strip_prefix = "bazel-lib-0.5.3",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.5.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

  • Add default_info_files rule & DirectoryPathInfo support in write_source_files and diff_test by @gregmagolan in #48

Full Changelog: v0.5.2...v0.5.3

v0.5.2

15 Mar 00:37
Compare
Choose a tag to compare
v0.5.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 = "de63c0e08e29c610ad1e271bb0901b381b27f3cae64f3bc06e43c2852fa41b8c",
    strip_prefix = "bazel-lib-0.5.2",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.5.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

  • reimplement stardoc_with_diff_test to use write_source_files by @kormide in #45

Full Changelog: v0.5.1...v0.5.2

v0.5.1

10 Mar 22:04
0fd56dc
Compare
Choose a tag to compare
v0.5.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 = "a4106313859a0eefe73d2d5f09902b52489df31e36e7b1af883af15d406c6f87",
    strip_prefix = "bazel-lib-0.5.1",
    url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.5.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: write_source_files bulk write for windows by @kormide in #43
  • feat: write to source folders by @kormide in #41
  • feat: add directory_path rule and DirectoryPathInfo for specifying files within tree artifacts by @gregmagolan in #42

Full Changelog: v0.5.0...v0.5.1

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