Skip to content

Releases: bazel-contrib/bazel_features

v0.2.0

31 Jul 18:43
4c01421
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "bazel_features", version = "0.2.0")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "bazel_features",
    sha256 = "1aabce613b3ed83847b47efa69eb5dc9aa3ae02539309792a60e705ca4ab92a5",
    strip_prefix = "bazel_features-0.2.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v0.2.0/bazel_features-v0.2.0.tar.gz",
)
load("@bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()

What's Changed

  • Add a bazel_feature to gate the grep_includes parameter by @scentini in #17

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

27 Jul 17:04
9da382d
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "bazel_features", version = "0.1.0")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "bazel_features",
    sha256 = "f3082bfcdca73dc77dcd68faace806135a2e08c230b02b1d9fbdbd7db9d9c450",
    strip_prefix = "bazel_features-0.1.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v0.1.0/bazel_features-v0.1.0.tar.gz",
)
load("@bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()

What's Changed

  • Make globals.bzl private and add docs by @fmeum in #7
  • Configure Renovate by @renovate in #9
  • Update bazel-contrib/.github action to v3 by @renovate in #11
  • Update dependency bazel to v6.2.1 by @renovate in #10
  • Update dependency bazel to v6.3.0 by @renovate in #13
  • Export .bzl files for Stardoc by @fmeum in #16
  • feat: expose a flag name for allow_unresolved_symlinks by @alexeagle in #15

New Contributors

Full Changelog: v0.0.1...v0.1.0

v0.0.1

03 May 13:51
985bcae
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "bazel_features", version = "0.0.1")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "bazel_features",
    sha256 = "5836c7e7b23cd20bcaef703838ee320580fe535d0337b981fb2c8367ec2a070b",
    strip_prefix = "bazel_features-0.0.1",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v0.0.1/bazel_features-v0.0.1.tar.gz",
)
load("@bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()

What's Changed

  • initial commit with two basic features by @Wyverald in #1
  • Add bazel_features.bzlmod.is_enabled by @fmeum in #2
  • Provide conditional access to globals via bazel_features.globals by @fmeum in #3
  • Add find_cpp_toolchain feature by @fmeum in #6
  • Rename bazel_features.bzlmod to bazel_features.external_deps by @Wyverald in #4
  • CI, release, publish-to-BCR automation by @Wyverald in #5

New Contributors

Full Changelog: https://github.com/bazel-contrib/bazel_features/commits/v0.0.1