From 3d3d33a052facb14a571483f1c46ff63a3b3d538 Mon Sep 17 00:00:00 2001 From: Andreas Woess Date: Wed, 4 Sep 2024 16:08:41 +0200 Subject: [PATCH 1/2] Make js.webassembly option stable and allowed in sandboxed mode. (cherry picked from commit 2a26d91f44d29987059d4951d8d573142d192e16) --- .../src/com/oracle/truffle/js/runtime/JSContextOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JSContextOptions.java b/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JSContextOptions.java index b66e871157b..6b2fa7bc550 100644 --- a/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JSContextOptions.java +++ b/graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JSContextOptions.java @@ -540,7 +540,7 @@ public Map apply(String value) { @CompilationFinal private boolean useUTCForLegacyDates; public static final String WEBASSEMBLY_NAME = JS_OPTION_PREFIX + "webassembly"; - @Option(name = WEBASSEMBLY_NAME, category = OptionCategory.EXPERT, help = "Enable WebAssembly JavaScript API.") // + @Option(name = WEBASSEMBLY_NAME, category = OptionCategory.USER, stability = OptionStability.STABLE, help = "Enable WebAssembly JavaScript API.") // public static final OptionKey WEBASSEMBLY = new OptionKey<>(false); @CompilationFinal private boolean webAssembly; From c6cbcdd42ba5894ffaf4c0c839f621b1182a6ba5 Mon Sep 17 00:00:00 2001 From: Andreas Woess Date: Wed, 4 Sep 2024 16:13:59 +0200 Subject: [PATCH 2/2] Update changelog. (cherry picked from commit 5d508c103db4c2ec4bf731ac8b5b59b9c0c5655b) --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66f72f80aca..cbfb231cea1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ The main focus is on user-observable behavior of the engine. Changelog may include unreleased versions. See [release calendar](https://www.graalvm.org/release-calendar/) for release dates. +## Version 24.1.1 +* Made option `js.webassembly` stable. + ## Version 24.1.0 * ECMAScript 2024 mode/features enabled by default. * Implemented the [Make eval-introduced global vars redeclarable](https://github.com/tc39/proposal-redeclarable-global-eval-vars) proposal.