Release 0.1.7
Release v0.1.7
October 27th, 2023
Additions:
- Support for WASIX, a new, extended standard to WASI, popularized by Wasmer.
- Define
WASIX
inruntime.vars
to enable it. (-DWASIX
on the CLI) - Adds support for networking, futexes, and TTY control in WASI.
- Define
switch
expressions.switch
can appear at the expression level, and usescase X => value
to
specify cases.
cbindgen
now supports passing functions as arguments.- Internally uses dyncallback
- Only for OVM-wasm and Linux, for now.
- Scoped values in interfaces.
X :: ...
is allowed in an interface now. #inject
works on interfaces.- Polling to the
io.Stream
functionality.- Used to query when data is read/write-able from a stream, for supported streams.
io.stream_poll
misc.any_unwrap
to unwrap anany
containing an optional.json.decode_with_result
json.decode_into
slice.group_by
Removals:
Changes:
- Complete overhaul of networking in the core library.
- Backwards compatiblity was not strictly maintained, but common functions did
not change, likesocket_send
andsocket_recv
.
- Backwards compatiblity was not strictly maintained, but common functions did
- When debugging,
/ 0
or% 0
will trigger an exception to debug the error.
Bugfixes:
alloc.atomic
package was broken whensync
package was missing.X.foo
would not work ifX
was a pointer to a union.- Captures by pointer would break if the value was a primitive whose address wasn't
taken anywhere else. - Symbol name reported by documentation generation was incorrect for some methods.