@elastic/transport
9.6.1 · 18 Nov 2026Apache-2.02.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @elastic/transport From 9.3.0 to 9.6.1
11 releases in betweenevery note read
Release by release
- Fixed
- Fixed
- Fixed
Reject already-aborted signals in
HttpConnection(#443). A pre-abortedAbortSignalnow rejects withRequestAbortedErrorwithout contacting the server, matchingUndiciConnection. - Fixed
Keep
WeightedConnectionPoolreturning live connections (#445).getConnectioncould returnnullaftermarkDeadcalls while live connections still existed.
9.6.0nothing new or fixed in the note
- Fixed
Keep 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).
- Fixed
- New
Reject requests that exceed configurable
maxPathLength - New
Move OpenTelemetry tracing into a middleware; capture sanitized search queries as
db.query.text#383 - Fixed
Prevent uncaught write EPIPE on peer close mid-request
- Fixed
Support path prefix in node URL
- Fixed
Strip credentials from OTel span attributes
- New
- Fixed
Mark timed-out nodes dead when retryOnTimeout is false
- Fixed
- Fixed
Use Buffer.concat for UTF-8 response body to prevent multi-byte character corruption
- Fixed
Prevent false NoLivingConnectionsError in WeightedConnectionPool
- Fixed
Prevent ConnectionError with empty message
- Fixed
Ensure Error.cause propagates
- Fixed
Use correct content-type on empty requests
- Fixed
9.3.3 – 9.3.53 releases, nothing new or fixed in the notes
- Fixed
Hot fix to properly support ESM/CommonJS imports on Windows
- Fixed
1 other line we could not sort, mostly version bumps
- 9.6.0
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.
1 internal line (docs, tests, tooling) left out.
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.