Changelog
0.4.0 (2023-11-30)
⚠ BREAKING CHANGES
- Renamed
Wasmer.fromWebc()
toWasmer.fromFile()
Features
- The
Output
you get fromawait instance.wait()
now containsstdoutUtf8
andstderrUtf8
fields with stdout/stderr lazily parsed as UTF-8 strings (61f3319)
Bug Fixes
- Resolved an issue where constructing a
Directory
with aDirectoryInit
containing a nested file would error out while creating the file’s parent directory (f45f561) - Resolved an unconditional panic when passing a
DirectoryInit
toCommand.spawn()
orrunWasix()
’smount
argument (50df67d)
Code Refactoring
- Renamed
Wasmer.fromWebc()
toWasmer.fromFile()
(8bf6868)
0.3.0 (2023-11-27)
⚠ BREAKING CHANGES
- Removed the
Container
,Manifest
, andVolume
types - Functionality needing a
Runtime
will now use a lazily initialized global runtime if one wasn’t provided - Renamed
SpawnConfig
andRunConfig
toSpawnOptions
andRunOptions
.
Features
- A
Wasmer
package now has acommands
field which maps aCommand
’s name to its instance (243d4b9) - A
Wasmer
package now has anentrypoint
field with a runnableCommand
(243d4b9) - Added a
Command.binary()
method for accessing the binary run by aCommand
(243d4b9) - Added a
Wasmer.fromWebc()
constructor for loading a*.webc
file (4606724) - Functionality needing a
Runtime
will now use a lazily initialized global runtime if one wasn’t provided (70a2083) - Introduced a
DirectoryInit
type that lets you initialize aDirectory
with a map from file paths to their contents (553ded5) - Rewrote the top-level
Wasmer
type to represent a package that has been loaded and is ready for execution (9f54cb5) - Users are now able to mount directories using either a existing
Directory
or aDirectoryInit
which will be used to instantiate a newDirectory
(e43ea8c)
Code Refactoring
- Removed the
Container
,Manifest
, andVolume
types (e2ed292) - Renamed
SpawnConfig
andRunConfig
toSpawnOptions
andRunOptions
. (e43ea8c)
0.2.0 (2023-11-24)
Features
- Users can now mount a
Directory
(backed by an in-memory filesystem) when spawning WASIX instances (98e5d92)
Bug Fixes
- The logger will now proxy all messages to the main thread so output from Web Workers can be captured (dba73fd)