View profile

Adventures in Nodeland - Issue #16

Matteo Collina
Matteo Collina
Hey Folks! Last week I have been on a nearby beach with Zoe relaxing, so not much Open Source time… but I still have a few goodies to show! Check them out.

Rob Palmer
ECMAScript excitement 😉

ES2021 has been approved by the Ecma General Assembly 🎉

💡 Logical Assignment Operators (&&= ||= ??=)
💡 Numeric Separators (1_000)
💡 Promise.any & AggregateError
💡 String.prototype.replaceAll
💡 WeakRefs & FinalizationRegistry
EcmaScript 2021 has been approved and it contains a few features I love. WeakRefs and FinalizationRegistry are a fundamental stepping stone to implement old & new APIs in a safe and not memory-leaking way. I can’t wait to use them more… and you can now because they are already in Node.js v14+. We use them in Undici v4 to make sure we do not leak memory on an edge case: https://github.com/nodejs/undici/blob/0f5637d6194c8662f707158b3973c4cdd92404de/lib/compat/dispatcher-weakref.js.
News from the Interwebs
Are we returning to the office? Or is the future remote? - Andreessen Horowitz
$102M to Continue Building the Next Web, Together – Vercel
Fastify
A couple of weeks ago I was wondering if we could automatically generate a GraphQL schema based on Fastify route definition… and it’s possible. Check out mercurius-auto-schema.
GitHub - mcollina/mercurius-auto-schema
fastify-http-proxy and fastify-reply-from have been bumped to v6.0.0 that drops support for Node.js v10 and move them to Undici v4.
Thanks
This edition has been shorter than usual, and I have much less to share. I hope you like it nevertheless!
Did you enjoy this issue? Yes No
Matteo Collina
Matteo Collina @matteocollina

I write about my journey as a core contributor of Node.js, as an author and a maintainer of many modules - including Fastify and Pino. In addition, I speak at conferences, and I will add links to all my talks in case you missed one.

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.