diff --git a/proposals/cli/command.md b/proposals/cli/command.md index 006b06fd..0ce0d59c 100644 --- a/proposals/cli/command.md +++ b/proposals/cli/command.md @@ -2,37 +2,37 @@ -

Import interface wasi:cli/environment@0.3.1

+

Import interface wasi:cli/environment@0.3.2


Functions

get-environment: func

@@ -59,7 +59,7 @@ directory, interpreting . as shorthand for this.

-

Import interface wasi:cli/exit@0.3.1

+

Import interface wasi:cli/exit@0.3.2


Functions

exit: func

@@ -79,7 +79,7 @@ without the connotation that something bad has happened.

-

Import interface wasi:cli/types@0.3.1

+

Import interface wasi:cli/types@0.3.2


Types

enum error-code

@@ -98,7 +98,7 @@ without the connotation that something bad has happened.

Broken pipe -

Import interface wasi:cli/stdin@0.3.1

+

Import interface wasi:cli/stdin@0.3.2


Types

type error-code

@@ -120,7 +120,7 @@ reads is implementation-specific.

-

Import interface wasi:cli/stdout@0.3.1

+

Import interface wasi:cli/stdout@0.3.2


Types

type error-code

@@ -143,7 +143,7 @@ dropped and this function will return an error-code.

-

Import interface wasi:cli/stderr@0.3.1

+

Import interface wasi:cli/stderr@0.3.2


Types

type error-code

@@ -166,7 +166,7 @@ dropped and this function will return an error-code.

-

Import interface wasi:cli/terminal-input@0.3.1

+

Import interface wasi:cli/terminal-input@0.3.2

Terminal input.

In the future, this may include functions for disabling echoing, disabling input buffering so that keyboard events are sent through @@ -175,7 +175,7 @@ immediately, querying supported features, and so on.

Types

resource terminal-input

The input side of a terminal.

-

Import interface wasi:cli/terminal-output@0.3.1

+

Import interface wasi:cli/terminal-output@0.3.2

Terminal output.

In the future, this may include functions for querying the terminal size, being notified of terminal size changes, querying supported @@ -184,7 +184,7 @@ features, and so on.

Types

resource terminal-output

The output side of a terminal.

-

Import interface wasi:cli/terminal-stdin@0.3.1

+

Import interface wasi:cli/terminal-stdin@0.3.2

An interface providing an optional terminal-input for stdin as a link-time authority.


@@ -201,7 +201,7 @@ allowing further interaction with it.

-

Import interface wasi:cli/terminal-stdout@0.3.1

+

Import interface wasi:cli/terminal-stdout@0.3.2

An interface providing an optional terminal-output for stdout as a link-time authority.


@@ -218,7 +218,7 @@ allowing further interaction with it.

-

Import interface wasi:cli/terminal-stderr@0.3.1

+

Import interface wasi:cli/terminal-stderr@0.3.2

An interface providing an optional terminal-output for stderr as a link-time authority.


@@ -235,14 +235,14 @@ allowing further interaction with it.

-

Import interface wasi:clocks/types@0.3.1

+

Import interface wasi:clocks/types@0.3.2

This interface common types used throughout wasi:clocks.


Types

type duration

u64

A duration of time, in nanoseconds. -

Import interface wasi:clocks/monotonic-clock@0.3.1

+

Import interface wasi:clocks/monotonic-clock@0.3.2

WASI Monotonic Clock is a clock API intended to let users measure elapsed time.

It is intended to be portable at least between Unix-family platforms and @@ -292,7 +292,7 @@ corresponding to a clock tick.

-

Import interface wasi:clocks/system-clock@0.3.1

+

Import interface wasi:clocks/system-clock@0.3.2

WASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.

It is intended to be portable at least between Unix-family platforms and @@ -340,7 +340,7 @@ that the implementation permits distinguishing.

-

Import interface wasi:clocks/timezone@0.3.1

+

Import interface wasi:clocks/timezone@0.3.2


Types

type instant

@@ -392,7 +392,7 @@ this string is a major platform-compatibility hazard.

-

Import interface wasi:filesystem/types@0.3.1

+

Import interface wasi:filesystem/types@0.3.2

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.

@@ -1229,7 +1229,7 @@ to by a directory descriptor and a relative path.

-

Import interface wasi:filesystem/preopens@0.3.1

+

Import interface wasi:filesystem/preopens@0.3.2


Types

type descriptor

@@ -1243,7 +1243,7 @@ to by a directory descriptor and a relative path.

-

Import interface wasi:sockets/types@0.3.1

+

Import interface wasi:sockets/types@0.3.2


Types

type duration

@@ -2345,7 +2345,7 @@ this setting may differ from the value that was set.

-

Import interface wasi:sockets/ip-name-lookup@0.3.1

+

Import interface wasi:sockets/ip-name-lookup@0.3.2


Types

type ip-address

@@ -2414,7 +2414,7 @@ IPv4-mapped IPv6 addresses.

-

Import interface wasi:random/random@0.3.1

+

Import interface wasi:random/random@0.3.2

WASI Random is a random data API.

It is intended to be portable at least between Unix-family platforms and Windows.

@@ -2454,7 +2454,7 @@ represented as a u64.

-

Import interface wasi:random/insecure@0.3.1

+

Import interface wasi:random/insecure@0.3.2

The insecure interface for insecure pseudo-random numbers.

It is intended to be portable at least between Unix-family platforms and Windows.

@@ -2489,7 +2489,7 @@ list without trapping.

-

Import interface wasi:random/insecure-seed@0.3.1

+

Import interface wasi:random/insecure-seed@0.3.2

