Repository: cedar-policy/cedar
Pull request #1677 (2025-06-27 14:52:06)

update changelogs for 4.5.0


Patch:
diff --git a/Cargo.lock b/Cargo.lock
index 928a5262..1a705dba 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -323,7 +323,7 @@ dependencies = [
 
 [[package]]
 name = "cedar-policy"
-version = "4.4.0"
+version = "4.5.0"
 dependencies = [
  "cedar-policy-core",
  "cedar-policy-formatter",
@@ -354,7 +354,7 @@ dependencies = [
 
 [[package]]
 name = "cedar-policy-cli"
-version = "4.4.0"
+version = "4.5.0"
 dependencies = [
  "assert_cmd",
  "cedar-policy",
@@ -374,7 +374,7 @@ dependencies = [
 
 [[package]]
 name = "cedar-policy-core"
-version = "4.4.0"
+version = "4.5.0"
 dependencies = [
  "arbitrary",
  "chrono",
@@ -405,7 +405,7 @@ dependencies = [
 
 [[package]]
 name = "cedar-policy-formatter"
-version = "4.4.0"
+version = "4.5.0"
 dependencies = [
  "cedar-policy-core",
  "insta",
@@ -420,7 +420,7 @@ dependencies = [
 
 [[package]]
 name = "cedar-testing"
-version = "4.4.0"
+version = "4.5.0"
 dependencies = [
  "assert_cmd",
  "cedar-policy",
@@ -434,7 +434,7 @@ dependencies = [
 
 [[package]]
 name = "cedar-wasm"
-version = "4.4.0"
+version = "4.5.0"
 dependencies = [
  "cedar-policy",
  "cedar-policy-core",
diff --git a/Cargo.toml b/Cargo.toml
index 6a3a456b..6326be7f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,7 @@ debug = "line-tables-only"  # this adds more debug symbols/info to the binary th
 [workspace.package]
 # Check the minimum supported Rust version with `cargo install cargo-msrv && cargo msrv --min 1.X.0` where `X` is something lower than the version noted here (to confirm that versions lower than the one noted here _don't_ work)
 rust-version = "1.82"
-version = "4.4.0"
+version = "4.5.0"
 homepage = "https://cedarpolicy.com"
 keywords = ["cedar", "authorization", "policy", "security"]
 categories = ["compilers", "config"]
diff --git a/cedar-language-server/Cargo.toml b/cedar-language-server/Cargo.toml
index e5f13088..c5289987 100644
--- a/cedar-language-server/Cargo.toml
+++ b/cedar-language-server/Cargo.toml
@@ -11,9 +11,9 @@ homepage.workspace = true
 repository.workspace = true
 
 [dependencies]
-cedar-policy-core = { version = "=4.4.0", path = "../cedar-policy-core", features = ["tolerant-ast", "extended-schema"] }
-cedar-policy-formatter = { version = "=4.4.0", path = "../cedar-policy-formatter", features = ["tolerant-ast"] }
-cedar-policy = { version = "=4.4.0", path = "../cedar-policy", features = ["tolerant-ast"]}
+cedar-policy-core = { version = "=4.5.0", path = "../cedar-policy-core", features = ["tolerant-ast", "extended-schema"] }
+cedar-policy-formatter = { version = "=4.5.0", path = "../cedar-policy-formatter", features = ["tolerant-ast"] }
+cedar-policy = { version = "=4.5.0", path = "../cedar-policy", features = ["tolerant-ast"]}
 anyhow = "1.0.95"
 itertools = "0.14.0"
 lsp-types = "0.94.1"
diff --git a/cedar-policy-cli/CHANGELOG.md b/cedar-policy-cli/CHANGELOG.md
index 4b0a32a8..8bd39669 100644
--- a/cedar-policy-cli/CHANGELOG.md
+++ b/cedar-policy-cli/CHANGELOG.md
@@ -5,6 +5,8 @@ Changes to the Cedar language, which are likely to affect users of the CLI, are
 
 ## Unreleased
 
+## 4.5.0
+
 ## 4.4.1
 
 ## 4.4.0
diff --git a/cedar-policy-cli/Cargo.toml b/cedar-policy-cli/Cargo.toml
index abeb99f2..d3c4a4f1 100644
--- a/cedar-policy-cli/Cargo.toml
+++ b/cedar-policy-cli/Cargo.toml
@@ -11,8 +11,8 @@ homepage.workspace = true
 repository.workspace = true
 
 [dependencies]
-cedar-policy = { version = "=4.4.0", path = "../cedar-policy" }
-cedar-policy-formatter = { version = "=4.4.0", path = "../cedar-policy-formatter" }
+cedar-policy = { version = "=4.5.0", path = "../cedar-policy" }
+cedar-policy-formatter = { version = "=4.5.0", path = "../cedar-policy-formatter" }
 clap = { version = "4", features = ["derive", "env"] }
 serde = { version = "1.0", features = ["derive"] }
 serde_json = "1.0"
diff --git a/cedar-policy-formatter/Cargo.toml b/cedar-policy-formatter/Cargo.toml
index 6d2fcfd4..a8be1384 100644
--- a/cedar-policy-formatter/Cargo.toml
+++ b/cedar-policy-formatter/Cargo.toml
@@ -11,7 +11,7 @@ homepage.workspace = true
 repository.workspace = true
 
 [dependencies]
-cedar-policy-core = { version = "=4.4.0", path = "../cedar-policy-core" }
+cedar-policy-core = { version = "=4.5.0", path = "../cedar-policy-core" }
 pretty = "0.12.4"
 logos = "0.15.0"
 itertools = "0.14"
diff --git a/cedar-policy/CHANGELOG.md b/cedar-policy/CHANGELOG.md
index 0fc3898b..3a034bfd 100644
--- a/cedar-policy/CHANGELOG.md
+++ b/cedar-policy/CHANGELOG.md
@@ -10,8 +10,17 @@ The "Cedar Language Version" refers to the language version as documented in the
 
 Starting with version 3.2.4, changes marked with a star (*) are _language breaking changes_, meaning that they have the potential to affect users of Cedar, beyond users of the `cedar-policy` Rust crate. Changes marked with a star change the behavior of a Cedar parser, the authorization engine, or policy validator.
 
-## [Unreleased]
-Cedar Language Version: TBD
+## Unreleased
+
+### Added
+
+- Added the `raw-parsing` feature flag which provides alternative parsing APIs (`parse_raw`) for
+  `PolicySet`, `Policy`, and `Template`. These APIs don't retain source code information, trading detailed error
+  reporting for reduced memory usage and faster parsing. The feature is only intended for use with raw parsing
+  APIs, as regular parsing performance is degraded when the `raw-parsing` feature is enabled.
+
+## [4.5.0] - Coming soon
+Cedar Language Version: 4.4
 
 ### Added
 
@@ -24,10 +33,6 @@ Cedar Language Version: TBD
    and `RestrictedExpression::new_datetime` (#1614)
 - Added a function to be able to split a policy set parsed from a single string into its component static
   policies and templates. The relevant function is `policy_set_text_to_parts` in the `ffi` module (#1629).
-- Added the `raw-parsing` feature flag which provides alternative parsing APIs (`parse_raw`) for
-  `PolicySet`, `Policy`, and `Template`. These APIs don't retain source code information, trading detailed error
-  reporting for reduced memory usage and faster parsing. The feature is only intended for use with raw parsing
-  APIs, as regular parsing performance is degraded when the `raw-parsing` feature is enabled.
 - Implemented [RFC 71 (trailing commas)](https://github.com/cedar-policy/rfcs/blob/main/text/0071-trailing-commas.md)
   for Cedar policy files. (#1606)
 
@@ -902,7 +907,9 @@ Cedar Language Version: 2.0
 Cedar Language Version: 2.0
 - Initial release of `cedar-policy`.
 
-[Unreleased]: https://github.com/cedar-policy/cedar/compare/v4.4.0...main
+[Unreleased]: https://github.com/cedar-policy/cedar/compare/v4.5.0...main
+[4.5.0]: https://github.com/cedar-policy/cedar/compare/v4.4.1...v4.5.0
+[4.4.1]: https://github.com/cedar-policy/cedar/compare/v4.4.0...v4.4.1
 [4.4.0]: https://github.com/cedar-policy/cedar/compare/v4.3.3...v4.4.0
 [4.3.3]: https://github.com/cedar-policy/cedar/compare/v4.3.2...v4.3.3
 [4.3.2]: https://github.com/cedar-policy/cedar/compare/v4.3.1...v4.3.2
diff --git a/cedar-policy/Cargo.toml b/cedar-policy/Cargo.toml
index e0f68bba..58067d1e 100644
--- a/cedar-policy/Cargo.toml
+++ b/cedar-policy/Cargo.toml
@@ -11,8 +11,8 @@ homepage.workspace = true
 repository = "https://github.com/cedar-policy/cedar"
 
 [dependencies]
-cedar-policy-core = { version = "=4.4.0", path = "../cedar-policy-core" }
-cedar-policy-formatter = { version = "=4.4.0", path = "../cedar-policy-formatter" }
+cedar-policy-core = { version = "=4.5.0", path = "../cedar-policy-core" }
+cedar-policy-formatter = { version = "=4.5.0", path = "../cedar-policy-formatter" }
 ref-cast = "1.0"
 serde = { version = "1.0", features = ["derive", "rc"] }
 serde_json = "1.0"
@@ -77,7 +77,7 @@ miette = { version = "7.6.0", features = ["fancy"] }
 cool_asserts = "2.0"
 criterion = "0.6"
 globset = "0.4"
-cedar-policy-core = { version = "=4.4.0", features = [
+cedar-policy-core = { version = "=4.5.0", features = [
     "test-util",
 ], path = "../cedar-policy-core" }
 # NON-CRYPTOGRAPHIC random number generators
diff --git a/cedar-policy/src/api.rs b/cedar-policy/src/api.rs
index 88c54e65..40240a23 100644
--- a/cedar-policy/src/api.rs
+++ b/cedar-policy/src/api.rs
@@ -75,7 +75,7 @@ pub(crate) mod version {
         LazyLock::new(|| env!("CARGO_PKG_VERSION").parse().unwrap());
     // Cedar language version
     // The patch version field may be unnecessary
-    static LANG_VERSION: LazyLock<Version> = LazyLock::new(|| Version::new(4, 3, 0));
+    static LANG_VERSION: LazyLock<Version> = LazyLock::new(|| Version::new(4, 4, 0));
 
     /// Get the Cedar SDK Semantic Versioning version
     #[allow(clippy::module_name_repetitions)]
diff --git a/cedar-wasm/CHANGELOG.md b/cedar-wasm/CHANGELOG.md
index 1d2500d1..238e78e4 100644
--- a/cedar-wasm/CHANGELOG.md
+++ b/cedar-wasm/CHANGELOG.md
@@ -2,6 +2,8 @@
 
 ## Unreleased
 
+## 4.5.0
+
 ## 4.4.1
 
 ## 4.4.0
diff --git a/cedar-wasm/Cargo.toml b/cedar-wasm/Cargo.toml
index 2e2b2965..15cb7716 100644
--- a/cedar-wasm/Cargo.toml
+++ b/cedar-wasm/Cargo.toml
@@ -9,9 +9,9 @@ license.workspace = true
 exclude = ['/build']
 
 [dependencies]
-cedar-policy = { version = "=4.4.0", path = "../cedar-policy", features = ["wasm"] }
-cedar-policy-core = { version = "=4.4.0", path = "../cedar-policy-core", features = ["wasm"] }
-cedar-policy-formatter = { version = "=4.4.0", path = "../cedar-policy-formatter" }
+cedar-policy = { version = "=4.5.0", path = "../cedar-policy", features = ["wasm"] }
+cedar-policy-core = { version = "=4.5.0", path = "../cedar-policy-core", features = ["wasm"] }
+cedar-policy-formatter = { version = "=4.5.0", path = "../cedar-policy-formatter" }
 
 serde = { version = "1.0", features = ["derive", "rc"] }
 serde-wasm-bindgen = "0.6"


Test patch:
diff --git a/cedar-policy/src/test/test.rs b/cedar-policy/src/test/test.rs
index eaea7207..7858983b 100644
--- a/cedar-policy/src/test/test.rs
+++ b/cedar-policy/src/test/test.rs
@@ -7319,12 +7319,12 @@ mod version_tests {
 
     #[test]
     fn test_sdk_version() {
-        assert_eq!(get_sdk_version().to_string(), "4.4.0");
+        assert_eq!(get_sdk_version().to_string(), "4.5.0");
     }
 
     #[test]
     fn test_lang_version() {
-        assert_eq!(get_lang_version().to_string(), "4.3.0");
+        assert_eq!(get_lang_version().to_string(), "4.4.0");
     }
 }
 
diff --git a/cedar-testing/Cargo.toml b/cedar-testing/Cargo.toml
index 75ab78fa..3dcc15e1 100644
--- a/cedar-testing/Cargo.toml
+++ b/cedar-testing/Cargo.toml
@@ -6,8 +6,8 @@ license.workspace = true
 publish = false
 
 [dependencies]
-cedar-policy = { version = "=4.4.0", path = "../cedar-policy" }
-cedar-policy-core = { version = "=4.4.0", path = "../cedar-policy-core" }
+cedar-policy = { version = "=4.5.0", path = "../cedar-policy" }
+cedar-policy-core = { version = "=4.5.0", path = "../cedar-policy-core" }
 serde = { version = "1.0", features = ["derive"] }
 serde_json = "1.0"
 smol_str = { version = "0.3", features = ["serde"] }