Skip to content

Commit d5f5868

Browse files
dschuffMs2gerrossberg
authored
Add Changelog sections for JS and Web API documents (WebAssembly#1817)
Co-authored-by: Ms2ger <[email protected]> Co-authored-by: Andreas Rossberg <[email protected]>
1 parent a700617 commit d5f5868

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

document/js-api/index.bs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ urlPrefix: https://tc39.github.io/ecma262/; spec: ECMASCRIPT
5353
text: 𝔽; url: #𝔽
5454
text: ℤ; url: #ℤ
5555
text: SameValue; url: sec-samevalue
56+
text: Array; url: sec-array-exotic-objects
57+
text: BigInt; url: sec-ecmascript-language-types-bigint-type
5658
urlPrefix: https://webassembly.github.io/spec/core/; spec: WebAssembly; type: dfn
5759
text: embedding interface; url: appending/embedding.html
5860
text: scope; url: intro/introduction.html#scope
@@ -1319,3 +1321,22 @@ In practice, an implementation may run out of resources for valid modules below
13191321
<p><em>This section is non-normative.</em></p>
13201322

13211323
This document defines a host environment for WebAssembly. It enables a WebAssembly instance to [=import=] JavaScript objects and functions from an [=read the imports|import object=], but otherwise provides no access to the embedding environment. Thus a WebAssembly instance is bound to the same constraints as JavaScript.
1324+
1325+
<h2 id="change-history">Change History</h2>
1326+
1327+
<p><em>This section is non-normative.</em></p>
1328+
1329+
<p>Since the original release 1.0 of the WebAssembly specification, a number of proposals for extensions have been integrated.
1330+
The following sections provide an overview of what has changed.</p>
1331+
1332+
<h3 id="release-20">Release 2.0</h3>
1333+
1334+
<h4 class="no-toc heading settled">Multiple Values</h4>
1335+
Multiple values can be returned from WebAssembly functions into JavaScript as an [=Array=] object.
1336+
1337+
<h4 class="no-toc heading settled">BigInt Integration</h4>
1338+
WebAssembly [=i64=] values can be passed to and from JavaScript (via imported or exported globals, table get or set operations, function return values or arguments) as [=BigInt=] objects.
1339+
1340+
<h4 class="no-toc heading settled">Reference types</h4>
1341+
JavaScript values can be passed to and from WebAssembly (via imported or exported globals, table set or get operations, and function arguments or return values) as [=externref=] values.
1342+
Multiple tables can be exported and imported to and from JavaScript.

document/web-api/index.bs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,15 @@ application/wasm
303303
<dt>Author/Change Controller:</dt>
304304
<dd>W3C</dd>
305305
</dl></dd>
306+
307+
308+
<h2 id="change-history">Change History</h2>
309+
310+
<p><em>This section is non-normative.</em></p>
311+
312+
<p>Since the original release 1.0 of the WebAssembly specification, a number of proposals for extensions have been integrated.
313+
The following sections provide an overview of what has changed.</p>
314+
315+
<h3 id="release-20">Release 2.0</h3>
316+
<h4 class="no-toc heading settled">Media-type Registraton Completed</h4>
317+
The registration for the `application/wasm` media type has been successfully completed.

0 commit comments

Comments
 (0)