Release v0.28.0
·
27 commits
to master
since this release
High-Level Changes
- Enhanced JSON Interoperability: New support for JSON names across the checker, AST, and runtime allows for more seamless data handling when working with JSON-native structures.
- Improved Developer Tooling: Integration is now smoother thanks to new utilities for converting Go errors into
cel.Issuesand more descriptive, context-aware error messages. - Greater Environment Flexibility: You can now redeclare variables as constants and export parse limit options, providing finer control over how CEL environments are configured and constrained.
- Native Struct Improvements: Support for mixing CEL and native values within native structs simplifies the handling of complex, hybrid data types.
🚀 Features
- Add helper method to check whether a function has a singleton binding in #1266
- Helper utility for converting a Go error into
cel.Issuesin #1267 - Policy API improvements in #1268
- CEL Test usability requirements in #1269
- Better context-related error messages in #1271
- Sort
env.Configvalues where reasonable in #1273 - Support redeclaring variables as constants in
NewEnvin #1275 - Add support for exporting parse limit options in #1277
- Support mixing CEL values and native values in native structs in #1270
- Add checker, AST, and type-provider support for JSON names in #1283
- JSON field names runtime support in #1286
- Optionally include reachable fieldpaths in prompt in #1285
- REPL -- cel-spec pb2 and json name support #1294
🐞 Bug Fixes
- Fix support for config-based type references in #1265
- Check arg kinds in
optional.orand.orValueimpl in #1276 - Bazel fixes for import in #1278
- Support zero-value literals in presence test inlining #1280
- Cache concatList.Size() to prevent O(N^2) evaluation time #1291
- Preserve runtime error node IDs from Resolve #1290
- Default enable identifier escaping with backticks #1295
- Cap format string precision to prevent memory exhaustion #1292
🛠️ Maintenance & Internal
- chore: Migrate gsutil usage to gcloud storage in #1274
- Lint fixes for exported function/type comments in #1279
- Lint fixes for import in #1287
Full Changelog: https://github.com/google/cel-go/compare/v0.27.0...v0.28.0-alpha