The Wire · Showcase
Node's TLS abort becomes a throw
By RepoJournal · Filed · About Node.js
Node.js turns a hard crash into a recoverable error, and changelog-maker ships a breaking rework.
Node.js fixed a crash-on-invalid-input in TLS: tls.connect() with malformed ALPNProtocols no longer aborts the process with SIGABRT, instead throwing a recoverable TypeError [1]. Meanwhile, the permission model tightened UDP handle adoption under IPC [2], and root certificates refreshed to NSS 3.126, dropping two CAs and adding four [3]. Over in streams, Matteo Collina's optimizations for WHATWG WebStreams cut encoding and iteration overhead [4]. And changelog-maker released 5.0.0, breaking its CLI flags: "--sha, --plaintext, -p, --markdown, --md, --messageonly and --mo are no longer supported, use --format instead" [5]. Doc-kit cleaned up peer deps in changesets [6], and next-10 documents vlt and Node version manager options [7].
One email a day. Unsubscribe in one click.
Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Update to Node.js with PR #65076 to avoid SIGABRT on invalid ALPNProtocols nodejs/node [immediate]
- → Migrate changelog-maker scripts to --format before upgrading to 5.0.0 nodejs/changelog-maker [immediate]
- → Review the new root certificates after your next Node.js update nodejs/node [monitor]
References
- [1] tls: throw on invalid ALPNProtocols instead of aborting ↗ nodejs/node
- [2] permission: guard UDP handle adoption ↗ nodejs/node
- [3] crypto: update root certificates to NSS 3.126 nodejs/node
- [4] stream: reduce webstreams encoding and iteration overhead ↗ nodejs/node
- [5] v5.0.0 ↗ nodejs/changelog-maker
- [6] fix(changesets): remove peer deps (#1050) nodejs/doc-kit
- [7] doc: add `vlt` to package manager list & enumerate node version manager opts (#396) nodejs/next-10