Skip to content

RunTime-Now 1.6.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 00:39
· 13 commits to main since this release
49b78a0

RunTime-Now 1.6.0

  • fetch(): HTTP/1.1 client for http: and data: URLs — redirects (follow / error / manual), AbortSignal and AbortSignal.timeout(), chunked / length / close-delimited responses, Node-style TypeError: fetch failed with a cause. Response.url / redirected, Request.signal / redirect. (https: needs TLS, not built in yet.)
  • Events: EventTarget, Event, CustomEvent, AbortController, AbortSignal (abort, timeout, any, throwIfAborted).
  • crypto.randomUUID(), crypto.getRandomValues(), structuredClone().
  • node:path (output identical to Node) and node:fs/promises (runs on a thread pool, never blocks the event loop); fs, path, fs/promises also work without the node: prefix, and fs.promises exists.
  • Runtime: a small thread pool for blocking work (DNS, file I/O); console prints DOMException like Node.
  • rtn upgrade / rtn update: animated in a terminal — gradient progress bar with speed and ETA, a checkmark per step, a summary box. Connect timeouts, clearer download errors, and Ctrl+C now cancels cleanly (temporary files removed, cursor restored, nothing changed).
  • Releases: bumping the version in CMakeLists.txt on main creates the tag and publishes the release automatically.
  • Tests: new events, fetch, crypto, path, fs-promises cases and tests/fetch_test.py; the HTTP and upgrade suites no longer use fixed ports (random failures).

Install

curl -fsSL https://byteforgestudiolab.github.io/RunTime-Now/install | bash

Already installed? Run rtn upgrade.

Install in one line