Releases: nlachfr/protoc-gen-cel-validate
Releases · nlachfr/protoc-gen-cel-validate
v0.3.1
Bumps
- Bumps golang.org/x/net from 0.7.0 to 0.17.0.
- Bumps google.golang.org/grpc from 1.51.0 to 1.56.3.
v0.3.0
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 invalidate.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
v0.2.1
v0.2.0
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
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
)