Releases: k9securityio/cedar-py
cedarpy v4.8.0
cedarpy v4.8.0 has been released!
This release:
- updates Cedar Policy engine version to v4.8.2 (PR #38)
- Note potentially breaking change:
format_policies()output has changed. Cedar 4.8 formatter now outputs dot notation instead of bracket notation
- Note potentially breaking change:
- adds a performance regression test suite built on pytest-benchmark (PR #39)
This release is API-compatible with previous releases.
Thank you to @Iamrodos for contributing the update to Cedar Policy engine v4.8.0!
Full Changelog: v4.7.2...v4.8.0
cedarpy v4.7.2
The cedarpy v4.7.2 release is identical to the 4.7.1 source code. The v4.7.2 only bumps the version number in Cargo.toml to create a release to pypi.
This fixes #35
cedarpy v4.7.1
cedarpy v4.7.1 has been released!
This release:
- adds a
validate_policies(policies, schema)function that validates Cedar policies against a schema, exposing the cedar-policy Validator API to Python users.
This release is API-compatible with previous releases.
Thank you to @Iamrodos for contributing the validate_policies function
cedarpy v4.7.0
cedarpy v4.7.0 has been released!
This release:
- updates Cedar Policy engine version to v4.7.0
- adds support for Python 3.14 wheel artifacts for all platforms: Linux, Mac, Windows
- adds tests for some new Cedar Policy 4.7 policy syntax
This release is API-compatible with previous releases.
Thank you to @Iamrodos for contributing the update to Cedar Policy engine v4.7.0 and support for Python 3.14!
cedarpy v4.1.0
cedarpy v4.1.0 has been released!
This release:
- updates Cedar Policy engine version to v4.1.0
- adds functions to convert Cedar policies to and from json:
policies_to_json_str&policies_from_json_str - autodetects whether schema is formatted in JSON or Cedar and parses appropriately
- updates cedarpy versioning to track the engine version and with a release branch; documented in README
- (bonus) integration tests now run on builds
This release is API-compatible with previous releases. However, note that the Cedar entities format changed between Cedar 2.2.x and 4.1.x and you will need to update your entity definitions. See the README and unit tests for examples.
Thank you to @davemssavage for contributing the update to Cedar Policy engine v4.1.0 and new functions!