Skip to content

Commit a538727

Browse files
authored
Merge pull request #43 from ThalesGroup/main
Add subversioning info for WASI 0.2
2 parents e669ef4 + 418d0d7 commit a538727

1 file changed

Lines changed: 22 additions & 11 deletions

File tree

docs/interfaces.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,30 @@ As you begin writing a Wasm application using WASI APIs, one of your first decis
1515

1616
## WASI 0.2
1717

18+
### Presentation
19+
1820
WASI 0.2 is the most recent WASI release. APIs designed for WASI 0.2 and the Component Model are defined with the [**WebAssembly Interface Type (WIT)**](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md) Interface Description Language (IDL). WIT API definitions are made in `.wit` files which are composed into Wasm component binaries. The following interfaces are included in WASI P2:
1921

20-
| API | Repository | Version |
21-
| ------------ | ---------------------------------------------- | ------- |
22-
| I/O | https://github.com/WebAssembly/wasi-io | 0.2.0 |
23-
| Clocks | https://github.com/WebAssembly/wasi-clocks | 0.2.0 |
24-
| Random | https://github.com/WebAssembly/wasi-random | 0.2.0 |
25-
| Filesystem | https://github.com/WebAssembly/wasi-filesystem | 0.2.0 |
26-
| Sockets | https://github.com/WebAssembly/wasi-sockets | 0.2.0 |
27-
| CLI | https://github.com/WebAssembly/wasi-cli | 0.2.0 |
28-
| HTTP | https://github.com/WebAssembly/wasi-http | 0.2.0 |
29-
30-
You can explore the types and definitions for a given WASI 0.2 API in its WIT files. When you're ready to start using the API, you will typically generate bindings between the WIT definitions and the language you will be compiling to Wasm. For more information on WIT, see the [WIT section of the Component Model documentation](https://component-model.bytecodealliance.org/design/wit.html).
22+
| API | Repository |
23+
| ------------ | ---------------------------------------------- |
24+
| Clocks | https://github.com/WebAssembly/wasi-clocks |
25+
| Random | https://github.com/WebAssembly/wasi-random |
26+
| Filesystem | https://github.com/WebAssembly/wasi-filesystem |
27+
| Sockets | https://github.com/WebAssembly/wasi-sockets |
28+
| CLI | https://github.com/WebAssembly/wasi-cli |
29+
| HTTP | https://github.com/WebAssembly/wasi-http |
30+
31+
You can explore the types and definitions for a given WASI 0.2 API in its WIT files. When you're ready to start using the API, you will typically generate bindings between the WIT definitions and the language you will be compiling to Wasm. For more information on WIT, see the [WIT section of the Component Model documentation](https://component-model.bytecodealliance.org/design/wit.html).
32+
33+
### Versions
34+
35+
WASI 0.2 have a few subreleases, that are listed below.
36+
37+
| Version | Changelog |
38+
| ------------------------------------------------------------------ | --------- |
39+
| [0.2.2](https://github.com/WebAssembly/WASI/releases/tag/v0.2.2) | This release includes new WIT features for `@deprecated` feature gates and is excersied in the [wasi:http/proxy](https://github.com/WebAssembly/wasi-http/blob/main/wit/types.wit#L148-L158) world. For more information, see [component-model/WIT.md](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md#feature-gates). |
40+
| [0.2.1](https://github.com/WebAssembly/WASI/releases/tag/v0.2.1) | This release includes new WIT features for `@since` and `@unstable` feature gates. For more information, see [component-model/WIT.md](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md#feature-gates). |
41+
| [0.2.0](https://github.com/WebAssembly/WASI/releases/tag/v0.2.0) | This version officially launched with the vote in the WASI Subgroup January 24th. |
3142

3243
## WASI 0.1
3344

0 commit comments

Comments
 (0)