Skip to content

Release v0.2.6 #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<ul>
<li>Imports:
<ul>
<li>interface <a href="#wasi_io_error_0_2_5"><code>wasi:io/[email protected].5</code></a></li>
<li>interface <a href="#wasi_io_poll_0_2_5"><code>wasi:io/[email protected].5</code></a></li>
<li>interface <a href="#wasi_io_streams_0_2_5"><code>wasi:io/[email protected].5</code></a></li>
<li>interface <a href="#wasi_clocks_wall_clock_0_2_5"><code>wasi:clocks/[email protected].5</code></a></li>
<li>interface <a href="#wasi_filesystem_types_0_2_5"><code>wasi:filesystem/[email protected].5</code></a></li>
<li>interface <a href="#wasi_filesystem_preopens_0_2_5"><code>wasi:filesystem/[email protected].5</code></a></li>
<li>interface <a href="#wasi_io_error_0_2_6"><code>wasi:io/[email protected].6</code></a></li>
<li>interface <a href="#wasi_io_poll_0_2_6"><code>wasi:io/[email protected].6</code></a></li>
<li>interface <a href="#wasi_io_streams_0_2_6"><code>wasi:io/[email protected].6</code></a></li>
<li>interface <a href="#wasi_clocks_wall_clock_0_2_6"><code>wasi:clocks/[email protected].6</code></a></li>
<li>interface <a href="#wasi_filesystem_types_0_2_6"><code>wasi:filesystem/[email protected].6</code></a></li>
<li>interface <a href="#wasi_filesystem_preopens_0_2_6"><code>wasi:filesystem/[email protected].6</code></a></li>
</ul>
</li>
</ul>
<h2><a id="wasi_io_error_0_2_5"></a>Import interface wasi:io/[email protected].5</h2>
<h2><a id="wasi_io_error_0_2_6"></a>Import interface wasi:io/[email protected].6</h2>
<hr />
<h3>Types</h3>
<h4><a id="error"></a><code>resource error</code></h4>
Expand Down Expand Up @@ -44,7 +44,7 @@ hazard.</p>
<ul>
<li><a id="method_error_to_debug_string.0"></a> <code>string</code></li>
</ul>
<h2><a id="wasi_io_poll_0_2_5"></a>Import interface wasi:io/[email protected].5</h2>
<h2><a id="wasi_io_poll_0_2_6"></a>Import interface wasi:io/[email protected].6</h2>
<p>A poll API intended to let users wait for I/O events on multiple handles
at once.</p>
<hr />
Expand Down Expand Up @@ -97,7 +97,7 @@ being ready for I/O.</p>
<ul>
<li><a id="poll.0"></a> list&lt;<code>u32</code>&gt;</li>
</ul>
<h2><a id="wasi_io_streams_0_2_5"></a>Import interface wasi:io/[email protected].5</h2>
<h2><a id="wasi_io_streams_0_2_6"></a>Import interface wasi:io/[email protected].6</h2>
<p>WASI I/O is an I/O abstraction API which is currently focused on providing
stream types.</p>
<p>In the future, the component model is expected to add built-in stream types;
Expand Down Expand Up @@ -427,7 +427,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
<ul>
<li><a id="method_output_stream_blocking_splice.0"></a> result&lt;<code>u64</code>, <a href="#stream_error"><a href="#stream_error"><code>stream-error</code></a></a>&gt;</li>
</ul>
<h2><a id="wasi_clocks_wall_clock_0_2_5"></a>Import interface wasi:clocks/[email protected].5</h2>
<h2><a id="wasi_clocks_wall_clock_0_2_6"></a>Import interface wasi:clocks/[email protected].6</h2>
<p>WASI Wall Clock is a clock API intended to let users query the current
time. The name &quot;wall&quot; makes an analogy to a &quot;clock on the wall&quot;, which
is not necessarily monotonic as it may be reset.</p>
Expand Down Expand Up @@ -468,7 +468,7 @@ also known as <a href="https://en.wikipedia.org/wiki/Unix_time">Unix Time</a>.</
<ul>
<li><a id="resolution.0"></a> <a href="#datetime"><a href="#datetime"><code>datetime</code></a></a></li>
</ul>
<h2><a id="wasi_filesystem_types_0_2_5"></a>Import interface wasi:filesystem/[email protected].5</h2>
<h2><a id="wasi_filesystem_types_0_2_6"></a>Import interface wasi:filesystem/[email protected].6</h2>
<p>WASI filesystem is a filesystem API primarily intended to let users run WASI
programs that access their files on their existing filesystems, without
significant overhead.</p>
Expand Down Expand Up @@ -1346,7 +1346,7 @@ errors are filesystem-related errors.</p>
<ul>
<li><a id="filesystem_error_code.0"></a> option&lt;<a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;</li>
</ul>
<h2><a id="wasi_filesystem_preopens_0_2_5"></a>Import interface wasi:filesystem/[email protected].5</h2>
<h2><a id="wasi_filesystem_preopens_0_2_6"></a>Import interface wasi:filesystem/[email protected].6</h2>
<hr />
<h3>Types</h3>
<h4><a id="descriptor"></a><code>type descriptor</code></h4>
Expand Down
8 changes: 4 additions & 4 deletions wit/deps.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[clocks]
url = "https://github.com/WebAssembly/wasi-clocks/archive/main.tar.gz"
sha256 = "f1c53079469e20167e2cd4300651f13f34a6fd508b5c7331bb7c8c95fb8857fb"
sha512 = "2a9281d0edcabad3bfef0dcfa7a9712d6beb6d6bb07b29fbf24235706d149672901ffc32192404a1ac511c512eb775daf9716ad3a0514bdf6a5c93a5fed19450"
sha256 = "59b8db7b6f3f8a72418510453c1fa9e437c7c7c2369c0bd5da83aa5d6d1d9b73"
sha512 = "06ce14bbf34d5588ed0c26bd932d46b3025c16723d5b4558def5b8107781b2251471c1f7170640342e3d4f78efb560d5ff6383c6a127c1d9e757e83db31a0185"

