diff --git a/api/rust/suborbital/Cargo.lock b/api/rust/suborbital/Cargo.lock index a3bf21f3..642eb1a2 100644 --- a/api/rust/suborbital/Cargo.lock +++ b/api/rust/suborbital/Cargo.lock @@ -2,4 +2,4 @@ # It is not intended for manual editing. [[package]] name = "suborbital" -version = "0.8.0" +version = "0.8.1" diff --git a/api/rust/suborbital/Cargo.toml b/api/rust/suborbital/Cargo.toml index 0d7334f9..077df883 100644 --- a/api/rust/suborbital/Cargo.toml +++ b/api/rust/suborbital/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "suborbital" -version = "0.8.0" +version = "0.8.1" authors = ["cohix "] edition = "2018" description = "Suborbital Wasm Runnable API" diff --git a/changelogs/v0.8.1.md b/changelogs/v0.8.1.md new file mode 100644 index 00000000..50a3f359 --- /dev/null +++ b/changelogs/v0.8.1.md @@ -0,0 +1,5 @@ +Beta-8.1 brings the ability to set response headers from Wasm Runnables. + +Using Rust, `resp::set_header(key, val)` will indicate to the caller that the module wants to set a Response header and the headers will be included in the job response. + +This functionality only works when a CoordinatedRequest is mounted on the instance (by passing its JSON as the job data) \ No newline at end of file