unstale

npm / @smithy/node-http-handler

@smithy/node-http-handler

What changed in @smithy/node-http-handler 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

1 new APIs and options1 performance11 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@smithy/node-http-handler 413 changes

New APIs and options 1

  • Options can now be passed through to Node's http2.connect.

    4.7.0release notes

Performance 1

Fixes and other changes 11

  • The timeout is cleared before destroying an HTTP/2 session, preventing completed requests from being retained until the timer fires.

    4.12.1release notes

  • Isolated HTTP/2 sessions are destroyed and their timeout is managed.

    4.12.0release notes

  • Types were updated to support isolatedModules=true.

    4.9.4release notes

  • On GOAWAY, the handler now prefers session.close() instead of immediately calling session.destroy().

    4.6.1release notes

  • Adds an eventStream indicator signal to NodeHttp2ConnectionManager so it does not reuse connections for event streams.

    4.5.3release notes

  • Abort errors now use a new mutable Error with the original as .cause, preventing retry middleware from failing when setting $metadata on a frozen or sealed abort reason.

    4.4.16release notes

  • Aborted requests are rejected with AbortSignal.reason instead of a generic Error.

    4.4.13release notes

  • Calls request.end() without an argument when the buffer is empty.

    4.4.10release notes

  • Uses the configured logger when one is provided.

    4.4.9release notes

  • Skips the body write delay when the HTTP Agent is externally owned.

    4.4.4release notes

  • HTTP/1 calls with this header are shifted to isolated HTTP Agents.

    4.4.3release notes