logoalt Hacker News

Node.js 26.0.0 (Now with Temporal)

117 pointsby aarestadyesterday at 6:48 PM38 commentsview on HN

Comments

jdthediscipleyesterday at 9:38 PM

> Upsert (https://github.com/tc39/proposal-upsert): [Weak]Map.prototype.getOrInsert(), [Weak]Map.prototype.getOrInsertComputed()

Their usage of upsert appears different than I was used to:

Me: Upsert = Update or Insert

Them: Upsert = Get or Insert

show 2 replies
pjmlpyesterday at 7:35 PM

26.2.0 is already out, why link to the previous release?

https://nodejs.org/en/blog/release/v26.2.0

What I would expect with the inclusion of temporal, is having a section on nodejs docs about Rust addons, alongside the C and C++ sections.

show 1 reply
chrisweeklyyesterday at 8:33 PM

Tangent: if you use Node.js at build time you should check out VitePlus https://viteplus.dev

(No affiliation, just a fan of VoidZero's consistently excellent tools.)

show 2 replies
noodlesUKyesterday at 7:12 PM

I'm really looking forward to the temporal api being universally available. Moment and Luxon are fairly good but sensible date/time handling is something that really ought to be baked into the platform ootb.

show 2 replies
jaucoyesterday at 8:38 PM

Also the release that drops typescript transforms: https://github.com/nodejs/typescript/issues/51

(I’m not disagreeing to remove it. It just took me a while to find out what happened to it)

show 1 reply
torgoguysyesterday at 8:00 PM

I thought this was the release where the built in sqlite got its experimental tag removed, but I don't see it in the release notes. THAT'S got me excited more than Temporal. A stable API, huge utility and one less dependency.

OptionOfTyesterday at 11:05 PM

Node v26 doesn't ship with corepack anymore. Annoying, it was a decent way to get pnpm in-band.

sedatkyesterday at 8:56 PM

Off-topic but, Safari seems to be the only browser that doesn't support Temporal yet. It looks like the only blocker for adopting it on web.

https://caniuse.com/?search=Temporal

show 1 reply
emilfihlmanyesterday at 8:54 PM

It's so sad that node refuses to add websocket server support.

Adding websocket would simplify stuff tremendously, as well as make deployments much, much more secure.

show 1 reply
actionfromafaryesterday at 8:45 PM

And here I thought that it was about https://github.com/temporalio/sdk-typescript

cute_boiyesterday at 7:39 PM

Node JS team should look into bun and make progress. They are somewhat stable, but bun have lot of features and is more performant than Node.

show 4 replies
jollymonATXyesterday at 10:32 PM

(Now with Malware) I joke! It already had malware.