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

Version 8.2 does not work with with Nodejs 12 and below due to the new version of undici #74

Closed bugb closed 10 months ago

bugb commented 10 months ago

It's not uncommon that somebody already opened an issue or in the best case it's already fixed but not merged. That's the reason why you should search at first before submitting a new one.

Please read this entire template before posting any issue. If you ignore these instructions and post an issue here that does not follow the instructions, your issue might be closed, locked, and assigned the not reproducible label.

🐛 Bug Report

image

undici will be resolved to the version under 6.0, due to npm follows semver spec. Or you can check the online version of npm semver calculation here.

image

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Your Environment

Additional information

JoshMock commented 10 months ago

As noted in the client's documentation, the Elasticsearch Node.js client and supporting libraries like this one will drop support for Node.js versions that have reached end of life between minor versions. Node.js v12 reached EOL in April of 2022, so we no longer support it as of client version 8.4.0. Support for v14 and v16 will end when I ship 8.11.0 of the client in the next few days.