Skip to content

v0.3.10

Choose a tag to compare

@github-actions github-actions released this 26 Nov 13:57
· 64 commits to main since this release
5231381

0.3.10

One leak in an ordinary error type and four documentation fixes, found by a sixth independent review of 0.3.9 (#376). No API change.

Fixed: a failed fill() (#377)

  • A DOMException's message is scrubbed. Node's DOMException (what fetch rejects with on abort, structuredClone on a bad value) serves message from an accessor on its prototype, so it is no own property; 0.3.9 scrubbed the stack and left e.message and String(e) carrying the value. An error's message is now read wherever it lives. When the value is found in an inherited one, the scrubbed text is stored on the error itself; the error stays the same object and class. The new test fails on 0.3.9 under Node and under Bun.
  • Limit: a DOMException made in another realm is not recognised as an error.

Docs (the bundled skill and the README)

No example uses a page or collector that an earlier example of the same document closed:

  • presets/network/SKILL.md no longer disposes its collector before the example that waits on it.
  • references/quickstart.md no longer closes its page before the snapshot example.
  • The README's second example and the cookie example in references/stealth.md say in a // given: line that they need a tab that is still open.

These four were not re-run end to end after the edit; the edits remove or qualify the line each failed on.

Known, filed

  • #356: tests that launch a browser inside the default 5 s limit time out on a loaded or slow runner (two more instances on the Windows runner today). #364, #375: two other Windows-only flakes. None is touched here.

Verification

Hosted CI at the merged head: Linux (bun and Node), macOS and Windows pass (Windows on a re-run). Full bun suite on a Linux build box at load 58: 756 pass, 16 skip, 0 fail.

What's Changed

Full Changelog: v0.3.9...v0.3.10