What's Changed
Core CEL
- Add list flatten() by @fabriziosestito in https://github.com/google/cel-go/pull/980
- Add sets and lists extensions to REPL by @l46kok in https://github.com/google/cel-go/pull/1005
- CEL Spec and Proto Updates by @TristonianJones in https://github.com/google/cel-go/pull/1011
- Implement native conformance test runner by @jcking in https://github.com/google/cel-go/pull/1001
- Add support for no padding in base64 decode by @TristonianJones in https://github.com/google/cel-go/pull/1017
- Allow configurable tag name overrides in native types by @matthchr in https://github.com/google/cel-go/pull/1009
- Introduce helper trait types for lists and maps by @TristonianJones in https://github.com/google/cel-go/pull/1026
- ext: add list.sort() by @cezar-guimaraes in https://github.com/google/cel-go/pull/1021
- Foldable Maps and Lists by @TristonianJones in https://github.com/google/cel-go/pull/995
- Update REPL examples by @jnthntatum in https://github.com/google/cel-go/pull/1028
- Interop foldable maps and lists with map mutation helper by @TristonianJones in https://github.com/google/cel-go/pull/1029
- Update the Go AST representation to handle a second iteration variable by @TristonianJones in https://github.com/google/cel-go/pull/1031
- Runtime support for two-variable comprehensions by @TristonianJones in https://github.com/google/cel-go/pull/1032
- Two-variable comprehension support by @TristonianJones in https://github.com/google/cel-go/pull/1034
- Update tag-based parsing to use lambda for additional customization by @matthchr in https://github.com/google/cel-go/pull/1039
- Fix string reverse member overload name by @TristonianJones in https://github.com/google/cel-go/pull/1045
- Remove unused server directory by @TristonianJones in https://github.com/google/cel-go/pull/1041
- Add functions to the lists extension. by @seirl in https://github.com/google/cel-go/pull/1037
- Rename strings version test by @TristonianJones in https://github.com/google/cel-go/pull/1047
- Fix doc strings and version support on math extensions by @TristonianJones in https://github.com/google/cel-go/pull/1046
- Upgrade cel-go to support bazel-mod by @TristonianJones in https://github.com/google/cel-go/pull/1049
- Fix out of range error for non-negative string indexing offsets by @TristonianJones in https://github.com/google/cel-go/pull/1052
- Expand visibility of parser/gen package by @TristonianJones in https://github.com/google/cel-go/pull/1057
- Ensure variables in comprehensions don't collide by @TristonianJones in https://github.com/google/cel-go/pull/1062
Policy
- Support for typename import aliases by @TristonianJones in https://github.com/google/cel-go/pull/993
- Error on condition-only match blocks by @TristonianJones in https://github.com/google/cel-go/pull/1003
- Update context proto resolution to use type provider by @TristonianJones in https://github.com/google/cel-go/pull/1013
- Support for context proto declarations by @TristonianJones in https://github.com/google/cel-go/pull/1006
- CEL Policy Readme by @TristonianJones in https://github.com/google/cel-go/pull/1025
- Support for cel.@block during policy composition by @TristonianJones in https://github.com/google/cel-go/pull/1056
New Contributors
- @fabriziosestito made their first contribution in https://github.com/google/cel-go/pull/980
- @matthchr made their first contribution in https://github.com/google/cel-go/pull/1009
- @cezar-guimaraes made their first contribution in https://github.com/google/cel-go/pull/1021
- @sreeram-venkitesh made their first contribution in https://github.com/google/cel-go/pull/1035
Full Changelog: https://github.com/google/cel-go/compare/v0.21.0...v0.22.0