Skip to content

Enable new WIT encoding by default - #1274

Merged
pchickey merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:new-encoding-
Nov 1, 2023
Merged

pchickey merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:new-encoding-

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This commit enables the new encoding for WIT packages in WebAssembly components described in WebAssembly/component-model#248 and originally implemented in #1252. Support for the new encoding has been in a wasm-tools for a bit and it's also released with Wasmtime 14. This switch means that infrastructure will start being exposed to it by default now. Support for the old encoding remains to assist with interop as well. In a release or two support for creating the old encoding will be removed.

This commit enables the new encoding for WIT packages in WebAssembly
components described in WebAssembly/component-model#248 and originally
implemented in bytecodealliance#1252. Support for the new encoding has been in a
wasm-tools for a bit and it's also released with Wasmtime 14. This
switch means that infrastructure will start being exposed to it by
default now. Support for the old encoding remains to assist with interop
as well. In a release or two support for creating the old encoding will
be removed.
@alexcrichton
alexcrichton requested a review from pchickey November 1, 2023 15:00
@pchickey
pchickey merged commit e808006 into bytecodealliance:main Nov 1, 2023
@alexcrichton
alexcrichton deleted the new-encoding- branch November 1, 2023 17:44
alexcrichton added a commit to alexcrichton/wasm-tools that referenced this pull request Nov 6, 2023
@alexcrichton alexcrichton mentioned this pull request Nov 6, 2023
alexcrichton added a commit that referenced this pull request Nov 6, 2023
Going to pull #1274, #1270, and #1269 into Wasmtime.
alexcrichton added a commit to alexcrichton/wasm-tools that referenced this pull request Sep 11, 2024
This commit removes support for the "v1" encoding of WIT packages into
WebAssembly. This was originally migrated to v2 in bytecodealliance#1252 and v2 was
enabled by default in bytecodealliance#1274. This finishes the transition by removing
support for creating the old encoding.
github-merge-queue Bot pushed a commit that referenced this pull request Sep 12, 2024
* Remove v1 encoding support for WIT documents/worlds

This commit removes support for the "v1" encoding of WIT packages into
WebAssembly. This was originally migrated to v2 in #1252 and v2 was
enabled by default in #1274. This finishes the transition by removing
support for creating the old encoding.

* Fix fuzzer build

* Update outdated comments
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