Skip to content

Releases: fmeum/with_cfg.bzl

v0.9.1

07 Feb 13:21
178f719
Compare
Choose a tag to compare

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.9.1")

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 = "d1d3049822d594e0057adbf6ad084242340eb37ec7cb8d43779710a9311ecd14",
    strip_prefix = "with_cfg.bzl-0.9.1",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.9.1/with_cfg.bzl-v0.9.1.tar.gz",
)

What's Changed

  • Mark reset targets as testonly when modifying test rules by @hisener in #157

New Contributors

Full Changelog: v0.9.0...v0.9.1

v0.9.0

25 Jan 10:49
bf2bd54
Compare
Choose a tag to compare

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.9.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 = "c7fa32453b178b668e228280e818c719195477438bb8a21de96e8aee2b89e6bd",
    strip_prefix = "with_cfg.bzl-0.9.0",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.9.0/with_cfg.bzl-v0.9.0.tar.gz",
)

What's Changed

  • Update presubmit.yml after package renaming by @fmeum in #149
  • Update dependency platforms to v0.0.11 by @renovate in #150
  • Update dependency bazel to v8.0.1 by @renovate in #152
  • Update dependency bazel_features to v1.24.0 by @renovate in #153
  • Extend cc_{binary,test} if supported by @fmeum in #154

Full Changelog: v0.8.0...v0.9.0

v0.8.0

08 Jan 15:58
1357a4f
Compare
Choose a tag to compare

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.8.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 = "e217adc62da01febd08e1e074e78b307dc10b40a24175c68c1bf49e3f8d0fbab",
    strip_prefix = "with_cfg.bzl-0.8.0",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.8.0/with_cfg.bzl-v0.8.0.tar.gz",
)

What's Changed

  • Update dependency bazel_features to v1.22.0 by @renovate in #139
  • Test and fix docs for Bazel 8 by @fmeum in #141
  • Actually check that transition applies in cc_define_test by @fmeum in #144
  • Update dependency bazel_features to v1.23.0 by @renovate in #143
  • Use rule(parent = ...) when possible by @fmeum in #145
  • Deduplicate extra_providers against built-in providers by @fmeum in #147
  • Only forward Python providers by default if available without load by @fmeum in #148

Full Changelog: v0.7.0...v0.8.0

v0.7.0

06 Dec 12:46
6e6d4f4
Compare
Choose a tag to compare

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.7.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 = "38474c6dae1d690587b5dcc4d27e6d3e438c01e6bab144160fb8ba2e47b82668",
    strip_prefix = "with_cfg.bzl-0.7.0",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.7.0/with_cfg.bzl-v0.7.0.tar.gz",
)

What's Changed

  • Fixes in preparation for symbolic macros by @fmeum in #137
  • Create a symbolic macro if supported by @fmeum in #138

Full Changelog: v0.6.1...v0.7.0

v0.6.1

03 Dec 18:36
5257b0e
Compare
Choose a tag to compare

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.6.1")

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 = "d83f99ac39cd9940848ea11a51a60159cf09cda2ba30545036041551aae73ab4",
    strip_prefix = "with_cfg.bzl-0.6.1",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.6.1/with_cfg.bzl-v0.6.1.tar.gz",
)

What's Changed

  • Update dependency bazel to v7.4.1 by @renovate in #131
  • Update MSVC version by @fmeum in #132
  • Only set exec_properties on the underlying rule by @fmeum in #134
  • Don't flag new releases as prereleases by @fmeum in #135

Full Changelog: v0.6.0...v0.6.1

v0.6.0

08 Nov 21:42
3765532
Compare
Choose a tag to compare

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.6.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 = "81a8714ad1542ce6bd69c8e32bf3c4123f137854e6b676d099d8a709348eee56",
    strip_prefix = "with_cfg.bzl-0.6.0",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.6.0/with_cfg.bzl-v0.6.0.tar.gz",
)

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

23 Aug 07:31
020ded5
Compare
Choose a tag to compare

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

v0.4.2

30 Jul 17:21
34fb5aa
Compare
Choose a tag to compare

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.4.2")

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 = "6a3fd69a532ed2e592a5f0f1b5b88b574c34f1f01d54976745d5065129858287",
    strip_prefix = "with_cfg.bzl-0.4.2",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.4.2/with_cfg.bzl-v0.4.2.tar.gz",
)

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.4.1

30 Jul 15:15
2c93dc2
Compare
Choose a tag to compare

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.4.1")

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 = "816015be09024487a65b31d476c1874c3e5dec0a8b9e335c3fe813a5fbd9ff27",
    strip_prefix = "with_cfg.bzl-0.4.1",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.4.1/with_cfg.bzl-v0.4.1.tar.gz",
)

What's Changed

  • Sync back changes to presubmit.yml by @fmeum in #106
  • Only special case args for *_binary and *_test rules by @fmeum in #110

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

v0.4.0

24 Jul 14:50
fdcaa33
Compare
Choose a tag to compare

What's Changed

  • BREAKING CHANGE: Modify path layout to fix relative RPATH lookups by @fmeum in #104
    The paths of executable files generated by transitioned executable targets have changed and now include an additional segment named after the rule. This means that hardcoded runfiles paths need to be updated, e.g. from my_repo/some/pkg/bin.exe to my_repo/some/pkg/bin/bin.exe. This change is necessary to fix issues with shared library dependencies (see #85). You can opt out of this change temporarily via --no@with_cfg.bzl//:incompatible_same_depth_path_layout. It is usually recommended to avoid hardcoding runfiles paths of generated files - instead, rely on $(rlocationpath ...).

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.4.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 = "c8a28c2bc635270c5ca76e47fa5dd75a0ab3cd76e9fb837a76b8006a5a92a7a6",
    strip_prefix = "with_cfg.bzl-0.4.0",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.4.0/with_cfg.bzl-v0.4.0.tar.gz",
)

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