17 comments

[ 3.3 ms ] story [ 38.6 ms ] thread
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.
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.

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.
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.
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.)

Kind of difficult to install, especially in the enterprise business environment. At least they kept it free for everyone.
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.

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

Should be easy enough to detect/polyfill...

    if (!globalThis.Temporal) {
      // await import('temporal-polyfill/global');
      await import('https://cdn.jsdelivr.net/npm/temporal-polyfill@0.3.0/global.min.js'); 
    }
> 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

(Now with Malware) I joke! It already had malware.
Node v26 doesn't ship with corepack anymore. Annoying, it was a decent way to get pnpm in-band.
This is a surprise. And they still haven't included corepack as an official instruction on the nodejs.org download page. Is corepack a failed experiment?