https://serverless-stack.com/ logo
#random
Title
# random
s

Seth Geoghegan

05/09/2022, 10:05 PM
I seriously can't keep up with all these changes! 💥
last weekend was porting from SST 0.69.x to 1.0.x. Now Node 16. 🔥
o

Omi Chowdhury

05/09/2022, 10:38 PM
yaas this is a big deal for m1 peeps
a

Adam Fanello

05/09/2022, 11:06 PM
It should just be a matter of changing the runtime setting - nothing else to port. I'm already using Node 16 for local work, since it comes with NPM 8. Node 18 may be impactful; I'm unclear what it means to "use SDK 3 by default".
a

Adrián Mouly

05/09/2022, 11:21 PM
Can somebody summarize the change log? ahhaha.
Also.. general engineering question… how you guys keep updated on new versions from different open-source projects?
You have to keep track of SST, CDK, Node, TypeORM, GQL, AWS SDK,…. etc etc.
How you guys keep track of this?
a

Adam Fanello

05/09/2022, 11:27 PM
tl;dr; Node 16 Lambda support is rolling out and should be fully supported in a week or two.
t

thdxr

05/10/2022, 12:07 AM
my favorite node16 thing is
Copy code
import { setTimeout } from "timers/promises"
await setTimeout(5000)
a

Adam Fanello

05/10/2022, 12:10 AM
What? You don't want to keep defining this function in every codebase? 😲
Copy code
const sleep = (ms: Milliseconds) => new Promise((res) => setTimeout(res, ms));
But it's a classic!
g

Gjorgji Kjosev

05/10/2022, 4:28 PM
also, look at that fancy setInterval