Skip to content

v0.17.0

Latest

Choose a tag to compare

@suchipi suchipi released this 17 Aug 00:54
· 6 commits to main since this release
  • Error stack traces now factor in source maps from compiled languages (TypeScript, Coffeescript, etc)!
  • Workers now have access to all YavaScript global APIs!
    • Use the global Worker to get YavaScript globals. For the more limited-scope QuickJS worker, use require("quickjs:os").Worker.
  • Added runInWorker (goroutine-like Worker wrapper function)
  • Worker constructors now accept an optional initialData property which will be synchronously structured-cloned into the Worker as the static property Worker.initialData, available when the Worker module runs
  • Worker constructors now accept an optional overrideCode property which will be used as the source code for the provided worker module path instead of reading the source code from disk
  • yavascript-bootstrap now leverages precompiled bytecode for YavaScript global APIs, which dramatically improves startup time
  • Added grepArray and Array.prototype.grep
  • parseScriptArgs can now gather repeated flag invocations together into an Array

Full Changelog: v0.16.0...v0.17.0