Breaking Changes
The import path of protovalidate-go has recently changed! If you are updating from a version of protovalidate-go prior to v0.11.0, please update your source code to move the import path from github.com/bufbuild/protovalidate-go
to buf.build/go/protovalidate
.
This release makes the methods of the resolve
package fallible, i.e. they now return an error
. Also, we have removed support for the legacy protovalidate extension; this extension is quite old, predating protovalidate's addition to the protobuf extension registry, and thus we believe it is unlikely to be in use. However, if you are using binary descriptors that may be using fairly old versions of the protovalidate library, please ensure they are using protovalidate v0.2.0 or higher. Binary descriptors from earlier versions of the protovalidate library will be silently ignored, causing validation to always pass.
What's Changed
- Upgrade golangci-lint to latest by @pkwarren in #237
- Remove protoc-gen-validate dependency by @jchadwick-buf in #240
- Make
resolve
methods fallible by @jchadwick-buf in #241 - Enable staticcheck QF1006 linter by @pkwarren in #242
- Remove resolution of legacy protovalidate extension by @jchadwick-buf in #243
Full Changelog: v0.11.0...v0.12.0