Skip to content

chore(deps): bump cedar-policy from 3.4.1 to 4.4.0 in /packages/cedar_ffi/src #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 14, 2025

Bumps cedar-policy from 3.4.1 to 4.4.0.

Release notes

Sourced from cedar-policy's releases.

v4.4.0

Release 4.4.0, available on crates.io

Cedar Language Version: 4.3

Added

  • Stabilized RFC 76, removing the experimental level-validate feature flag. That functionality is now available without the feature flag. Stabilization comes with changes to fix bugs in the features. Level validation is now more permissive when checking if expressions (fixing #1507), and stricter when checking record literals and entity tag operations (fixing #1505 and #1503). (#1567)
  • Implemented RFC 53 (enumerated entity types) (#1377)
  • Stabilized RFC 80 (datetime extension), making datetime a default feature. (#1541)
  • Added Entities::remove_entities() to remove Entitys from an Entities struct (#1453, resolving #701)
  • Added PolicySet::merge() to merge a PolicySet into another PolicySet struct (#1476, resolving #610)
  • Added to_cedar functions for PolicySet, Policy, and Template that render the policy in the Cedar syntax. These functions can be used to convert JSON formatted policies into the human-readable syntax (#1510, resolving #461)
  • Added Validator::schema() to get a reference to the Schema even after it has been consumed to construct a Validator (#1524)
  • Added Schema::request_envs() to get all of the RequestEnvs that are valid according to the schema. (This joins the existing Policy::get_valid_request_envs() and Template::get_valid_request_envs() that return the subset of request envs that are valid for a particular policy or template.) (#1547)
  • Added EntityId::unescaped(), analogous to EntityId::escaped(). This is simply an alias for EntityId::as_ref() with the AsRef impl that produces &str. (#1555)
  • Added PartialResponse::unknown_entities method (#1557)
  • Added Entities::len and Entities::is_empty methods (#1562, resolving #1523)

Changed

  • Changed Entities::add_entities and Entities::from_entities to ignore structurally equal entities with the same Entity UID.
  • For protobufs experimental feature, a number of changes to the interface and the Protobuf format definitions, as we continue to iterate towards making this feature stable. (#1488, #1495, #1506, #1535)
  • Bump MSRV to 1.81 (#1542)
  • HierarchyNotRespected validation error is no longer returned (although the error variant remains, to avoid a breaking change). This means that in some edge cases, policies that previously failed to validate under strict validation will now pass validation, probably with an ImpossiblePolicy warning. (#1355, resolving #638)

v4.3.3

Release 4.3.3, available on crates.io

Changed

  • Significant changes to the API for the experimental protobufs feature (#1452, #1467, others)

Fixed

  • Fixed the experimental protobufs feature so that code depending on cedar-policy with this feature now successfully builds, even if that code is not part of the same Cargo workspace as cedar-policy, cedar-policy-core, etc (#1452).
  • Fixed a bug in the experimental entity-manifest feature. If an entity appears as both a possible value for a scope variable and an entity literal, slicing using entity manifests will now correctly capture all necessary attributes (#1429).
  • Fixed a bug in the experimental entity-manifest and level-validate features. These features failed to consider any attribute accesses occurring inside the guard of an if expression when guard expression had a singleton boolean type (#1462).

v4.3.2

Release 4.3.2, available on crates.io

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 14, 2025
Bumps [cedar-policy](https://github.com/cedar-policy/cedar) from 3.4.1 to 4.4.0.
- [Release notes](https://github.com/cedar-policy/cedar/releases)
- [Commits](cedar-policy/cedar@v3.4.1...v4.4.0)

---
updated-dependencies:
- dependency-name: cedar-policy
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/packages/cedar_ffi/src/cedar-policy-4.4.0 branch from 0bb8797 to 645ab31 Compare May 14, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants