[email protected] and other Adventures in Nodeland - Issue #26





Subscribe to our newsletter

By subscribing, you agree with Revue’s Terms of Service and Privacy Policy and understand that Adventures in Nodeland will receive your email address.

Matteo Collina
Matteo Collina
Hi Folks,
I’m back from Austria after some time with my family! Last week has been incredibly busy Node-wise. and I can’t wait to share it all with you.

A photo take in the ball room fo Ambras Castle in Innsbruk.
A photo take in the ball room fo Ambras Castle in Innsbruk.
We have worked pretty hard in finishing off [email protected] and we have now reached the 4th release candidate. There is likely some more work to do, but this release looks incredibly solid. The goal is to encourage most people to use the new transport system for most of their work.
Release v7.0.0-rc.4 · pinojs/pino · GitHub
The most significant change is the deprecation of the `prettyPrint` option in pino. This option is extremely common as an easy-to-use solution to log things in a format that is easy to consume by humans. What we replaced this option with? The new transport system of course!
In order to achieve this, we augmented pino-pretty with pino-abstract-transport that allowed it to become transport-compatible with a “small” but semver-major change.
Use pino-abstract-transport by mcollina · Pull Request #222 · pinojs/pino-pretty · GitHub
Then we had to adapt pino itself and adjust the API. This change did change some API from rc.3 but it is for the best. See for yourself:
pino-pretty transport convertion by mcollina · Pull Request #1110 · pinojs/pino · GitHub
I’m extremely satisfied with this pino release, and I think we will be able to fully release v7 into the wild sooner rather than later. Check it out!
Release v3.21.0 · fastify/fastify · GitHub
August 31 2021 Security Releases | Node.js
I often write about new security releases of Node.js (as I’m part of the security team), and this edition is no exception. From the last time you received one of my digital envelopes, we had a significant new vulnerability in NPM that could enable a supply-chain attack. This was fixed upstream and we released v12 and v14 to keep all of you safe.
One of biggest feature that was released in Node.js in 2021 is corepack. Corepack is a tool that enables to install any of the alternative package managers (yarn, pnpm) alongside npm. Read up in the docs:
Would you like to write some isomorphic code that uses undici underneath? You can know use fetch-undici to use window.fetch in the browser, and undici.fetch in Node.js.
GitHub - bcomnes/fetch-undici: Isomorphic fetch with window.fetch and undici.fetch
New Releases!
Last week I release [email protected] which included a new feature for the promise API of the queue: run to completion or queue.drained()! Check it out:
feat: run to completion by gillesdemey · Pull Request #57 · mcollina/fastq · GitHub
Interesting Articles
I met Swyx a few years back at JSConf Hawaii and then in Manhattan. He is always full of insights on how to build you career in Tech and online. This article fascinates me, check it out:
The Swipe Files Strategy for Part Time Creators ∊ swyx.io
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.