Skip to content

Releases: bufbuild/protovalidate

v0.4.2

25 Aug 19:26
1d58ea3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.4.1

24 Aug 16:57
498afe4
Compare
Choose a tag to compare

What's Changed

  • Fix NaN handling in ordered checks by @Alfus in #81

Full Changelog: v0.4.0...v0.4.1

v0.4.0

23 Aug 19:30
12a6c81
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.4.0

v0.3.1

22 Aug 19:58
bd98681
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

22 Aug 18:17
d61466d
Compare
Choose a tag to compare

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

Full Changelog: v0.2.8...v0.3.0

v0.2.8

02 Aug 00:45
7e81586
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.7...v0.2.8

v0.2.7

21 Jul 01:27
a1c7b6b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.6...v0.2.7

v0.2.6

21 Jul 00:18
582df81
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.5...v0.2.6

v0.2.5

20 Jul 21:54
7a2bf40
Compare
Choose a tag to compare

What's Changed

  • Update buf.lock for protovalidate-testing by @pkwarren in #57

Full Changelog: v0.2.4...v0.2.5

v0.2.4

20 Jul 18:39
1a1a608
Compare
Choose a tag to compare

What's Changed

  • Add double.finite and float.finite by @Alfus in #56

Full Changelog: v0.2.3...v0.2.4