Skip to content

Releases: fmeum/with_cfg.bzl

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

v0.3.0

22 Jul 13:39
d7193de
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.3.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 = "b52ed07d9126df79360513110071c37df905f66230eba67b7f2de4d5f7ffa0d1",
    strip_prefix = "with_cfg.bzl-0.3.0",
    url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.3.0/with_cfg.bzl-v0.3.0.tar.gz",
)

What's Changed

  • Add support for location expansion in args by @fmeum in #100

Full Changelog: v0.2.5...v0.3.0

v0.2.5

20 Jun 08:13
cb40258
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.2.5")

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

What's Changed

  • Sort loads with new buildifier version by @fmeum in #81
  • Update dependency platforms to v0.0.10 by @renovate in #84
  • Update dependency bazel to v7.1.2 by @renovate in #86
  • add example of running same Java test suite on multiple JDK versions by @mattnworb in #89
  • Update MSVC version in CI by @fmeum in #92
  • Update dependency bazel to v7.2.0 by @renovate in #93
  • Simplify CI setup and use prebuilt protoc by @fmeum in #90
  • Update dependency contrib_rules_jvm to v0.27.0 by @renovate in #91
  • Add support for go_test by @fmeum in #97

New Contributors

Full Changelog: v0.2.4...v0.2.5

v0.2.4

07 Apr 15:56
5c68a87
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.2.4")

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

What's Changed

  • Update MSVC path in CI by @fmeum in #72
  • Update dependency bazel to v7.1.0 by @renovate in #73
  • Do not set XDG_CACHE_HOME by @fmeum in #74
  • Update dependency bazel to v7.1.1 by @renovate in #76
  • Update dependency platforms to v0.0.9 by @renovate in #77
  • Update bazel-contrib/.github action to v6 by @renovate in #71
  • Fix attr name collision when transitioning --features by @fmeum in #79
  • Suggest dropping the "//command_line_option:" prefix by @fmeum in #80

Full Changelog: v0.2.3...v0.2.4