Skip to content

v1.8.0

Choose a tag to compare

@bnimit bnimit released this 12 Dec 11:46
· 36 commits to main since this release
1398338

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