From 38bf421ccbf91e8f06cad7a54367d890efa9c960 Mon Sep 17 00:00:00 2001 From: slinkydeveloper Date: Wed, 28 Oct 2026 15:59:00 +0100 Subject: [PATCH] Bump shared core to 8.2.0 --- sdk-core/src/main/rust/Cargo.lock | 4 ++-- sdk-core/src/main/rust/Cargo.toml | 2 +- sdk-core/src/main/rust/src/lib.rs | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sdk-core/src/main/rust/Cargo.lock b/sdk-core/src/main/rust/Cargo.lock index 65bf2043..0ad54618 100644 --- a/sdk-core/src/main/rust/Cargo.lock +++ b/sdk-core/src/main/rust/Cargo.lock @@ -379,9 +379,9 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "restate-sdk-shared-core" -version = "8.0.0" +version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "378a33ebbcb653e5c7f5034a1acf2fca5b1c7e332646e7a70f8ea08068b97a64" +checksum = "bfd8d132e369af9310530b57c3e352a81cfad54e79d8d38fc5d7de9026ad2dfa" dependencies = [ "base64", "bytes", diff --git a/sdk-core/src/main/rust/Cargo.toml b/sdk-core/src/main/rust/Cargo.toml index b37b1c3d..8ea5c51a 100644 --- a/sdk-core/src/main/rust/Cargo.toml +++ b/sdk-core/src/main/rust/Cargo.toml @@ -9,7 +9,7 @@ name = "restate_sdk_core" crate-type = ["cdylib"] [dependencies] -restate-sdk-shared-core = { version = "8.0.0", features = ["tracing_pretty"] } +restate-sdk-shared-core = { version = "8.2.0", features = ["tracing_pretty"] } bytes = "1.9" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] } diff --git a/sdk-core/src/main/rust/src/lib.rs b/sdk-core/src/main/rust/src/lib.rs index a1ea9504..2999f269 100644 --- a/sdk-core/src/main/rust/src/lib.rs +++ b/sdk-core/src/main/rust/src/lib.rs @@ -591,7 +591,7 @@ pub unsafe extern "C" fn _vm_sys_state_get(handle: *mut VmHandle, key: ForeignSl #[inline] fn vm_sys_state_get(vm: &mut CoreVM, key: &str) -> VMResult { - VM::sys_state_get(vm, key.to_owned(), PayloadOptions::default()) + VM::sys_state_get(vm, key.to_owned(), None, PayloadOptions::default()) } #[export_name = "vm_sys_state_get_keys"] @@ -603,7 +603,7 @@ pub unsafe extern "C" fn _vm_sys_state_get_keys(handle: *mut VmHandle) -> u64 { #[inline] fn vm_sys_state_get_keys(vm: &mut CoreVM) -> VMResult { - VM::sys_state_get_keys(vm) + VM::sys_state_get_keys(vm, None) } #[export_name = "vm_sys_state_set"] @@ -619,7 +619,7 @@ pub unsafe extern "C" fn _vm_sys_state_set( #[inline] fn vm_sys_state_set(vm: &mut CoreVM, key: &str, value: Bytes) -> VMResult<()> { - VM::sys_state_set(vm, key.to_owned(), value, PayloadOptions::default()) + VM::sys_state_set(vm, key.to_owned(), value, None, PayloadOptions::default()) } #[export_name = "vm_sys_state_clear"] @@ -631,7 +631,7 @@ pub unsafe extern "C" fn _vm_sys_state_clear(handle: *mut VmHandle, key: Foreign #[inline] fn vm_sys_state_clear(vm: &mut CoreVM, key: &str) -> VMResult<()> { - VM::sys_state_clear(vm, key.to_owned()) + VM::sys_state_clear(vm, key.to_owned(), None) } #[export_name = "vm_sys_state_clear_all"] @@ -643,7 +643,7 @@ pub unsafe extern "C" fn _vm_sys_state_clear_all(handle: *mut VmHandle) -> u32 { #[inline] fn vm_sys_state_clear_all(vm: &mut CoreVM) -> VMResult<()> { - VM::sys_state_clear_all(vm) + VM::sys_state_clear_all(vm, None) } #[export_name = "vm_sys_sleep"]