v0.1.6
This release fixes two reported correctness divergences from Node and pnpm — duplicate SIGINT delivery on Ctrl+C, and patch application that rejected a pnpm-generated patch — alongside output-prefix cleanup and site/docs polish.
Fixes
| Issue | What changed | Commit |
|---|---|---|
| #25 | nub install now applies pnpm-generated patches that pnpm and GNU patch apply cleanly. The patch applier was reimplemented as a faithful port of pnpm's lenient line-array algorithm — replacing the prior strict, git-apply-style applier — closing 5 fidelity divergences: the missing \ No newline at end of file marker case, trailing-whitespace tolerance on context and deleted lines, and a ±20-line fuzz cap that now matches pnpm. Patch application now matches pnpm precisely. Reported by @AlexGodard. |
bb142e4, 8956883 |
| #26 | process.on('SIGINT') fired twice on a single Ctrl+C; it now fires once, matching Node. The file-run child now runs in its own process group, so the controlling TTY signals only nub's group and the forwarder's single relay is the lone delivery. Reported by @dmitri-gb. |
f41f9a3 |
Note
The pnpm-patch port also means nub now rejects a patch whose context has drifted beyond ±20 lines (it previously applied it), matching pnpm's fuzz limit.
CLI
The nub <cmd>: status-prefix was dropped from nub upgrade, nub pm shim, and nub pm unshim informational output, so the status lines read clean. Error-path formatting and the bare progname: warning prefix are unchanged. (77badca)
Site
- Light-mode accent colors were darkened and saturated to clear WCAG AA contrast on the cream page and card backgrounds; the bright dark-mode values and the always-dark code panels are unchanged (
ae6ad0d). - A GitHub repo link now appears under the table of contents on every docs page (
8972059).
Docs
The pm_engine module doc-comment was corrected: the install-family verbs (add / remove / update / link) are all wired to the embedded engine, not "registered stubs" as the stale comment described (7ecea3b).
Commits in this release
- nub: bump aube pin to b88db61 — port pnpm's lenient patch applier (#25,
8956883) - nub: bump aube pin to 248ea08 — patch applier tolerates missing no-newline marker (#25,
bb142e4) - runtime: deliver SIGINT to the child once on Ctrl+C (#26,
f41f9a3) - cli: drop the "nub :" prefix from status output (
77badca) - pm_engine: correct stale mod.rs doc-comment — install-family verbs are all live (
7ecea3b) - site: add GitHub repo link under the docs TOC (
8972059) - site: darken light-mode accent colors for AA contrast (
ae6ad0d)