Releases: google/cel-go
Releases · google/cel-go
Release v0.4.0-alpha.1
This is an alpha release of the planned 0.4.0 release which will feature the following changes:
- Replace a handful of top-level interfaces with concrete structs.
- Complete the known unknowns implementation.
- Making it easier to embed CEL in larger rule engines.
The alpha releases will include breaking changes and bug fixes on the path to publishing the official 0.4.0 release.
Features
- Support for parsing from
common.Source
objects. - Ability to override the creation of
common.Location
objects at parse time. - Instances of
common.Errors
andcel.Issues
may be merged together. - New test case showing how to use custom macros.
Fixes
- Fix for error propagation on
!=
operations. - Fix for panic during type-check when the comprehension ranges are of invalid type.
Breaking Changes
- The
common.Source
interface removes theIDOffset
andIDLocation
methods and addsNewLocation
- The
cel.Issues
interface has been replaced by a concrete struct type.
Release v0.3.2
Features
- Support for
Env
extension by copy with additional options.
Fixes
- Lint fixes for go report card.
Release v0.3.1
Fixes
- The
parser/unparser.go
appropriately handles space-sensitive operators. - The
interpreter/planner.go
supports the overloading operations by overload id. - Support for wrapper,
protobuf.Any
, and Proto3 to JSON-basedprotobuf.Value
conversions
withinConvertToNative
. - Support for iterating over the
interpreter/evalstate.go
values. - Removed a pathological recursion case from the type-checker.
Release v0.3.0
Features
- Protobuf wrapper type support.
- The
cel.AstToString
helper to decode from ASTs to human readable expressions. - Performance optimizations to treat list literals as sets when used with
in
operations.
Fixes
- Byte literals no longer be tied to UTF-8 codepoints.
- Type resolution fix for
null
assignable tonull
- Type join fix for parameterized function argument types.
- Better handling for panics and concurrent execution.
Breaking Changes
cel.OptFoldConstants
eval option has been renamed tocel.OptOptimize