@elastic/transport
9.6.1 · 18 Nov 2026Apache-2.02.3M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 68 releases- 9.x · latest line
9.6.1
18 Nov 2026Reject already-aborted signals in
HttpConnection(#443).
A pre-abortedAbortSignalnow rejects withRequestAbortedErrorwithout contacting the server, matchingUndiciConnection.
Bug fixes
Validate per-request transport options (#422, fixes #405).
Per-requestmaxRetries,maxResponseSize, andmaxCompressedResponseSizenow get the same checks as constructor options. Retry counts must be non-negative integers; invalid values throwConfigurationError.Honor per-request
retryOnTimeout(#432, fixes #431).
The per-request value now overrides the constructor value, likemaxRetriesandrequestTimeout.Reject already-aborted signals in
HttpConnection(#443).
A pre-abortedAbortSignalnow rejects withRequestAbortedErrorwithout contacting the server, matchingUndiciConnection.Keep
WeightedConnectionPoolreturning live connections (#445).getConnectioncould returnnullaftermarkDeadcalls while live connections still existed.Return every Elasticsearch
Warningheader (#447).
Warnings containing commas or leading/trailing spaces were merged with their neighbour and dropped.Tolerate a literal
%in URL credentials (#446).createConnectionno longer throwsURIErrorfor credentials likeuser:p%ss. Valid percent-escapes are still decoded.stripAuthonly removes credentials (#440, #442).
URLs with@in the path, query, or fragment were mangled (http://a:1/?@becamehttp://). This affected connection ids,inspect/toJSONoutput, and OpenTelemetry URL attributes.ResponseError.messageis always a string (#441).redactObjectpreserves nested arrays and__proto__keys (#439).Reject
__proto__header names (#438).
These were silently dropped; they now throwConfigurationError.
9.6.0
6 Nov 2026Summary· from the note as AI read it
Read before upgrading: 1 change to make.
Pin
caFingerprintto the matching certificate (#426).
A fingerprint match used to accept the connection. The matching certificate is now the only trust anchor, and signature, expiry, and hostname checks stay on. A functionagentcannot be combined withcaFingerprint.
9.4.1
2 Oct 2026Keep Undici connections alive on
HEADandDELETE-with-body requests (#420, fixes #419).
By default, Undici marks the socket for reset onHEADrequests and onGET/DELETErequests that carry a body. That sendsConnection: closeand tears down the pooled socket after every such request. Elasticsearch handles both cases correctly, so the transport now passesreset: falseto Undici. Pooled connections are reused, which avoids a new TCP/TLS handshake per request (for example,indices.exists).
Dependency tracking
Know when your own dependencies move
@elastic/transport published 17 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 21 Nov 2026. Releases and advisories last read 21 Nov 2026.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.