@elastic/transport
9.6.1 · 18 Nov 2026Apache-2.02.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @elastic/transport From 9.4.0 to 9.6.1
3 releases in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 11
- fixes
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
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.