Skip to content

v0.9.0

Compare
Choose a tag to compare
@jchadwick-buf jchadwick-buf released this 31 Jan 17:53
· 5 commits to main since this release
4459217

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

Full Changelog: v0.8.2...v0.9.0