Repository navigation
v0.3.6
0.3.6
A second independent review of 0.3.5 found five gaps (#362); this release closes them. No API change.
Fixed
-
A failed
fill()scrubs the whole error, not a list of known fields (#363). 0.3.5 rewrotemessage,stack,dataand thecausechain; anAggregateError's members and any field a transport adds to its error (request,attempts) were never visited. Every own property of every error reachable from the one raised is now rewritten. The new test failed on 0.3.5.Correction (2026-11-26): this release note first said each
Errorkeeps its identity and class. That holds for the error raised, itscausechain, anAggregateError's members and a list of errors, but not for anErrornested inside a plain payload object or an array of arrays: 0.3.6 copies those payloads through JSON, so such anErrorcomes back as a plain object, even when the value appears nowhere. A getter, a frozen error and a field that is neither writable nor configurable are not rewritten. Tracked in #366; fixed in the next release.
Docs (the bundled skill)
- The human-handoff example runs as written. It called
path.join(os.tmpdir(), ...)andfs.writeFileSyncwithout declaring them:ReferenceError: path is not definedbefore the watcher was registered. A new check fails when an example callsfs,osorpaththat no example of its document declares; no other shipped document failed it. - The fixed-delay check reads a timer call whole. The 0.3.5 check tested one line at a time against a decimal-integer pattern and missed 6 of 6 of these: a call spread over lines, a trailing argument after the delay,
1e3,0x3e8,1.5, and a comment before the delay. All six are flagged now; five state waits and a zero-delay defer are not.
Tests
- The navigation tests for emulated devices cover a same-origin navigation with a device set again, after asserting the default width (1440). On the sources from before #342 both fail with
actual: 1440, expected: 390. - They launch their browser in the first test that runs, not while the module loads: a run whose filter selects no test in the file left one 220 KB profile before and leaves none now.
Stated plainly
- A value shorter than four characters is removed only as a whole token, so that a one-letter fill does not tear words apart. That is a readability rule, not a secrecy guarantee for a short value that touches a letter or digit.
Known, filed
- #356, #361, #364: three load-sensitive tests this release does not touch (a raw-TLS guard test, the orphan-reap test, and a SQLite profile test that took 18 s once on the Windows runner against 0.1-1.5 s in five other runs).
Verification
Full suite on a Linux build box: 742 pass, 16 skip, 0 fail. Hosted CI: Linux (bun and Node), macOS and Windows pass.
What's Changed
- fix: scrub aggregate errors, read timer calls whole in the docs check, declare the handoff example's modules by @code-yeongyu in #363
- chore(release): 0.3.6 by @code-yeongyu in #365
Full Changelog: v0.3.5...v0.3.6