Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ relevant information.
differs from the command that produced it.

### Added
* Workflows can call typed Nexus service operations with `nexus_client`, `execute`, and `start`
when the `experimental` feature is enabled, using service definitions from the draft Nexus Rust
SDK. `NexusServiceClient` uses `NexusServiceClientOptions`; calls take `NexusOperationOptions`
and return a typed result or `NexusOperationHandle`. The `cancellation_type` option is a
non-optional enum that defaults to waiting for cancellation completion.
* Experimental Event Groups support (requires the `experimental` feature). Event Groups
are workflow-level metadata that group related history events for UI and observability.
`EventGroup::new` takes a required ID (used verbatim; do not put secrets in it);
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ prost-types = { version = "0.7", package = "prost-wkt-types" }
pbjson = "0.9"
pbjson-build = "0.9"
serde_json = "1.0"
nexus-rpc = { git = "https://github.com/nexus-rpc/sdk-rust", rev = "a6ebfedd3bb4c751d68f385521d70033a09fe5ee" }

[workspace.lints.rust]
unreachable_pub = "warn"
Expand Down
2 changes: 2 additions & 0 deletions crates/common-wasm/src/data_converters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
mod failure_converter;
mod well_known;

#[cfg(feature = "experimental")]
pub use failure_converter::NexusOperationDecodeHint;
pub use failure_converter::{
ActivityExecutionDecodeHint, CancelExternalWorkflowDecodeHint,
ChildWorkflowExecutionDecodeHint, ChildWorkflowStartDecodeHint, CommonAttributes,
Expand Down
Loading
Loading