Skip to content

Commit

Permalink
Updating language version numbers (#1267)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Eline <[email protected]>
  • Loading branch information
aaronjeline authored Oct 7, 2024
1 parent 07af02a commit ec6424e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cedar-policy/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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, 1, 0);
}
/// Get the Cedar SDK Semantic Versioning version
pub fn get_sdk_version() -> Version {
Expand Down
4 changes: 2 additions & 2 deletions cedar-policy/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6202,12 +6202,12 @@ mod version_tests {

#[test]
fn test_sdk_version() {
assert_eq!(get_sdk_version().to_string(), "4.1.0");
assert_eq!(get_sdk_version().to_string(), "4.2.0");
}

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

Expand Down

0 comments on commit ec6424e

Please sign in to comment.