Releases: bufbuild/protovalidate
v0.4.1
v0.4.0
v0.3.1
What's Changed
- Update protovalidate-testing module dependencies by @elliotmjackson in #78
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Breaking Change: Refactoring of Schema-Level Constraint Enforcement
Summary:
In the recent changes to buf/validate/validate.proto
, we've refactored message definitions, targeting the organization and enforcement of rules within number-centric messages like FloatRules
, DoubleRules
, Int32Rules
, and others.
Specific Changes:
Fields such as gt
, gte
, lt
, and lte
have been structured within a oneof to ensure exclusivity:
- Fields associated with lt
and lte
now reside within the less_than
oneof.
- Fields linked to gt
and gte
have transitioned to the greater_than
oneof.
Additionally, timestamp and duration fields related to lt_now
and gt_now
have been assimilated into their respective less_than
and greater_than
oneof categories.
Action Required:
To ensure seamless compatibility and functionality, users must update their protobuf dependencies and package concurrently with this release. If your protos
were designed with mutually exclusive rules initially, the impact of this change should be minimal.
Rationale:
The restructure aims to make the rule application process more intuitive, thereby eliminating ambiguities and overlaps present in the earlier configuration. This approach ensures that rules are naturally exclusive, reinforcing better design practices.
What's Changed
- Refactor LT/GT into a oneof by @elliotmjackson in #76
Full Changelog: v0.2.8...v0.3.0
v0.2.8
What's Changed
- Update protovalidate-testing lock file by @pkwarren in #60
- Update readme with protovalidate-java by @marekbuild in #61
- Add java options to protos by @buildbreaker in #63
- Fix format error by @buildbreaker in #64
New Contributors
- @buildbreaker made their first contribution in #63
Full Changelog: v0.2.7...v0.2.8
v0.2.7
v0.2.6
v0.2.5
v0.2.4
v0.2.3
What's Changed
- Update readme with protovalidate-python by @marekbuild in #45
- Support new extension indexes in tools module by @elliotmjackson in #46
- Document harness proto by @elliotmjackson in #49
- Add Python more widely to README.md by @bufdev in #52
- Update README.md to include absolute link by @elliotmjackson in #48
- Add conformance tests for single dot hostnames by @pkwarren in #54
- Add the ability to distinguish map key violations by @Alfus in #55
New Contributors
- @marekbuild made their first contribution in #45
- @bufdev made their first contribution in #52
- @pkwarren made their first contribution in #54
Full Changelog: v0.2.0...v0.2.3