Skip to content

v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Aug 07:31
· 27 commits to main since this release
020ded5

Using Bzlmod

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

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "with_cfg.bzl",
    sha256 = "5a923622216ba4545f50d5a3d895be373a9fe3a71f18d0036e276315da4fe67a",
    strip_prefix = "with_cfg.bzl-0.5.0",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.5.0/with_cfg.bzl-v0.5.0.tar.gz",
)

What's Changed

  • Add a clone() method to builders by @fmeum in #117
    Also includes stricter checks for mutations of builders after build() has been called.
    Values passed to set or extend are now deeply copied instead of retained by reference.

Full Changelog: v0.4.2...v0.5.0