Skip to content

Commit 44885c1

Browse files
smaye81timostammpkwarren
authored
Upgrade validation logic (#275)
This includes upgrades to validation logic for: - URIs, URI references - IP addresses and prefixes (v4 and v6) - Hostname, Port - Email Address The validation here adheres to the defined RFC standards for each entity and passes conformance for all new conformance tests defined in: - bufbuild/protovalidate#320 - bufbuild/protovalidate#341 --------- Co-authored-by: Timo Stamm <[email protected]> Co-authored-by: Philip K. Warren <[email protected]>
1 parent 8979f49 commit 44885c1

File tree

69 files changed

+1645
-1355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1645
-1355
lines changed

buf.gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: v2
22
managed:
33
enabled: true
44
plugins:
5-
- remote: buf.build/protocolbuffers/python:v29.3
5+
- remote: buf.build/protocolbuffers/python:v30.1
66
out: gen
7-
- remote: buf.build/protocolbuffers/pyi:v29.3
7+
- remote: buf.build/protocolbuffers/pyi:v30.1
88
out: gen

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

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

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

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

gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.py

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

gen/buf/validate/conformance/cases/custom_constraints/custom_constraints_pb2.pyi

Lines changed: 2 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/enums_pb2.py

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

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

Lines changed: 2 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/filename_with_dash_pb2.py

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

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

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

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

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

0 commit comments

Comments
 (0)