Packages

@elastic/transport

9.6.1 · 18 Nov 2026Apache-2.02.3M / weekRepositoryHomepagenpmAtom feed

Your version

68 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 9.x · latest line
  2. 9.6.1

    18 Nov 2026
    • Validate per-request transport options (#422, fixes #405).
      Per-request maxRetries, maxResponseSize, and maxCompressedResponseSize now get the same checks as constructor options. Retry counts must be non-negative integers; invalid values throw ConfigurationError.

    • Honor per-request retryOnTimeout (#432, fixes #431).
      The per-request value now overrides the constructor value, like maxRetries and requestTimeout.

    • Reject already-aborted signals in HttpConnection (#443).
      A pre-aborted AbortSignal now rejects with RequestAbortedError without contacting the server, matching UndiciConnection.

  3. 9.6.0

    6 Nov 2026

    Summary· from the note as AI read it

    Read before upgrading: 1 change to make.

  4. 9.4.1

    2 Oct 2026
    • Keep Undici connections alive on HEAD and DELETE-with-body requests (#420, fixes #419).
      By default, Undici marks the socket for reset on HEAD requests and on GET/DELETE requests that carry a body. That sends Connection: close and tears down the pooled socket after every such request. Elasticsearch handles both cases correctly, so the transport now passes reset: false to Undici. Pooled connections are reused, which avoids a new TCP/TLS handshake per request (for example, indices.exists).

  5. 9.4.0

    29 Jul 2026
    • Reject requests that exceed configurable maxPathLength

    • Move OpenTelemetry tracing into a middleware; capture sanitized search queries as db.query.text
      #383

    • Prevent uncaught write EPIPE on peer close mid-request

  6. 9.3.7

    1 Jun 2026
    • Mark timed-out nodes dead when retryOnTimeout is false

  7. 9.3.6

    20 May 2026
    • Use Buffer.concat for UTF-8 response body to prevent multi-byte character corruption

    • Prevent false NoLivingConnectionsError in WeightedConnectionPool

    • Prevent ConnectionError with empty message

  8. 9.3.5

    4 Mar 2026

    Add body/query/path categorization to acceptedParams on TransportRequestMetadata so consumers can determine where to inject parameters. Breaking: acceptedParams changed from string to string | { path: string, body: string, query: string }.

  9. 9.3.4

    3 Mar 2026

    Add body/query/path categorization to acceptedParams on TransportRequestMetadata so consumers can determine where to inject parameters. Breaking: acceptedParams changed from string to { path: string, body: string, query: string }.

  10. 9.3.3

    9 Feb 2026

    Fix: ESM build no longer uses createRequire for version resolution

  11. 9.3.2

    5 Feb 2026
    • Hot fix to properly support ESM/CommonJS imports on Windows

  12. 9.3.1

    5 Feb 2026
    • Refactor product checking into a middleware #341

    • Improve support for ESM imports #344 #346 #351

    • Upgrade to latest Undici #348

  13. 9.3.0

    5 Jan 2026
    • Utility functions for serializing float32 vectors into base64 strings, to support higher-performance bulk ingestion coming in Elasticsearch 9.3.0 #337

  14. 9.2.3

    8 Dec 2025
    • 410 HTTP responses from Elasticsearch no longer override the error message in the response body with a custom message #333

  15. 9.2.2

    5 Dec 2025
  16. 9.2.1

    24 Oct 2025

    Add round-robin and weighted round-robin for cluster connection pools (#311)

  17. 9.2.0

    29 Sep 2025
    • Add accepted parameters to request metadata type #304

    • Add support for providing an agent function to UndiciConnection #288

  18. 9.1.2

    3 Sep 2025

    Set default content type for empty requests

  19. 9.1.1

    8 Aug 2025
    • Add default client-meta header #285

  20. 9.1.0

    1 Jul 2025
    • Expose options to disable OpenTelemetry tracing #271

    • Use updated OpenTelemetry semantic conventions #272

  21. 9.0.2

    4 Jun 2025
    • Clean up response 'close' event #266

  22. 9.0.1

    16 Apr 2025
    • Reinstate former default for node filter function

  23. 9.0.0

    15 Apr 2025
    • Breaking

      Remove default 30-second timeout on HTTP requests #201

    • Breaking

      Upgrade Undici from 6 to 7 #203

    • Minor updates of Serializer module (thanks @shevchenkonik!) #232

  24. 8.x
  25. 8.11.0

    26 Aug 2026
    • Reject requests that exceed configurable maxPathLength

    • Prevent uncaught write EPIPE on peer close mid-request

  26. 8.10.2

    7 Jul 2026
  27. 8.10.1

    8 Dec 2025
    • 410 HTTP responses from Elasticsearch no longer override the error message in the response body with a custom message #333

  28. 8.10.0

    1 Jul 2025
    • Use updated OpenTelemetry semantic conventions #273

    • Expose options to disable OpenTelemetry tracing #274

  29. 8.9.7

    4 Jun 2025
    • Clean up response 'close' event #267

  30. 8.9.6

    16 Apr 2025
    • Reinstate former default for node filter function

  31. 8.9.5

    24 Mar 2025
    • Handle server closing connection after response body is sent #223

  32. 8.9.4

    21 Jan 2025
    • Revert Undici to v6 #210

  33. 8.9.3

    17 Jan 2025
    • Upgrade Undici from 6 to 7 #204

  34. 8.9.2

    14 Jan 2025
    • Skip fingerprint check when TLS session is being reused #197

  35. 8.9.1

    24 Oct 2024
    • Treat all binary types equally throughout transport #171

  36. 8.9.0

    22 Oct 2024
    • Support more binary content types #165

  37. 8.8.1

    26 Sep 2024
    • Fix ESM compatibility #146

  38. 8.8.0

    26 Sep 2024
    • Improve ESM support #115 #114

    • Use a custom message for 410 response code #134

    • Don't use exponential backoff until each node has been tried #135

  39. 8.7.1

    21 Aug 2024
    • Allow CA fingerprints in different formats #112

  40. 8.7.0

    1 Jul 2024
    • OpenTelemetry support #104

  41. 8.6.1

    20 Jun 2024
    • Handle warning headers as an array #105

  42. 8.6.0

    6 Jun 2024
    • Add exponential backoff to request retries #101

    • Stop retrying by default after a request timeout #100

  43. 8.5.2

    21 May 2024
    • Use AbortSignal for per-request timeouts #96

  44. 8.5.1

    11 Apr 2024
    • Account for possible null/undefined in error metadata redaction #92

    • Upgrade Undici to 6.12.0 #93

  45. 8.5.0

    2 Apr 2024
    • Breaking

      Upgrades Undici to 6.7.0. Minimum Node.js version is now v18. #85

  46. 8.4.1

    23 Feb 2024
    • Fix bug where arrays were recast as objects during error redaction #83

  47. 8.4.0

    12 Dec 2023
    • Redact potentially sensitive information from error objects #76

    • Dispatch events to AbortSignal correctly #78

    • Include only Elasticsearch warnings in response.warnings #79

  48. 8.3.4

    12 Sep 2023
  49. 8.3.3

    11 Aug 2023
    • bugfix: Handle malformed HTTP HEAD responses #69

  50. 8.3.2

    7 Jun 2023
    • Upgrade Undici to 5.22.1 to eliminate a memory leak #66

  51. 8.2.0 – 8.3.12 releases without a noteShow each

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.