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
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:
As the name of the framework implies, Fastify is fast and performant. Respondents overwhelmingly cited this as the reason why they enjoy using Fastify in their projects
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:
This new version of find-my-way ships a major improvement in how we parse multi-parametric paths, resolving some old incompatibilities with path-to-regexp!
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.
[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:
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!
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:
Today we are excited to announce the beta release of TypeScript 4.7! To get started using the beta, you can use npm with the following command: npm install [email protected]
Hello there! For the past 6 months at work, I have been busy analyzing, experimenting, testing and s… Tagged with microservices, frontend, microfrontends, architecture.
Its been a little over a year since I published my last two blog posts, in which I outlined the process we went through to choose the technology for BBC online and the steps we took to optimise serverless for our use.
We began a full rewrite of Rome in Rust last year, and we’re excited to announce our first release as a part of this effort with the Rome Formatter, a new formatter for JavaScript and TypeScript. It perfectly expresses our goals of excellent performance, ease-of-use, and first-class IDE integration.
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!
Organizations are adopting microservices architectures to build resilient and scalable applications using AWS Lambda. These applications are composed of multiple serverless functions that implement the business logic.
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.