Hello, Platformatic and other Adventures in Nodeland - Issue #76
Hi Everyone, last week was a big week for me. I can finally share with you all that I’m the CTO of Platformatic. This edition also includes quite a few new releases of Fastify modules and quite a few interesting news.
Fastify
- fastify-flash v5.1.0 removes the usage of onRequest.
- fastify-swagger v7.5.1 removes a crash in resolveLocalRef.
- aws-fastify-lambda v3.1.2 v3.1.3 better support for duplicate headers for format 2.0.
- fastify-isolate v0.6.0 now works also without a compiler toolchain installed
- fast-json-stringify v5.3.0 adds the ability to infer the type schema and ships several refactors and fixes.
- find-my-way v7.1.0 fixes the matcher function in the off method.
-
light-my-request v5.6.0 fixes the compatibility with the latest
@types/node
and adds compatibility with Express.js! - fastify-session v10.0.0 brings an almost endless amount of improvements from Uzlopak.
- fastify-autoload v5.4.0 skips loading non-plugin JS modules.
- fastify-restartable v1.2.1 solves a bug where an event emitter was leaked.
Pino
- thread-stream v2.2.0 can now pass the thread-stream module version to its worker thread.
- hapi-pino v11.0.0 updates the module to pino v8.
Other libs
- help-me v4.1.0 adds a few utilities and makes it better suited for top-level await usage.
- commist v3.1.0 adds the maxDistance option.
News
My ex-colleague Jonas Galvez writes on how to avoid performance issues with React SSR in production. I’m proud of this article as it contains quite a few techniques I explored and taught Jonas while we were both at NearForm.
Should you use PostgreSQL or MySQL?
One of the hardest thing of doing cross platform development in JavaScript is running npm scripts: Linux/Mac and Windows have completely different shells. Here is a great collection of tricks that will definitely help!
Simon has been busy learning how to deploy a Fastify application to Fly.io. Check it out: