NodeRealm, platformatic start, modular monoliths and other Adventures in Nodeland
Hi Folks, I was in Vancouver last week to meet the OpenJS crowd at Open Source Summit and Platformatic Co-Founder Luca Maraschi! It has been a blast of a week - despite being busy, quite a few things happened anyway, so here is the usual newsletter format!
Videos
Should you build a monolith? Should you go for microservices? How about adopting an architecture that can scale well in complexity? Check out my latest talk: building a modular monolith with Fastify at: https://portal.gitnation.org/contents/building-a-modular-monolith-with-fastify.
I've been working on a new Pull Request for Node.js Core during my latest stream: vm.NodeReam
. Here is the current status of work in PR 47855.
Releases
- @fastify/restartable v2.1.0 adds hooks to execute code when the application restarts.
- find-my-way v7.6.2 empty routes tree printing.
- @fastify/one-line-logger v1.2.0 adds support for custom levels.
- @fastify/middie v8.3.0 supports hooks with payloads.
- @fastify/kafka v2.2.0 pins rdkafka to v2.14.0 as it is the last working version.
- @fastify/compress v6.3.0 adds support for Functions in the customType option.
- undici v5.22.1 implements
CacheStorage
, adds custom headers toWebSocket
and fix many bugs. - pino-elasticsearch v6.4.0 adds elasticsearch client options
caFingerprint
andtls
. - async-cache-dedupe v1.12.0 adds support dynamic stale config property and removes the need of
CachedFunction
in the types. - @fastify/swagger v8.4.0 adds support for HEAD routes.
- fast-redact v3.2.0 improves the redaction mechanism for wild cards above level 2.
- platformatic v0.23.0 introduces a new command,
platformatic start
.
Jobs
I'm happy to reference and promote jobs that would help my readers free of charge.
Articles
- Do you use OpenAPI? If so, you might be interested in testing for Breaking Changes in Fastify APIs. Thanks to the use of GitHub actions and OSS libraries, it's a breeze.
- In "my Struggle with remix", Artem explains what does not click for him on the framework; Do you like Remix?
- Introducing Deopt Explorer - TypeScript - this new game changer tool from the TypeScript team will allows you to understand how to fix most deoptimizations in V8!
- In "How to handle emojis in Nodejs", Manuel explains one of the most-needed topics in development.
Upcoming Events
If you would like to meet me in person, you will find me at these upcoming events:
- JSNation - Amsterdam, Netherlands - 1st of June
- Refactor DX 2023, Toronto, Canada, 12-13th of July
- GraphQL Conf - San Francisco, California, USA - 19-22nd of September