Hey all; today we're releasing WASI 0.2.2. Last time we had a little release party for this, but today it'll just be me. I figured I'd start a thread to post updates as I go work through the release!
This will take a couple of hours, and I'll be doing it when I'm not in meetings. Though I hope to have it all done before the WASI SG meeting later today
coolio!
meetings took a little longer than expected today. But first PR is out: https://github.com/WebAssembly/wasi-io/pull/87
wasi-random: https://github.com/WebAssembly/wasi-random/pull/47
wasi-clocks: https://github.com/WebAssembly/wasi-clocks/pull/75
wasi-filesystem: https://github.com/WebAssembly/wasi-filesystem/pull/158
BTW, On github, the releases are still at 0.2.0
https://github.com/WebAssembly/wasi-sockets/releases
What do we want to do with those?
I mean; yeah we should fix those
at a minimum we should make sure that the tag is set correctly
once I'm done with the code changes I can go through and set those
(for folks following along: we just merged https://github.com/WebAssembly/wasi-sockets/pull/106)
Dave Bakker (badeend) said:
What do we want to do with those?
tag was set for last one, but if we use the GH UI to create a release we can tag and make it as the latest release.
cursed bug I just found: wit-bindgen-cli
's --all-features
flag changes the order of the html codegen from `--feature
:see_no_evil:
Before I hit the button, @Yoshua Wuyts does this look good to you?
Screenshot 2024-10-03 at 1.54.34 PM.png
(with set as latest release checked)
Cool ripped from our language from the last one here: https://github.com/WebAssembly/WASI/releases/tag/v0.2.1
going to merge https://github.com/WebAssembly/wasi-sockets/pull/107 now too
I see it's in. Ready for release tag?
yes!
https://github.com/WebAssembly/wasi-sockets/releases/tag/v0.2.2
https://github.com/WebAssembly/wasi-clocks/releases/tag/v0.2.2
https://github.com/WebAssembly/wasi-filesystem/releases/tag/v0.2.2
https://github.com/WebAssembly/wasi-random/releases/tag/v0.2.2
wasi-cli: https://github.com/WebAssembly/wasi-cli/pull/47
And this should be the last one! https://github.com/WebAssembly/wasi-http/pull/132
@Bailey Hayes I think that means I can pass the baton to you to finish publishing the packages
https://github.com/WebAssembly/wasi-cli/releases/tag/v0.2.2 and https://github.com/WebAssembly/wasi-http/releases/tag/v0.2.2
Need to bring over WIT's here: https://github.com/WebAssembly/WASI/tree/main/wasip2
arguably we could stop doing that... but for now I'll keep doing what we've been doing. It's late for you @Yoshua Wuyts so baton accepted!
:tada:
https://github.com/WebAssembly/WASI/pull/621
I think I'm bumping into a wit/wkg bug when building the wit package for wasi:cli with wkg wit fetch --wit-dir .
I have pushed WIT packages for all dependencies leading up to wasi-cli:
https://github.com/WebAssembly/WASI/pkgs/container/wasi%2Ffilesystem
Validated with:
wkg oci pull "ghcr.io/webassembly/wasi/io:0.2.2"
wasm-tools component wit webassembly_wasi_io.wasm | grep 0.2.2
package wasi:io@0.2.2;
All packages have now been pushed.
wkg oci pull "ghcr.io/webassembly/wasi/http:0.2.2"
Successfully wrote ghcr.io/webassembly/wasi/http:0.2.2 to webassembly_wasi_http.wasm
wasm-tools component wit webassembly_wasi_http.wasm | grep 0.2.2
package wasi:http@0.2.2;
use wasi:clocks/monotonic-clock@0.2.2.{duration};
use wasi:io/streams@0.2.2.{input-stream, output-stream};
use wasi:io/error@0.2.2.{error as io-error};
use wasi:io/poll@0.2.2.{pollable};
@deprecated(version = 0.2.2)
import wasi:io/poll@0.2.2;
import wasi:clocks/monotonic-clock@0.2.2;
import wasi:clocks/wall-clock@0.2.2;
import wasi:random/random@0.2.2;
import wasi:io/error@0.2.2;
import wasi:io/streams@0.2.2;
import wasi:cli/stdout@0.2.2;
import wasi:cli/stderr@0.2.2;
import wasi:cli/stdin@0.2.2;
import wasi:io/poll@0.2.2;
import wasi:clocks/monotonic-clock@0.2.2;
import wasi:io/error@0.2.2;
import wasi:io/streams@0.2.2;
import wasi:clocks/wall-clock@0.2.2;
import wasi:random/random@0.2.2;
import wasi:cli/stdout@0.2.2;
import wasi:cli/stderr@0.2.2;
import wasi:cli/stdin@0.2.2;
package wasi:io@0.2.2 {
package wasi:clocks@0.2.2 {
use wasi:io/poll@0.2.2.{pollable};
package wasi:random@0.2.2 {
package wasi:cli@0.2.2 {
use wasi:io/streams@0.2.2.{output-stream};
use wasi:io/streams@0.2.2.{output-stream};
use wasi:io/streams@0.2.2.{input-stream};
And release published! https://github.com/WebAssembly/WASI/releases/tag/v0.2.2 thank you for another successful release @Yoshua Wuyts !
@Yoshua Wuyts is there a short TL;DR: about what changed in basic terms? I see the following:
This release includes new WIT features for @deprecated
feature gates and is excersied in the wasi:http/proxy world.
if that's it for this release, I'm great. just confirming!
There were some more minor changes like docs and a fix: https://github.com/WebAssembly/wasi-io/releases/tag/v0.2.2
Another doc fix here: https://github.com/WebAssembly/wasi-filesystem/releases/tag/v0.2.2
Last updated: Nov 22 2024 at 17:03 UTC