v0.7.1
New Feature: DevTools file uploads
_DEVTOOLS_.uploadFile()global — when devtools are enabled, processor scripts can now upload files to the DevTools API directly from the runtime. The injected snippet exposes a new_DEVTOOLS_global with anuploadFile(filename, content, mimeType, onSuccess, onError)method that POSTs to/v1/filesusingfetch+FormDataand the deployment's authenticated Bearer token. Files up to 10 MB are supported and the response includes{ id, filename, mimeType, fileSize, createdAt }.
Improvements
- DevTools: removed
__DEVTOOLS_DEPLOYER__placeholder — the injected devtools snippet no longer requires the deployer address. ThedeployerAddressparameter has been removed frominjectDevtoolsSnippet. - DevTools: warn when used with IPFS URLs — enabling devtools with an
ipfs://file URL now logs a warning, since the snippet can only be injected into local bundles. - Execution time validation warning — when
maxExecutionTimeInMsis set to within 10 seconds ofintervalInMs, the CLI now emits a warning instead of blocking deployment. This helps prevent executions from overlapping without being overly restrictive.
Documentation
- Added
enableDevtoolsto the example config and configuration reference in the README. - Added
maxExecutionTimeInMsto the interval execution type documentation.
Full Changelog: v0.7.0...v0.7.1