Skip to content

Releases: bufbuild/protovalidate

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

v0.6.4

07 May 21:05
df918ea
Compare
Choose a tag to compare

What's Changed

  • Bump github.com/bufbuild/protocompile from 0.9.0 to 0.10.0 in /tools by @dependabot in #193
  • Bump bufbuild/buf-setup-action from 1.30.0 to 1.30.1 by @dependabot in #191
  • Bump golang.org/x/sync from 0.6.0 to 0.7.0 in /tools by @dependabot in #192
  • Bump github.com/bufbuild/protocompile from 0.10.0 to 0.11.0 in /tools by @dependabot in #199
  • Colocate in-place migrator temp files to src directory by @rodaine in #201
  • Bump github.com/bufbuild/protocompile from 0.11.0 to 0.13.0 in /tools by @dependabot in #205
  • Bump bufbuild/buf-setup-action from 1.30.1 to 1.31.0 by @dependabot in #204
  • Bump google.golang.org/protobuf from 1.33.1-0.20240408130810-98873a205002 to 1.34.0 in /tools by @dependabot in #207
  • Update Readme to use absolute links by @fyockm in #208
  • Migrator: properly handle ignore generation on fields by @rodaine in #209

New Contributors

Full Changelog: v0.6.3...v0.6.4

v0.6.3

01 Apr 17:36
264fbad
Compare
Choose a tag to compare

What's Changed

  • Bump morrisoncole/pr-lint-action from 1.7.0 to 1.7.1 by @dependabot in #176
  • Bump github.com/bufbuild/protocompile from 0.8.0 to 0.9.0 in /tools by @dependabot in #182
  • Bump bufbuild/buf-setup-action from 1.29.0 to 1.30.0 by @dependabot in #183
  • Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tools by @dependabot in #181
  • Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /tools by @dependabot in #179
  • Fix typo for FieldConstraints and extend examples by @emcfarlane in #186
  • Add tuuid by @bufdev in #189
  • Add conformance tests for trimmed UUIDs by @rodaine in #190

Full Changelog: v0.6.1...v0.6.3

v0.6.2

01 Apr 16:33
3e01074
Compare
Choose a tag to compare

What's Changed

  • Bump morrisoncole/pr-lint-action from 1.7.0 to 1.7.1 by @dependabot in #176
  • Bump github.com/bufbuild/protocompile from 0.8.0 to 0.9.0 in /tools by @dependabot in #182
  • Bump bufbuild/buf-setup-action from 1.29.0 to 1.30.0 by @dependabot in #183
  • Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tools by @dependabot in #181
  • Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /tools by @dependabot in #179
  • Fix typo for FieldConstraints and extend examples by @emcfarlane in #186
  • Add tuuid by @bufdev in #189

Full Changelog: v0.6.1...v0.6.2