The insecure-seed interface for seeding hash-map DoS resistance.

It is intended to be portable at least between Unix-family platforms and Windows.

@@ -2513,7 +2513,7 @@ protection.

-

Export interface wasi:cli/run@0.3.1

+

Export interface wasi:cli/run@0.3.2


Functions

run: func

diff --git a/proposals/cli/imports.md b/proposals/cli/imports.md index 9e51c24c..71553ba2 100644 --- a/proposals/cli/imports.md +++ b/proposals/cli/imports.md @@ -2,32 +2,32 @@ -

Import interface wasi:cli/environment@0.3.1

+
  • interface wasi:cli/environment@0.3.2
  • +
  • interface wasi:cli/exit@0.3.2
  • +
  • interface wasi:cli/types@0.3.2
  • +
  • interface wasi:cli/stdin@0.3.2
  • +
  • interface wasi:cli/stdout@0.3.2
  • +
  • interface wasi:cli/stderr@0.3.2
  • +
  • interface wasi:cli/terminal-input@0.3.2
  • +
  • interface wasi:cli/terminal-output@0.3.2
  • +
  • interface wasi:cli/terminal-stdin@0.3.2
  • +
  • interface wasi:cli/terminal-stdout@0.3.2
  • +
  • interface wasi:cli/terminal-stderr@0.3.2
  • +
  • interface wasi:clocks/types@0.3.2
  • +
  • interface wasi:clocks/monotonic-clock@0.3.2
  • +
  • interface wasi:clocks/system-clock@0.3.2
  • +
  • interface wasi:clocks/timezone@0.3.2
  • +
  • interface wasi:filesystem/types@0.3.2
  • +
  • interface wasi:filesystem/preopens@0.3.2
  • +
  • interface wasi:sockets/types@0.3.2
  • +
  • interface wasi:sockets/ip-name-lookup@0.3.2
  • +
  • interface wasi:random/random@0.3.2
  • +
  • interface wasi:random/insecure@0.3.2
  • +
  • interface wasi:random/insecure-seed@0.3.2
  • + + + +

    Import interface wasi:cli/environment@0.3.2


    Functions

    get-environment: func

    @@ -54,7 +54,7 @@ directory, interpreting . as shorthand for this.

    -

    Import interface wasi:cli/exit@0.3.1

    +

    Import interface wasi:cli/exit@0.3.2


    Functions

    exit: func

    @@ -74,7 +74,7 @@ without the connotation that something bad has happened.

    -

    Import interface wasi:cli/types@0.3.1

    +

    Import interface wasi:cli/types@0.3.2


    Types

    enum error-code

    @@ -93,7 +93,7 @@ without the connotation that something bad has happened.

    Broken pipe -

    Import interface wasi:cli/stdin@0.3.1

    +

    Import interface wasi:cli/stdin@0.3.2


    Types

    type error-code

    @@ -115,7 +115,7 @@ reads is implementation-specific.

    -

    Import interface wasi:cli/stdout@0.3.1

    +

    Import interface wasi:cli/stdout@0.3.2


    Types

    type error-code

    @@ -138,7 +138,7 @@ dropped and this function will return an error-code.

    -

    Import interface wasi:cli/stderr@0.3.1

    +

    Import interface wasi:cli/stderr@0.3.2


    Types

    type error-code

    @@ -161,7 +161,7 @@ dropped and this function will return an error-code.

    -

    Import interface wasi:cli/terminal-input@0.3.1

    +

    Import interface wasi:cli/terminal-input@0.3.2

    Terminal input.

    In the future, this may include functions for disabling echoing, disabling input buffering so that keyboard events are sent through @@ -170,7 +170,7 @@ immediately, querying supported features, and so on.

    Types

    resource terminal-input

    The input side of a terminal.

    -

    Import interface wasi:cli/terminal-output@0.3.1

    +

    Import interface wasi:cli/terminal-output@0.3.2

    Terminal output.

    In the future, this may include functions for querying the terminal size, being notified of terminal size changes, querying supported @@ -179,7 +179,7 @@ features, and so on.

    Types

    resource terminal-output

    The output side of a terminal.

    -

    Import interface wasi:cli/terminal-stdin@0.3.1

    +

    Import interface wasi:cli/terminal-stdin@0.3.2

    An interface providing an optional terminal-input for stdin as a link-time authority.


    @@ -196,7 +196,7 @@ allowing further interaction with it.

    -

    Import interface wasi:cli/terminal-stdout@0.3.1

    +

    Import interface wasi:cli/terminal-stdout@0.3.2

    An interface providing an optional terminal-output for stdout as a link-time authority.


    @@ -213,7 +213,7 @@ allowing further interaction with it.

    -

    Import interface wasi:cli/terminal-stderr@0.3.1

    +

    Import interface wasi:cli/terminal-stderr@0.3.2

    An interface providing an optional terminal-output for stderr as a link-time authority.


    @@ -230,14 +230,14 @@ allowing further interaction with it.

    -

    Import interface wasi:clocks/types@0.3.1

    +

    Import interface wasi:clocks/types@0.3.2

    This interface common types used throughout wasi:clocks.


    Types

    type duration

    u64

    A duration of time, in nanoseconds. -

    Import interface wasi:clocks/monotonic-clock@0.3.1

    +

    Import interface wasi:clocks/monotonic-clock@0.3.2

    WASI Monotonic Clock is a clock API intended to let users measure elapsed time.

    It is intended to be portable at least between Unix-family platforms and @@ -287,7 +287,7 @@ corresponding to a clock tick.

    -

    Import interface wasi:clocks/system-clock@0.3.1

    +

    Import interface wasi:clocks/system-clock@0.3.2

    WASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.

    It is intended to be portable at least between Unix-family platforms and @@ -335,7 +335,7 @@ that the implementation permits distinguishing.

    -

    Import interface wasi:clocks/timezone@0.3.1

    +

    Import interface wasi:clocks/timezone@0.3.2


    Types

    type instant

    @@ -387,7 +387,7 @@ this string is a major platform-compatibility hazard.

    -

    Import interface wasi:filesystem/types@0.3.1

    +

    Import interface wasi:filesystem/types@0.3.2

    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.

    @@ -1224,7 +1224,7 @@ to by a directory descriptor and a relative path.

    -

    Import interface wasi:filesystem/preopens@0.3.1

    +

    Import interface wasi:filesystem/preopens@0.3.2


    Types

    type descriptor

    @@ -1238,7 +1238,7 @@ to by a directory descriptor and a relative path.

    -

    Import interface wasi:sockets/types@0.3.1

    +

    Import interface wasi:sockets/types@0.3.2


    Types

    type duration

    @@ -2340,7 +2340,7 @@ this setting may differ from the value that was set.

    -

    Import interface wasi:sockets/ip-name-lookup@0.3.1

    +

    Import interface wasi:sockets/ip-name-lookup@0.3.2


    Types

    type ip-address

    @@ -2409,7 +2409,7 @@ IPv4-mapped IPv6 addresses.

    -

    Import interface wasi:random/random@0.3.1

    +

    Import interface wasi:random/random@0.3.2

    WASI Random is a random data API.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -2449,7 +2449,7 @@ represented as a u64.

    -

    Import interface wasi:random/insecure@0.3.1

    +

    Import interface wasi:random/insecure@0.3.2

    The insecure interface for insecure pseudo-random numbers.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -2484,7 +2484,7 @@ list without trapping.

    -

    Import interface wasi:random/insecure-seed@0.3.1

    +

    Import interface wasi:random/insecure-seed@0.3.2

    The insecure-seed interface for seeding hash-map DoS resistance.

    It is intended to be portable at least between Unix-family platforms and Windows.

    diff --git a/proposals/cli/wit/command.wit b/proposals/cli/wit/command.wit index 10a13c60..0f64b9d0 100644 --- a/proposals/cli/wit/command.wit +++ b/proposals/cli/wit/command.wit @@ -1,4 +1,4 @@ -package wasi:cli@0.3.1; +package wasi:cli@0.3.2; @since(version = 0.3.0) world command { diff --git a/proposals/cli/wit/deps.lock b/proposals/cli/wit/deps.lock index 7d0d89d7..20998cbe 100644 --- a/proposals/cli/wit/deps.lock +++ b/proposals/cli/wit/deps.lock @@ -1,19 +1,19 @@ [clocks] path = "../../clocks/wit" -sha256 = "cee7f7ffff62be2416295a0bbdc13d822f5b4449ce37e0eb7cbdf3195156429d" -sha512 = "446835d225349f00f44b8c47fb3e6189491cfc19fdf3b394e3edd85276e3f1d7a515efb318cd11ef271c164ec54a54307110f2d0b72212a0108324f449d9b946" +sha256 = "5cb223966f6b05ff20069dabf48a49d9b451bd7915f582bc7c58d8adcb0665a8" +sha512 = "c7985d84cf71fb467b86247e8d75ca2a8bae4704be1e3fc75638de68aca6486e5e6b9d501b379eb8fb48026d1edbff1c338bec27f84d09e0d24195801728ad93" [filesystem] path = "../../filesystem/wit" -sha256 = "7e29e1b85da02279d2853dff263bbfe647b1b19105b96bb2a850ea8d201e7bbb" -sha512 = "7cdba2ef1090aa6b83eb292dd90992df2a9db24f577728b9275e0c3eb4fe19bcb8f0e7defa914d79e7adee72029d8c9501b2cc6387723b515d0ff296c3c1acff" +sha256 = "7696414aa37faba93797b4b293628944da5a9de41358c25eca687cb529538a8d" +sha512 = "bc5e81fd9fd91f35e7220aaaebe24bc58c141dd7826428f19f94cc6f90acbab61e1592695804519b1ff5826a3ad342ec815f1449d53a1abc88cf98c2c1e80680" [random] path = "../../random/wit" -sha256 = "5196da126852cb29c39790da453ec6d5f46a266283dadd69a5f93f10a9850376" -sha512 = "4147e0f33b26cd6bf46cc1da4afed21e620fe8ede4b06199c8826fd456ed4977974ac1b6437dccdfb602f1b352d06a455717852f43ae5143fffc01e75ca3d74d" +sha256 = "f3f1be21aad52a5cdbdf7714e29e71a29fe2c4b9a7ae694ca00bc24ffb301de4" +sha512 = "cc9212ee4a7c2b646f3f693e5809e89e0477769cc9afde3b6024460ecf1f7c0a4f3386ddd0c17fcf6fa1f35f8e197d929df545fcb667082c129a361d30acc4d4" [sockets] path = "../../sockets/wit" -sha256 = "8db169a251f64d3b06162f2012a3b0b794a2e65187b130fc21adf5c913ddb140" -sha512 = "6d2a2a4b0b575a3856eb1d0448b4637357587123d12d4633b1e8bded88530085a1f36bfcfda6a2e27ce633581d7e3b778c2658f796b884972d3d2043ae7b5795" +sha256 = "2d64795d2520adb3f20805527f67ad5d812edeb2b12d21f0d9d1b8087f86e990" +sha512 = "6e261b35a3c908bade85a6f70a56cd1e7ef98d193149f4a7fa6b91a37cf8a85aa6f3aa2e1b32bc6f6fc600e9df5041eaef9a041738ce43c3d496f5cf49d26623" diff --git a/proposals/cli/wit/imports.wit b/proposals/cli/wit/imports.wit index 488604f4..dd3f7abf 100644 --- a/proposals/cli/wit/imports.wit +++ b/proposals/cli/wit/imports.wit @@ -1,15 +1,15 @@ -package wasi:cli@0.3.1; +package wasi:cli@0.3.2; @since(version = 0.3.0) world imports { @since(version = 0.3.0) - include wasi:clocks/imports@0.3.1; + include wasi:clocks/imports@0.3.2; @since(version = 0.3.0) - include wasi:filesystem/imports@0.3.1; + include wasi:filesystem/imports@0.3.2; @since(version = 0.3.0) - include wasi:sockets/imports@0.3.1; + include wasi:sockets/imports@0.3.2; @since(version = 0.3.0) - include wasi:random/imports@0.3.1; + include wasi:random/imports@0.3.2; @since(version = 0.3.0) import environment; diff --git a/proposals/clocks/imports.md b/proposals/clocks/imports.md index b3f30638..544330f4 100644 --- a/proposals/clocks/imports.md +++ b/proposals/clocks/imports.md @@ -2,21 +2,21 @@ -

    Import interface wasi:clocks/types@0.3.1

    +

    Import interface wasi:clocks/types@0.3.2

    This interface common types used throughout wasi:clocks.


    Types

    type duration

    u64

    A duration of time, in nanoseconds. -

    Import interface wasi:clocks/monotonic-clock@0.3.1

    +

    Import interface wasi:clocks/monotonic-clock@0.3.2

    WASI Monotonic Clock is a clock API intended to let users measure elapsed time.

    It is intended to be portable at least between Unix-family platforms and @@ -66,7 +66,7 @@ corresponding to a clock tick.

    -

    Import interface wasi:clocks/system-clock@0.3.1

    +

    Import interface wasi:clocks/system-clock@0.3.2

    WASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.

    It is intended to be portable at least between Unix-family platforms and @@ -114,7 +114,7 @@ that the implementation permits distinguishing.

    -

    Import interface wasi:clocks/timezone@0.3.1

    +

    Import interface wasi:clocks/timezone@0.3.2


    Types

    type instant

    diff --git a/proposals/clocks/wit/monotonic-clock.wit b/proposals/clocks/wit/monotonic-clock.wit index 537177a4..7f2718d0 100644 --- a/proposals/clocks/wit/monotonic-clock.wit +++ b/proposals/clocks/wit/monotonic-clock.wit @@ -1,4 +1,4 @@ -package wasi:clocks@0.3.1; +package wasi:clocks@0.3.2; /// WASI Monotonic Clock is a clock API intended to let users measure elapsed /// time. /// diff --git a/proposals/clocks/wit/system-clock.wit b/proposals/clocks/wit/system-clock.wit index 119c3e17..5f1ae791 100644 --- a/proposals/clocks/wit/system-clock.wit +++ b/proposals/clocks/wit/system-clock.wit @@ -1,4 +1,4 @@ -package wasi:clocks@0.3.1; +package wasi:clocks@0.3.2; /// WASI System Clock is a clock API intended to let users query the current /// time. The clock is not necessarily monotonic as it may be reset. /// diff --git a/proposals/clocks/wit/timezone.wit b/proposals/clocks/wit/timezone.wit index 2a443659..68938c34 100644 --- a/proposals/clocks/wit/timezone.wit +++ b/proposals/clocks/wit/timezone.wit @@ -1,4 +1,4 @@ -package wasi:clocks@0.3.1; +package wasi:clocks@0.3.2; @unstable(feature = clocks-timezone) interface timezone { diff --git a/proposals/clocks/wit/types.wit b/proposals/clocks/wit/types.wit index 027133e4..02c58908 100644 --- a/proposals/clocks/wit/types.wit +++ b/proposals/clocks/wit/types.wit @@ -1,4 +1,4 @@ -package wasi:clocks@0.3.1; +package wasi:clocks@0.3.2; /// This interface common types used throughout wasi:clocks. @since(version = 0.3.0) interface types { diff --git a/proposals/clocks/wit/world.wit b/proposals/clocks/wit/world.wit index e605c0eb..ed5ba45f 100644 --- a/proposals/clocks/wit/world.wit +++ b/proposals/clocks/wit/world.wit @@ -1,4 +1,4 @@ -package wasi:clocks@0.3.1; +package wasi:clocks@0.3.2; @since(version = 0.3.0) world imports { diff --git a/proposals/filesystem/imports.md b/proposals/filesystem/imports.md index 2afa37a9..7551a8e2 100644 --- a/proposals/filesystem/imports.md +++ b/proposals/filesystem/imports.md @@ -2,21 +2,21 @@ -

    Import interface wasi:clocks/types@0.3.1

    +

    Import interface wasi:clocks/types@0.3.2

    This interface common types used throughout wasi:clocks.


    Types

    type duration

    u64

    A duration of time, in nanoseconds. -

    Import interface wasi:clocks/system-clock@0.3.1

    +

    Import interface wasi:clocks/system-clock@0.3.2

    WASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.

    It is intended to be portable at least between Unix-family platforms and @@ -64,7 +64,7 @@ that the implementation permits distinguishing.

    -

    Import interface wasi:filesystem/types@0.3.1

    +

    Import interface wasi:filesystem/types@0.3.2

    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.

    @@ -901,7 +901,7 @@ to by a directory descriptor and a relative path.

    -

    Import interface wasi:filesystem/preopens@0.3.1

    +

    Import interface wasi:filesystem/preopens@0.3.2


    Types

    type descriptor

    diff --git a/proposals/filesystem/wit/deps.lock b/proposals/filesystem/wit/deps.lock index 800f564b..fa909f2b 100644 --- a/proposals/filesystem/wit/deps.lock +++ b/proposals/filesystem/wit/deps.lock @@ -1,4 +1,4 @@ [clocks] path = "../../clocks/wit" -sha256 = "cee7f7ffff62be2416295a0bbdc13d822f5b4449ce37e0eb7cbdf3195156429d" -sha512 = "446835d225349f00f44b8c47fb3e6189491cfc19fdf3b394e3edd85276e3f1d7a515efb318cd11ef271c164ec54a54307110f2d0b72212a0108324f449d9b946" +sha256 = "5cb223966f6b05ff20069dabf48a49d9b451bd7915f582bc7c58d8adcb0665a8" +sha512 = "c7985d84cf71fb467b86247e8d75ca2a8bae4704be1e3fc75638de68aca6486e5e6b9d501b379eb8fb48026d1edbff1c338bec27f84d09e0d24195801728ad93" diff --git a/proposals/filesystem/wit/preopens.wit b/proposals/filesystem/wit/preopens.wit index 2c225f90..2cb5d223 100644 --- a/proposals/filesystem/wit/preopens.wit +++ b/proposals/filesystem/wit/preopens.wit @@ -1,4 +1,4 @@ -package wasi:filesystem@0.3.1; +package wasi:filesystem@0.3.2; @since(version = 0.3.0) interface preopens { diff --git a/proposals/filesystem/wit/types.wit b/proposals/filesystem/wit/types.wit index 69ac7828..d0b27e01 100644 --- a/proposals/filesystem/wit/types.wit +++ b/proposals/filesystem/wit/types.wit @@ -1,4 +1,4 @@ -package wasi:filesystem@0.3.1; +package wasi:filesystem@0.3.2; /// 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. @@ -37,7 +37,7 @@ package wasi:filesystem@0.3.1; @since(version = 0.3.0) interface types { @since(version = 0.3.0) - use wasi:clocks/system-clock@0.3.1.{instant}; + use wasi:clocks/system-clock@0.3.2.{instant}; /// File size or length of a region within a file. @since(version = 0.3.0) diff --git a/proposals/filesystem/wit/world.wit b/proposals/filesystem/wit/world.wit index 66cbb4d7..db8cb2d1 100644 --- a/proposals/filesystem/wit/world.wit +++ b/proposals/filesystem/wit/world.wit @@ -1,4 +1,4 @@ -package wasi:filesystem@0.3.1; +package wasi:filesystem@0.3.2; @since(version = 0.3.0) world imports { diff --git a/proposals/http/middleware.md b/proposals/http/middleware.md index 85964bbe..7014b9c4 100644 --- a/proposals/http/middleware.md +++ b/proposals/http/middleware.md @@ -7,36 +7,36 @@ Requests to another handler.

    -

    Import interface wasi:clocks/types@0.3.1

    +

    Import interface wasi:clocks/types@0.3.2

    This interface common types used throughout wasi:clocks.


    Types

    type duration

    u64

    A duration of time, in nanoseconds. -

    Import interface wasi:http/types@0.3.1

    +

    Import interface wasi:http/types@0.3.2

    This interface defines all of the types and methods for implementing HTTP Requests and Responses, as well as their headers, trailers, and bodies.


    @@ -720,7 +720,7 @@ acquired from it previously will remain valid.

    -

    Import interface wasi:http/handler@0.3.1

    +

    Import interface wasi:http/handler@0.3.2

    This interface defines a handler of HTTP Requests.

    In a wasi:http/service this interface is exported to respond to an incoming HTTP Request with a Response.

    @@ -750,7 +750,7 @@ network or a request synthesized or forwarded by another component.

    -

    Import interface wasi:cli/types@0.3.1

    +

    Import interface wasi:cli/types@0.3.2


    Types

    enum error-code

    @@ -769,7 +769,7 @@ network or a request synthesized or forwarded by another component.

    Broken pipe -

    Import interface wasi:cli/stdout@0.3.1

    +

    Import interface wasi:cli/stdout@0.3.2


    Types

    type error-code

    @@ -792,7 +792,7 @@ dropped and this function will return an error-code.

    -

    Import interface wasi:cli/stderr@0.3.1

    +

    Import interface wasi:cli/stderr@0.3.2


    Types

    type error-code

    @@ -815,7 +815,7 @@ dropped and this function will return an error-code.

    -

    Import interface wasi:cli/stdin@0.3.1

    +

    Import interface wasi:cli/stdin@0.3.2


    Types

    type error-code

    @@ -837,7 +837,7 @@ reads is implementation-specific.

    -

    Import interface wasi:http/client@0.3.1

    +

    Import interface wasi:http/client@0.3.2

    This interface defines an HTTP client for sending "outgoing" requests.

    Most components are expected to import this interface to provide the capability to send HTTP requests to arbitrary destinations on a network.

    @@ -870,7 +870,7 @@ network or to forward it to another component.

    -

    Import interface wasi:clocks/monotonic-clock@0.3.1

    +

    Import interface wasi:clocks/monotonic-clock@0.3.2

    WASI Monotonic Clock is a clock API intended to let users measure elapsed time.

    It is intended to be portable at least between Unix-family platforms and @@ -920,7 +920,7 @@ corresponding to a clock tick.

    -

    Import interface wasi:clocks/system-clock@0.3.1

    +

    Import interface wasi:clocks/system-clock@0.3.2

    WASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.

    It is intended to be portable at least between Unix-family platforms and @@ -968,7 +968,7 @@ that the implementation permits distinguishing.

    -

    Import interface wasi:clocks/timezone@0.3.1

    +

    Import interface wasi:clocks/timezone@0.3.2


    Types

    type instant

    @@ -1020,7 +1020,7 @@ this string is a major platform-compatibility hazard.

    -

    Import interface wasi:random/random@0.3.1

    +

    Import interface wasi:random/random@0.3.2

    WASI Random is a random data API.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -1060,7 +1060,7 @@ represented as a u64.

    -

    Import interface wasi:random/insecure@0.3.1

    +

    Import interface wasi:random/insecure@0.3.2

    The insecure interface for insecure pseudo-random numbers.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -1095,7 +1095,7 @@ list without trapping.

    -

    Import interface wasi:random/insecure-seed@0.3.1

    +

    Import interface wasi:random/insecure-seed@0.3.2

    The insecure-seed interface for seeding hash-map DoS resistance.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -1119,7 +1119,7 @@ protection.

    -

    Export interface wasi:http/handler@0.3.1

    +

    Export interface wasi:http/handler@0.3.2


    Types

    type request

    diff --git a/proposals/http/service.md b/proposals/http/service.md index 1a81e15c..4052be1a 100644 --- a/proposals/http/service.md +++ b/proposals/http/service.md @@ -5,28 +5,28 @@ in more specific worlds such as wasi:http/middleware.

    -

    Import interface wasi:cli/types@0.3.1

    +

    Import interface wasi:cli/types@0.3.2


    Types

    enum error-code

    @@ -45,7 +45,7 @@ in more specific worlds such as wasi:http/middleware.

    Broken pipe -

    Import interface wasi:cli/stdout@0.3.1

    +

    Import interface wasi:cli/stdout@0.3.2


    Types

    type error-code

    @@ -68,7 +68,7 @@ dropped and this function will return an error-code.

    -

    Import interface wasi:cli/stderr@0.3.1

    +

    Import interface wasi:cli/stderr@0.3.2


    Types

    type error-code

    @@ -91,7 +91,7 @@ dropped and this function will return an error-code.

    -

    Import interface wasi:cli/stdin@0.3.1

    +

    Import interface wasi:cli/stdin@0.3.2


    Types

    type error-code

    @@ -113,14 +113,14 @@ reads is implementation-specific.

    -

    Import interface wasi:clocks/types@0.3.1

    +

    Import interface wasi:clocks/types@0.3.2

    This interface common types used throughout wasi:clocks.


    Types

    type duration

    u64

    A duration of time, in nanoseconds. -

    Import interface wasi:http/types@0.3.1

    +

    Import interface wasi:http/types@0.3.2

    This interface defines all of the types and methods for implementing HTTP Requests and Responses, as well as their headers, trailers, and bodies.


    @@ -804,7 +804,7 @@ acquired from it previously will remain valid.

    -

    Import interface wasi:http/client@0.3.1

    +

    Import interface wasi:http/client@0.3.2

    This interface defines an HTTP client for sending "outgoing" requests.

    Most components are expected to import this interface to provide the capability to send HTTP requests to arbitrary destinations on a network.

    @@ -837,7 +837,7 @@ network or to forward it to another component.

    -

    Import interface wasi:clocks/monotonic-clock@0.3.1

    +

    Import interface wasi:clocks/monotonic-clock@0.3.2

    WASI Monotonic Clock is a clock API intended to let users measure elapsed time.

    It is intended to be portable at least between Unix-family platforms and @@ -887,7 +887,7 @@ corresponding to a clock tick.

    -

    Import interface wasi:clocks/system-clock@0.3.1

    +

    Import interface wasi:clocks/system-clock@0.3.2

    WASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.

    It is intended to be portable at least between Unix-family platforms and @@ -935,7 +935,7 @@ that the implementation permits distinguishing.

    -

    Import interface wasi:clocks/timezone@0.3.1

    +

    Import interface wasi:clocks/timezone@0.3.2


    Types

    type instant

    @@ -987,7 +987,7 @@ this string is a major platform-compatibility hazard.

    -

    Import interface wasi:random/random@0.3.1

    +

    Import interface wasi:random/random@0.3.2

    WASI Random is a random data API.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -1027,7 +1027,7 @@ represented as a u64.

    -

    Import interface wasi:random/insecure@0.3.1

    +

    Import interface wasi:random/insecure@0.3.2

    The insecure interface for insecure pseudo-random numbers.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -1062,7 +1062,7 @@ list without trapping.

    -

    Import interface wasi:random/insecure-seed@0.3.1

    +

    Import interface wasi:random/insecure-seed@0.3.2

    The insecure-seed interface for seeding hash-map DoS resistance.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -1086,7 +1086,7 @@ protection.

    -

    Export interface wasi:http/handler@0.3.1

    +

    Export interface wasi:http/handler@0.3.2


    Types

    type request

    diff --git a/proposals/http/wit/deps.lock b/proposals/http/wit/deps.lock index aa0f72c0..239660ba 100644 --- a/proposals/http/wit/deps.lock +++ b/proposals/http/wit/deps.lock @@ -1,22 +1,22 @@ [cli] path = "../../cli/wit" -sha256 = "9645378e1dafc659329f0f7ff92451e7b356283996614363be5b3e0d70aba742" -sha512 = "38e0276ae6da58d8475aa00c1db1707b01a53b38cfc96132379ab0d22c4d26c24352bf33f5316b0d33369553eaba4c2fca3a001373b6bbfabd48849f223c1702" +sha256 = "1fb192904a81483c5cb31232ca0974397570c6c902eecd50d7a57d72a8b57448" +sha512 = "b2c5eeb9fb8de3e4b92df3c63de25580860bbd910acd3c304470dc42de4e6e548ba28806612c9fa5cc9f1ce945fb0ac688ac8c0926f9e3ec007817d1ccf560d0" deps = ["filesystem", "random", "sockets"] [clocks] path = "../../clocks/wit" -sha256 = "cee7f7ffff62be2416295a0bbdc13d822f5b4449ce37e0eb7cbdf3195156429d" -sha512 = "446835d225349f00f44b8c47fb3e6189491cfc19fdf3b394e3edd85276e3f1d7a515efb318cd11ef271c164ec54a54307110f2d0b72212a0108324f449d9b946" +sha256 = "5cb223966f6b05ff20069dabf48a49d9b451bd7915f582bc7c58d8adcb0665a8" +sha512 = "c7985d84cf71fb467b86247e8d75ca2a8bae4704be1e3fc75638de68aca6486e5e6b9d501b379eb8fb48026d1edbff1c338bec27f84d09e0d24195801728ad93" [filesystem] -sha256 = "7e29e1b85da02279d2853dff263bbfe647b1b19105b96bb2a850ea8d201e7bbb" -sha512 = "7cdba2ef1090aa6b83eb292dd90992df2a9db24f577728b9275e0c3eb4fe19bcb8f0e7defa914d79e7adee72029d8c9501b2cc6387723b515d0ff296c3c1acff" +sha256 = "7696414aa37faba93797b4b293628944da5a9de41358c25eca687cb529538a8d" +sha512 = "bc5e81fd9fd91f35e7220aaaebe24bc58c141dd7826428f19f94cc6f90acbab61e1592695804519b1ff5826a3ad342ec815f1449d53a1abc88cf98c2c1e80680" [random] -sha256 = "5196da126852cb29c39790da453ec6d5f46a266283dadd69a5f93f10a9850376" -sha512 = "4147e0f33b26cd6bf46cc1da4afed21e620fe8ede4b06199c8826fd456ed4977974ac1b6437dccdfb602f1b352d06a455717852f43ae5143fffc01e75ca3d74d" +sha256 = "f3f1be21aad52a5cdbdf7714e29e71a29fe2c4b9a7ae694ca00bc24ffb301de4" +sha512 = "cc9212ee4a7c2b646f3f693e5809e89e0477769cc9afde3b6024460ecf1f7c0a4f3386ddd0c17fcf6fa1f35f8e197d929df545fcb667082c129a361d30acc4d4" [sockets] -sha256 = "8db169a251f64d3b06162f2012a3b0b794a2e65187b130fc21adf5c913ddb140" -sha512 = "6d2a2a4b0b575a3856eb1d0448b4637357587123d12d4633b1e8bded88530085a1f36bfcfda6a2e27ce633581d7e3b778c2658f796b884972d3d2043ae7b5795" +sha256 = "2d64795d2520adb3f20805527f67ad5d812edeb2b12d21f0d9d1b8087f86e990" +sha512 = "6e261b35a3c908bade85a6f70a56cd1e7ef98d193149f4a7fa6b91a37cf8a85aa6f3aa2e1b32bc6f6fc600e9df5041eaef9a041738ce43c3d496f5cf49d26623" diff --git a/proposals/http/wit/types.wit b/proposals/http/wit/types.wit index 47a6d621..a1f6094c 100644 --- a/proposals/http/wit/types.wit +++ b/proposals/http/wit/types.wit @@ -1,10 +1,10 @@ -package wasi:http@0.3.1; +package wasi:http@0.3.2; /// This interface defines all of the types and methods for implementing HTTP /// Requests and Responses, as well as their headers, trailers, and bodies. @since(version = 0.3.0) interface types { - use wasi:clocks/types@0.3.1.{duration}; + use wasi:clocks/types@0.3.2.{duration}; /// This type corresponds to HTTP standard Methods. @since(version = 0.3.0) diff --git a/proposals/http/wit/worlds.wit b/proposals/http/wit/worlds.wit index d79414d2..3d7da8b7 100644 --- a/proposals/http/wit/worlds.wit +++ b/proposals/http/wit/worlds.wit @@ -1,4 +1,4 @@ -package wasi:http@0.3.1; +package wasi:http@0.3.2; /// The `wasi:http/service` world captures a broad category of HTTP services /// including web applications, API servers, and proxies. It may be `include`d @@ -6,19 +6,19 @@ package wasi:http@0.3.1; @since(version = 0.3.0) world service { /// HTTP services have access to time and randomness. - include wasi:clocks/imports@0.3.1; - include wasi:random/imports@0.3.1; + include wasi:clocks/imports@0.3.2; + include wasi:random/imports@0.3.2; /// Services have standard output and error streams which are expected to /// terminate in a developer-facing console provided by the host. - import wasi:cli/stdout@0.3.1; - import wasi:cli/stderr@0.3.1; + import wasi:cli/stdout@0.3.2; + import wasi:cli/stderr@0.3.2; /// TODO: this is a temporary workaround until component tooling is able to /// gracefully handle the absence of stdin. Hosts must return an eof stream /// for this import, which is what wasi-libc + tooling will do automatically /// when this import is properly removed. - import wasi:cli/stdin@0.3.1; + import wasi:cli/stdin@0.3.2; /// This is the default `client` to use when user code simply wants to make an /// HTTP request (e.g., via `fetch()`). diff --git a/proposals/random/imports.md b/proposals/random/imports.md index 8ecac0b5..b93c3e48 100644 --- a/proposals/random/imports.md +++ b/proposals/random/imports.md @@ -2,13 +2,13 @@ -

    Import interface wasi:random/random@0.3.1

    +

    Import interface wasi:random/random@0.3.2

    WASI Random is a random data API.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -48,7 +48,7 @@ represented as a u64.

    -

    Import interface wasi:random/insecure@0.3.1

    +

    Import interface wasi:random/insecure@0.3.2

    The insecure interface for insecure pseudo-random numbers.

    It is intended to be portable at least between Unix-family platforms and Windows.

    @@ -83,7 +83,7 @@ list without trapping.

    -

    Import interface wasi:random/insecure-seed@0.3.1

    +

    Import interface wasi:random/insecure-seed@0.3.2

    The insecure-seed interface for seeding hash-map DoS resistance.

    It is intended to be portable at least between Unix-family platforms and Windows.

    diff --git a/proposals/random/wit/insecure-seed.wit b/proposals/random/wit/insecure-seed.wit index 5442acb9..77d84f7e 100644 --- a/proposals/random/wit/insecure-seed.wit +++ b/proposals/random/wit/insecure-seed.wit @@ -1,4 +1,4 @@ -package wasi:random@0.3.1; +package wasi:random@0.3.2; /// The insecure-seed interface for seeding hash-map DoS resistance. /// /// It is intended to be portable at least between Unix-family platforms and diff --git a/proposals/random/wit/insecure.wit b/proposals/random/wit/insecure.wit index 2332118e..2c29435c 100644 --- a/proposals/random/wit/insecure.wit +++ b/proposals/random/wit/insecure.wit @@ -1,4 +1,4 @@ -package wasi:random@0.3.1; +package wasi:random@0.3.2; /// The insecure interface for insecure pseudo-random numbers. /// /// It is intended to be portable at least between Unix-family platforms and diff --git a/proposals/random/wit/random.wit b/proposals/random/wit/random.wit index f16e3ff7..35fb1ac9 100644 --- a/proposals/random/wit/random.wit +++ b/proposals/random/wit/random.wit @@ -1,4 +1,4 @@ -package wasi:random@0.3.1; +package wasi:random@0.3.2; /// WASI Random is a random data API. /// /// It is intended to be portable at least between Unix-family platforms and diff --git a/proposals/random/wit/world.wit b/proposals/random/wit/world.wit index 25d7dfdb..e08d0692 100644 --- a/proposals/random/wit/world.wit +++ b/proposals/random/wit/world.wit @@ -1,4 +1,4 @@ -package wasi:random@0.3.1; +package wasi:random@0.3.2; @since(version = 0.3.0) world imports { diff --git a/proposals/sockets/imports.md b/proposals/sockets/imports.md index 8e744aa7..4d0c2e9f 100644 --- a/proposals/sockets/imports.md +++ b/proposals/sockets/imports.md @@ -2,20 +2,20 @@ -

    Import interface wasi:clocks/types@0.3.1

    +

    Import interface wasi:clocks/types@0.3.2

    This interface common types used throughout wasi:clocks.


    Types

    type duration

    u64

    A duration of time, in nanoseconds. -

    Import interface wasi:sockets/types@0.3.1

    +

    Import interface wasi:sockets/types@0.3.2


    Types

    type duration

    @@ -1117,7 +1117,7 @@ this setting may differ from the value that was set.

    -

    Import interface wasi:sockets/ip-name-lookup@0.3.1

    +

    Import interface wasi:sockets/ip-name-lookup@0.3.2


    Types

    type ip-address

    diff --git a/proposals/sockets/wit/deps.lock b/proposals/sockets/wit/deps.lock index 800f564b..fa909f2b 100644 --- a/proposals/sockets/wit/deps.lock +++ b/proposals/sockets/wit/deps.lock @@ -1,4 +1,4 @@ [clocks] path = "../../clocks/wit" -sha256 = "cee7f7ffff62be2416295a0bbdc13d822f5b4449ce37e0eb7cbdf3195156429d" -sha512 = "446835d225349f00f44b8c47fb3e6189491cfc19fdf3b394e3edd85276e3f1d7a515efb318cd11ef271c164ec54a54307110f2d0b72212a0108324f449d9b946" +sha256 = "5cb223966f6b05ff20069dabf48a49d9b451bd7915f582bc7c58d8adcb0665a8" +sha512 = "c7985d84cf71fb467b86247e8d75ca2a8bae4704be1e3fc75638de68aca6486e5e6b9d501b379eb8fb48026d1edbff1c338bec27f84d09e0d24195801728ad93" diff --git a/proposals/sockets/wit/types.wit b/proposals/sockets/wit/types.wit index 5cc743a6..47203c12 100644 --- a/proposals/sockets/wit/types.wit +++ b/proposals/sockets/wit/types.wit @@ -1,7 +1,7 @@ @since(version = 0.3.0) interface types { @since(version = 0.3.0) - use wasi:clocks/types@0.3.1.{duration}; + use wasi:clocks/types@0.3.2.{duration}; /// Error codes. /// diff --git a/proposals/sockets/wit/world.wit b/proposals/sockets/wit/world.wit index d23a53f2..c4663596 100644 --- a/proposals/sockets/wit/world.wit +++ b/proposals/sockets/wit/world.wit @@ -1,4 +1,4 @@ -package wasi:sockets@0.3.1; +package wasi:sockets@0.3.2; @since(version = 0.3.0) world imports {