0.2.0 #59
sporkmonger
announced in
Announcements
0.2.0
#59
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The WebAssembly engine has been upgraded to
wasmtime10. Bulwark switched to using the WASI component model in the process. This resulted in some changes to how plugins declare their handlers. The SDK now includes abulwark_pluginprocedural macro which is invoked like this:After a plugin is compiled, it will need to be transformed into a component. This is inconvenient and a future release will likely not require this step, but for the time being it's required in the interests of expediency. The reactor shim needed can be downloaded from the
wasmtimedevtag. Thewasm-toolsbinary can be installed withcargo install wasm-tools.The resulting
.wasmfile may then be run by Bulwark as a plugin.Additionally, there have been some API changes to error handling. Plugins may now recover from errors that previously would have been a panic in 0.1.0. A new API call,
append_tagswas also added to allow plugin code to add tags bit-by-bit instead of all-at-once.This discussion was created from the release 0.2.0.
All reactions