Releases: bufbuild/rules_buf
Releases · bufbuild/rules_buf
v0.3.0
What's Changed
- Add
protoc_args
attribute tobuf_lint_test
andbuf_breaking_test
by @sushain97 in #50 - Get the os info from repo ctx by @kusaeva in #58
- Add sha256 support for bzlmod case by @adrianimboden in #61
- Add
module
option tolint
andbreaking
rules by @srikrsna-buf in #65 - Add gazelle support for
v2
by @srikrsna-buf in #66 - Add support for multiple config files of different versions by @srikrsna-buf in #68
WORKSPACE
Code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_buf",
integrity = "sha256-Hr64Q/CaYr0E3ptAjEOgdZd1yc+cBjp7OG1wzuf3DIs=",
strip_prefix = "rules_buf-0.3.0",
urls = [
"https://github.com/bufbuild/rules_buf/archive/refs/tags/v0.3.0.zip",
],
)
load("@rules_buf//buf:repositories.bzl", "rules_buf_dependencies", "rules_buf_toolchains")
rules_buf_dependencies()
rules_buf_toolchains(
version = "v1.32.1",
)
# rules_proto
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
New Contributors
- @chrispine made their first contribution in #56
- @kusaeva made their first contribution in #58
- @adrianimboden made their first contribution in #61
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
- Mark lint and breaking tests as timeout short by default by @titanous in #35
- Support fully deterministic toolchain by @sushain97 in #36
- Add repository_url option for buf downloads to allow mirroring by @Andrius-B in #40
- Add bzlmod support by @alexeagle in #42
- Support
--error-format
by @srikrsna-buf in #45 - Fix gazelle overwriting matching rules by @srikrsna-buf in #44
- Support gazelle in bzlmod by @srikrsna-buf in #46
WORKSPACE
Code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_buf",
sha256 = "bc2488ee497c3fbf2efee19ce21dceed89310a08b5a9366cc133dd0eb2118498",
strip_prefix = "rules_buf-0.2.0",
urls = [
"https://github.com/bufbuild/rules_buf/archive/refs/tags/v0.2.0.zip",
],
)
load("@rules_buf//buf:repositories.bzl", "rules_buf_dependencies", "rules_buf_toolchains")
rules_buf_dependencies()
rules_buf_toolchains(
sha256 = "05dfb45d2330559d258e1230f5a25e154f0a328afda2a434348b5ba4c124ece7",
version = "v1.28.1",
)
# rules_proto
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
New Contributors
- @rubensf made their first contribution in #30
- @titanous made their first contribution in #35
- @sushain97 made their first contribution in #36
- @Andrius-B made their first contribution in #40
- @alexeagle made their first contribution in #42
Full Changelog: v0.1.1...v0.2.0
v0.1.1
What's Changed
Bugfixes
Fix args file conflict while using multiple test rules in the same BUILD
file reported by @iamricard in #21
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
This is the first public release of rules_buf
. See the blog for details.
WORKSPACE
Code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_buf",
sha256 = "3fe244c9efa42a41edd83f63dee1b5570a1951a654030658b86bfaea6a268164",
strip_prefix = "rules_buf-0.1.0",
urls = [
"https://github.com/bufbuild/rules_buf/archive/refs/tags/v0.1.0.zip",
],
)
load("@rules_buf//buf:repositories.bzl", "rules_buf_dependencies", "rules_buf_toolchains")
rules_buf_dependencies()
rules_buf_toolchains()
# rules_proto
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()