Skip to content

v4.15.0

Choose a tag to compare

@victornicolet victornicolet released this 16 Nov 14:52
· 23 commits to main since this release
5f9f92e

Release 4.15.0, available on crates.io

Added

  • Stabilized RFC 99 (variadic isInRange), removing
    the experimental variadic-is-in-range feature flag and enabling the functionality by default.

Changed

  • The Cedar schema parser is now faster (~2-6x on benchmarks in cedar-spec/cedar-benchmarking) as a result of
    avoiding re-parsing ids (#2659).
  • The policy formatter now writes attributes that are valid identifiers without quotes, so principal["name"]
    becomes principal.name and principal has "name" becomes principal has name (#2118).

Added

  • *_with_depth_limit parsing functions for PolicySet, Policy, and Template (Cedar and JSON formats), and for
    Expression and RestrictedExpression (Cedar format), to avoid stack overflows on deeply nested input. See the crate
    documentation for choosing a limit. (#2383)