Skip to content

Releases: reearth/quickjs-emscripten-sync

v1.8.1

03 Feb 04:51
943417d

Choose a tag to compare

What's Changed

  • Upgrade Dev Dependencies

v1.8.0

12 Dec 11:46
1398338

Choose a tag to compare

This release upgrades the underlying quickjs-emscripten dependency and includes performance improvements and infrastructure updates.

✨ Improvements

  • Upgraded quickjs-emscripten from 0.29.0 to 0.31.0
    • Improved build system and bug fixes from upstream
    • Better performance with native context.sameValue() API
  • Performance: Replaced internal eq() implementation with native ctx.sameValue() for better performance and reduced indirection

⚠️ Breaking Changes

  • Removed eq() export: The eq() utility function has been removed from public exports. Users who were importing eq should migrate to using ctx.sameValue(a, b) directly instead of eq(ctx, a, b).

📦 Migration Guide

If you were using the eq() function:

- import { eq } from "quickjs-emscripten-sync";
- eq(ctx, handle1, handle2);
+ ctx.sameValue(handle1, handle2);

v1.7.0

08 Dec 14:05
c1251b8

Choose a tag to compare

  • Core Upgrade

    • Upgrade quickjs-emscripten from 0.25.0 to 0.29.0
    • Fix Disposable interface implementation in vmutil.ts to support Symbol.dispose (required by 0.29.0)

    Module System Enhancements (0.29.0)

    • Update evalModule() to return module exports (previously returned void)

v1.6.0

26 Nov 07:15
150f227

Choose a tag to compare

  • Update to quickjs-emscripten 0.25
  • New Features: Memory & Modules
  • Security & Module Support

v1.5.2

18 Feb 19:59

Choose a tag to compare

  • Upgrade dependencies
  • Add an experimental option experimentalContextEx to solve errors when functions are repeatedly created (experimental)

v1.5.1

27 Aug 18:19

Choose a tag to compare

  • Fix quickjs-emscripten-sync does not work in ESM

v1.5.0

26 Aug 02:58

Choose a tag to compare

  • Support marshalling and unmarshalling date objects
  • Add customMarshaller, customUnmarshaller, isWrappable and isHandleWrappable to Arena options
  • Upgrade dependencies

v1.4.0

13 Jul 10:27

Choose a tag to compare

  • Support quickjs-emscripten v0.20~
  • Add compat option to Arena options to use quickjs-emscripten v0.15 or older
  • Fix promise support

v1.3.0

13 Jul 04:56

Choose a tag to compare

  • Support marshaling and unmarshaling Promise (quickjs-emscripten v0.15)
  • Use Vite instead of microbundle

v1.2.0

15 Sep 15:18

Choose a tag to compare

  • Remove default export (use import { Arena } from "..." instead)
  • Rename send (one of exported functions) to json
  • Support "json" as values that can be set with isMarshalable (JSON marshaling mode)
  • Change default isMarshalable value (marshaling mode) to JSON mode
  • evalCode now returns unwrapped objects
  • Add support for exposing functions that return objects (#2)
  • Fix possible minor errors
  • Update dependencies