Skip to content

Releases: bufbuild/protoc-gen-validate

v0.6.2

21 Oct 19:17
8c0f637
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

26 Apr 14:00
758c5fc
Compare
Choose a tag to compare

Changes

  • Remove support for returning multiple validation errors. This feature caused silent breakage of validations for consumers due to an API change.

v0.6.0

22 Apr 19:34
5ef93ae
Compare
Choose a tag to compare
  • In generated Go code, allows returning a list of validation errors instead of only the first failed.
  • Adds support for the module=example.com/foo flag described here
  • Removes all references to github.com/golang/protobuf in favor of google.golang.org/protobuf

v0.5.1

01 Apr 17:49
1b9f543
Compare
Choose a tag to compare

Changes

  • Example workspace to demonstrate Bazel usage
  • Fix Bazel rules for validation code generation
  • Support for newer TLDs in email validation

v0.5.0

15 Mar 19:20
4ff9878
Compare
Choose a tag to compare

Changes

  • reduce minimum required Go version
  • bug fixes for existing rules
  • ability to suppress validation generation
  • bump protobuf version to v3.14.0
  • improve Bazel support
  • PyPi packaging for Python

v0.4.1

11 Aug 20:48
e020f3a
Compare
Choose a tag to compare

Changes

  • update golang/protobuf to v1.4.2
  • update lyft/protoc-gen-star to v0.5.1
  • update google/re2 to 2020-07-06
  • fix hostname validation in python
  • fix timestamp comparison for gt_now and within
  • cache generated functions for python validation to improve perf for repeated messages

v0.4.0

23 Jun 18:16
beba99e
Compare
Choose a tag to compare

Changes

  • removes support for Gogo proto
  • use Go modules instead of vendored dependencies
  • fixes Go generation for repeated enum with not_in constraint (#329)
  • fix build to work with bazelisk --strict (#327)

v0.3.0-java

20 Feb 02:13
Compare
Choose a tag to compare

Fixed:

  • Only add a generater java file if lang == "java" #242
  • Append correct literal suffix for map keys/values constraints #294
  • Update Maven Central server URLs to use HTTPS #311

Added:

  • Java validation errors now included proto-encoded field details. #317
  • Add new validation type not_contains #253

v0.2.0-java

17 Jul 23:56
Compare
Choose a tag to compare

Fixed:

  • Correctly handle messages with multiple consecutive uppercase characters #204
  • ReflectiveValidatorIndex correctly handles java_multiple_files=true #208
  • Correctly handle messages with underscores when ``java_multiple_files=true` #233

Added:

  • Can now provide fallback validator implementations for when reflection doesn't find a validator #230

v0.1.0

13 Jun 18:01
Compare
Choose a tag to compare
release: copy for tag v0.1.0