Skip to content

v4.11.0

Latest

Choose a tag to compare

@muditchaudhary muditchaudhary released this 29 Oct 19:08
d8dd5c9

4.11.0

  • Pinned to cedar-policy 4.11.2
  • Added PolicyParseException, thrown by PolicySet.parsePolicies when policy text fails to parse. It is a subclass of InternalException, so existing catch blocks and getMessage() are unaffected, and adds getDetailedErrors() returning Cedar's structured diagnostics - source span, expected tokens, and help text - for each error. getErrors() now carries one entry per parse error rather than a single entry for the whole document #367
  • Adds Type-Aware Partial Evaluation (TPE) support #372. This is an experimental feature in cedar-policy and can change behavior in future releases (See experimental-features).