View profile

[email protected], [email protected] and many other Adventures in Nodeland - Issue #21

Matteo Collina
Matteo Collina
Hi Folks, welcome to another edition of Adventures in Nodeland. Last week I have been on vacation in the mountains.. but Open Source never stops, so I’m collating some

A shot of "Cinque Torri" (five towers) near Cortina d'Ampezzo (Italy)
A shot of "Cinque Torri" (five towers) near Cortina d'Ampezzo (Italy)
The shoutout release for this week goes to Yarn v3, which you should definitely check out. I’m not involved in the project nor I use it heavily but I trust Maël to have done an amazing job as always:
I have also release Fastify v3.20.0 with a few new features and bugfixes. The new key feature is the ability to extend the content type parser by removing the built-in parsers in a safe way. Check it out:
Release v3.20.0 · fastify/fastify · GitHub
Undici
Last week we shipped a new minor version of Undici adding a few key features: the fetch body mixin and the buildConnector API. Thanks to the body mixing, you would now be able to just ‘await body.json()’ to retrieve your JSON document. The new connector API would allow you to customize how the clients connects to the server.
Release Body Mixin · nodejs/undici
Undici will be soon getting fetch() support by merging in undici-fetch. We are aiming for spec compatibility: for now the feature is experimental as we are far from there. If you want to get involved, take a look at https://github.com/nodejs/undici/issues/915. Here is the PR adding fetch:
Node.js
I usually do not write about new Node.js releases, however I would note that for v16.6.0, v14.17.4 and v12.22.4 we have not followed our release process for security releases as the vulnerability was already public. Unfortunately I can never talk about all the work we do behind the scenes on making sure Node.js is safe.
You can read more at:
July 2021 Security Releases | Node.js
We are adding some new utilities to Node.js core streams. First is compose(), which will allow you to create a single Node.js Duplex from multiple streams, async iterators. This will soon be released on Node.js v16!
The second addition is a few utilities that makes it easier to use Node.js streams for common scenarios, such as parsing a JSON document. Check them out:
NearForm
We are still hiring! More specifically, if you would like to work on Node.js Core, contact me.
Shaping a better world
Thanks
Adventures in Nodeland passed one thousand subscribers! I would have never believed it when I started. Thanks to all of you that every week read up on my Open Source developments!
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.