pipedream icon indicating copy to clipboard operation
pipedream copied to clipboard

[LANGUAGE] Node 16

Open dylburger opened this issue 3 years ago • 3 comments

I'd like Pipedream to support the Node 16 runtime.

dylburger avatar Jan 06 '22 23:01 dylburger

@ctrlaltdylan how far out is this looking?

n-h-n avatar Sep 09 '22 16:09 n-h-n

@n-h-n I wish I could give a release date, but none at this time. What kind of use case do you need v16 for?

ctrlaltdylan avatar Sep 09 '22 16:09 ctrlaltdylan

Some newer packages like discord's API SDK require node 16+ @ctrlaltdylan

n-h-n avatar Sep 09 '22 21:09 n-h-n

+1 discord sdk, discord.js etc. blocking not to have this, as given recent changes some features aren't available anymore with the current libraries

Crypt0Beaver avatar Sep 15 '22 22:09 Crypt0Beaver

Node 18 is now currently LTS. So perhaps we should rename the issue to node 18 support?

tonyxiao avatar Apr 16 '23 09:04 tonyxiao

@tonyxiao Yes, we were discussing this internally as well, and I changed the title to reflect that.

dylburger avatar Apr 16 '23 16:04 dylburger

See also langchain requires 18+. Example of current nodejs baseline expectations.

Matt2012 avatar May 08 '23 22:05 Matt2012

We’re excited to support that Node v18 is now the default Node.js runtime on Pipedream. The next time you deploy an existing workflow, or create a new one, that workflow will use a Node 18 execution environment. See the docs.

You should expect no major changes / issues upgrading to Node 18. Major npm packages have supported Node 18 for some time. Many packages that failed to work on our v14 runtime — such as discord.js — should now work in Node 18. Node 18 also introduces a native fetch API. Please see the Node 16 and Node 18 changelogs for more detail.

Node.js continues to be our most popular runtime. You can write any Node.js code in a workflow, use any npm package, programmatically end, delay, or retry a workflow, and more. Read the Node.js docs to learn more.

ctrlaltdylan avatar Jul 11 '23 16:07 ctrlaltdylan