unstale

npm / quickjs-emscripten

quickjs-emscripten

What changed in quickjs-emscripten 0.32, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

1 breaking5 new APIs and options3 behavior and defaults

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

quickjs-emscripten 0.329 changes

Breaking changes 1

New APIs and options 5

  • HostRef is exposed for use from QuickJSContext to track references to host values from guest handles.

    0.32.0release notes

  • QuickJSContext adds newConstructorFunction; its functions set this to the newly constructed object and may also return a new object.

    0.32.0release notes

  • QuickJSContext exposes newHostRef for working with HostRef.

    0.32.0release notes

  • QuickJSContext exposes toHostRef for working with HostRef.

    0.32.0release notes

  • QuickJSContext exposes unwrapHostRef for working with HostRef.

    0.32.0release notes

Behavior and default changes 3

  • BigInt is now always enabled among the runtime intrinsics.

    0.32.0release notes

  • Function binding uses HostRef tracking so host values become garbage collectable after all host and guest references are disposed.

    0.32.0release notes

  • QuickJSIterator now supports generator return values.

    0.32.0release notes