View profile

Fastify v3.28.0, Pino v7.10.0 and other Adventures in Nodeland - Issue #55

Matteo Collina
Matteo Collina
Hi Folks, in this edition we cover a new release of Fastify and Pino as well as TypeScript support for ESM modules. Check it out!

Two weeks ago I went to London for CityJS! You can watch my first talk on stage after 2 years at:
GraphQL caching demystified - Matteo Collina
GraphQL caching demystified - Matteo Collina
Fastify
This week I shipped Fastify v3.28.0 that included a few improvements on the v3 types, better handling for invalid URLs, and trailers support! Check it out
Release v3.28.0 · fastify/fastify · GitHub
In January we run a survey on the status of Fastify community? The major result was surprising but not unexpected: 75% of our users use TypeScript! Read more on the OpenJS Foundation blog:
We keep working on Fastify v4 by improving our dependencies. Ivan has been working hard for the last few months on improving then support for route constraints! Check it out:
The improvements on @fastify/session continue steadily, in v8.1.0 we only save the session on storage when it changes, greatly reducing latency and improving performance.
Release v8.1.0 · fastify/session · GitHub
Pino
[email protected] ships many improvements, including fixing some test flakiness and bugs that where found during the Node.js CITGM. Check it out, it should be significantly more stable:
Release v7.10.0 · pinojs/pino · GitHub
Thanks to Robert Nagy we were able to solve one of the problems that had been plaguing pino for a while: log truncation under heavy load. Apparently docker logs truncated every single “write” that goes over 16 KB. If your log line is longer than this, it would get truncated. Therefore we lowered the limit to 16KB!
News
TypeScript v4.7 Beta ships a significant update: it will support Node.js ESM implementation. This is set to resolve one of the major hiccups when using TS with ESM, check it out:
Announcing TypeScript 4.7 Beta
I believe in the microfrontend pattern and I’ve found this a
Micro frontends: my lessons learned - DEV Community
The BBC migrated to serverless last year. In the following article they draw some conclusions of their migrations!
After last year seed funding round, Rome Tools Inc. released their new JavaScript formatter, built on Rust! Check it out:
Should you use Fastify for your next Node.js project? Will it lead to significant latency improvement? Read this independent blog post describing their journey from Apollo Server to Fastify.
GraphQL Fastify vs Apollo Server — Learnings from the real world
The most-awaited and important news of this week edition is the announcement of the AWS Lambda Function URLs. Why would you have to use an API Gateway if you only needed to expose a single lambda? Now you can avoid it!
Announcing AWS Lambda Function URLs: Built-in HTTPS Endpoints for Single-Function Microservices | Amazon Web Services
Partners
  • This Week in React: the best of React & React Native news. Sebastien filters the noise, and you save time!
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.