v0.2.10
This release makes an unhandled worker failure fatal (matching node:worker_threads), closes a brand-boundary leak in the package manager's config-file resolution, and keeps -- verbatim after a run target across every runner verb.
Runtime
A Worker created with no 'error'/onerror listener that failed to load or threw at top level previously exited 0 in silence — nub's browser-shape Worker is an EventTarget, which drops an event with no listener. It now mirrors node:worker_threads.Worker: an unhandled 'error' is re-thrown on the main thread (uncaughtException, exit 1, stack printed), still interceptable via process.on('uncaughtException'). The listener-present path is unchanged. (#244, 00d1ce9)
Package manager
The embedded engine no longer reads or writes an aube-branded user/project config file (~/.config/aube/config.toml, <cwd>/.config/aube/config.toml) under nub, closing a brand-boundary leak in settings resolution. A nub project's config surface stays .npmrc plus the sanctioned NUB_* env knobs; nub substitutes no ~/.config/nub/ home of its own. Standalone aube is byte-identical. (#242, fe4681f)
CLI
nub watch now keeps the post-target -- verbatim, matching nub <file>, run, and exec. The target token ends runner parsing and everything after it forwards byte-for-byte, as in node and pnpm 10 — -- is neither required nor special-cased. (#239, 46d1269)
Commits in this release
- cli: keep
--onnub watch+ durable target-passthrough test (#239) (46d1269e) - fix(pm): close brand-boundary leak on aube's user/project config-file path (#242) (
fe4681f5) - runtime: make an unhandled worker 'error' fatal, matching node:worker_threads (#244) (
00d1ce96) - v0.2.10 (
b98a1759)
Full Changelog: v0.2.9...v0.2.10