·
12 commits
to master
since this release
Summary of Changes
This release of cel-go (v0.32.0) introduces significant library expansions alongside a major infrastructure migration. Key highlights include the addition of native support for JWT and HMAC operations, Go-based JSON handling via NativeToValue, and robust timestamp parsing helpers.
Critical Upgrade: This release changes the module and import paths to cel.dev/cel-go. Users must update their import statements when upgrading to this version.
A variety of concurrency and stability fixes are also included, such as addressing nil pointer panics during native object traversals, and fixing cost observability when combined with state tracking or exhaustive eval
Breaking Changes
| Change | PR Link |
|---|---|
| Switch module and import paths to cel.dev/cel-go | #1413 |
Features
| Feature | PR Link |
|---|---|
| JWT data types with Parse and claim helpers | #1415 |
| HMAC verify / compute library | #1416 |
| NativeToValue Go-based JSON type support | #1402 |
| Parsing helper for working with different types and formats of timestamp | #1414 |
| Support aggregate size computations over list, maps, and structs | #1404 |
| Aggregate semantics in Policy Compiler | #1408 |
| Report every evaluation step to every observer | #1419 |
| Enable list_ext conformance tests | #1412 |
Fixes & Performance Improvements
| Change / Optimization | PR Link |
|---|---|
| mem-track: Fix data race for aggregate size computation | #1423 |
| Fix panic in native object traversal with nil valued struct pointers | #1417 |
| Fix shorthand type specifier parsing to allow newlines and tab chars | #1411 |
| Fix agent_tool_execution_governance policy example to match cel-policy conformance test | #1424 |
| Scale sizes for strings and bytes | #1421 |
| Consolidate saturating cost arithmetic into common/cost | #1420 |
| Add parser benchmarks | #1422 |
Full Changelog: v0.31.0...v0.32.0