Skip to content

Commit 6dd91c6

Browse files
Create CedarJava 4.9 Release (#358)
Signed-off-by: Mudit Chaudhary <chmudit@amazon.com>
1 parent da85f1a commit 6dd91c6

4 files changed

Lines changed: 19 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424
needs: get-branch-name
2525
uses: ./.github/workflows/run_cedar_java_reusable.yml
2626
with:
27-
cedar_policy_ref: "refs/heads/main" # use the latest commit on main
27+
cedar_policy_ref: ${{ needs.get-branch-name.outputs.branch_name }} # use the same branch of cedar-policy
2828
cedar_java_ref: "${{ github.href }}" # use the current PR's commit

CedarJava/CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# Changelog
22

3-
## Unreleased
3+
## 4.9.0
4+
* Pinned to `cedar-policy 4.9.1`
5+
* Improve toCedarExpr() correctness and add CedarStrings utility [#351](https://github.com/cedar-policy/cedar-java/pull/351)
6+
* Add PolicySet and Schema caching [#350](https://github.com/cedar-policy/cedar-java/pull/350)
7+
* Optimize JNI performance and fix Decimal validation [#349](https://github.com/cedar-policy/cedar-java/pull/349)
8+
* Updated Java source and target compatibility from 1.8 to 17 aligning with the pre-requisites in README [#350](https://github.com/cedar-policy/cedar-java/pull/350)
9+
* Bugfix: EntityIdentifier equals implementation [#352](https://github.com/cedar-policy/cedar-java/pull/352)
10+
11+
## 4.8.0
12+
* Pinned to `cedar-policy 4.8.2`
413
* Added Schema conversion APIs [#325](https://github.com/cedar-policy/cedar-java/pull/325)
514
* Added Level Validation [#327](https://github.com/cedar-policy/cedar-java/pull/327)
615
* Added DateTime extension support [#328](https://github.com/cedar-policy/cedar-java/pull/328)

CedarJava/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def ZigVersion = '0.11'
152152
tasks.register('validateZigVersion') {
153153
group = 'Build'
154154
description = 'Validates that the correct zig version is installed'
155-
155+
156156
doLast {
157157
def output = new ByteArrayOutputStream()
158158
exec {
@@ -162,7 +162,7 @@ tasks.register('validateZigVersion') {
162162
def version = output.toString().trim()
163163
println "Detected Zig version: ${version}"
164164
if (!version.startsWith(ZigVersion)) {
165-
throw new GradleException("Zig version must be ${ZigVersion} but found: ${version}")
165+
throw new GradleException("Zig version must be ${ZigVersion} but found: ${version}")
166166
}
167167
println "Zig version validation successful"
168168
}
@@ -324,7 +324,7 @@ publishing {
324324
from components.java
325325
groupId = 'com.cedarpolicy'
326326
artifactId = 'cedar-java'
327-
version = '3.1.2'
327+
version = '4.9.0'
328328

329329
artifacts {
330330
jar

CedarJavaFFI/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Java FFI for Cedar (from the cedar-policy crate)."
66
edition = "2021"
77

88

9-
version = "4.0.0"
9+
version = "4.9.0"
1010

1111
[dependencies]
1212
serde = { version = "1.0", features = ["derive", "rc"] }
@@ -32,11 +32,11 @@ jni = { version = "0.21.1", features = ["invocation"] }
3232
crate_type = ["cdylib"]
3333

3434
[dependencies.cedar-policy]
35-
version = "4.0.0"
35+
version = "4.9.1"
3636
git = "https://github.com/cedar-policy/cedar"
37-
branch = "main"
37+
branch = "release/4.9.x"
3838

3939
[dependencies.cedar-policy-formatter]
40-
version = "4.0.0"
40+
version = "4.9.1"
4141
git = "https://github.com/cedar-policy/cedar"
42-
branch = "main"
42+
branch = "release/4.9.x"

0 commit comments

Comments
 (0)