Skip to content

Commit 860e1e5

Browse files
authored
Prepare for 3.0.0 release (#91)
Signed-off-by: Shirom Makkad <[email protected]>
1 parent 6f9758c commit 860e1e5

File tree

5 files changed

+11
-14
lines changed

5 files changed

+11
-14
lines changed

CHANGELOG.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12-
- Update to Cedar 4 (requires breaking change)
13-
1412
### Changed
1513

16-
- Remove dependency on `cedar-policy-core`, `cedar-policy-formatter`, and `cedar-policy-validator`.
17-
- Update `thiserror` and `derive_builder` versions
18-
1914
### Fixed
2015

16+
## 3.0.0 2025-04-28
17+
- Update to Cedar 4 (requires breaking change)
18+
- Remove dependency on `cedar-policy-core`, `cedar-policy-formatter`, and `cedar-policy-validator`.
19+
- Update `thiserror` and `derive_builder` versions
2120
- Remove unused deps
2221

2322
## 2.0.0 - 2024-03-13

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cedar-local-agent"
33
edition = "2021"
4-
version = "2.0.0"
4+
version = "3.0.0"
55
license = "Apache-2.0"
66
description = "Foundational library for creating Cedar-based asynchronous authorizers."
77
keywords = ["cedar", "agent", "authorization", "policy", "security"]

examples/simple_semver_check/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ edition = "2021"
1111
# Update the branch here when a new version is released
1212
cedar-local-agent = { path="../.." }
1313
# When creating a new release, update the branch here
14-
cedar-policy = "3.1.0"
15-
cedar-policy-core = "3.1.0"
14+
cedar-policy = "4"
1615
tokio = "1.36.0"

examples/simple_semver_check/src/main.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ use cedar_local_agent::public::file::entity_provider::EntityProvider;
44
use cedar_local_agent::public::file::policy_set_provider::PolicySetProvider;
55
use cedar_local_agent::public::file::{entity_provider, policy_set_provider};
66
use cedar_local_agent::public::simple::{Authorizer, AuthorizerConfigBuilder};
7-
use cedar_policy::{Context, Entities, Request};
8-
use cedar_policy_core::authorizer::Decision;
7+
use cedar_policy::{Context, Entities, Request, Decision};
98
use std::sync::Arc;
109

1110
fn construct_request() -> Request {
1211
Request::new(
13-
Some("Principal::\"request\"".parse().unwrap()),
14-
Some("Action::\"request\"".parse().unwrap()),
15-
Some("Resource::\"request\"".parse().unwrap()),
12+
"Principal::\"request\"".parse().unwrap(),
13+
"Action::\"request\"".parse().unwrap(),
14+
"Resource::\"request\"".parse().unwrap(),
1615
Context::empty(),
1716
None
1817
).unwrap()

0 commit comments

Comments
 (0)