From 58c67d02db32dfb58b78f30795dd69accec2c5e8 Mon Sep 17 00:00:00 2001 From: Mudit Chaudhary Date: Wed, 10 Dec 2025 19:20:08 -0500 Subject: [PATCH] 4.8 release setup Signed-off-by: Mudit Chaudhary --- .github/workflows/ci.yml | 2 +- CedarJava/CHANGELOG.md | 3 ++- CedarJava/build.gradle | 2 +- CedarJavaFFI/Cargo.toml | 10 +++++----- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34a6a7af..80036cd8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,5 +24,5 @@ jobs: needs: get-branch-name uses: ./.github/workflows/run_cedar_java_reusable.yml with: - cedar_policy_ref: "refs/heads/main" # use the latest commit on main + cedar_policy_ref: ${{ needs.get-branch-name.outputs.branch_name }} # use the same branch of cedar-policy cedar_java_ref: "${{ github.href }}" # use the current PR's commit diff --git a/CedarJava/CHANGELOG.md b/CedarJava/CHANGELOG.md index 283fbd26..4c3ab81b 100644 --- a/CedarJava/CHANGELOG.md +++ b/CedarJava/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog -## Unreleased +## 4.8.0 +* Pinned to `cedar-policy 4.8.2` * Added Schema conversion APIs [#325](https://github.com/cedar-policy/cedar-java/pull/325) * Added Level Validation [#327](https://github.com/cedar-policy/cedar-java/pull/327) * Added DateTime extension support [#328](https://github.com/cedar-policy/cedar-java/pull/328) diff --git a/CedarJava/build.gradle b/CedarJava/build.gradle index 7d6e41a3..4eabd939 100644 --- a/CedarJava/build.gradle +++ b/CedarJava/build.gradle @@ -285,7 +285,7 @@ publishing { from components.java groupId = 'com.cedarpolicy' artifactId = 'cedar-java' - version = '3.1.2' + version = '4.8.0' artifacts { jar diff --git a/CedarJavaFFI/Cargo.toml b/CedarJavaFFI/Cargo.toml index 7805f68f..79731cbd 100644 --- a/CedarJavaFFI/Cargo.toml +++ b/CedarJavaFFI/Cargo.toml @@ -6,7 +6,7 @@ description = "Java FFI for Cedar (from the cedar-policy crate)." edition = "2021" -version = "4.0.0" +version = "4.8.0" [dependencies] serde = { version = "1.0", features = ["derive", "rc"] } @@ -31,11 +31,11 @@ jni = { version = "0.21.1", features = ["invocation"] } crate_type = ["cdylib"] [dependencies.cedar-policy] -version = "4.0.0" +version = "4.8.2" git = "https://github.com/cedar-policy/cedar" -branch = "main" +branch = "release/4.8.x" [dependencies.cedar-policy-formatter] -version = "4.0.0" +version = "4.8.2" git = "https://github.com/cedar-policy/cedar" -branch = "main" +branch = "release/4.8.x"