dartpad 0.1.1
dartpad: ^0.1.1 copied to clipboard
Client library for launching and communicating with dartpad-worker.
0.1.1 #
- Add
DartPadSdk.sharedWorkeranddart run dartpad setup shared-workerCLI subcommand for running DartPad inside aSharedWorker. - Add
Sandbox.connectServiceProtocol,Sandbox.startServiceProtocol, andDartPadSdk.createDevToolsIframe(DevToolsIframe) for VM Service and embedded DevTools support (replacingSandbox.invokeExtensionandSandbox.extensionEvents). - Add
ConsoleLeveltoSandbox.consoleand foldSandbox.errorsandSandbox.unhandledRejectionsintoConsoleLevel.error. - Add
WorkerClient.version()(VersionInfo),WorkerClient.ping(), andabortsupport onDartPadSdk.dedicatedWorkerandDartPadSdk.sharedWorker. - Replace
Uriparameters/fields withStringworkspace paths acrossWorkspace,Sandbox,FileChangeEvent, andDartPadRunMode. - Standardize resource cleanup methods to
close()across all client types and clean up child streams automatically on disconnect. - Strip request headers in embedded
pubthat trigger CORS preflight requests in Firefox and Safari.
0.0.10 #
- Add
dart run dartpad setupCLI (dartandfluttersubcommands) to download or build DartPad SDK assets. - Stop bundling prebuilt
web/assets inside the published package archive. - Pre-populate
/pub-cachein the Flutter DartPad SDKsdk.tarsopub getdoes not need to download precompiled packages.
0.0.9 #
- Add missing
MessagePortVM compilation stubs (asTransferableMessagePortandfromMessagePort).
0.0.8 #
- Precompile and pin
package:material_ui,package:cupertino_ui, and hosted dependencies in the Flutter DartPad SDK. - Load CanvasKit from Google CDN (
www.gstatic.com/flutter-canvaskit/) and trim unused files fromsdk.tar.
0.0.7 #
- Dart stack traces printed from a sandbox are now mapped back to Dart source locations instead of rendering as raw JavaScript frames.
- Fix stale hardcoded SDK
platformVersionin the embeddedpubtool. - The Flutter DartPad SDK can now build its web SDK from this SDK's sources, instead of copying the one Flutter pins.
0.0.6 #
- Provide
Sandbox.run(entrypoint, mode)for configuring different run modes. - Simplifies embedding by introducing
SandboxedIframethat managesMessagePorts directly. - Faster binary data transfer over sandbox message ports using
Uint8List. - Fix race condition during language server shutdown.
0.0.5 #
- Update embedded resources.
0.0.4 #
- Support for file watching.
flutter_testSDK-package is now included in the Flutter DartPad SDK.
0.0.3 #
- Embed assets for
package:dartpadinweb/folder.
0.0.2 #
- Fixed dependency constraints on
package:web.
0.0.1 #
- Initial preview release.