Skip to content

v4.8.0

Choose a tag to compare

@john-h-kastner-aws john-h-kastner-aws released this 17 Nov 19:47
· 43 commits to release/4.8.x since this release
ca8fca4

Release 4.8.0, available on crates.io

Added

  • Added TpeResponse::residual_policies and TpeResponse::nontrivial_residual_policies to get residual policies under experimental feature tpe. (#1906)
  • Added PartialEntity::new and PartialEntities::from_partial_entities to programmatically construct PartialEntity and PartialEntities under feature tpe. (#1916)

Changed

  • For the tpe experimental feature, PartialEntities::from_concrete now requires a Schema and will validate the entities,
    ensuring that a PartialEntities object always meets the preconditions required for type aware partial evaluation. (#1903)
  • Evaluate has operation when the LHS record is projectable during partial evaluation. (#1912)
  • Deprecated schema parsing errors ActionAttributesContainEmptySet, UnsupportedActionAttribute, ActionAttrEval, and ExprEscapeUsed.
    These errors are never returned, so it is safe to delete any associated error handling code. (#1929)
  • Made policy validation for in, ==, and hasTag slightly more permissive to match the formally verified Lean model. (#1931)
  • Increase partial evaluation precision for if-then-else, or, and expressions (#1940)

Fixed

  • Removed incorrect dependency of feature partial-eval of feature tpe. (#1898)
  • Fixed incomplete policy ID renaming by PolicySet::merge. Updated policy IDs were correctly reflected when getting a
    policy with PolicySet::policy and PolicySet::template, but Policy::id, Template::id, and Policy::template_id
    continued to return the original id.
  • Fixed issue where SchemaFragment::to_cedarschema could return a string that is not a valid Cedar schema.