Adventures in Nodeland logo

Adventures in Nodeland

Subscribe
Archives
August 29, 2022

NodeConf.eu and other Adventures in Nodeland - Issue #74

Hi Folks, how are you doing? I’m preparing to release what I’ve been building in the last few months, and I can’t wait to show you all. Anyway, check out this edition including a discount for NodeConf.eu, many, many releases and quite a few interesting articles.

October 3-5, 2022 The Lyrath Estate, Kilkenny, Ireland
October 3-5, 2022 The Lyrath Estate, Kilkenny, Ireland
NodeConf EU brings speakers and devs from around the globe for four full days of talks and workshops centered around the Node.js framework.
Use the NodeLand-Discount2022 promo code for a 15% discount!
nodeconf.eu
October 3-5, 2022 The Lyrath Estate, Kilkenny, Ireland
October 3-5, 2022 The Lyrath Estate, Kilkenny, Ireland
NodeConf EU brings speakers and devs from around the globe for four full days of talks and workshops centered around the Node.js framework.
Use the NodeLand-Discount2022 promo code for a 15% discount!
nodeconf.eu

Fastify

  • @fastify/fast-json-stringify-compiler v4.1.0 ships the ability to precompile the schemas into code to reduce the work needed during bootstrap. This massively reduces the “cold start” time.
  • @fastify/ajv-compiler v3.2.0 improves the Standalone interface to achieve a better user experience to avoid cold start times.
  • mercurius v10.2.0 adds logic to teardown subscriptions on completion. mercurius v10.3.0 fixes support for TypeScript v4.8 and adds support for graphql-ws ping pong. mercurius v10.4.0 updates GraphiQL to v2.
  • under-pressure v8.1.0 changes the setInterval to a setTimeout to avoid thrashing effects with asynchronous health checks.
  • fastify-cli v5.3.0 adds esm templates.
  • fastify v4.5.3 fixes support for TypeScript v4.8 and a few other bugs.
  • fastify-plugin v4.2.1 fixes support for TypeScript v4.8.
  • fastify-accepts v4.0.1 bumps dependencies (specifically fastify-olugin v4.2.1 to fix TypeScript v4.8).
  • fastify-compress v6.1.1 bumps dependencies (specifically fastify-olugin v4.2.1 to fix TypeScript v4.8).
  • fastify-express v2.0.2 bumps dependencies (specifically fastify-olugin v4.2.1 to fix TypeScript v4.8).
  • fastify-formbody v7.1.0 bumps dependencies (specifically fastify-olugin v4.2.1 to fix TypeScript v4.8); it also includes a minor refactor.
  • fastify-multipart v7.1.1 bumps dependencies (specifically fastify-olugin v4.2.1 to fix TypeScript v4.8); it also includes a minor refactor.
  • fastify-sensible v5.1.1 bumps dependencies (specifically fastify-olugin v4.2.1 to fix TypeScript v4.8); it also includes a minor refactor.
  • fastify-nextjs v9.1.0 bumps dependencies and removes unsupported next version from peerDependencies.
  • fastify-websocket v7.0.1 fixes support for TypeScript v4.8.0.
  • fastify-cookie v8.1.0 allows customizing in which request lifecycle phase cookies are parsed.

Pino

  • thread-stream v2.1.0 propagates events from messages in the browser.
  • pino-pretty v9.1.0 adds a new option to limit the keys to log to a limited set.
  • pino-mongodb v4.2.0 adds the ability to insert the timestamp field as a Date.

Watch this nice talk talking about pino at NodeTLV 2022:

Osher El-Netanany @ NodeTLV 22 - Logging Culture - talk like a member, log like a pro
Osher El-Netanany @ NodeTLV 22 - Logging Culture - talk like a member, log like a pro

Node.js

  • node-clinic v12.0.0 drops node 12.
  • Undici v5.10.0 is out with the nasty out-of-order body issue fixed, plus fetch integrity checks and many other bug fixes.
Node v18.8.0 (Current) | Node.js
This version of Node.js implements run-time user-land snapshots via –build-snapshot and –snapshot-blob. It also includes quite a few improvements to Node.js test runner!
nodejs.org

News

How Google Cloud blocked largest Layer 7 DDoS attack yet, 46 million rps | Google Cloud Blog
How Google Cloud blocked largest Layer 7 DDoS attack yet, 46 million rps | Google Cloud Blog
Read up on how google defeated the largest DDoS attack at 46 million rps!
cloud.google.com

We are bringing the “watch” mode to Node.js! Check it out:

watch: add initial implementation for `node --watch` by MoLow · Pull Request #44366 · nodejs/node
watch: add initial implementation for `node --watch` by MoLow · Pull Request #44366 · nodejs/node
What if Node.js could watch itself?
github.com
Preview: Managed Upstash Redis with read replica support - Fly.io
We just switched on Managed Upstash Redis, a private, Redis compatible database, via our partnership with the admirable team at Upstash. You can deploy Upstash Redis today in any Fly region, both as a primary and a read-…
community.fly.io
Why don't we do email verification in reverse?
Why don't we do email verification in reverse?
ENOSUCHBLOG Programming, philosophy, pedaling.
blog.yossarian.net
Why don't we do email verification in reverse?
Why don't we do email verification in reverse?
ENOSUCHBLOG Programming, philosophy, pedaling.
blog.yossarian.net
Reusing workflows - GitHub Docs
Reusing workflows - GitHub Docs
Learn how to avoid duplication when creating a workflow by reusing existing workflows.
docs.github.com

Are you running Fastify on AWS Lambda? Have you got a large application and would like to optimize start-up/cold start time? Fastify allows you to pre-compile all the schemas for your APIs, reducing the cost of adding 100+ schemas to zero! Check out this amazing article from Manuel Spigolon:

Improve the Fastify startup time performance
Improve the Fastify startup time performance
by Manuel Spigolon If you are using Fastify, you already know that it is the fastest Node.js web framework in town.
backend.cafe
Don't miss what's next. Subscribe to Adventures in Nodeland:
GitHub X YouTube LinkedIn