Skip to content

Commit

Permalink
bump versions
Browse files Browse the repository at this point in the history
Signed-off-by: Kesha Hietala <[email protected]>
  • Loading branch information
khieta committed Feb 26, 2024
1 parent 9046fa4 commit 027ca10
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CedarJava/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if [ "$#" -ne 0 ] && [ "$1" == "run_int_tests" ]; then

export MUST_RUN_CEDAR_INTEGRATION_TESTS=1

cargo_str='cedar-policy = { version = "3.0", path = "../cedar/cedar-policy" }'
cargo_str='cedar-policy = { version = "3.1", path = "../cedar/cedar-policy" }'
replace_once ../CedarJavaFFI/Cargo.toml ".*cedar-policy =.*" "$cargo_str"
else
unset MUST_RUN_CEDAR_INTEGRATION_TESTS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ public interface AuthorizationEngine {
* @return The Cedar language major version supported
*/
static String getCedarLangVersion() {
return "3.0";
return "3.1";
}
}
4 changes: 2 additions & 2 deletions CedarJavaFFI/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ name = "cedar-java-ffi"
edition = "2021"


version = "3.0.0"
version = "3.1.0"

[dependencies]
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
cedar-policy = { version = "3.0", path = "../../cedar/cedar-policy" } # Need latest version from github
cedar-policy = { version = "3.1", path = "../../cedar/cedar-policy" } # Need latest version from github

# JNI Support
jni = "0.21.0"
Expand Down
2 changes: 1 addition & 1 deletion CedarJavaFFI/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub fn callCedarJNI(
/// The main JNI entry point
#[jni_fn("com.cedarpolicy.BasicAuthorizationEngine")]
pub fn getCedarJNIVersion(env: JNIEnv<'_>) -> jstring {
env.new_string("3.0")
env.new_string("3.1")
.expect("error creating Java string")
.into_raw()
}
Expand Down

0 comments on commit 027ca10

Please sign in to comment.