Skip to content

Commit d9e97fe

Browse files
Release WASI v0.3.0-rc-2026-01-06 (#866)
Co-authored-by: ricochet <[email protected]>
1 parent 832aded commit d9e97fe

File tree

28 files changed

+227
-227
lines changed

28 files changed

+227
-227
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package wasi:cli@0.3.0-rc-2025-09-16;
1+
package wasi:cli@0.3.0-rc-2026-01-06;
22

3-
@since(version = 0.3.0-rc-2025-09-16)
3+
@since(version = 0.3.0-rc-2026-01-06)
44
world command {
5-
@since(version = 0.3.0-rc-2025-09-16)
5+
@since(version = 0.3.0-rc-2026-01-06)
66
include imports;
77

8-
@since(version = 0.3.0-rc-2025-09-16)
8+
@since(version = 0.3.0-rc-2026-01-06)
99
export run;
1010
}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
[clocks]
22
path = "../../clocks/wit-0.3.0-draft"
3-
sha256 = "6c0d121ab51a75ad7e348129631cd721885ad994f38317af887137fdf4b0ff6d"
4-
sha512 = "dadf98b75fd14f67ad95dcb595eadcc21bf846ba9301b0bcec062e0a6fdad9bdacb0927927b319ef082f105433f6fa298c52687cb17e9fdb2bb21e05fb288fce"
3+
sha256 = "92b3fbb2700613b35f3fa8f2cc9d9b9a93b9d81feebedd4d071ab9c28cdc66e8"
4+
sha512 = "702dd507f4d26b7b2ddfcfe8186532683824a21af1c9eadbe47359690e83be66c047c54eb29e71efc20de27d9f4b643610e4102880a93b45fb76c3e808252877"
55

66
[filesystem]
77
path = "../../filesystem/wit-0.3.0-draft"
8-
sha256 = "0cc915eec8544a2d1e24358de902005ba2ae3595047ae5ab5bfa3e2b1b803922"
9-
sha512 = "ba1899426490b9f27836ae9ef50799cbaf8976c1a6c081d91de897ee630a69db7dc2e48d627aff9024129d476c044522c23616c8df6e8304cec7c4e69f803a78"
8+
sha256 = "ab88210ca207526acc50e0b942d3edd05a2c4108bc261a8e0b3aa26ddd03e71a"
9+
sha512 = "6a23790610c34d8d1c5e70c9464be18f61e85a27caabdcf80c173e4b53ece69a078957f2ba8b7e0835f23149c37447fad9945ec0a62ff144749348939f321e27"
1010

1111
[random]
1212
path = "../../random/wit-0.3.0-draft"
13-
sha256 = "0a0cead69094ce1773468ff363b2d324ded025aab4f03a1d53b2538710c31e43"
14-
sha512 = "3596bbd164c28254aefb0f7c7a047d81121df1de170808d16975f021c5170ea35dfe6fc1867f93469013ab8d36df8de14d4c5e1c9b70197bfd10e699fd6757e5"
13+
sha256 = "f8bc74d443aacc210c1ff76617bfbd41f118185a8cdbafcd1b69347eaa817b18"
14+
sha512 = "904912869d515a3ddb474d8fe3e273a71e76f897e4156ffc3107e4aa4ce6c7716ed52bb8455e46324456c07a9be26507bb1d7b229167fcdd915ece10fbea163e"
1515

1616
[sockets]
1717
path = "../../sockets/wit-0.3.0-draft"
18-
sha256 = "4964bac273f53af2cb15aa4cf8d0fe8bf46d7005b4b6d83e48a2423108f3b7ec"
19-
sha512 = "6999f873305c8fc3892756115c1cb155df77c71d1f94c3285a2e5643eaef8f2423437bd235da3920740c2b3a8c1afb1cc13b4a622f4edaffd16fb75cdbb40057"
18+
sha256 = "64d37fcd1d5c896bd692d1856520ce24af0be71083089758a9e42b4f94c24a1d"
19+
sha512 = "7ac104891d5f6485511d5bb4789802f9bc0bc1992cb52c582ce17c03069100d1e592563e139bc92f0b751711f07724d26b728cb67c406198346262fc7cfcee0b"
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@since(version = 0.3.0-rc-2025-09-16)
1+
@since(version = 0.3.0-rc-2026-01-06)
22
interface environment {
33
/// Get the POSIX-style environment variables.
44
///
@@ -8,15 +8,15 @@ interface environment {
88
/// Morally, these are a value import, but until value imports are available
99
/// in the component model, this import function should return the same
1010
/// values each time it is called.
11-
@since(version = 0.3.0-rc-2025-09-16)
11+
@since(version = 0.3.0-rc-2026-01-06)
1212
get-environment: func() -> list<tuple<string, string>>;
1313

1414
/// Get the POSIX-style arguments to the program.
15-
@since(version = 0.3.0-rc-2025-09-16)
15+
@since(version = 0.3.0-rc-2026-01-06)
1616
get-arguments: func() -> list<string>;
1717

1818
/// Return a path that programs should use as their initial current working
1919
/// directory, interpreting `.` as shorthand for this.
20-
@since(version = 0.3.0-rc-2025-09-16)
20+
@since(version = 0.3.0-rc-2026-01-06)
2121
get-initial-cwd: func() -> option<string>;
2222
}

proposals/cli/wit-0.3.0-draft/exit.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
@since(version = 0.3.0-rc-2025-09-16)
1+
@since(version = 0.3.0-rc-2026-01-06)
22
interface exit {
33
/// Exit the current instance and any linked instances.
4-
@since(version = 0.3.0-rc-2025-09-16)
4+
@since(version = 0.3.0-rc-2026-01-06)
55
exit: func(status: result);
66

77
/// Exit the current instance and any linked instances, reporting the
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
package wasi:cli@0.3.0-rc-2025-09-16;
1+
package wasi:cli@0.3.0-rc-2026-01-06;
22

3-
@since(version = 0.3.0-rc-2025-09-16)
3+
@since(version = 0.3.0-rc-2026-01-06)
44
world imports {
5-
@since(version = 0.3.0-rc-2025-09-16)
6-
include wasi:clocks/imports@0.3.0-rc-2025-09-16;
7-
@since(version = 0.3.0-rc-2025-09-16)
8-
include wasi:filesystem/imports@0.3.0-rc-2025-09-16;
9-
@since(version = 0.3.0-rc-2025-09-16)
10-
include wasi:sockets/imports@0.3.0-rc-2025-09-16;
11-
@since(version = 0.3.0-rc-2025-09-16)
12-
include wasi:random/imports@0.3.0-rc-2025-09-16;
5+
@since(version = 0.3.0-rc-2026-01-06)
6+
include wasi:clocks/imports@0.3.0-rc-2026-01-06;
7+
@since(version = 0.3.0-rc-2026-01-06)
8+
include wasi:filesystem/imports@0.3.0-rc-2026-01-06;
9+
@since(version = 0.3.0-rc-2026-01-06)
10+
include wasi:sockets/imports@0.3.0-rc-2026-01-06;
11+
@since(version = 0.3.0-rc-2026-01-06)
12+
include wasi:random/imports@0.3.0-rc-2026-01-06;
1313

14-
@since(version = 0.3.0-rc-2025-09-16)
14+
@since(version = 0.3.0-rc-2026-01-06)
1515
import environment;
16-
@since(version = 0.3.0-rc-2025-09-16)
16+
@since(version = 0.3.0-rc-2026-01-06)
1717
import exit;
18-
@since(version = 0.3.0-rc-2025-09-16)
18+
@since(version = 0.3.0-rc-2026-01-06)
1919
import stdin;
20-
@since(version = 0.3.0-rc-2025-09-16)
20+
@since(version = 0.3.0-rc-2026-01-06)
2121
import stdout;
22-
@since(version = 0.3.0-rc-2025-09-16)
22+
@since(version = 0.3.0-rc-2026-01-06)
2323
import stderr;
24-
@since(version = 0.3.0-rc-2025-09-16)
24+
@since(version = 0.3.0-rc-2026-01-06)
2525
import terminal-input;
26-
@since(version = 0.3.0-rc-2025-09-16)
26+
@since(version = 0.3.0-rc-2026-01-06)
2727
import terminal-output;
28-
@since(version = 0.3.0-rc-2025-09-16)
28+
@since(version = 0.3.0-rc-2026-01-06)
2929
import terminal-stdin;
30-
@since(version = 0.3.0-rc-2025-09-16)
30+
@since(version = 0.3.0-rc-2026-01-06)
3131
import terminal-stdout;
32-
@since(version = 0.3.0-rc-2025-09-16)
32+
@since(version = 0.3.0-rc-2026-01-06)
3333
import terminal-stderr;
3434
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@since(version = 0.3.0-rc-2025-09-16)
1+
@since(version = 0.3.0-rc-2026-01-06)
22
interface run {
33
/// Run the program.
4-
@since(version = 0.3.0-rc-2025-09-16)
4+
@since(version = 0.3.0-rc-2026-01-06)
55
run: async func() -> result;
66
}

proposals/cli/wit-0.3.0-draft/stdio.wit

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@since(version = 0.3.0-rc-2025-09-16)
1+
@since(version = 0.3.0-rc-2026-01-06)
22
interface types {
3-
@since(version = 0.3.0-rc-2025-09-16)
3+
@since(version = 0.3.0-rc-2026-01-06)
44
enum error-code {
55
/// Input/output error
66
io,
@@ -11,7 +11,7 @@ interface types {
1111
}
1212
}
1313

14-
@since(version = 0.3.0-rc-2025-09-16)
14+
@since(version = 0.3.0-rc-2026-01-06)
1515
interface stdin {
1616
use types.{error-code};
1717

@@ -28,11 +28,11 @@ interface stdin {
2828
///
2929
/// Multiple streams may be active at the same time. The behavior of concurrent
3030
/// reads is implementation-specific.
31-
@since(version = 0.3.0-rc-2025-09-16)
31+
@since(version = 0.3.0-rc-2026-01-06)
3232
read-via-stream: func() -> tuple<stream<u8>, future<result<_, error-code>>>;
3333
}
3434

35-
@since(version = 0.3.0-rc-2025-09-16)
35+
@since(version = 0.3.0-rc-2026-01-06)
3636
interface stdout {
3737
use types.{error-code};
3838

@@ -44,11 +44,11 @@ interface stdout {
4444
///
4545
/// Otherwise if there is an error the readable end of the stream will be
4646
/// dropped and this function will return an error-code.
47-
@since(version = 0.3.0-rc-2025-09-16)
47+
@since(version = 0.3.0-rc-2026-01-06)
4848
write-via-stream: async func(data: stream<u8>) -> result<_, error-code>;
4949
}
5050

51-
@since(version = 0.3.0-rc-2025-09-16)
51+
@since(version = 0.3.0-rc-2026-01-06)
5252
interface stderr {
5353
use types.{error-code};
5454

@@ -60,6 +60,6 @@ interface stderr {
6060
///
6161
/// Otherwise if there is an error the readable end of the stream will be
6262
/// dropped and this function will return an error-code.
63-
@since(version = 0.3.0-rc-2025-09-16)
63+
@since(version = 0.3.0-rc-2026-01-06)
6464
write-via-stream: async func(data: stream<u8>) -> result<_, error-code>;
6565
}

proposals/cli/wit-0.3.0-draft/terminal.wit

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
/// In the future, this may include functions for disabling echoing,
44
/// disabling input buffering so that keyboard events are sent through
55
/// immediately, querying supported features, and so on.
6-
@since(version = 0.3.0-rc-2025-09-16)
6+
@since(version = 0.3.0-rc-2026-01-06)
77
interface terminal-input {
88
/// The input side of a terminal.
9-
@since(version = 0.3.0-rc-2025-09-16)
9+
@since(version = 0.3.0-rc-2026-01-06)
1010
resource terminal-input;
1111
}
1212

@@ -15,48 +15,48 @@ interface terminal-input {
1515
/// In the future, this may include functions for querying the terminal
1616
/// size, being notified of terminal size changes, querying supported
1717
/// features, and so on.
18-
@since(version = 0.3.0-rc-2025-09-16)
18+
@since(version = 0.3.0-rc-2026-01-06)
1919
interface terminal-output {
2020
/// The output side of a terminal.
21-
@since(version = 0.3.0-rc-2025-09-16)
21+
@since(version = 0.3.0-rc-2026-01-06)
2222
resource terminal-output;
2323
}
2424

2525
/// An interface providing an optional `terminal-input` for stdin as a
2626
/// link-time authority.
27-
@since(version = 0.3.0-rc-2025-09-16)
27+
@since(version = 0.3.0-rc-2026-01-06)
2828
interface terminal-stdin {
29-
@since(version = 0.3.0-rc-2025-09-16)
29+
@since(version = 0.3.0-rc-2026-01-06)
3030
use terminal-input.{terminal-input};
3131

3232
/// If stdin is connected to a terminal, return a `terminal-input` handle
3333
/// allowing further interaction with it.
34-
@since(version = 0.3.0-rc-2025-09-16)
34+
@since(version = 0.3.0-rc-2026-01-06)
3535
get-terminal-stdin: func() -> option<terminal-input>;
3636
}
3737

3838
/// An interface providing an optional `terminal-output` for stdout as a
3939
/// link-time authority.
40-
@since(version = 0.3.0-rc-2025-09-16)
40+
@since(version = 0.3.0-rc-2026-01-06)
4141
interface terminal-stdout {
42-
@since(version = 0.3.0-rc-2025-09-16)
42+
@since(version = 0.3.0-rc-2026-01-06)
4343
use terminal-output.{terminal-output};
4444

4545
/// If stdout is connected to a terminal, return a `terminal-output` handle
4646
/// allowing further interaction with it.
47-
@since(version = 0.3.0-rc-2025-09-16)
47+
@since(version = 0.3.0-rc-2026-01-06)
4848
get-terminal-stdout: func() -> option<terminal-output>;
4949
}
5050

5151
/// An interface providing an optional `terminal-output` for stderr as a
5252
/// link-time authority.
53-
@since(version = 0.3.0-rc-2025-09-16)
53+
@since(version = 0.3.0-rc-2026-01-06)
5454
interface terminal-stderr {
55-
@since(version = 0.3.0-rc-2025-09-16)
55+
@since(version = 0.3.0-rc-2026-01-06)
5656
use terminal-output.{terminal-output};
5757

5858
/// If stderr is connected to a terminal, return a `terminal-output` handle
5959
/// allowing further interaction with it.
60-
@since(version = 0.3.0-rc-2025-09-16)
60+
@since(version = 0.3.0-rc-2026-01-06)
6161
get-terminal-stderr: func() -> option<terminal-output>;
6262
}

proposals/clocks/wit-0.3.0-draft/monotonic-clock.wit

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.3.0-rc-2025-09-16;
1+
package wasi:clocks@0.3.0-rc-2026-01-06;
22
/// WASI Monotonic Clock is a clock API intended to let users measure elapsed
33
/// time.
44
///
@@ -7,14 +7,14 @@ package wasi:[email protected];
77
///
88
/// A monotonic clock is a clock which has an unspecified initial value, and
99
/// successive reads of the clock will produce non-decreasing values.
10-
@since(version = 0.3.0-rc-2025-09-16)
10+
@since(version = 0.3.0-rc-2026-01-06)
1111
interface monotonic-clock {
1212
use types.{duration};
1313

1414
/// A mark on a monotonic clock is a number of nanoseconds since an
1515
/// unspecified initial value, and can only be compared to instances from
1616
/// the same monotonic-clock.
17-
@since(version = 0.3.0-rc-2025-09-16)
17+
@since(version = 0.3.0-rc-2026-01-06)
1818
type mark = u64;
1919

2020
/// Read the current value of the clock.
@@ -26,22 +26,22 @@ interface monotonic-clock {
2626
/// the value of the clock in a `mark`. Consequently, implementations
2727
/// should ensure that the starting time is low enough to avoid the
2828
/// possibility of overflow in practice.
29-
@since(version = 0.3.0-rc-2025-09-16)
29+
@since(version = 0.3.0-rc-2026-01-06)
3030
now: func() -> mark;
3131

3232
/// Query the resolution of the clock. Returns the duration of time
3333
/// corresponding to a clock tick.
34-
@since(version = 0.3.0-rc-2025-09-16)
34+
@since(version = 0.3.0-rc-2026-01-06)
3535
get-resolution: func() -> duration;
3636

3737
/// Wait until the specified mark has occurred.
38-
@since(version = 0.3.0-rc-2025-09-16)
38+
@since(version = 0.3.0-rc-2026-01-06)
3939
wait-until: async func(
4040
when: mark,
4141
);
4242

4343
/// Wait for the specified duration to elapse.
44-
@since(version = 0.3.0-rc-2025-09-16)
44+
@since(version = 0.3.0-rc-2026-01-06)
4545
wait-for: async func(
4646
how-long: duration,
4747
);

proposals/clocks/wit-0.3.0-draft/system-clock.wit

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.3.0-rc-2025-09-16;
1+
package wasi:clocks@0.3.0-rc-2026-01-06;
22
/// WASI System Clock is a clock API intended to let users query the current
33
/// time. The clock is not necessarily monotonic as it may be reset.
44
///
@@ -9,7 +9,7 @@ package wasi:[email protected];
99
/// monotonic, making it unsuitable for measuring elapsed time.
1010
///
1111
/// It is intended for reporting the current date and time for humans.
12-
@since(version = 0.3.0-rc-2025-09-16)
12+
@since(version = 0.3.0-rc-2026-01-06)
1313
interface system-clock {
1414
use types.{duration};
1515

@@ -29,7 +29,7 @@ interface system-clock {
2929
///
3030
/// [POSIX's Seconds Since the Epoch]: https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xbd_chap04.html#tag_21_04_16
3131
/// [Unix Time]: https://en.wikipedia.org/wiki/Unix_time
32-
@since(version = 0.3.0-rc-2025-09-16)
32+
@since(version = 0.3.0-rc-2026-01-06)
3333
record instant {
3434
seconds: s64,
3535
nanoseconds: u32,
@@ -41,11 +41,11 @@ interface system-clock {
4141
/// will not necessarily produce a sequence of non-decreasing values.
4242
///
4343
/// The nanoseconds field of the output is always less than 1000000000.
44-
@since(version = 0.3.0-rc-2025-09-16)
44+
@since(version = 0.3.0-rc-2026-01-06)
4545
now: func() -> instant;
4646

4747
/// Query the resolution of the clock. Returns the smallest duration of time
4848
/// that the implementation permits distinguishing.
49-
@since(version = 0.3.0-rc-2025-09-16)
49+
@since(version = 0.3.0-rc-2026-01-06)
5050
get-resolution: func() -> duration;
5151
}

0 commit comments

Comments
 (0)