Releases: bufbuild/protovalidate-go
v1.2.0
This release is compatible with the v1.2.0 release of Protovalidate.
What's Changed
- Bump protovalidate to
1.2.0by @srikrsna-buf in #314
New Contributors
- @AdrienVannson made their first contribution in #315
Full Changelog: v1.1.3...v1.2.0
v1.1.3
What's Changed
- Fix a few godoc comments and update golangci-lint by @pkwarren in #306
- Bump the go group across 1 directory with 2 updates by @dependabot[bot] in #308
- Fix registry chain for pb.Map in NativeToValue by @rodaine in #309
Full Changelog: v1.1.2...v1.1.3
v1.1.2
v1.1.1
This release is compatible with the v1.1.0 release of Protovalidate.
What's Changed
- Always provide all available variables by @srikrsna-buf in #297
- Wrap protoreflect.Map with type information so we don't need to cast to map[any]any by @rodaine in #300
- Avoid heap escape on kvPairs evaluation by @rodaine in #301
- Implement registry chaining for CEL type isolation by @rodaine in #302
Full Changelog: v1.1.0...v1.1.1
v1.1.0
This release is compatible with the v1.1.0 release of Protovalidate.
What's Changed
- Improve ValidationError strings by @bufdev in #291
- Make it so that you can define expression-only rules by @bufdev in #288
- Fix field paths for groups by @timostamm in #292
- Update protovalidate by @srikrsna-buf in #293
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Bump buf.build/go/hyperpb from 0.1.0 to 0.1.1 in the go group by @dependabot[bot] in #281
- Use opaque proto API by @rodaine in #283
- Bump buf.build/go/hyperpb from 0.1.1 to 0.1.3 in the go group by @dependabot[bot] in #284
- Bump the go group with 2 updates by @dependabot[bot] in #285
- Benchmark and performance improvements by @rodaine in #289
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Protovalidate is now v1.0
After two years of development, Protovalidate has reached v1.0, marking our commitment to stability and production readiness.
Read more in our blog post. Get started at https://protovalidate.com.
What's Changed
There are no functional changes compared to the previous release.
- Update protovalidate by @srikrsna-buf in #280
Full Changelog: v0.14.0...v1.0.0
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.14.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.13.1...v0.14.0
v1.0.0-rc.3
This release is compatible with the v0.13.3 release of Protovalidate.
What's Changed
- Update to protovalidate v0.13.0 by @smaye81 in #256
- Validate
MessageOneofRuleby @srikrsna-buf in #257 - Fix error message for too many selected fields with required MessageOneofRule by @timostamm in #260
- Add implicit
IGNORE_IF_UNPOPULATEDforMessageOneofRulefields by @srikrsna-buf in #258
Full Changelog: v1.0.0-rc.2...v1.0.0-rc.3