Releases: bufbuild/protovalidate
Releases · bufbuild/protovalidate
v0.10.0
Breaking Changes
This version of protovalidate removes various deprecated fields and enumeration values:
skipped
onFieldConstraints
: Setignore = IGNORE_ALWAYS
instead.ignore_empty
onFieldConstraints
: Setignore = IGNORE_IF_UNPOPULATED
instead.field_path
onViolation
: Use the structuredfield
value instead.IGNORE_EMPTY
onIgnore
: Use theIGNORE_IF_UNPOPULATED
enumeration value instead.IGNORE_DEFAULT
onIgnore
: Use theIGNORE_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
- Fix docs: expected-failures should be expected_failures by @nicksnyder in #281
- Bump golang.org/x/sync from 0.9.0 to 0.10.0 in /tools by @dependabot in #282
- Pin bazel to last pre-8.x release by @jchadwick-buf in #287
- Fix dead link in buf.build/bufbuild/protovalidate-testing README.md by @timostamm in #286
- Add all conformance runner flags to the documentation by @timostamm in #285
- Bump google.golang.org/protobuf from 1.35.2 to 1.36.1 in /tools by @dependabot in #288
- Add support for bzlmod + Bazel 8 by @jchadwick-buf in #289
- Bump google.golang.org/protobuf from 1.36.1 to 1.36.2 in /tools by @dependabot in #293
- Bump google.golang.org/protobuf from 1.36.2 to 1.36.3 in /tools by @dependabot in #295
- Move to the migration guide at Buf docs by @jrinehart-buf in #294
- Bump google.golang.org/protobuf from 1.36.3 to 1.36.4 in /tools by @dependabot in #296
- Remove deprecated options by @jchadwick-buf in #297
- Add BCR manifest and bzlmod E2E test by @jchadwick-buf in #298
New Contributors
- @jrinehart-buf made their first contribution in #294
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- Bump google.golang.org/protobuf from 1.34.2 to 1.35.1 in /tools by @dependabot in #260
- Update dependencies by @rodaine in #273
- Fix doc examples for string.example by @sudorandom in #271
- Clarify that protovalidate does not require any code generation by @timostamm in #278
- Clarify "custom validation functions" by @rodaine in #279
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /tools by @dependabot in #276
- Add structured field and rule paths to Violation by @jchadwick-buf in #265
New Contributors
- @timostamm made their first contribution in #278
Full Changelog: v0.8.2...v0.9.0
v0.8.2
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
v0.8.0
What's Changed
- Update example for checking uniqueness of repeated fields by @oliversun9 in #227
- Bump bufbuild/buf-setup-action from 1.34.0 to 1.35.1 by @dependabot in #229
- Add clarity around required/ignore documentation by @rodaine in #230
- Update buf logo in README by @gilwong00 in #231
- Setup buf-action in CI by @emcfarlane in #232
- Bump golang.org/x/sync from 0.7.0 to 0.8.0 in /tools by @dependabot in #234
- Fix old references to protoc-gen-validate in issue template by @jchadwick-buf in #235
- Update Go to 1.23 + golangci-lint to 1.60.2 by @rodaine in #241
- Add example options for most types by @sudorandom in #239
- Bump github.com/bufbuild/protocompile from 0.14.0 to 0.14.1 in /tools by @dependabot in #243
- Fix mismatched example in sint32 and int64 suites by @jchadwick-buf in #245
- Format example files containing message options by @oliversun9 in #247
- Format example proto files by @oliversun9 in #248
- Update CI to buf-action default behaviour by @emcfarlane in #251
- Update cel expressions for standard constraints with bool type by @oliversun9 in #252
- Implement predefined field constraints by @jchadwick-buf in #246
- Revert protovalidate-testing changes by @jchadwick-buf in #254
New Contributors
- @gilwong00 made their first contribution in #231
- @sudorandom made their first contribution in #239
Full Changelog: v0.7.1...v0.8.0
v0.7.1
What's Changed
- Fixes for strict conformance with Editions by @jchadwick-buf in #226
Full Changelog: v0.7.0...v0.7.1
v0.7.0
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
- @jchadwick-buf made their first contribution in #225
Full Changelog: v0.6.4...v0.7.0
v0.6.4
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
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
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