Skip to content

Releases: bufbuild/protovalidate

v0.10.3

12 Mar 14:33
0e59ac3
Compare
Choose a tag to compare

Breaking changes

This version of protovalidate includes breaking changes to the conformance test harness. These changes will not affect you, unless you are authoring a protovalidate implementation and use the test harness.

We've added more test cases, made several small improvements to the test output, and made --strict the default behavior.

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "0.10.3")

WORKSPACE Usage

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

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "12c6a8018ea57a941ede58a9273f266e180b1f0800d963527de26bb26c876004",
    strip_prefix = "protovalidate-0.10.3",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v0.10.3/protovalidate-v0.10.3.tar.gz",
    ],
)

What's Changed

  • Add tests for custom field constraints by @timostamm in #329
  • Do not output expected failures in conformance runner by @timostamm in #331
  • Delete the --json flag of the conformance runner by @timostamm in #332
  • Add field path details to the conformance runner output by @timostamm in #333
  • Delete the --strict flag of the conformance runner by @timostamm in #334
  • Print unexpected success cases in the conformance runner by @timostamm in #335

Full Changelog: v0.10.2...v0.10.3

v0.10.2

06 Mar 17:48
0d8f50a
Compare
Choose a tag to compare

Breaking changes

This version of protovalidate includes breaking changes to the conformance test harness. These changes will not affect you, unless you are authoring a protovalidate implementation and use the test harness.

Test cases for isEmail, isHostname, isHostAndPort, isIpPrefix, isIp, isUri, and isUriRef have been added to the harness. isEmail follows the HTML standard now instead of RFC 5322. See #320 for details.

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "0.10.2")

WORKSPACE Usage

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

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "2b0ebbccb4b27268845a2c31f9b17dd8752b36d877ba91a8b6d0ee672795e0d7",
    strip_prefix = "protovalidate-0.10.2",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v0.10.2/protovalidate-v0.10.2.tar.gz",
    ],
)

What's Changed

Full Changelog: v0.10.1...v0.10.2

v0.10.1

19 Feb 16:43
7ce9864
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.10.1

v0.10.0

30 Jan 23:22
a9e325f
Compare
Choose a tag to compare

Breaking Changes

This version of protovalidate removes various deprecated fields and enumeration values:

  • skipped on FieldConstraints: Set ignore = IGNORE_ALWAYS instead.
  • ignore_empty on FieldConstraints: Set ignore = IGNORE_IF_UNPOPULATED instead.
  • field_path on Violation: Use the structured field value instead.
  • IGNORE_EMPTY on Ignore: Use the IGNORE_IF_UNPOPULATED enumeration value instead.
  • IGNORE_DEFAULT on Ignore: Use the IGNORE_IF_DEFAULT_VALUE enumeration value instead.

These options had been deprecated for a while, and their replacements are already available, so you can migrate preemptively before updating to this release.

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "0.10.0")

WORKSPACE Usage

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

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "7c20845bda99287680c7993e56df8ce414484a83003a10bd0eba18c6db527027",
    strip_prefix = "protovalidate-0.10.0",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v0.10.0/protovalidate-v0.10.0.tar.gz",
    ],
)

What's Changed

New Contributors

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

v0.9.0

26 Nov 21:09
41573d9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.2...v0.9.0

v0.8.2

02 Oct 19:26
adbfb45
Compare
Choose a tag to compare

What's Changed

  • Add more predefined rules conformance tests around repeated fields by @jchadwick-buf in #258

Full Changelog: v0.8.1...v0.8.2

v0.8.1

20 Sep 17:58
69ac24e
Compare
Choose a tag to compare

What's Changed

  • Revert "Revert protovalidate-testing changes" by @rodaine in #256

Full Changelog: v0.8.0...v0.8.1

v0.8.0

20 Sep 16:14
4b5f873
Compare
Choose a tag to compare

What's Changed

New Contributors

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

v0.7.1

17 Jul 18:18
5bbf2bf
Compare
Choose a tag to compare

What's Changed

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

v0.7.0

16 Jul 20:26
bb1d618
Compare
Choose a tag to compare

What's Changed

  • Bump google.golang.org/protobuf from 1.34.0 to 1.34.1 in /tools by @dependabot in #210
  • Bump bufbuild/buf-setup-action from 1.31.0 to 1.32.0 by @dependabot in #211
  • Bump bufbuild/buf-setup-action from 1.32.0 to 1.32.1 by @dependabot in #214
  • Bump bufbuild/buf-setup-action from 1.32.1 to 1.32.2 by @dependabot in #215
  • Bump github.com/bufbuild/protocompile from 0.13.0 to 0.14.0 in /tools by @dependabot in #216
  • Fix bazel mod lockfile changes by @rodaine in #217
  • Bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 by @dependabot in #220
  • Bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 by @dependabot in #222
  • Add test cases for Protobuf Editions by @jchadwick-buf in #225

New Contributors

Full Changelog: v0.6.4...v0.7.0