Adventures in Nodeland logo

Adventures in Nodeland

Subscribe
Archives
September 12, 2022

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.

Backend made simple. Backend-less
Backend made simple. Backend-less
Backend made simple. Backend-less
platformatic.dev
Platformatic announcement - Matteo
Platformatic announcement - Matteo
Why I decided to found Platformatic
I often claim that there is no such thing as luck, and this is one of those moments. After eight years of working as a consultant building software for others, I have decided to take the leap and start a new product company: Platformatic. What is Pl…
blog.platformatic.dev

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.

How To Avoid SSR Load Issues in Node.js - NodeSource
How To Avoid SSR Load Issues in Node.js - NodeSource
How To Avoid SSR Load Issues in Node.js; using N|Solid to help diagnose high latency and low performance in a Next.js SSR application.
nodesource.com
How To Avoid SSR Load Issues in Node.js - NodeSource
How To Avoid SSR Load Issues in Node.js - NodeSource
How To Avoid SSR Load Issues in Node.js; using N|Solid to help diagnose high latency and low performance in a Next.js SSR application.
nodesource.com

Should you use PostgreSQL or MySQL?

PostgreSQL vs. MySQL: What’s the Difference?
PostgreSQL vs. MySQL: What’s the Difference?
PostgreSQL and MySQL are relational databases that organize data into tables. These tables can be linked — or related — based on data that is common to each. Relational databases enable your business to better understand the relationships among available data and help gain new insights for making better decisions or identifying new opportunities.
www.ibm.com

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!

Running cross-platform tasks via npm package scripts
The npm package manager lets us define small shell scripts for tasks and execute them via npm run. In this blog post, we explore how that works and how we can write them in a way that works across platforms (Unixes and Windows).
2ality.com
The Risks of WebAssembly
The Risks of WebAssembly
Here at Fermyon, we are enthusiastic (to say the least) about WebAssembly. But we also value openness, thoughtfulness, and caution.
www.fermyon.com
The Risks of WebAssembly
The Risks of WebAssembly
Here at Fermyon, we are enthusiastic (to say the least) about WebAssembly. But we also value openness, thoughtfulness, and caution.
www.fermyon.com
The npm faker package and the unexpected demise of open source libraries
Where do open source dependencies go to die, and why do they come to an end? What happened to the npm faker module? Can it happen again?
dev.to
ClipDrop - Relight
ClipDrop - Relight
Here is a phenomenal new AI-powered tool. Check it out, it allows to change the light in photos after they were taken:
clipdrop.co
ClipDrop - Relight
ClipDrop - Relight
Here is a phenomenal new AI-powered tool. Check it out, it allows to change the light in photos after they were taken:
clipdrop.co

Simon has been busy learning how to deploy a Fastify application to Fly.io. Check it out:

Deploying a Node app and Postgres database to Fly.io - Simon Plenderleith
Deploying a Node app and Postgres database to Fly.io - Simon Plenderleith
A quick guide to deploying a Node app and Postgres database to Fly.io.
simonplend.com
Deploying a Node app and Postgres database to Fly.io - Simon Plenderleith
Deploying a Node app and Postgres database to Fly.io - Simon Plenderleith
A quick guide to deploying a Node app and Postgres database to Fly.io.
simonplend.com
Don't miss what's next. Subscribe to Adventures in Nodeland:
GitHub X YouTube LinkedIn