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);