Skip to content

Releases: nlachfr/protoc-gen-cel-validate

v0.3.1

14 Nov 17:42
22fb44e
Compare
Choose a tag to compare

Bumps

v0.3.0

30 Mar 21:31
af70756
Compare
Choose a tag to compare

Commit e4407b6 introduced a validation gateway. protoc-gen-cel-validate being made in Go, the idea was to provide a middleware capable of handling the validation without a hassle.

Since this tool does more than just validation, these changes were moved in a dedicated project: bifrost.

Features

  • Introduce validate.Manager for handling validaters building
  • Add a required option in validate.FieldRule
  • Add possibility to define rules directly in the configuration

Breaking Changes

  • protoc-gen-cel-authorize has been removed
  • Protobuf definitions have been rewritten for easing evolutions
  • Validate library has been fully rewritten
  • Project naming has been changed

v0.2.2

10 Jan 07:53
bb0f662
Compare
Choose a tag to compare

Features

  • Add custom error handler support on gRPC interceptor builder

Fixes

  • Fix nil pointer dereference in generated init() functions

v0.2.1

09 Jan 21:54
167b480
Compare
Choose a tag to compare

Features

  • Add Unwrap method on errors for better context handling

Fixes

  • Fix a stack overflow error in buildValidaterFunctionOpts

v0.2.0

05 Jan 16:39
425f437
Compare
Choose a tag to compare

This is the second release of protocel.
It introduces a merge of protoc-gen-cel-authorize features in protoc-gen-cel-validate, deprecating the protoc-gen-cel-authorize plugin.

Features

  • Add service and method rules support on protoc-gen-cel-validate
  • Add support of multiple rules
  • Add support of options on ValidationRule
  • Add custom error structures
  • Add flag for overriding CEL standard library

v0.1.0

13 Dec 21:06
a0d4fc4
Compare
Choose a tag to compare

This is the first release of protocel, which contains protoc-gen-cel-authorize and protoc-gen-cel-validate plugins for Go.

Features

  • Complete support of CEL specification
  • User defined constants, variables and functions
  • Configuration file support as well as protobuf extensions
  • gRPC metadata matching rules (protoc-gen-cel-authorize)
  • Cross fields validation (protoc-gen-cel-validate)