What's Changed
- The
GROWABLE_ARRAYBUFFERSsetting now defaults to 1, which means it will be
used when available. Note that this only affects programs that are built with
ALLOW_MEMORY_GROWTH, which is not enabled by default. (#27212) - New
-sNODERAWSOCKETSsetting that backs the POSIX sockets API with real TCP
(node:net) and UDP (node:dgram) sockets on Node.js, with nows, proxy
process, or pthreads required. Supports incoming and outgoing TCP, UDP, IPv6,
and-pthreadwithPROXY_TO_PTHREAD. Uses the public node APIs where
available, falling back totcp_wrap/udp_wrapon older Node.js. (#27080) - The following symbols are no longer included in
INCOMING_MODULE_JS_API
by default:- GL_MAX_TEXTURE_IMAGE_UNITS
- SDL_canPlayWithWebAudio
- SDL_numSimultaneouslyQueuedBuffers
- freePreloadedMediaOnUse
- preinitializedWebGLContext
- keyboardListeningElement
- doNotCaptureKeyboard
- extraStackTrace
- preloadPlugins
- postMainLoop
- preMainLoop
- forcedAspectRatio
- mainScriptUrlOrBlob
- onFullScreen
- INITIAL_MEMORY
- wasmMemory
- wasmBinary
Anybody using these will see a clear error in their debug builds signaling
that they now need to be explicitly added to-sINCOMING_MODULE_JS_API.
Contributors
Thanks to the following contributors: @sbc100 (36) @kleisauke (5) @dschuff (3) @guybedford (3) @Diyou (1) @fanchenkong1 (1) @stas-badzi (1) @UnknownHacker1 (1)
New Contributors
- @UnknownHacker1 made their first contribution in #27163
- @stas-badzi made their first contribution in #27192
Full Changelog: 6.0.1...6.0.2