Skip to content

Commit 350457d

Browse files
authored
Update to v0.2.5 (#653)
1 parent 9df56e7 commit 350457d

25 files changed

+46
-46
lines changed

wasip2/cli/command.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:cli@0.2.4;
1+
package wasi:cli@0.2.5;
22

33
@since(version = 0.2.0)
44
world command {

wasip2/cli/imports.wit

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
package wasi:cli@0.2.4;
1+
package wasi:cli@0.2.5;
22

33
@since(version = 0.2.0)
44
world imports {
55
@since(version = 0.2.0)
6-
include wasi:clocks/imports@0.2.4;
6+
include wasi:clocks/imports@0.2.5;
77
@since(version = 0.2.0)
8-
include wasi:filesystem/imports@0.2.4;
8+
include wasi:filesystem/imports@0.2.5;
99
@since(version = 0.2.0)
10-
include wasi:sockets/imports@0.2.4;
10+
include wasi:sockets/imports@0.2.5;
1111
@since(version = 0.2.0)
12-
include wasi:random/imports@0.2.4;
12+
include wasi:random/imports@0.2.5;
1313
@since(version = 0.2.0)
14-
include wasi:io/imports@0.2.4;
14+
include wasi:io/imports@0.2.5;
1515

1616
@since(version = 0.2.0)
1717
import environment;

wasip2/cli/stdio.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@since(version = 0.2.0)
22
interface stdin {
33
@since(version = 0.2.0)
4-
use wasi:io/streams@0.2.4.{input-stream};
4+
use wasi:io/streams@0.2.5.{input-stream};
55

66
@since(version = 0.2.0)
77
get-stdin: func() -> input-stream;
@@ -10,7 +10,7 @@ interface stdin {
1010
@since(version = 0.2.0)
1111
interface stdout {
1212
@since(version = 0.2.0)
13-
use wasi:io/streams@0.2.4.{output-stream};
13+
use wasi:io/streams@0.2.5.{output-stream};
1414

1515
@since(version = 0.2.0)
1616
get-stdout: func() -> output-stream;
@@ -19,7 +19,7 @@ interface stdout {
1919
@since(version = 0.2.0)
2020
interface stderr {
2121
@since(version = 0.2.0)
22-
use wasi:io/streams@0.2.4.{output-stream};
22+
use wasi:io/streams@0.2.5.{output-stream};
2323

2424
@since(version = 0.2.0)
2525
get-stderr: func() -> output-stream;

wasip2/clocks/monotonic-clock.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.2.4;
1+
package wasi:clocks@0.2.5;
22
/// WASI Monotonic Clock is a clock API intended to let users measure elapsed
33
/// time.
44
///
@@ -10,7 +10,7 @@ package wasi:[email protected];
1010
@since(version = 0.2.0)
1111
interface monotonic-clock {
1212
@since(version = 0.2.0)
13-
use wasi:io/poll@0.2.4.{pollable};
13+
use wasi:io/poll@0.2.5.{pollable};
1414

1515
/// An instant in time, in nanoseconds. An instant is relative to an
1616
/// unspecified initial value, and can only be compared to instances from

wasip2/clocks/timezone.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.2.4;
1+
package wasi:clocks@0.2.5;
22

33
@unstable(feature = clocks-timezone)
44
interface timezone {

wasip2/clocks/wall-clock.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.2.4;
1+
package wasi:clocks@0.2.5;
22
/// WASI Wall Clock is a clock API intended to let users query the current
33
/// time. The name "wall" makes an analogy to a "clock on the wall", which
44
/// is not necessarily monotonic as it may be reset.

wasip2/clocks/world.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:clocks@0.2.4;
1+
package wasi:clocks@0.2.5;
22

33
@since(version = 0.2.0)
44
world imports {

wasip2/filesystem/preopens.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:filesystem@0.2.4;
1+
package wasi:filesystem@0.2.5;
22

33
@since(version = 0.2.0)
44
interface preopens {

wasip2/filesystem/types.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:filesystem@0.2.4;
1+
package wasi:filesystem@0.2.5;
22
/// WASI filesystem is a filesystem API primarily intended to let users run WASI
33
/// programs that access their files on their existing filesystems, without
44
/// significant overhead.
@@ -26,9 +26,9 @@ package wasi:[email protected];
2626
@since(version = 0.2.0)
2727
interface types {
2828
@since(version = 0.2.0)
29-
use wasi:io/streams@0.2.4.{input-stream, output-stream, error};
29+
use wasi:io/streams@0.2.5.{input-stream, output-stream, error};
3030
@since(version = 0.2.0)
31-
use wasi:clocks/wall-clock@0.2.4.{datetime};
31+
use wasi:clocks/wall-clock@0.2.5.{datetime};
3232

3333
/// File size or length of a region within a file.
3434
@since(version = 0.2.0)

wasip2/filesystem/world.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:filesystem@0.2.4;
1+
package wasi:filesystem@0.2.5;
22

33
@since(version = 0.2.0)
44
world imports {

wasip2/http/proxy.wit

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
package wasi:http@0.2.3;
1+
package wasi:http@0.2.5;
22

33
/// The `wasi:http/imports` world imports all the APIs for HTTP proxies.
44
/// It is intended to be `include`d in other worlds.
55
@since(version = 0.2.0)
66
world imports {
77
/// HTTP proxies have access to time and randomness.
88
@since(version = 0.2.0)
9-
import wasi:clocks/monotonic-clock@0.2.3;
9+
import wasi:clocks/monotonic-clock@0.2.5;
1010
@since(version = 0.2.0)
11-
import wasi:clocks/wall-clock@0.2.3;
11+
import wasi:clocks/wall-clock@0.2.5;
1212
@since(version = 0.2.0)
13-
import wasi:random/random@0.2.3;
13+
import wasi:random/random@0.2.5;
1414

1515
/// Proxies have standard output and error streams which are expected to
1616
/// terminate in a developer-facing console provided by the host.
1717
@since(version = 0.2.0)
18-
import wasi:cli/stdout@0.2.3;
18+
import wasi:cli/stdout@0.2.5;
1919
@since(version = 0.2.0)
20-
import wasi:cli/stderr@0.2.3;
20+
import wasi:cli/stderr@0.2.5;
2121

2222
/// TODO: this is a temporary workaround until component tooling is able to
2323
/// gracefully handle the absence of stdin. Hosts must return an eof stream
2424
/// for this import, which is what wasi-libc + tooling will do automatically
2525
/// when this import is properly removed.
2626
@since(version = 0.2.0)
27-
import wasi:cli/stdin@0.2.3;
27+
import wasi:cli/stdin@0.2.5;
2828

2929
/// This is the default handler to use when user code simply wants to make an
3030
/// HTTP request (e.g., via `fetch()`).

wasip2/http/types.wit

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
@since(version = 0.2.0)
55
interface types {
66
@since(version = 0.2.0)
7-
use wasi:clocks/monotonic-clock@0.2.3.{duration};
7+
use wasi:clocks/monotonic-clock@0.2.5.{duration};
88
@since(version = 0.2.0)
9-
use wasi:io/streams@0.2.3.{input-stream, output-stream};
9+
use wasi:io/streams@0.2.5.{input-stream, output-stream};
1010
@since(version = 0.2.0)
11-
use wasi:io/error@0.2.3.{error as io-error};
11+
use wasi:io/error@0.2.5.{error as io-error};
1212
@since(version = 0.2.0)
13-
use wasi:io/poll@0.2.3.{pollable};
13+
use wasi:io/poll@0.2.5.{pollable};
1414

1515
/// This type corresponds to HTTP standard Methods.
1616
@since(version = 0.2.0)

wasip2/io/error.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:io@0.2.4;
1+
package wasi:io@0.2.5;
22

33
@since(version = 0.2.0)
44
interface error {

wasip2/io/poll.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:io@0.2.4;
1+
package wasi:io@0.2.5;
22

33
/// A poll API intended to let users wait for I/O events on multiple handles
44
/// at once.

wasip2/io/streams.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:io@0.2.4;
1+
package wasi:io@0.2.5;
22

33
/// WASI I/O is an I/O abstraction API which is currently focused on providing
44
/// stream types.

wasip2/io/world.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:io@0.2.4;
1+
package wasi:io@0.2.5;
22

33
@since(version = 0.2.0)
44
world imports {

wasip2/random/insecure-seed.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:random@0.2.4;
1+
package wasi:random@0.2.5;
22
/// The insecure-seed interface for seeding hash-map DoS resistance.
33
///
44
/// It is intended to be portable at least between Unix-family platforms and

wasip2/random/insecure.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:random@0.2.4;
1+
package wasi:random@0.2.5;
22
/// The insecure interface for insecure pseudo-random numbers.
33
///
44
/// It is intended to be portable at least between Unix-family platforms and

wasip2/random/random.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:random@0.2.4;
1+
package wasi:random@0.2.5;
22
/// WASI Random is a random data API.
33
///
44
/// It is intended to be portable at least between Unix-family platforms and

wasip2/random/world.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:random@0.2.4;
1+
package wasi:random@0.2.5;
22

33
@since(version = 0.2.0)
44
world imports {

wasip2/sockets/ip-name-lookup.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@since(version = 0.2.0)
22
interface ip-name-lookup {
33
@since(version = 0.2.0)
4-
use wasi:io/poll@0.2.4.{pollable};
4+
use wasi:io/poll@0.2.5.{pollable};
55
@since(version = 0.2.0)
66
use network.{network, error-code, ip-address};
77

wasip2/sockets/network.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@since(version = 0.2.0)
22
interface network {
33
@unstable(feature = network-error-code)
4-
use wasi:io/error@0.2.4.{error};
4+
use wasi:io/error@0.2.5.{error};
55

66
/// An opaque resource that represents access to (a subset of) the network.
77
/// This enables context-based security for networking.

wasip2/sockets/tcp.wit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
@since(version = 0.2.0)
22
interface tcp {
33
@since(version = 0.2.0)
4-
use wasi:io/streams@0.2.4.{input-stream, output-stream};
4+
use wasi:io/streams@0.2.5.{input-stream, output-stream};
55
@since(version = 0.2.0)
6-
use wasi:io/poll@0.2.4.{pollable};
6+
use wasi:io/poll@0.2.5.{pollable};
77
@since(version = 0.2.0)
8-
use wasi:clocks/monotonic-clock@0.2.4.{duration};
8+
use wasi:clocks/monotonic-clock@0.2.5.{duration};
99
@since(version = 0.2.0)
1010
use network.{network, error-code, ip-socket-address, ip-address-family};
1111

wasip2/sockets/udp.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@since(version = 0.2.0)
22
interface udp {
33
@since(version = 0.2.0)
4-
use wasi:io/poll@0.2.4.{pollable};
4+
use wasi:io/poll@0.2.5.{pollable};
55
@since(version = 0.2.0)
66
use network.{network, error-code, ip-socket-address, ip-address-family};
77

wasip2/sockets/world.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wasi:sockets@0.2.4;
1+
package wasi:sockets@0.2.5;
22

33
@since(version = 0.2.0)
44
world imports {

0 commit comments

Comments
 (0)