Skip to content

Releases: bufbuild/protovalidate-java

v0.1.8

13 Nov 14:04
07779ce
Compare
Choose a tag to compare

What's Changed

  • Update required/ignored_empty behavior to match spec by @rodaine in #60
  • Update EvaluatorBuilder cache to be thread safe by @pkwarren in #62
  • Update to junit 5 and disable wildcard imports by @pkwarren in #61
  • Update to protobuf 25.0 by @pkwarren in #59
  • Bump com.uber.nullaway:nullaway from 0.10.15 to 0.10.16 by @dependabot in #57

New Contributors

Full Changelog: v0.1.7...v0.1.8

v0.1.7

02 Nov 00:43
ed65f0b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.6...v0.1.7

v0.1.6

16 Oct 20:38
0f7172b
Compare
Choose a tag to compare

What's Changed

  • Improve support for dynamic messages by @pkwarren in #48
  • Bump com.google.guava:guava from 32.1.2-jre to 32.1.3-jre by @dependabot in #47

Full Changelog: v0.1.5...v0.1.6

v0.1.5

11 Oct 15:54
6530bef
Compare
Choose a tag to compare

What's Changed

  • Update to latest protovalidate v0.4.3 by @pkwarren in #44
  • Improve protovalidate with managed mode by @pkwarren in #45
  • Migrate build steps to Gradle build by @pkwarren in #46
  • Misc dependency updates: [#38] [#40]

Full Changelog: v0.1.4...v0.1.5

v0.1.4

12 Sep 22:48
841e8e4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.3...v0.1.4

v0.1.3

11 Sep 18:50
0f4093e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.2...v0.1.3

v0.1.2

11 Sep 16:30
63d2c4b
Compare
Choose a tag to compare

What's Changed

  • Fix ValidationResult#isSuccess() when result is success by @wreulicke in #27

Dependency Updates

  • Bump com.uber.nullaway:nullaway from 0.10.12 to 0.10.14 by @dependabot in #31
  • Bump actions/checkout from 3 to 4 by @dependabot in #32
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 6.20.0 to 6.21.0 by @dependabot in #29
  • Bump protobuf from 3.23.4 to 3.24.3 by @dependabot in #30

New Contributors

Full Changelog: v0.1.1...v0.1.2

v0.1.1

25 Aug 20:41
3d5fe0e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.0...v0.1.1

v0.1.0

23 Aug 21:14
0ee9a63
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.0.2...v0.1.0

v0.0.2

02 Aug 20:44
265d689
Compare
Choose a tag to compare

What's Changed

  • Update README.md by @buildbreaker in #6
  • Re-enable dependabot by @pkwarren in #9
  • Bump build.buf.gen:bufbuild_protovalidate_protocolbuffers_java from 23.4.0.1.20230711201221.890d7e3584ce to 23.4.0.1.20230721020619.4464c06fa399 by @dependabot in #11
  • Bump build.buf.gen:bufbuild_protovalidate-testing_protocolbuffers_java from 23.4.0.1.20230712231734.03815480f905 to 23.4.0.1.20230721020620.426f0cbdf671 by @dependabot in #10
  • Fix remote generation usage conflicts by @buildbreaker in #13

New Contributors

Full Changelog: v0.0.1...v0.0.2