Loopback-next: Drop support for Node.js 6.x

Created on 3 Oct 2017  ยท  9Comments  ยท  Source: strongloop/loopback-next

Considering that Node.js 6.x will enter maintenance mode long time before our expected GA release, we think it makes sense to require LoopBack Next users to run on Node.js 8.x or newer.

Tasks

team-apex

Most helpful comment

Node 8 just went LTS and Node 6 will be entering Maintenance in April 2018. I think it's better to just support Node 8 and higher.

All 9 comments

Node.js 8.x is supposed to enter LTS at the end of this month. With the amount of ECMAScript changes that version 8 supports, I don't think it would make sense to release a new product with legacy support.

I would be surprised if anyone is using LoopBack 4.x with any legacy modules that require Node.js 6...

But then again... what do I know? ๐Ÿ˜‰

I would be surprised if anyone is using LoopBack 4.x with any legacy modules that require Node.js 6

This is not really about using modules written in Node.js 6.x style, those should be still usable in Node.js 8.x

It's about developers that don't have a full control of their production environment - e.g. they have an operations team managing their Node.js production environment, the company may have a policy that all apps should be running on the same Node.js major version, and it may take them a non-trivial amount of effort of time to upgrade the production machines (and all deployed apps) to run on Node.js 8.x.

We are already running LB2 on Node 8, so I'm fine with it :)

Do we know of any usual suspects (modules often used in LB apps) that still lack Node 8 support and is not expected to do so at LB4 GA?

It's about developers that don't have a full control of their production environment - e.g. they have an operations team managing their Node.js production environment

This is become less and less an issue with the popularity of containerization and serverless hosting options. If an operations team can provide support for the latest LTS version of Node.js, then they don't deserve the latest framework evolution ๐Ÿ˜ˆ IMHO

@bajtos, I know that there are some modules out there that won't even work with npm 5 on node 6. I'm guessing most (if not all) of the modules in question have native components.

As for those who do not have control over their production environments... hopefully they speak up on this thread!

Or use it as leverage to get there environments upgraded ๐Ÿ˜ˆ๐Ÿ™Œ๐Ÿป
On Wed, Oct 4, 2017 at 2:46 PM Richard Pringle notifications@github.com
wrote:

@bajtos https://github.com/bajtos, I know that there are some modules
out there that won't even work with npm 5 on node 6. I'm guessing most (if
not all) of the modules in question have native components.

As for those who do not have control over their production environments...
hopefully they speak up on this thread!

โ€”
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/strongloop/loopback-next/issues/611#issuecomment-334160386,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHHYRooQs712SzN7hobGcmdWeKzgkotoks5so4xRgaJpZM4PsPC0
.

Node 8 just went LTS and Node 6 will be entering Maintenance in April 2018. I think it's better to just support Node 8 and higher.

As discussed, pulling this task into Planning per @bajtos request. This has been affecting our current development, and it's better to handle this earlier than later.

https://github.com/strongloop-archive/loopback4-extension-typeorm

I wanted to write that we don't have to change this example because it's deprecated, but then I looked at its package.json and found that it already supports only Node.js 8+:

https://github.com/strongloop-archive/loopback4-extension-typeorm/blob/ce1414c97670b0bd6f0648a55778a9aaa5ecc222/package.json#L9-L11

I'll mark this task as done.

Was this page helpful?
0 / 5 - 0 ratings