Skip to content

v0.5.0

Choose a tag to compare

@grega grega released this 10 Jun 15:16
· 15 commits to main since this release
b8984eb
  • feat: allows file and line to be passed to friendlyExplain()

eg.

// if the trace reports an unhelpful source location (eg. Pyodide runs code as "<exec>"), pass file explicitly to override what's parsed from the trace:
const result = friendlyExplain({
  error: rawTracebackString,
  code: editorCode,
  runtime: "pyodide",
  file: "main.py", // overrides the file from the trace
});

Full Changelog: v0.4.0...v0.5.0