Release v0.4.0-alpha.1
Pre-release
Pre-release
TristonianJones
released this
25 Oct 19:08
·
528 commits
to master
since this 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
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.