Releases: reearth/quickjs-emscripten-sync
Releases · reearth/quickjs-emscripten-sync
v1.5.2
- Upgrade dependencies
- Add an experimental option
experimentalContextEx
to solve errors when functions are repeatedly created (experimental)
v1.5.1
- Fix quickjs-emscripten-sync does not work in ESM
v1.5.0
- Support marshalling and unmarshalling date objects
- Add
customMarshaller
, customUnmarshaller
, isWrappable
and isHandleWrappable
to Arena options
- Upgrade dependencies
v1.4.0
- 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
- Support marshaling and unmarshaling Promise (quickjs-emscripten v0.15)
- Use Vite instead of microbundle
v1.2.0
- 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
v1.1.0
- Upgrade dependencies
- Update README and JSDoc
- Add Array and Array.prototype to default registered objects
- Support for (un)marshalling of arrays with non-element properties
- Change
arena.expose
method signature and add arena.sync
method