Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0.0] Put versions in all WASI WIT files #7299

Merged

Conversation

alexcrichton
Copy link
Member

This is a backport of #7272 to the 14.0.0 release branch to get version numbers into WASI interfaces that Wasmtime supports sooner rather than later. This uses the exact same date as main, 2023-10-18, so I'll have a follow-up PR to main which updates those dates further to have main be difference since WITs have changed.

* Put versions in all WASI WIT files

This commit starts exercising the versioning feature of WIT by ensuring
that all WASI descriptions have a version associated with them. The
version chosen is 0.2.0 which reflects the upcoming "preview 2" release
where in theory 0.1.0 was claimed by preview1. This is intended to stay
as 0.2.0 for now and we'll determine how best to update these numbers in
the future once preview2 is released.

Closes bytecodealliance#7171

* Allow omitting versions in `with` keys

As a convenience for now this enables omitting the version of an
interface from a `with` key. This has a risk of not working well if two
packages are present and one has a version and one doesn't, but that's
left as a PR to fix in the future as the benefit of avoiding repetition
seems good for now.

* Allow omitting versions in trappable_error_types

* Use 0.2.0-rc-2023-10-18 as a version number

* More test fixes

* Fix another test
@alexcrichton alexcrichton requested a review from a team as a code owner October 19, 2023 21:50
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team October 19, 2023 21:50
@alexcrichton alexcrichton merged commit b8286f9 into bytecodealliance:release-14.0.0 Oct 19, 2023
@alexcrichton alexcrichton deleted the wasi-versions14 branch October 19, 2023 22:42
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Oct 19, 2023
This commit updates the version numbers on `main` to no longer clash
with the 14.0.0 release after bytecodealliance#7299. The version number is chosen as the
branch point for the 15.0.0 release of Wasmtime, at which point we'll
update the versions again.
github-merge-queue bot pushed a commit that referenced this pull request Oct 20, 2023
* Update WASI versions to `0.2.0-rc-2023-11-05`

This commit updates the version numbers on `main` to no longer clash
with the 14.0.0 release after #7299. The version number is chosen as the
branch point for the 15.0.0 release of Wasmtime, at which point we'll
update the versions again.

* Update another version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants