<https://twitter.com/Sarutule/status/1523781875676...
# random
s
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
yaas this is a big deal for m1 peeps
a
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
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
tl;dr; Node 16 Lambda support is rolling out and should be fully supported in a week or two.
t
my favorite node16 thing is
Copy code
import { setTimeout } from "timers/promises"
await setTimeout(5000)
a
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
also, look at that fancy setInterval