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
-
The WebAssembly engine has been upgraded to
wasmtime
10. 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_plugin
procedural 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
wasmtime
dev
tag. Thewasm-tools
binary can be installed withcargo install wasm-tools
.The resulting
.wasm
file 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_tags
was 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.
Beta Was this translation helpful? Give feedback.
All reactions