From 203e4266563a181f2065d4475862ce7d5fa7a37a Mon Sep 17 00:00:00 2001 From: Dannii Willis Date: Mon, 12 Feb 2024 11:28:34 +1000 Subject: [PATCH 1/2] ChangeLog.md type: INCOMING_MODULE_API should be INCOMING_MODULE_JS_API [ci skip] --- ChangeLog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 8ce86f8021de0..bd45ff45fce06 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -222,10 +222,10 @@ See docs/process.md for more on how version tagging works. - The `--minify=0` command line flag will now preserve comments as well as whitespace. This means the resulting output can then be run though closure compiler or some other tool that gives comments semantic meaning. (#20121) -- `-sSTRICT` now implies `-sINCOMING_MODULE_API=[]` which is generally good +- `-sSTRICT` now implies `-sINCOMING_MODULE_JS_API=[]` which is generally good for code size. If you `-sSTRICT` you now need to be explicit about the incoming module APIs you are supplying. Users who supply symbols on the - incoming module but forget to include them in `-sINCOMING_MODULE_API` + incoming module but forget to include them in `-sINCOMING_MODULE_JS_API` will see an error in debug builds so this change will not generate any silent failures. - JS library decorators such as `__deps` and `__async` are now type checked so From 2675feb0c849ecbf42b3b8423710421663a7242b Mon Sep 17 00:00:00 2001 From: Dannii Willis Date: Mon, 12 Feb 2024 11:30:14 +1000 Subject: [PATCH 2/2] Also add a line break to 3.1.35 [ci skip] --- ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog.md b/ChangeLog.md index bd45ff45fce06..6581cbf87d4ef 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -359,6 +359,7 @@ See docs/process.md for more on how version tagging works. - stringToUTF8Array - stringToUTF8 - lengthBytesUTF8 + If you use any of these functions in your JS code you will now need to include them explicitly in one of the following ways: - Add them to a `__deps` entry in your JS library file (with leading $)