Changelog

nodejs/node · · 5 commits

HTTP revert, stream cleanup, docs updates

A revert restores client socket error behavior, while streams and crypto docs get refinements and tests/docs are cleaned up.

Revert late socket-error suppression in HTTP client (mcollina34c28d5)

This reverts the change that stopped emitting socket errors after a complete response. The rollback restores the previous behavior for ClientRequest error handling and removes the now-obsolete regression test, which matters for compatibility around late socket teardown.

Simplify webstreams promise chaining (aduh95bf5c221)

lib/internal/webstreams/adapters.js is refactored to flatten nested PromisePrototypeThen calls in the writable and duplex adapters. The change is internal, but it makes the async flow easier to follow and reduces nesting in code paths that bridge Node streams and Web Streams.

Clarify PEM requirements in crypto API docs (harjothkhara5d68eb4)

The crypto documentation now explicitly says that string and buffer-like key inputs must contain PEM-encoded key material when passed to signing and verification APIs. That removes ambiguity for users calling createPrivateKey()/createPublicKey()-style paths.

Other misc changes

  • Devcontainer guide typo fix (manNomib4dfc78)
  • Test copyedits and assertion cleanups for TLS PSK/ALPN coverage (aduh95824bc66)