Releases: bufbuild/protovalidate
v1.0.0
Protovalidate is now v1.0
After two years of development, Protovalidate has reached v1.0, marking our commitment to stability and production readiness.
Read more in our blog post. Get started at https://protovalidate.com.
MODULE.bazel
Usage
bazel_dep(name = "protovalidate", version = "1.0.0")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "39a3f262614ffc23e89507f4dbdae535d8d73021713f580733b6a8dfdf06f734",
strip_prefix = "protovalidate-1.0.0",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v1.0.0/protovalidate-1.0.0.tar.gz",
],
)
What's Changed
There are no functional changes compared to the previous release.
- Revising comments on required by @jrinehart-buf in #407
Full Changelog: v0.14.2...v1.0.0
v0.14.2
MODULE.bazel
Usage
bazel_dep(name = "protovalidate", version = "0.14.2")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "16b6f99df8bf9c712ffb4f41bfb309e16774f193da191124d11ded5fdf44009d",
strip_prefix = "protovalidate-0.14.2",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v0.14.2/protovalidate-0.14.2.tar.gz",
],
)
What's Changed
- Update to new BCR workflow by @jchadwick-buf in #402
Full Changelog: v0.14.1...v0.14.2
v1.0.0-rc.6
Breaking changes
We want validation rules to be easy to understand for authors and consumers. To simplify Protovalidate, 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_UNPOPULATED
is renamed toIGNORE_IF_ZERO_VALUE
.
See #397 for details.(buf.validate.message).disabled
is removed.
You can replace it by addingIGNORE_ALWAYS
to every field of the message. See #394 for details.IGNORE_IF_DEFAULT_VALUE
is removed.
In most cases, you can replace it withIGNORE_IF_ZERO_VALUE
. See #396 for details.
MODULE.bazel
Usage
bazel_dep(name = "protovalidate", version = "1.0.0-rc.6")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "1115d00e2eb8482e932355a7cef6cddadb89138c706614ff26bd9391ef974c96",
strip_prefix = "protovalidate-1.0.0-rc.6",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v1.0.0-rc.6/protovalidate-1.0.0-rc.6.tar.gz",
],
)
Full Changelog: v1.0.0-rc.5...v1.0.0-rc.6
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_UNPOPULATED
is renamed toIGNORE_IF_ZERO_VALUE
.
See #397 for details.(buf.validate.message).disabled
is removed.
You can replace it by addingIGNORE_ALWAYS
to every field of the message. See #394 for details.IGNORE_IF_DEFAULT_VALUE
is 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
v0.14.0
Breaking changes
We want validation rules to be easy to understand for authors and consumers. To simplify Protovalidate, 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_UNPOPULATED
is renamed toIGNORE_IF_ZERO_VALUE
.
See #397 for details.(buf.validate.message).disabled
is removed.
You can replace it by addingIGNORE_ALWAYS
to every field of the message. See #394 for details.IGNORE_IF_DEFAULT_VALUE
is 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.0")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "5e33d5682c4983857c84658883aadc42a2e0cc4ad455c78f2120b969953f988e",
strip_prefix = "protovalidate-0.14.0",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v0.14.0/protovalidate-0.14.0.tar.gz",
],
)
v1.0.0-rc.5
MODULE.bazel
Usage
bazel_dep(name = "protovalidate", version = "1.0.0-rc.5")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "abdb4dd4344e3c513cad73dc61a3a611dc18f37b36a01f0a6e528141b498e713",
strip_prefix = "protovalidate-1.0.0-rc.5",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v1.0.0-rc.5/protovalidate-1.0.0-rc.5.tar.gz",
],
)
What's Changed
- Clarify Protovalidate field presence by @timostamm in #385
- Fix WORKSPACE bazel instructions in release message by @wheals in #386
New Contributors
- @srikrsna-buf made their first contribution in #379
- @wheals made their first contribution in #386
Full Changelog: v0.1.0.0-rc.4...v1.0.0-rc.5
v0.13.4
MODULE.bazel
Usage
bazel_dep(name = "protovalidate", version = "0.13.4")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "9774ccdac0295debc20347deaba45a083a9983d9492e6022a20684b19051e74a",
strip_prefix = "protovalidate-0.13.4",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v0.13.4/protovalidate-0.13.4.tar.gz",
],
)
What's Changed
- Clarify Protovalidate field presence by @timostamm in #385
- Fix WORKSPACE bazel instructions in release message by @wheals in #386
New Contributors
Full Changelog: v0.13.3...v0.13.4
v1.0.0-rc.4
MODULE.bazel
Usage
bazel_dep(name = "protovalidate", version = "1.0.0-rc.4")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "2696d31de3fda2d73f63dfadfd0983f3b8652fae48458b9848a7e84be26fff0d",
strip_prefix = "protovalidate-1.0.0-rc.4",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v1.0.0-rc.4/protovalidate-v1.0.0-rc.4.tar.gz",
],
)
What's Changed
- Add implicit
IGNORE_IF_UNPOPULATED
forMessageOneofRule
fields by @srikrsna-buf in #382 - Add test case for ignore override in message oneof rule by @srikrsna-buf in #383
- Add test case for too many selected fields with required MessageOneofRule by @timostamm in #384
Full Changelog: v1.0.0-rc.3...v1.0.0-rc.4
v0.13.3
MODULE.bazel
Usage
bazel_dep(name = "protovalidate", version = "0.13.3")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "78d612f682b4fcd67cae637f43bda6504df229681cf33c905299d00a70c56db8",
strip_prefix = "protovalidate-0.13.3",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v0.13.3/protovalidate-v0.13.3.tar.gz",
],
)
What's Changed
- Add test case for ignore override in message oneof rule by @srikrsna-buf in #383
- Add test case for too many selected fields with required MessageOneofRule by @timostamm in #384
Full Changelog: v0.13.2...v0.13.3
v0.13.2
MODULE.bazel
Usage
bazel_dep(name = "protovalidate", version = "0.13.2")
WORKSPACE
Usage
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_bufbuild_protovalidate",
sha256 = "7b845c20daf0510e3c86f603c97ac59117435b6aecdee6ece061c2ed0a425754",
strip_prefix = "protovalidate-0.13.2",
urls = [
"https://github.com/bufbuild/protovalidate/releases/download/v0.13.2/protovalidate-v0.13.2.tar.gz",
],
)
What's Changed
- Add implicit
IGNORE_IF_UNPOPULATED
forMessageOneofRule
fields by @srikrsna-buf in #382
Full Changelog: v0.13.1...v0.13.2