Fastify v3.28.0, Pino v7.10.0 and other Adventures in Nodeland - Issue #55
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:
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
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.
Pino
pino@v7.10.0 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:
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:
I believe in the microfrontend pattern and I’ve found this a
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.
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!
Partners
- This Week in React: the best of React & React Native news. Sebastien filters the noise, and you save time!