Skip to content

Releases: connectrpc/validate-go

v0.6.0

27 Sep 17:28
6d49903

Choose a tag to compare

What's Changed

  • Add option WithoutErrorDetails to not add error details to responses by @bufdev in #39
  • Change response validation error code from InvalidArgument to Internal by @bufdev in #40

Full Changelog: v0.5.0...v0.6.0

v0.5.0

27 Sep 17:10
94700bc

Choose a tag to compare

What's Changed

  • Use protovalidate.GlobalValidator by default by @bufdev in #38 Note this is a breaking change, as NewInterceptor no longer returns an error. You'll need to update calls from:
interceptor, err := validate.NewInterceptor()

To:

interceptor := validate.NewInterceptor()

Full Changelog: v0.4.0...v0.5.0

v0.4.0

27 Sep 16:54
476bb26

Choose a tag to compare

What's Changed

  • Add option WithValidateResponses to validate responses by @bufdev in #37

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

01 May 00:22
4c04060

Choose a tag to compare

What's Changed

This updates the dependency of the protovalidate library to use its new import path. So users that still need to use the older "github.com/bufbuild/protovalidate-go" import path must stick with version v0.2.0. Once users update their codebases to use the newer "buf.build/go/protovalidate" import path, then must upgrade this dependency to v0.3.0 (or newer).

New Contributors

  • @jchadwick-buf made their first contribution in #32

Full Changelog: v0.2.0...v0.3.0

v0.2.0

05 Feb 17:27
e948456

Choose a tag to compare

What's Changed

This release pulls in the latest changes in protovalidate-go v0.9.1 and protovalidate v0.10.0. Included is a breaking change in the method validate.WithValidator which now takes an interface of protovalidate.Validator not the pointer type. Validation support has been removed for the long-deprecated ignore_empty and skipped fields on FieldConstraint. See the release notes in protovalidate-go and protovalidate for all related changes.

Breaking Changes

  • Add support for protovalidate breaking changes by @cmgsj in #29

New Contributors

  • @cmgsj made their first contribution in #29

Full Changelog: v0.1.0...v0.2.0

v0.1.0

08 Sep 04:23
1c480a7

Choose a tag to compare

What's Changed

This is the first tagged release of connectrpc.com/validate! 🎉

Enhancements

New Contributors

Full Changelog: https://github.com/connectrpc/validate-go/commits/v0.1.0