v0.14.1
Breaking changes
We want validation rules to be easy to understand for authors and consumers. To simplify Protovalidate, as of v0.14.0, we are renaming an option and remove two others. This is a breaking change, and you will have to update your Protobuf files if they use the relevant options :
IGNORE_IF_UNPOPULATEDis renamed toIGNORE_IF_ZERO_VALUE.
See #397 for details.(buf.validate.message).disabledis removed.
You can replace it by addingIGNORE_ALWAYSto every field of the message. See #394 for details.IGNORE_IF_DEFAULT_VALUEis removed.
In most cases, you can replace it withIGNORE_IF_ZERO_VALUE. See #396 for details.
MODULE.bazel Usage
bazel_dep(name = "protovalidate", version = "0.14.1")WORKSPACE Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "6f0002f4755dc80bb1c06a658e579eb4d119d9462181e5a54bb1d2e994d572b4",
strip_prefix = "protovalidate-0.14.1",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v0.14.1/protovalidate-0.14.1.tar.gz",
],
)What's Changed
- Fixing a comment by @jrinehart-buf in #398
Full Changelog: v0.14.0...v0.14.1