Log Pipelines, Vite and other Adventures in Nodeland - Issue #29
Hi Everyone! Last week have been incredibly busy between NodeConf preparations, the upcoming Pino@7 release and Node.js maintenance.
If you like this newsletter, you should watch NodeConf Remote! Register using the above link, it’s free.
Pino
The work on pino@7 keep progressing smoothly. This time we identified a missing feature: transports must be pipelineable. It’s a common pattern to wire them next to each other and combine them as needed. I worked hard to implement this feature - in fact I tumbled on this making some silly mistakes in the process and it took most of my coding time for the week to get right. Now it is out in pino@7.0.0-rc.8 and I’m so excited about it. I hope I will be able to launch pino@7 at NodeConf remote!
Fastify
I have been excited about Vite since the day it was first released to the public. I can’t be more excited to show you the new documentation site for fastify-vite. This new fastify plugin includes all you need to do server-side rendering with a breeze, using Fastify and Vite. Jonas is going to present a workshop about it at NodeConf Remote!
Check it out:
Mercurius GraphQL
I have been researching/studying the topic of validation for GraphQL for a few projects already and I came to the conclusion that no existing solutions worked well enough for the developer experience I wanted to achieve. The new mercurius-validation module built by Jonny does it all in the way I would use it!
News!
The most important news in Nodeland this week is TypeScript v4.5 beta: it finally provide a solution to the TypeScript and native ESM problem.. go read the announcement!
I read the above story on twitter and it resonated well with my own experiences: the problems at a tech company are almost never tech-related but people-related. Make sure to read it if a shiny new startup offers you a gig!
One of the most important product launches of last week was CloudFlare entering the block storage market with R2! Cheaper-than-S3 storage for all of you! Where is the catch? You have to script it with Workers instead of Lambda.
Have you ever implemented authorization logic for your product? I guess all of us have more than once. SpiceDB is a new Open Source product from Authzed that you can help reducing that work load. Check it out:
Undici is in the news! The new fetch-compliant implementation we shipped a few weeks back is being cited as one of the key example of the new Web Streams API for Node.js. Read the article to know more:
I’m a huge fan of the micro frontend pattern and I really enjoy when the companies share their internal knowledge. One thing I would love to see is some code to implement this pattern: why don’t they Open Source their internal frameworks? Anyway, read up the Netflix experience:
Last but not least, PostgreSQL v14 was released! This new release packs quite a few updates - if you use PostgreSQL as your go-to database for most workloads, check it out:
Thanks
I would like to thank you all for the continuous streams of thanks and encouragement I get from producing this newsletter. We have now reached 1111 subscribers! Thanks to all of you and let me know what you think of this news-packed issue.