Skip to content

v3.0.1

Choose a tag to compare

@github-actions github-actions released this 02 Dec 14:23
· 14 commits to main since this release
3a6b910

Using Bzlmod

Add to your MODULE.bazel file:

bazel_dep(name = "bazel_lib", version = "3.0.1")

Using WORKSPACE (deprecated)

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_lib",
    sha256 = "8b074b1a2731d29f6b95defdca95297354dc424492caf7019cf6b9f36afba54f",
    strip_prefix = "bazel-lib-3.0.1",
    url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.0.1/bazel-lib-v3.0.1.tar.gz",
)

load("@bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains")

# Required bazel-lib dependencies

bazel_lib_dependencies()

# Required rules_shell dependencies
load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")

rules_shell_dependencies()

rules_shell_toolchains()

# Register bazel-lib toolchains

bazel_lib_register_toolchains()

# Create the host platform repository transitively required by bazel-lib

load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@platforms//host:extension.bzl", "host_platform_repo")

maybe(
    host_platform_repo,
    name = "host_platform",
)

What's Changed

  • chore(deps): Bazel 9 is RC now by @alexeagle in #1207
  • fix: build for bazel 9 by @hofbi in #1215
  • chore: Remove version from local bazel_dep by @hofbi in #1214
  • chore: Consistent file naming for conventional commits and release by @hofbi in #1213

Full Changelog: v3.0.0...v3.0.1