Repository navigation
What's Changed
- Emscripten's JavaScript tools (
tools/compiler.mjs,tools/preprocessor.mjs,
tools/acorn-optimizer.mjs,tools/unsafe_optimizations.mjs, and
tools/lz4-compress.mjs) are now bundled intodist/usingrolldown. For
folks using a git checkout of emscripten,./bootstrap.pyruns this bundling
step automatically. (#28281) - Embind now generates JavaScript invoker functions at link time instead of
usingnew Functionat runtime. This improves startup time, makes
-sDYNAMIC_EXECUTION=0bindings just as fast as-sDYNAMIC_EXECUTION=1
without needing-sEMBIND_AOT. (#28181) - C preprocessor defines from
struct_info.json(previously accessed via
{{{ cDefs.FOO }}}) are now exposed asconstJavaScript library symbols
(e.g.,ENOENT,O_CREAT) and referenced directly in JS library code,
making unminified output more readable. (#28144) - zlib port updated from 1.3.2 to 1.4. (#28210)
- In multi-threaded builds with assertions enabled,
addFunctionnow warns
when it adds a function to the table: each thread has its own table, so the
function pointer is only valid in the calling thread. (#28275) emscripten_get_now()(andclock_gettime(CLOCK_MONOTONIC)) in pthreads
builds now readsperformance.timeOriginonce per thread. In Safari its value
can vary between reads, which made the clock go backwards. (#28272)- Building with
-sJSPInow bumps the default minimum supported browser
versions to the first ones that support JSPI: Chrome 137, Firefox 153,
Safari 27 and Node.js 24. (#28334)
Contributors
Thanks to the following contributors: @sbc100 (66) @juj (26) @dschuff (5) @guybedford (5) @brendandahl (4) @stephenduong1004 (3) @tlively (3) @clementperon (2) @farisbasha (2) @aheejin (1) @dasa (1) @gribbet (1) @jeremy-code (1) @rosalbito (1) @ryanking13 (1) @subhaushsingh (1) @Thanatos9404 (1) @ypujante (1)
New Contributors
- @rosalbito made their first contribution in #28169
- @gribbet made their first contribution in #28272
- @farisbasha made their first contribution in #28295
Full Changelog: 7.0.0...7.0.1