Repository navigation
v2.4.0
·
44 commits
to release/2.4.x
since this release
Release 2.4.0, available on crates.io
Cedar Language Version: 2.1.1
Added
- New methods exported for
EntityTypeName.basenameto get the basename (without namespaces).namespace_componentsto get the namespace as an iterator over its components.namespaceto get the namespace as a single string.
Changed
- Some error types now carry more information about the error, with error
messages updated appropriately. For instance, added list of attributes that do
exist to theRecordAttrDoesNotExisterror message. - Improved error messages for some schema type parsing errors.
- When an entity type shape or action context is declared with type other than
Record, the error message will indicated the affected entity type or action.
- When an entity type shape or action context is declared with type other than
- Improved a variety of other error messages
- Increased precision for validating records. Previously,
permit(principal, action, resource) when {{"foo": 5} has bar};would validate.
Now it will not, since we know{"foo": 5} has barisFalse, and the
validator will return an error for a policy that can never fire. - Removed deprecated
__exprescapes from integration tests.
Full Changelog: v2.3.3...v2.4.0