Skip to content

v0.7.1

Choose a tag to compare

@AndreasGassmann AndreasGassmann released this 10 Apr 12:28
· 47 commits to main since this release
v0.7.1
0943da3

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 an uploadFile(filename, content, mimeType, onSuccess, onError) method that POSTs to /v1/files using fetch + FormData and 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. The deployerAddress parameter has been removed from injectDevtoolsSnippet.
  • 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 maxExecutionTimeInMs is set to within 10 seconds of intervalInMs, the CLI now emits a warning instead of blocking deployment. This helps prevent executions from overlapping without being overly restrictive.

Documentation

  • Added enableDevtools to the example config and configuration reference in the README.
  • Added maxExecutionTimeInMs to the interval execution type documentation.

Full Changelog: v0.7.0...v0.7.1