dart_monty_platform_interface 0.7.2
dart_monty_platform_interface: ^0.7.2 copied to clipboard
Platform interface for dart_monty, pure Dart bindings for Monty — a restricted sandboxed Python interpreter built in Rust.
0.7.2 #
- Extract
monty_backend_spi.dartSPI sub-library for backend implementers - Deprecate
MontyPlatform.instancesingleton (kept as fallback, removal in 1.0) - Align version with dependency constraints across all packages
0.7.1 #
- Deprecate
MontyPlatform.instancesingleton getter/setter (kept as fallback; will be removed in 1.0) - Add
monty_backend_spi.dartsub-library for backend implementers
0.7.0 #
- Add sealed
MontyErrorhierarchy:MontyCancelledError,MontyDisposedError,MontyScriptError,MontyPanicError,MontyCrashError,MontyResourceError - Add
MontyCancelTokenextension type for cross-isolate cancellation viacancelById/isHandleAlive - Add
BaseMontyPlatform.cancelByIdandisHandleAlivestatic methods - Fix TOCTOU race in handle lifecycle and sync throw deadlock in iterative execution
- Remove dead
inputsparameter from platform interface - Plumb
printOutputthrough iterative and WASM execution paths
0.6.1 #
- Update README with human/AI attribution
- Enrich
example/example.dartwith all model types, error variants, traceback frames, and sealed-type pattern matching
0.6.0 #
- BREAKING: Extract state machine into
MontyStateMixin(reduces per-platform duplication) - BREAKING: Add
BaseMontyPlatformwith shared translation logic - BREAKING: Add
MontyCoreBindings,CoreRunResult,CoreProgressResultarchitecture - BREAKING: Add capability interfaces (
MontyFutureCapable,MontySnapshotCapable) - Add
MontySessionAPI for session management (run(),start(),resume()) - Extract shared test harness (
LadderRunner,LadderAssertions) intodart_monty_testingbarrel - Mock & API surface cleanup
- Prune tautological tests and unused dependencies
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 #
- Add
MontyResolveFuturessealed variant withpendingCallIds - Add
resumeAsFuture(),resolveFutures(),resolveFuturesWithErrors()toMontyPlatform - Update
MockMontyPlatformwith invocation tracking for new async methods
0.3.5 #
- Add
scriptNameparameter torun()andstart() - Add
excTypeandtracebackfields toMontyException - Add
MontyStackFramemodel for structured traceback frames - Add
kwargs,callId,methodCallfields toMontyPending - Update
MockMontyPlatformto capture new parameters
0.3.4 #
- Initial release.