elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.68k stars 8.23k forks source link

Upgrade Node.js to latest LTS (22.x) #198790

Open legrego opened 3 weeks ago

legrego commented 3 weeks ago

Node.js recently bumped their Active LTS line to version 22. We should upgrade from version 20, which is now in maintenance mode:

Image

We should plan for this to land no later than the last minor release for 8.x, so that our last supported version of 8 aligns with 9.

Potentially unblocks https://github.com/elastic/kibana/issues/106868

elasticmachine commented 3 weeks ago

Pinging @elastic/kibana-core (Team:Core)

elasticmachine commented 3 weeks ago

Pinging @elastic/kibana-operations (Team:Operations)

rudolf commented 2 weeks ago

As far as I can tell there isn't obvious breaking changes that should affect us. So I'll remove the Core label for now. If it turns out that we need to make any changes within Core we can of course help out with that.

azasypkin commented 1 week ago

Btw, since Node.js 21, the fetch API has been marked as stable, so once we migrate to Node.js 21, we can finally start recommending switching to native fetch instead of axios & friends.