Repository navigation
v0.2.0
Breaking Changes
The validate method of Validator changes behavior: Before, the method would raise an error if a message is invalid, or if an error occurred. With this release, the method returns a ValidationResult instead.
For details, see #27 and the newly added example. This change allows us to support Valid types.
What's Changed
- Support validation of legacy required fields by @timostamm in #24
- Raise a RuntimeError if the schema and message provided to the validator do not match by @timostamm in #25
- Update to protovalidate v0.11.1 by @timostamm in #28
- Change Validator.validate to return result by @timostamm in #27
- Add example by @timostamm in #30
- Update @bufbuild/protobuf to v2.5.0 by @timostamm in #31
- Support Valid types by @timostamm in #29
Full Changelog: v0.1.1...v0.2.0