View profile

Adventures in Nodeland - Issue #17

Matteo Collina
Matteo Collina
Hi Folks, it’s Matteo again! This week has been a light OSS week as I had a lot to catch up at work.. there are still quite a few good news to share.

Fastify
Release v3.18.1 · fastify/fastify · GitHub
Fastify v3.18.1 shipped without issues with a few bugfixes, doc updates and many little things. In this release we removed the engine field from package.json because it did not match our Long Term Support policy (https://www.fastify.io/docs/latest/LTS/): we test Fastify only on the latest Node.js LTS release.
The videos of the NearForm “Backend Development with Node.js” event are up. I would like to link to Fastify collaborator Jonas Galvez that demoed all the work he is doing in creating a FullStack framework on top of Fastify+Vite:
Building a Full Stack Framework with Fastify - Jonas Galvez, helloprint
Building a Full Stack Framework with Fastify - Jonas Galvez, helloprint
In the following video, Daniel Norman from Prisma showed how to wire OpenTracing, Fastify, Mercurius and Prisma to create an almost-perfect stack for backend development.
Monitoring your GraphQL API with Fastify, Mercurius, and Prisma - Daniel Norman, Prisma
Monitoring your GraphQL API with Fastify, Mercurius, and Prisma - Daniel Norman, Prisma
A few folks always ask me good Open Source projects to get inspired from when working on Fastify. Awacs is such a project: it’s a web analytics software that you can self-host and run. If you deeply care about Privacy you can know self-host your analytics. Check it out:
socketkit/awacs
New releases
I also did a bit of maintenance to an old package of mine, hyperid. It’s an extremely fast way to generate unique identifiers. It’s staggering fast at 20 million ids/sec on my development server.
GitHub - mcollina/hyperid: Uber-fast unique id generation, for Node.js and the browser
I would also note that Node.js core recently got the ability to generate UUIDs natively… and it’s staggering fast as well and very close to hyperid:
crypto.randomUUID() is FAST! hyperid is just slighly faster
crypto.randomUUID() is FAST! hyperid is just slighly faster
Node.js
stream: implement WHATWG streams by jasnell · Pull Request #39062 · nodejs/node · GitHub
My colleague James Snell landed a pull request in Node.js that makes us way closer to ship a fetch implementation: Web Streams support.
Do not miss!
One of the questions the team I consult with have is how to get started with testing. In this self-study workshop from Fastify (and Pino)-collaborator James Sumners you can learn all the things you need on how we write tests:
Testing Patterns And Strategies
Thanks
Another week passed, I keep being grateful for the constant feedback about the quality of this newsletter from both high-profile developers and newbies alike. We have almost reached 1000 subscribers… would you help spread the word?
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.

If you don't want these updates anymore, please unsubscribe here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.