Skip to content

v4.9.0

Choose a tag to compare

@katherine-hough katherine-hough released this 09 Feb 22:28
· 10 commits to release/4.9.x since this release
2a3113d

Release 4.9.0, available on crates.io

Added

  • Entity::attrs() and Entity::tags() to iterate over all attributes/tags of an Entity (#2084)
  • to_json_value() methods on Entities, Context, and EntityUid (matching the existing one on Entity) (#2085)
  • From or TryFrom impls for converting public types into their corresponding FFI versions in
    the ffi module (new impls on ffi::EntityUid, ffi::Context, ffi::Entities, ffi::Policy,
    ffi::Template, and ffi::StaticPolicySet) (#2085)
  • schema_to_json_with_resolved_types() function, which takes in a Cedar schema and returns a json schema without any instances of EntityOrCommon; they're all either Entity or CommonType (#2058)
  • More derives (PartialEq, Clone, etc) for a number of types in the ffi module (#2083)
  • TPE: Simplify <residual> && false to false and <residual> || true to true when <residual> is error-free. (#2091)

Fixed

  • Policy formatting for record literals and index-style attribute access. (#2117, fixing #959 and #1005)