Giter Site home page Giter Site logo

Comments (11)

Uzlopak avatar Uzlopak commented on June 12, 2024 2

Independent from fastify, my use cases at work only use node 20.

from fastify.

jsumners avatar jsumners commented on June 12, 2024 1

Also, we will be committed to supporting v4 for quite some time. It will cover those on the old releases.

from fastify.

climba03003 avatar climba03003 commented on June 12, 2024 1

I do not oppose to support less version at the beginning of new major.
We often need about 2 - 3 years for new major release.
That's means v18 is not a good option to be part of next major because it will be un-maintained in most of the life-time (1/2 - 2/3) for v5.

from fastify.

gurgunday avatar gurgunday commented on June 12, 2024

+1

Additional information on usage: https://nodedownloads.nodeland.dev/

from fastify.

jsumners avatar jsumners commented on June 12, 2024

Let's do it.

from fastify.

mcollina avatar mcollina commented on June 12, 2024

@Eomm @simoneb any opinions here?

from fastify.

Eomm avatar Eomm commented on June 12, 2024

TLDR: Drop it 👍🏼

image

It seems the Node.js 18 version is still in use, but Node.js 20 is gaining traction month by month, while v18 is being phased out. Therefore, I believe that by the Fastify v5 release, most users will have already upgraded to v20.

from fastify.

simoneb avatar simoneb commented on June 12, 2024

I don't know folks, there doesn't seem to be a right or wrong.

  • first of all it depends on when v5 comes out. If it comes out at a time that v18 is still the Active LTS (this October), it's a long shot to decide to stop supporting it
  • secondly it depends how much effort it is to keep supporting it. If it doesn't make any difference in terms of maintenance, I don't see a compelling reason to drop it
  • even if the two points above suggest that dropping it is a sensible choice, let's still consider all the cloud vendors which are quite slow in migrating to newer versions of Node.js. If users are in production with any cloud providers which don't support 20, do we really want to prevent them from being able to upgrade to v5 for that reason?

I don't have full visibility around any of the points above: I don't know when v5 is due to be released, I don't know how much effort it is to support v18, and I don't know which cloud providers support which Node.js version, but they're the things I would consider when making a decision.

from fastify.

mcollina avatar mcollina commented on June 12, 2024

Node.js v18 is not Active LTS. It's maintenance LTS and will be out of support in April 2025.
The target for Fastify v5 is in mid-July. Node.js v20 is Active LTS.

secondly it depends how much effort it is to keep supporting it. If it doesn't make any difference in terms of maintenance, I don't see a compelling reason to drop it

There are many differences between Node.js v18 and v20, and I expect this to grow.

My main concern is the flakyness of Node.js v18 in CI. We could wait and make a last-minute decision based on the fact that the FinalizationRegistry bug is backported and released on v18.

(this causes flakyness both to Pino and Undici).

from fastify.

simoneb avatar simoneb commented on June 12, 2024

You're right about Node 18 being maintenance, my bad. Although the other two considerations still hold, 18 being maintenance is a fairly compelling reason to drop it, I agree.

from fastify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.