v0.6.0
This release features CEL-based policy compilers with YAML support (example), adds a new extension library for handling set operations and includes minor bug fixes along with performance improvements.
Fixes
- Copy the suppress warning annotations to autovalue gened celexpr in #359
- Check for presence of optional indices to prevent autoboxing in #366
- Adapt the function dispatch result to allow for automatic Any unpacking in #376
What's Changed
- Implement CEL Set Extension in #360
- Remove PartialMessage and IncompleteData in #365
- Compute line offsets once when constructing CelCodePointArray #368
- Remove celVarToDecl method in #371
- Add an interface for encapsulating Source properties in #369
- Add PolicySource in #370
- Flag guard the function dispatch result adaptation change in #383
- Implement YAML parser for policy configs in #372
- Create a separate interface for validating required fields in a builder in #373
- Add the capability to extend CEL environment from parsed config in #374
- Add YAML policy test cases in #375
- Implement YAML parser for policies in #377
- Move computing offset location into CelSourceHelper for reuse in #379
- Add AstMutator methods to construct cel.bind macro with varInit containing macros in #380
- Add AstMutator methods to construct function calls in #381
- Add Policy Compiler in #378
- Add factories for policy parser and policy compiler in #382
- Add capability to visit custom tags in #384
- Pull getIssueString logic into CelIssue in #385
- Introduce protobuf message testing to policies in #386
- Validate required fields for policy variables in #387
- Compute absolute source location correctly for multiline YAML strings in #395
- Make iteration limit configurable for rule composer in #393
- Decompose policy compile API into rule compilation and composition in #397
- Surface type-mismatch errors in a readable fashion during rule composition in #399
Full Changelog: v0.5.2...v0.6.0