Releases: reearth/quickjs-emscripten-sync
Releases · reearth/quickjs-emscripten-sync
v1.8.1
v1.8.0
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 nativectx.sameValue()for better performance and reduced indirection
⚠️ Breaking Changes
- Removed
eq()export: Theeq()utility function has been removed from public exports. Users who were importingeqshould migrate to usingctx.sameValue(a, b)directly instead ofeq(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
-
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
v1.5.2
v1.5.1
v1.5.0
v1.4.0
v1.3.0
v1.2.0
- Remove default export (use
import { Arena } from "..."instead) - Rename
send(one of exported functions) tojson - Support
"json"as values that can be set withisMarshalable(JSON marshaling mode) - Change default
isMarshalablevalue (marshaling mode) to JSON mode evalCodenow returns unwrapped objects- Add support for exposing functions that return objects (#2)
- Fix possible minor errors
- Update dependencies