dart_monty_wasm 0.6.1
dart_monty_wasm: ^0.6.1 copied to clipboard
WASM backend for dart_monty, pure Dart bindings for Monty — a restricted sandboxed Python interpreter built in Rust.
0.6.1 #
- Fix
toSerializable()in worker bridge for robust dict/set/bigint handling- Add circular reference guard (WeakSet) to prevent stack overflow
- Add cross-realm Map/Set duck-typing via
.getpresence/absence - Convert Set → Array (Python frozenset/set from NAPI-RS)
- Convert BigInt → Number/String (prevents JSON.stringify crash)
- Convert TypedArray → Array (Python bytes from NAPI-RS)
- Update README with usage example and human/AI attribution
- Enrich
example/example.dartwith limits, external function dispatch, and error handling demos
0.6.0 #
- BREAKING: Migrate
MontyWasmtoBaseMontyPlatform(usesMontyCoreBindingsarchitecture) - Add
WasmCoreBindingsadapter
0.4.3 #
- Version bump (no package code changes)
0.4.2 #
- Version bump (no package code changes)
0.4.1 #
- CI improvements (no package code changes)
0.4.0 #
- Handle
resolve_futuresprogress state inMontyWasm - Add
pendingCallIdsfield toWasmProgressResult - Stub
resumeAsFuture(),resolveFutures(),resolveFuturesWithErrors()withUnsupportedError(NAPI-RS does not expose FutureSnapshot API)
0.3.5 #
- Wire WASM JS bridge: kwargs, callId, scriptName, excType, and traceback in worker responses
- Fix worker onerror to reject pending promises on crash
- Fix
restore()state machine to return active instance - Add ladder tier files for tiers 8, 9, 15 to runner
0.3.4 #
- Initial release.