v0.9.0
Breaking Changes
This release removes support for the long-deprecated ignore_empty
and skipped
fields on FieldConstraints
; protovalidate-go will no longer respect these options if they are set, and they are removed from the latest version of the protovalidate definitions.
Legacy resolution of protoc-gen-validate rules is removed. The resolver
package is moved to resolve
and now contains free functions instead of an interface. The celext
package was moved to cel
; it exports the same functionality, but has been refactored, with some method names changing, and the celext.DefaultEnv
function has been replaced with cel.NewLibrary
.
protovalidate.Validator
is now an interface and not a struct. Pointers of type *protovalidate.Validator
should be changed to protovalidate.Validator
values instead.
What's Changed
- Refactor the API for v1 by @jchadwick-buf in #173
- Bump the go group with 2 updates by @dependabot in #175
- Bump the go group with 2 updates by @dependabot in #176
- Bump the go group with 4 updates by @dependabot in #177
- Remove support for deprecated options by @jchadwick-buf in #178
- Re-export FieldPathString by @jchadwick-buf in #181
Full Changelog: v0.8.2...v0.9.0