Skip to content

Commit

Permalink
changelog and tweaks for v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cohix committed Mar 20, 2021
1 parent 9088e65 commit 5f33527
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/rust/suborbital/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/rust/suborbital/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "suborbital"
version = "0.8.2"
version = "0.9.0"
authors = ["cohix <connorjhicks@gmail.com>"]
edition = "2018"
description = "Suborbital Wasm Runnable API"
Expand Down
9 changes: 9 additions & 0 deletions changelogs/v0.9.0.md
@@ -0,0 +1,9 @@
This release contains a huge internal improvement to how WebAssembly modules communicate with Reactr. There is no change needed to your code, but your Runnables will need to be re-compiled with the 0.9.0 libraries for Rust and Swift.

WebAssembly Runnables are now more performant when accessing or returning large amounts of data, and the new internal system will make it easier to develop new features in the future.

Of note, two pieces of functionality are still missing from the Swift library compared to Rust:
- Setting HTTP request and response headers
- Ability to return errors from the run method

These will be added soon.
4 changes: 2 additions & 2 deletions docs/wasm.md
Expand Up @@ -31,9 +31,9 @@ fmt.Println(string(res.([]byte)))
```

## Bundles
If you use `subo` to create a [bundle](https://github.com/suborbital/subo/blob/main/docs/wasm.md#bundles), you can load the entire bundle with all of its runnables into your Reactr instance:
If you use `subo` to create a [bundle](https://github.com/suborbital/subo/blob/main/docs/get-started.md#bundles), you can load the entire bundle with all of its runnables into your Reactr instance:
```golang
if err := rwasm.HandleBundle(r, "path/to/runnables.wasm.zip"); err != nil {
if err := bundle.Load(r, "path/to/runnables.wasm.zip"); err != nil {
//handle failure
}

Expand Down

0 comments on commit 5f33527

Please sign in to comment.