Monorepo for Javascript WebAssembly packages by Wasmer
MIT License
Bot releases are hidden (Show)
@wasmer/sdk
Runtime
has removed the limit on the maximum number of worker threads it is allowed to spawn. The corresponding poolSize
option has been removed from RuntimeOptions
.package.json
so importing @wasmer/sdk
will pull in the version with wasmer_js_bg.wasm
embedded as a base64 string, by default@wasmer/sdk
Runtime
has removed the limit on the maximum number of worker threads it is allowed to spawn. The corresponding poolSize
option has been removed from RuntimeOptions
. (d5da4ea)Published by Michael-F-Bryan 10 months ago
Published by Michael-F-Bryan 10 months ago
Wasmer.fromWebc()
to Wasmer.fromFile()
Output.stdoutUtf8
and friends to make the more common use case shorter@wasmer/sdk
will now use the smaller, non-embedded bundle by default
*.js
file on startup@wasmer/sdk/dist/WasmerSDKBundled.js
if they want the old behavioursetWorkerUrl()
to point at wasmer_js_bg.wasm
Output.stdoutUtf8
and friends to make the more common use case shorter (f94cc58)dist/WasmerSDKBundled.*
files which embed the compiled Rust code as a base64 string as well as dist/WasmerSDK.*
files which load the Rust code from the server as a *.wasm
binary at runtime (75c4bf1)@wasmer/sdk
will now use the smaller, non-embedded bundle by default (75c4bf1)@wasmer/sdk
package is loaded outside of a Cross-Origin Isolated context (4dc5799)error
level so they get printed by default (c5decb5)@wasmer/sdk
under the name, WasmerSDK
, rather than Library
(d34bb7a)Published by Michael-F-Bryan 11 months ago
Published by Michael-F-Bryan 11 months ago
Wasmer.fromWebc()
to Wasmer.fromFile()
Output
you get from await instance.wait()
now contains stdoutUtf8
and stderrUtf8
fields with stdout/stderr lazily parsed as UTF-8 strings (61f3319)Directory
with a DirectoryInit
containing a nested file would error out while creating the file's parent directory (f45f561)DirectoryInit
to Command.spawn()
or runWasix()
's mount
argument (50df67d)Wasmer.fromWebc()
to Wasmer.fromFile()
(8bf6868)Published by Michael-F-Bryan 11 months ago
Container
, Manifest
, and Volume
typesRuntime
will now use a lazily initialized global runtime if one wasn't providedSpawnConfig
and RunConfig
to SpawnOptions
and RunOptions
.Wasmer
package now has a commands
field which maps a Command
's name to its instance (243d4b9)Wasmer
package now has an entrypoint
field with a runnable Command
(243d4b9)Command.binary()
method for accessing the binary run by a Command
(243d4b9)Wasmer.fromWebc()
constructor for loading a *.webc
file (4606724)Runtime
will now use a lazily initialized global runtime if one wasn't provided (70a2083)DirectoryInit
type that lets you initialize a Directory
with a map from file paths to their contents (553ded5)Wasmer
type to represent a package that has been loaded and is ready for execution (9f54cb5)Directory
or a DirectoryInit
which will be used to instantiate a new Directory
(e43ea8c)Published by Michael-F-Bryan 11 months ago
Published by Michael-F-Bryan 11 months ago
Published by syrusakbary almost 3 years ago
This version exposes the inner WebAssembly.Instance
, so the user can retrieve it's exports and use them apart if needed.
Published by syrusakbary almost 3 years ago
This includes a small patch that exports the required types for proper usage in Deno, as well as an improved init
function for both Deno and Node.
Published by syrusakbary almost 3 years ago
Wasmer-JS has been rewritten from scratch, this time using the WASI Rust implementation and with better API usage, also allowing usage from Deno, Node.js or the browser.
Check the release blogpost here:
https://wasmer.io/posts/wasmer-js-a-new-hope
Published by syrusakbary almost 3 years ago
Published by syrusakbary almost 3 years ago
Published by syrusakbary almost 3 years ago
v1.0.0-alpha4
Published by syrusakbary almost 3 years ago
Published by syrusakbary almost 3 years ago
Published by syrusakbary almost 3 years ago
v1.0.0-alpha0