Skip to content

Releases: theoremlp/rules_multitool

v1.0.0

08 Nov 18:57
f1b4543
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "1.0.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "b9a89272141733ba869e358726b5042c60a535c1d695c97b9c7df9b05ae34020",
    strip_prefix = "rules_multitool-1.0.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v1.0.0/rules_multitool-1.0.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

# required since 0.15.0 to enable only downloading tools used by this workspace
load("@multitool//:tools.bzl", "register_tools")

register_tools()

What's Changed

Full Changelog: v0.15.0...v1.0.0

v0.15.0

05 Nov 02:57
9f5b741
Compare
Choose a tag to compare

Breaking Changes

(WORKSPACE users only): WORKSPACE users must now include an additional load and function call:

load("@multitool//:tools.bzl", "register_tools")

register_tools()

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.15.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "e1de5ada5b032b18e0a85b4791a06939568eb515d1ed1b2b2c9da8d922bb563b",
    strip_prefix = "rules_multitool-0.15.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.15.0/rules_multitool-0.15.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

# required since 0.15.0 to enable only downloading tools used by this workspace
load("@multitool//:tools.bzl", "register_tools")

register_tools()

What's Changed

  • Update bazel-contrib/setup-bazel action to v0.9.1 by @renovate-thm in #61
  • Lazily download tools by @mark-thm in #62
  • Eliminate the extra workspace repo by @mark-thm in #63

Full Changelog: v0.14.0...v0.15.0

v0.14.0

31 Oct 11:04
795cc7b
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.14.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "5f2267777e9bcc01c7cbf475463952b1ee3732bff32e09e4bfdcd605d8983b28",
    strip_prefix = "rules_multitool-0.14.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.14.0/rules_multitool-0.14.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

  • feat: add rule to run tool in BUILD_WORKSPACE_DIRECTORY by @thomasquinn in #60

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

11 Oct 18:20
2daa11c
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.13.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "edc9f212163c8596d3cfdcc1caa4ae1ce1b22801ef688c078ef1cc6cda56412d",
    strip_prefix = "rules_multitool-0.13.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.13.0/rules_multitool-0.13.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

  • Run our own test matrix by @mark-thm in #55
  • Update bazel-contrib/setup-bazel action to v0.9.0 by @renovate-thm in #56

Full Changelog: v0.12.0...v0.13.0

v0.12.0

12 Jul 15:31
fe0a9b8
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.12.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "9b685ce8e454c938dbee54488f7c36bedd7c1c39db8a0c980c11c2115cb26388",
    strip_prefix = "rules_multitool-0.12.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.12.0/rules_multitool-0.12.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

  • Use netrc when configured for download auth by @mark-thm in #51

Full Changelog: v0.10.0...v0.12.0

v0.11.0

08 Jul 18:34
dfea28a
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.11.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "ac97f3ab2869d1490130e68280366d4559510266a5b215c628c5afd4bd245d4e",
    strip_prefix = "rules_multitool-0.11.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.11.0/rules_multitool-0.11.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

  • Only enforce minimum Bazel version for Windows artifacts on Windows by @peakschris in #50

Full Changelog: v0.10.0...v0.11.0

v0.10.0

18 Jun 20:18
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.10.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "7a86b4653b46a573a5cc25f5a2f05f104f1cbc73a427ab8977293eab0885a241",
    strip_prefix = "rules_multitool-0.10.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.10.0/rules_multitool-0.10.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

  • Fix export files glob and explicitly error on bad file references by @mark-thm in #48

Full Changelog: v0.9.0...v0.10.0

v0.9.0

17 Jun 23:03
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.9.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "314d09774c44e2d7bdf2b5f45c2150913e853270d247874807a00c1e1e5e9dd6",
    strip_prefix = "rules_multitool-0.9.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.9.0/rules_multitool-0.9.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

New Contributors

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

v0.8.0

14 Jun 19:37
28cac8e
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.8.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "491e7f7bfe9032027e88fc835e9b29514f89c64222100a7a16a72291bc77e224",
    strip_prefix = "rules_multitool-0.8.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.8.0/rules_multitool-0.8.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

  • Add docs about how to update multitool's lockfile by @mark-thm in #31
  • chore(deps): update bazel-contrib/.github action to v6 by @renovate-thm in #37
  • Disable renovating Bazel dependencies by @mark-thm in #38
  • Simplify the download steps of release in automation.md by @hunshcn in #40
  • Fix lockfile registration to ensure root module lockfiles win conflicts by @mark-thm in #43

New Contributors

  • @renovate-thm made their first contribution in #37
  • @hunshcn made their first contribution in #40

Full Changelog: v0.7.1...v0.8.0

v0.7.1

16 Apr 01:24
60a5472
Compare
Choose a tag to compare

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.7.1")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "b354be5278ef326dbf613e5d52ac5d897c0b410bcdc2b577b8a7a682ed1c5a37",
    strip_prefix = "rules_multitool-0.7.1",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.7.1/rules_multitool-0.7.1.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

Full Changelog: v0.7.0...v0.7.1