Skip to content

Adopt Component Model map and implements features for 0.3.1 - #950

Merged
ricochet merged 2 commits into
mainfrom
adopt-cm-map-implements
Aug 11, 2026
Merged

Adopt Component Model map and implements features for 0.3.1#950
ricochet merged 2 commits into
mainfrom
adopt-cm-map-implements

Conversation

@ricochet

Copy link
Copy Markdown
Contributor

The WASI Subgroup voted on 2026-08-06 to adopt the Component Model map type (🗺️) and the implements/external-id annotations (🏷️), both by full consensus. Record the adoption, note where that record fits in the release process, and state the required feature baseline in each released specification overview.

CI now validates each changed proposal against exactly the adopted feature set, so proposals can use the newly adopted features and cannot quietly depend on an un-adopted one. This requires wasm-tools 1.249.0 or later for cm-implements.

Closes #942
Closes #943

The WASI Subgroup voted on 2026-08-06 to adopt the Component Model map
type (🗺️) and the implements/external-id annotations (🏷️), both by full
consensus. Record the adoption, note where that record fits in the
release process, and state the required feature baseline in each
released specification overview.

CI now validates each changed proposal against exactly the adopted
feature set, so proposals can use the newly adopted features and cannot
quietly depend on an un-adopted one. This requires wasm-tools 1.249.0 or
later for `cm-implements`.

Closes #942
Closes #943

Signed-off-by: Bailey Hayes <bailey@cosmonic.com>
@ricochet
ricochet requested a review from a team as a code owner August 11, 2026 15:42
@github-actions github-actions Bot added the github_actions Pull requests that update GitHub Actions code label Aug 11, 2026
@ricochet

Copy link
Copy Markdown
Contributor Author

I was able to test validate-proposals.js locally. All six current proposals pass. I added a temporary fixture proposal (since removed) to test:

  • A list<u8, 32> package encodes fine and is caught only by the new step as ::error::Component Model validation failed.
  • A package using map<string, string> plus two plain-named store imports for implements passes.

@ricochet
ricochet enabled auto-merge August 11, 2026 16:12
lukewagner
lukewagner previously approved these changes Aug 11, 2026

@lukewagner lukewagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm from a CM perspective (one small suggestion below) and cool to see the automated validation! I guess I should write a PR to update the CM README.md and Explainer.md#gated-features now too.

Comment thread specifications/wasi-0.3.0/Overview.md Outdated
Co-authored-by: Luke Wagner <mail@lukewagner.name>
@ricochet
ricochet disabled auto-merge August 11, 2026 17:53
@ricochet
ricochet merged commit 691de6f into main Aug 11, 2026
3 checks passed
@ricochet
ricochet deleted the adopt-cm-map-implements branch August 11, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

2 participants