[io]
url = "https://github.com/WebAssembly/wasi-io/archive/main.tar.gz"
sha256 = "749de54c05f7118dc118999ad69c5b63890ea1dd86f1be69270062195c7b79c2"
sha512 = "b5096d518a7931c100594b9216bb4a98cd64533166bc7fdbb7465b48effc345863bd3ce2ec84fef59b273bae507edab08ec08975d56240ccef68f2494964e80a"
sha256 = "671761f464d312e6c26bcaab5e79fe14ac876b72267867579d5c65e053fe2301"
sha512 = "57e5ed34fa85f35899b324ac7a2473c5fa5cece51d07e6f077637191fadd3c8b6f79324d31a8d497a6ce7b92cfb2a2505ab894337e2c82889f1bdb21f4f24634"
4 changes: 2 additions & 2 deletions wit/deps/clocks/monotonic-clock.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;
/// WASI Monotonic Clock is a clock API intended to let users measure elapsed
/// time.
///
Expand All @@ -10,7 +10,7 @@ package wasi:[email protected];
@since(version = 0.2.0)
interface monotonic-clock {
@since(version = 0.2.0)
use wasi:io/[email protected].5.{pollable};
use wasi:io/[email protected].6.{pollable};

/// An instant in time, in nanoseconds. An instant is relative to an
/// unspecified initial value, and can only be compared to instances from
Expand Down
2 changes: 1 addition & 1 deletion wit/deps/clocks/timezone.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;

@unstable(feature = clocks-timezone)
interface timezone {
Expand Down
2 changes: 1 addition & 1 deletion wit/deps/clocks/wall-clock.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;
/// WASI Wall Clock is a clock API intended to let users query the current
/// time. The name "wall" makes an analogy to a "clock on the wall", which
/// is not necessarily monotonic as it may be reset.
Expand Down
2 changes: 1 addition & 1 deletion wit/deps/clocks/world.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;

@since(version = 0.2.0)
world imports {
Expand Down
2 changes: 1 addition & 1 deletion wit/deps/io/error.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:io@0.2.5;
package wasi:io@0.2.6;

@since(version = 0.2.0)
interface error {
Expand Down
2 changes: 1 addition & 1 deletion wit/deps/io/poll.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;

/// A poll API intended to let users wait for I/O events on multiple handles
/// at once.
Expand Down
2 changes: 1 addition & 1 deletion wit/deps/io/streams.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;

/// WASI I/O is an I/O abstraction API which is currently focused on providing
/// stream types.
Expand Down
2 changes: 1 addition & 1 deletion wit/deps/io/world.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:io@0.2.5;
package wasi:io@0.2.6;

@since(version = 0.2.0)
world imports {
Expand Down
2 changes: 1 addition & 1 deletion wit/preopens.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;

@since(version = 0.2.0)
interface preopens {
Expand Down
6 changes: 3 additions & 3 deletions wit/types.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;
/// WASI filesystem is a filesystem API primarily intended to let users run WASI
/// programs that access their files on their existing filesystems, without
/// significant overhead.
Expand Down Expand Up @@ -26,9 +26,9 @@ package wasi:[email protected];
@since(version = 0.2.0)
interface types {
@since(version = 0.2.0)
use wasi:io/[email protected].5.{input-stream, output-stream, error};
use wasi:io/[email protected].6.{input-stream, output-stream, error};
@since(version = 0.2.0)
use wasi:clocks/[email protected].5.{datetime};
use wasi:clocks/[email protected].6.{datetime};

/// File size or length of a region within a file.
@since(version = 0.2.0)
Expand Down
2 changes: 1 addition & 1 deletion wit/world.wit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasi:[email protected].5;
package wasi:[email protected].6;

@since(version = 0.2.0)
world imports {
Expand Down