Skip to content

Commit 56c0fb7

Browse files
authored
Update to protovalidate v0.12.0 (#313)
This updates protovalidate-python to use the new protovalidate v0.12.0 release. It also fixes a bug where mismatched rules on an `Any` field were being ignored (sniffed out by conformance tests in v0.12.0).
1 parent 0622bf6 commit 56c0fb7

File tree

11 files changed

+337
-105
lines changed

11 files changed

+337
-105
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ADD_LICENSE_HEADER := $(BIN)/license-header \
1717
--copyright-holder "Buf Technologies, Inc." \
1818
--year-range "2023-2025"
1919
# This version should be kept in sync with the version in buf.yaml
20-
PROTOVALIDATE_VERSION ?= v0.11.0
20+
PROTOVALIDATE_VERSION ?= v0.12.0
2121
# Version of the cel-spec that this implementation is conformant with
2222
# This should be kept in sync with the version in format_test.py
2323
CEL_SPEC_VERSION ?= v0.24.0

buf.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ version: v2
22
modules:
33
- path: proto
44
deps:
5-
- buf.build/bufbuild/protovalidate:v0.11.0
6-
- buf.build/bufbuild/protovalidate-testing:v0.11.0
5+
- buf.build/bufbuild/protovalidate:v0.12.0
6+
- buf.build/bufbuild/protovalidate-testing:v0.12.0
77
lint:
88
use:
99
- STANDARD

gen/buf/validate/conformance/cases/required_field_proto3_pb2.py

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/buf/validate/conformance/cases/required_field_proto3_pb2.pyi

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/buf/validate/conformance/cases/wkt_any_pb2.py

Lines changed: 29 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/buf/validate/conformance/cases/wkt_any_pb2.pyi

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)