Releases: bufbuild/protovalidate-java
v1.0.0-rc.4
This release is compatible with the v0.14.0 release of Protovalidate.
Breaking changes
We want validation rules to be easy to understand for authors and consumers. To simplify Protovalidate, we are renaming an option and remove two others. This is a breaking change, and you will have to update your Protobuf files if they use the relevant options :
IGNORE_IF_UNPOPULATEDis renamed toIGNORE_IF_ZERO_VALUE.
See bufbuild/protovalidate#397 for details.(buf.validate.message).disabledis removed.
You can replace it by addingIGNORE_ALWAYSto every field of the message. See bufbuild/protovalidate#394 for details.IGNORE_IF_DEFAULT_VALUEis removed.
In most cases, you can replace it withIGNORE_IF_ZERO_VALUE. See bufbuild/protovalidate#396 for details.
Full Changelog: v1.0.0-rc.3...v1.0.0-rc.4
v0.13.0
This release is compatible with the v0.14.0 release of Protovalidate.
Breaking changes
We want validation rules to be easy to understand for authors and consumers. To simplify Protovalidate, we are renaming an option and remove two others. This is a breaking change, and you will have to update your Protobuf files if they use the relevant options :
IGNORE_IF_UNPOPULATEDis renamed toIGNORE_IF_ZERO_VALUE.
See bufbuild/protovalidate#397 for details.(buf.validate.message).disabledis removed.
You can replace it by addingIGNORE_ALWAYSto every field of the message. See bufbuild/protovalidate#394 for details.IGNORE_IF_DEFAULT_VALUEis removed.
In most cases, you can replace it withIGNORE_IF_ZERO_VALUE. See bufbuild/protovalidate#396 for details.
Full Changelog: v0.12.0...v0.13.0
v1.0.0-rc.3
What's Changed
- Validate
MessageOneofRuleby @srikrsna-buf in #311 - Add implicit
IGNORE_IF_UNPOPULATEDforMessageOneofRulefields by @srikrsna-buf in #312
Full Changelog: v1.0.0-rc.2...v1.0.0-rc.3
v0.12.0
This release is compatible with the v0.13.3 release of Protovalidate.
What's Changed
- Validate
MessageOneofRuleby @srikrsna-buf in #311 - Add implicit
IGNORE_IF_UNPOPULATEDforMessageOneofRulefields by @srikrsna-buf in #312
Full Changelog: v0.11.0...v0.12.0
v0.11.0
This release is compatible with the v0.13.0 release of Protovalidate.
What's Changed
- Implement
MessageOneofRuleby @srikrsna-buf in #308
Full Changelog: v0.10.0...v0.11.0
v1.0.0-rc.2
What's Changed
- Implement
MessageOneofRuleby @srikrsna-buf in #308
Full Changelog: v1.0.0-rc.1...v1.0.0-rc.2
v1.0.0-rc.1
This is the first release candidate for protovalidate-java.
Full Changelog: v0.10.0...v1.0.0-rc.1
v0.10.0
What's Changed
The underlying CEL implementation used by protovalidate-java has been changed to Google's cel-java. There are no breaking changes as a result and all modifications should be internal to this library.
- Override
bytes_to_stringby @srikrsna-buf in #304 - Switch to
dev.cel:celby @srikrsna-buf in #303
Full Changelog: v0.9.1...v0.10.0
v0.9.1
What's Changed
This is a maintenance update that includes an important bug fix: in some situations, the CEL environment does not correctly get populated with its dependencies; specifically, when an expression refers to a submessage whose dependency is in a non-public import, it will not be added to the CEL environment.
- Update to protovalidate 0.12.0 by @smaye81 in #301
- Implement workaround for cel-java import issue by @jchadwick-buf in #302
Full Changelog: 0.9.0...v0.9.1
v0.9.0
Breaking Changes
String formatting is now conformant with the CEL spec.
As a result, some formatting output may differ from previous versions. See #293, #294, and #295 for details on formatting changes.
What's Changed
- Fix overload declaration for format by @smaye81 in #295
- Add supplemental format conformance tests by @smaye81 in #294
- Add conformance testing to string.format implementation by @smaye81 in #293
Full Changelog: v0.8.0...v0.9.0