cel-go v0.4.0-alpha.1 Release Notes

Release Date: 2019-10-25 // over 4 years ago
  • ๐Ÿš€ 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.