Update Rust crate cedar-policy-core to v4.9.1#7998
Update Rust crate cedar-policy-core to v4.9.1#7998hash-worker[bot] wants to merge 1 commit intomainfrom
cedar-policy-core to v4.9.1#7998Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7998 +/- ##
=======================================
Coverage 62.68% 62.68%
=======================================
Files 1312 1312
Lines 133798 133798
Branches 5511 5511
=======================================
+ Hits 83870 83872 +2
+ Misses 49013 49011 -2
Partials 915 915
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
359e943 to
90728a9
Compare
90728a9 to
55c5449
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
55c5449 to
ea9c8f2
Compare
cedar-policy-core to v4.7.0cedar-policy-core to v4.8.0
|
Here's the code health analysis summary for commits Analysis Summary
Code Coverage Report
|
ea9c8f2 to
1b4a9db
Compare
1b4a9db to
d77087b
Compare
8490239 to
4df6fda
Compare
PR SummaryMedium Risk Overview Regenerates Written by Cursor Bugbot for commit 5788b6d. This will update automatically on new commits. Configure here. |
4df6fda to
0ab3731
Compare
0ab3731 to
ac5c8cc
Compare
ac5c8cc to
3848feb
Compare
3848feb to
3c21588
Compare
3c21588 to
2c8e809
Compare
Merging this PR will not alter performance
Comparing Footnotes
|
This PR contains the following updates:
4.5.1->4.9.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
cedar-policy/cedar (cedar-policy-core)
v4.9.1Compare Source
Release 4.9.1, available on crates.io
Changed
Full Changelog: cedar-policy/cedar@v4.9.0...v4.9.1
v4.9.0Compare Source
Release 4.9.0, available on crates.io
Added
Entity::attrs()andEntity::tags()to iterate over all attributes/tags of anEntity(#2084)to_json_value()methods onEntities,Context, andEntityUid(matching the existing one onEntity) (#2085)FromorTryFromimpls for converting public types into their corresponding FFI versions inthe
ffimodule (new impls onffi::EntityUid,ffi::Context,ffi::Entities,ffi::Policy,ffi::Template, andffi::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)PartialEq,Clone, etc) for a number of types in theffimodule (#2083)<residual> && falsetofalseand<residual> || truetotruewhen<residual>is error-free. (#2091)Fixed
v4.8.2Compare Source
Release 4.8.2, available on crates.io
Changed
entity-manifestexperimental feature. Consumers of these functions should migrate to thetpefeature and usePolicySet::is_authorized_batch. (#1945)Fixed
v4.8.1Compare Source
Release 4.8.1, available on crates.io
Fixed
v4.8.0Compare Source
Release 4.8.0, available on crates.io
Added
TpeResponse::residual_policiesandTpeResponse::nontrivial_residual_policiesto get residual policies under experimental featuretpe. (#1906)PartialEntity::newandPartialEntities::from_partial_entitiesto programmatically constructPartialEntityandPartialEntitiesunder featuretpe. (#1916)Changed
tpeexperimental feature,PartialEntities::from_concretenow requires aSchemaand will validate the entities,ensuring that a
PartialEntitiesobject always meets the preconditions required for type aware partial evaluation. (#1903)hasoperation when the LHS record is projectable during partial evaluation. (#1912)ActionAttributesContainEmptySet,UnsupportedActionAttribute,ActionAttrEval, andExprEscapeUsed.These errors are never returned, so it is safe to delete any associated error handling code. (#1929)
in,==, andhasTagslightly more permissive to match the formally verified Lean model. (#1931)if-then-else,or,andexpressions (#1940)Fixed
partial-evalof featuretpe. (#1898)PolicySet::merge. Updated policy IDs were correctly reflected when getting apolicy with
PolicySet::policyandPolicySet::template, butPolicy::id,Template::id, andPolicy::template_idcontinued to return the original id.
SchemaFragment::to_cedarschemacould return a string that is not a valid Cedar schema.v4.7.1Compare Source
Release 4.7.1, available on crates.io
Fixed
v4.7.0Compare Source
Release 4.7.0, available on crates.io
Cedar Language Version: 4.4
Added
Schema::actions_for_principal_and_resourceto list actions which apply to a particular principal and resource type.tpeexperimental feature, addedPolicySet::query_actionsto list the actions which might be authorized given partial request with an unknown action.tpeexperimental feature, addedPartialEntities::emptyto conveniently construct an empty partial entity set.v4.6.2Compare Source
Release 4.6.2, available on crates.io
Fixed
v4.6.1Compare Source
Release 4.6.1, available on crates.io
Fixed
v4.6.0Compare Source
Release 4.6.0, available on crates.io
Added
deep_eqto theEntityandEntitiesstructs to allow comparing these objects for structural equality. (#1723)stateful_is_authorized,preparse_policy_setandpreparse_schemato support stateful evaluation using a cached policy set and schema, in theffimodule. (#1831, fixing #1829)has_non_scope_constraintforPolicyandTemplate, returningtrueif the policy or template has awhenorunlesscondition. (#1852)ipaddr.isInRangethat returnstrueif the targetipaddris in range for any of the arguments as described in RFC 99, under the experimental flagvariadic-is-in-range. (#1775)experimental flag
tpe. (#1575)tpe. Batched evaluation allows for permission queries against large databases of entities. (#1812)Changed
v4.5.2Compare Source
Release 4.5.2, available on crates.io
Fixed
Configuration
📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - "before 4am every weekday,every weekend" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.