Releases: bufbuild/protovalidate-java
v0.1.8
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
v0.1.6
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
v0.1.4
v0.1.3
What's Changed
- Update generated code to protoc v24.3 by @pkwarren in #33
- Fix isInf() overload method and add tests by @pkwarren in #34
- Include proto files in jar file by @hypnoce and @pkwarren in #22 / #35.
- Include AST issues display string in compilation error by @plobsing in #14
New Contributors
Full Changelog: v0.1.2...v0.1.3
v0.1.2
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
- @wreulicke made their first contribution in #27
Full Changelog: v0.1.1...v0.1.2
v0.1.1
v0.1.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
- Upgrade protovalidate dependencies by @elliotmjackson in #23
- Support for validation of isNaN & isInf by @elliotmjackson in #24
Full Changelog: v0.0.2...v0.1.0
v0.0.2
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
- @pkwarren made their first contribution in #9
- @dependabot made their first contribution in #11
Full Changelog: v0.0.1...v0.0.2