dart_monty_platform_interface 0.7.2 copy "dart_monty_platform_interface: ^0.7.2" to clipboard
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.dart SPI sub-library for backend implementers
  • Deprecate MontyPlatform.instance singleton (kept as fallback, removal in 1.0)
  • Align version with dependency constraints across all packages

0.7.1 #

  • Deprecate MontyPlatform.instance singleton getter/setter (kept as fallback; will be removed in 1.0)
  • Add monty_backend_spi.dart sub-library for backend implementers

0.7.0 #

  • Add sealed MontyError hierarchy: MontyCancelledError, MontyDisposedError, MontyScriptError, MontyPanicError, MontyCrashError, MontyResourceError
  • Add MontyCancelToken extension type for cross-isolate cancellation via cancelById/isHandleAlive
  • Add BaseMontyPlatform.cancelById and isHandleAlive static methods
  • Fix TOCTOU race in handle lifecycle and sync throw deadlock in iterative execution
  • Remove dead inputs parameter from platform interface
  • Plumb printOutput through iterative and WASM execution paths

0.6.1 #

  • Update README with human/AI attribution
  • Enrich example/example.dart with 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 BaseMontyPlatform with shared translation logic
  • BREAKING: Add MontyCoreBindings, CoreRunResult, CoreProgressResult architecture
  • BREAKING: Add capability interfaces (MontyFutureCapable, MontySnapshotCapable)
  • Add MontySession API for session management (run(), start(), resume())
  • Extract shared test harness (LadderRunner, LadderAssertions) into dart_monty_testing barrel
  • 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 MontyResolveFutures sealed variant with pendingCallIds
  • Add resumeAsFuture(), resolveFutures(), resolveFuturesWithErrors() to MontyPlatform
  • Update MockMontyPlatform with invocation tracking for new async methods

0.3.5 #

  • Add scriptName parameter to run() and start()
  • Add excType and traceback fields to MontyException
  • Add MontyStackFrame model for structured traceback frames
  • Add kwargs, callId, methodCall fields to MontyPending
  • Update MockMontyPlatform to capture new parameters

0.3.4 #

  • Initial release.
0
likes
160
points
936
downloads

Publisher

unverified uploader

Weekly Downloads

Platform interface for dart_monty, pure Dart bindings for Monty — a restricted sandboxed Python interpreter built in Rust.

Repository (GitHub)
View/report issues
Contributing

Topics

#python #sandbox #interpreter

Documentation

API reference

License

MIT (license)

Dependencies

collection, meta, plugin_platform_interface, test

More

Packages that depend on dart_monty_platform_interface