Skip to content

Releases: google/cel-go

Release v0.4.0-alpha.1

25 Oct 19:08
1188e2e
Compare
Choose a tag to compare
Pre-release

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 and cel.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 the IDOffset and IDLocation methods and adds NewLocation
  • The cel.Issues interface has been replaced by a concrete struct type.

Release v0.3.2

09 Oct 23:32
1844753
Compare
Choose a tag to compare

Features

  • Support for Env extension by copy with additional options.

Fixes

  • Lint fixes for go report card.

Release v0.3.1

08 Oct 15:29
7963958
Compare
Choose a tag to compare

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-based protobuf.Value conversions
    within ConvertToNative.
  • Support for iterating over the interpreter/evalstate.go values.
  • Removed a pathological recursion case from the type-checker.

Release v0.3.0

20 Aug 22:38
367ad12
Compare
Choose a tag to compare

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 to null
  • Type join fix for parameterized function argument types.
  • Better handling for panics and concurrent execution.

Breaking Changes

  • cel.OptFoldConstants eval option has been renamed to cel.OptOptimize