Skip to content

Releases: bufbuild/protovalidate

v0.14.2

21 Jul 20:25
d723304
Compare
Choose a tag to compare

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 to IGNORE_IF_ZERO_VALUE.
    See #397 for details.
  • (buf.validate.message).disabled is removed.
    You can replace it by adding IGNORE_ALWAYS to every field of the message. See #394 for details.
  • IGNORE_IF_DEFAULT_VALUE is removed.
    In most cases, you can replace it with IGNORE_IF_ZERO_VALUE. See #396 for details.

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

New Contributors

Full Changelog: v0.10.1...v0.14.2

v1.0.0-rc.6

17 Jul 17:03
dd75313
Compare
Choose a tag to compare

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 to IGNORE_IF_ZERO_VALUE.
    See #397 for details.
  • (buf.validate.message).disabled is removed.
    You can replace it by adding IGNORE_ALWAYS to every field of the message. See #394 for details.
  • IGNORE_IF_DEFAULT_VALUE is removed.
    In most cases, you can replace it with IGNORE_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

17 Jul 18:05
5a674e3
Compare
Choose a tag to compare

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 to IGNORE_IF_ZERO_VALUE.
    See #397 for details.
  • (buf.validate.message).disabled is removed.
    You can replace it by adding IGNORE_ALWAYS to every field of the message. See #394 for details.
  • IGNORE_IF_DEFAULT_VALUE is removed.
    In most cases, you can replace it with IGNORE_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

Full Changelog: v0.14.0...v0.14.1

v0.14.0

17 Jul 15:57
dd75313
Compare
Choose a tag to compare

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 to IGNORE_IF_ZERO_VALUE.
    See #397 for details.
  • (buf.validate.message).disabled is removed.
    You can replace it by adding IGNORE_ALWAYS to every field of the message. See #394 for details.
  • IGNORE_IF_DEFAULT_VALUE is removed.
    In most cases, you can replace it with IGNORE_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

25 Jun 18:30
8d132c4
Compare
Choose a tag to compare

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

Full Changelog: v0.1.0.0-rc.4...v1.0.0-rc.5

v0.13.4

25 Jun 18:28
8d132c4
Compare
Choose a tag to compare

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

13 Jun 15:13
0ca6012
Compare
Choose a tag to compare

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 for MessageOneofRule 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

13 Jun 10:25
0ca6012
Compare
Choose a tag to compare

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

13 Jun 05:12
b2b2658
Compare
Choose a tag to compare

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 for MessageOneofRule fields by @srikrsna-buf in #382

Full Changelog: v0.13.1...v0.13.2

v1.0.0-rc.3

12 Jun 20:50
e42bc75
Compare
Choose a tag to compare

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "1.0.0-rc.3")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "daaf982c80e37c38a97ae1e89e13e27f67030047508264675de8a964d451296a",
    strip_prefix = "protovalidate-1.0.0-rc.3",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v1.0.0-rc.3/protovalidate-v1.0.0-rc.3.tar.gz",
    ],
)

What's Changed

Full Changelog: v1.0.0-rc.2...v1.0.0-rc.3