Skip to content

Commit

Permalink
bump language version to 4.2 (#1423)
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Disselkoen <[email protected]>
  • Loading branch information
cdisselkoen authored Jan 13, 2025
1 parent 7bd42a3 commit 89d0c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cedar-policy/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub(crate) mod version {
static ref SDK_VERSION: Version = env!("CARGO_PKG_VERSION").parse().unwrap();
// Cedar language version
// The patch version field may be unnecessary
static ref LANG_VERSION: Version = Version::new(4, 0, 0);
static ref LANG_VERSION: Version = Version::new(4, 2, 0);
}
/// Get the Cedar SDK Semantic Versioning version
#[allow(clippy::module_name_repetitions)]
Expand Down
2 changes: 1 addition & 1 deletion cedar-policy/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6292,7 +6292,7 @@ mod version_tests {

#[test]
fn test_lang_version() {
assert_eq!(get_lang_version().to_string(), "4.0.0");
assert_eq!(get_lang_version().to_string(), "4.2.0");
}
}

Expand Down

0 comments on commit 89d0c20

Please sign in to comment.