Stream: wasi

Topic: WASI 0.2.2 release thread


view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 07:21):

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!

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 07:23):

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

view this post on Zulip Ralph (Oct 03 2024 at 08:34):

coolio!

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 13:54):

meetings took a little longer than expected today. But first PR is out: https://github.com/WebAssembly/wasi-io/pull/87

Updates the package version to v0.2.2. Thanks!

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 14:04):

wasi-random: https://github.com/WebAssembly/wasi-random/pull/47

Updates the package version to v0.2.2. Thanks!

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 14:17):

wasi-clocks: https://github.com/WebAssembly/wasi-clocks/pull/75

Updates the package version to v0.2.2. Thanks!

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 16:18):

wasi-filesystem: https://github.com/WebAssembly/wasi-filesystem/pull/158

Updates the package version to v0.2.2. Thanks!

view this post on Zulip Dave Bakker (badeend) (Oct 03 2024 at 16:43):

BTW, On github, the releases are still at 0.2.0
https://github.com/WebAssembly/wasi-sockets/releases

WASI API proposal for managing sockets. Contribute to WebAssembly/wasi-sockets development by creating an account on GitHub.

view this post on Zulip Dave Bakker (badeend) (Oct 03 2024 at 16:44):

What do we want to do with those?

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 16:45):

I mean; yeah we should fix those

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 16:47):

at a minimum we should make sure that the tag is set correctly

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 16:48):

once I'm done with the code changes I can go through and set those

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 16:49):

(for folks following along: we just merged https://github.com/WebAssembly/wasi-sockets/pull/106)

Updates the package version to v0.2.2. Thanks!

view this post on Zulip Bailey Hayes (Oct 03 2024 at 17:41):

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.

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 17:54):

cursed bug I just found: wit-bindgen-cli's --all-features flag changes the order of the html codegen from `--feature :see_no_evil:

view this post on Zulip Bailey Hayes (Oct 03 2024 at 17:55):

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)

view this post on Zulip Bailey Hayes (Oct 03 2024 at 17:56):

Cool ripped from our language from the last one here: https://github.com/WebAssembly/WASI/releases/tag/v0.2.1

WASI v0.2.1 This is the August 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. For more details about t...

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 17:56):

going to merge https://github.com/WebAssembly/wasi-sockets/pull/107 now too

small nit caught by @ricochet. thanks!

view this post on Zulip Bailey Hayes (Oct 03 2024 at 17:59):

I see it's in. Ready for release tag?

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 17:59):

yes!

view this post on Zulip Bailey Hayes (Oct 03 2024 at 18:02):

https://github.com/WebAssembly/wasi-sockets/releases/tag/v0.2.2

WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. What's Changed Add net...

view this post on Zulip Bailey Hayes (Oct 03 2024 at 18:02):

https://github.com/WebAssembly/wasi-clocks/releases/tag/v0.2.2

WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. What's Changed Update ...

view this post on Zulip Bailey Hayes (Oct 03 2024 at 18:04):

https://github.com/WebAssembly/wasi-filesystem/releases/tag/v0.2.2

WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. What's Changed Remove ...

view this post on Zulip Bailey Hayes (Oct 03 2024 at 18:14):

https://github.com/WebAssembly/wasi-random/releases/tag/v0.2.2

WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. What's Changed ci: Upd...

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 18:52):

wasi-cli: https://github.com/WebAssembly/wasi-cli/pull/47

Updates the package version to v0.2.2. Thanks!

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 18:58):

And this should be the last one! https://github.com/WebAssembly/wasi-http/pull/132

Updates the package version to v0.2.2. Thanks!

view this post on Zulip Yoshua Wuyts (Oct 03 2024 at 19:01):

@Bailey Hayes I think that means I can pass the baton to you to finish publishing the packages

view this post on Zulip Bailey Hayes (Oct 03 2024 at 19:10):

https://github.com/WebAssembly/wasi-cli/releases/tag/v0.2.2 and https://github.com/WebAssembly/wasi-http/releases/tag/v0.2.2

WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. What's Changed Update ...
WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. What's Changed Depreca...

view this post on Zulip Bailey Hayes (Oct 03 2024 at 19:10):

Need to bring over WIT's here: https://github.com/WebAssembly/WASI/tree/main/wasip2

WebAssembly System Interface. Contribute to WebAssembly/WASI development by creating an account on GitHub.

view this post on Zulip Bailey Hayes (Oct 03 2024 at 19:11):

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!

view this post on Zulip David Bryant (Oct 03 2024 at 19:37):

:tada:

view this post on Zulip Bailey Hayes (Oct 03 2024 at 19:41):

https://github.com/WebAssembly/WASI/pull/621

We read every piece of feedback, and take your input very seriously.

view this post on Zulip Bailey Hayes (Oct 03 2024 at 19:59):

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

GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

view this post on Zulip Bailey Hayes (Oct 03 2024 at 20:01):

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;

view this post on Zulip Bailey Hayes (Oct 03 2024 at 23:10):

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};

view this post on Zulip Bailey Hayes (Oct 03 2024 at 23:15):

And release published! https://github.com/WebAssembly/WASI/releases/tag/v0.2.2 thank you for another successful release @Yoshua Wuyts !

WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. For more details about ...

view this post on Zulip Ralph (Oct 04 2024 at 12:18):

@Yoshua Wuyts is there a short TL;DR: about what changed in basic terms? I see the following:

view this post on Zulip Ralph (Oct 04 2024 at 12:18):

Highlights

This release includes new WIT features for @deprecated feature gates and is excersied in the wasi:http/proxy world.

Contribute to WebAssembly/wasi-http development by creating an account on GitHub.

view this post on Zulip Ralph (Oct 04 2024 at 12:18):

if that's it for this release, I'm great. just confirming!

view this post on Zulip Bailey Hayes (Oct 04 2024 at 13:02):

There were some more minor changes like docs and a fix: https://github.com/WebAssembly/wasi-io/releases/tag/v0.2.2

WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. What's Changed Documen...

view this post on Zulip Bailey Hayes (Oct 04 2024 at 13:03):

Another doc fix here: https://github.com/WebAssembly/wasi-filesystem/releases/tag/v0.2.2

WASI v0.2.2 This is the October 2024 release of WASI, where WASI is released on the first Thursday of every other month. All releases of WASI 0.2.* are backwards-compatible. What's Changed Remove ...

Last updated: Dec 23 2024 at 12:05 UTC