@@ -20,11 +20,16 @@ See docs/process.md for more on how version tagging works.
2020
21213.1.54 (in development)
2222-----------------------
23- - Added ` --use-port ` option to ` emcc ` . This option allows ports to be enabled
24- by name and is designed to replace all existing ` -sUSE_XXX ` settings for
25- ports. You can use ` --show-ports ` to get the list of available ports that
23+ - Added ` --use-port ` option to ` emcc ` . This option allows ports to be enabled
24+ by name and is designed to replace all existing ` -sUSE_XXX ` settings for
25+ ports. You can use ` --show-ports ` to get the list of available ports that
2626 can be used with this new option. (#21214 )
27-
27+ - ` --pre-js ` and ` --post-js ` files can now opt into being run through the JS
28+ preprocessor. This change was originally landed in #18525 , but it got
29+ reverted in #19006 . Now it requires explicit opt-in by adding ` #preprocess ` to
30+ the top of the JS file. This is useful as it allows things like `{{{
31+ POINTER_SIZE }}}` and ` {{{ makeGetValue(..) }}}` to be used in pre/post JS
32+ files, just like they can be in JS library files. (#21227 )
2833
29343.1.53 - 01/29/24
3035-----------------
@@ -68,7 +73,7 @@ See docs/process.md for more on how version tagging works.
6873 is intending to target them today. (#20924 )
6974- C++ objects passed into embind's val via constructors, methods, and call
7075 function will not be automatically destroyed after the function call. This
71- makes the behavior consistent for invocations.
76+ makes the behavior consistent for invocations.
7277- The ` SUPPORT_ERRNO ` setting is now deprecated as it only controlled setting
7378 errno from JS library functions and emscripten no longer requires this.
7479 (#21074 )
@@ -140,7 +145,7 @@ See docs/process.md for more on how version tagging works.
140145- The ` glfwSetWindowSize ` function no longer switches to fullscreen when the
141146 width/height provided as parameters match the screen size. This behavior
142147 now matches the behavior of SDL and glut. In order to switch to fullscreen,
143- the client code should invoke ` Module.requestFullscreen(...) ` from a user
148+ the client code should invoke ` Module.requestFullscreen(...) ` from a user
144149 triggered event otherwise the browser raises an error. (#20600 )
145150
1461513.1.48 - 11/05/23
@@ -375,7 +380,7 @@ See docs/process.md for more on how version tagging works.
375380- When targeting node, and using ` -sMODULARIZE ` , we no longer internally catch
376381 unhandled promise rejections or exit status code. That is to say the,
377382 ` NODEJS_CATCH_REJECTION ` and ` NODEJS_CATCH_EXIT ` are no longer compatible
378- with ` -sMODULARIZE ` .
383+ with ` -sMODULARIZE ` .
379384
3803853.1.33 - 03/08/23
381386-----------------
@@ -396,7 +401,7 @@ See docs/process.md for more on how version tagging works.
396401 (#18861 )
397402- The ` emscripten_proxy_async_with_callback ` API was replaced with a simpler
398403 ` emscripten_proxy_callback ` API that takes a second callback to be called if
399- the worker thread dies before completing the proxied work.
404+ the worker thread dies before completing the proxied work.
400405
4014063.1.32 - 02/17/23
402407-----------------
0 commit comments