elastic / elastic-transport-js

Transport classes and utilities shared among Node.js Elastic client libraries
Apache License 2.0
5 stars 25 forks source link

Support Undici v6 #82

Closed ralbertazzi closed 6 months ago

ralbertazzi commented 8 months ago

🚀 Feature Proposal

The library currently constrains undici to ^5.22.1. Undici v6 has been out since almost 2 months, @elastic/transport should support it. I don't think big breaking changes have been brought, expect that Node 16, which has reached EOL, is not supported anymore (PR).

Motivation

Keep up with security fixes, bug fixes, performance improvements, ...

JoshMock commented 7 months ago

This could also help solve our long-running MaxListenersExceededWarning issue, assuming that the next Undici release includes https://github.com/nodejs/undici/pull/2823.

JoshMock commented 6 months ago

Waiting to tie up some loose ends on https://github.com/elastic/elastic-transport-js/pull/85. If that merges soon, v8.14.0 of the client will be running on Undici v6.