Adventures in Nodeland logo

Adventures in Nodeland

Subscribe
Archives
December 5, 2022

54 releases (mostly for Typescript updates) and other Adventures in Nodeland - Issue #85

Hey Folks,

This issue is full of releases (54!), primarily due to the update for the nodenext typescript module resolutions.

WeyWeyWeb

Next week I will be speaking at Wey Wey Web in Malaga.

image.png

Trainings

My friend Erick Wendel has started a new training on Node.js streams. It’s one of the most complex topics in Node.js and you’ll learn it from one of the best training in Node.js, check it out: www.nodejsstreams.com/matteo.

Live Coding Videos

You can watch me in real time on my twitch channel at https://www.twitch.tv/matteocollina, or on youtube at:

  • Introducing fastify-dx with Jonas Galvez
  • Building the “platformatic service init” command

Intetesting links

  • Using iOS Shortcuts + iA Writer to reduce journaling friction - I now use iA Writer to prepare this newsletter, and I use a few of these tricks to keep track of all the information I need to prepare a new issue.
  • Open-source software vs. the proposed Cyber Resilience Act, the EU is set on a course to make Open Source Software be certified, making the life of the individual maintainer harder then expected. Let’s fight this.
  • The Complete Guide to the Fastify Plugin System - NearForm, read this article in which Manuel describes how the Fastify plugin system works. It’s a must-read.
  • GitHub - indutny/mean.engineer: An incomplete ActivityPub implementation in TypeScript is a learning project by Node.js collaborator Fedor Indutny. It’s built on Fastify and it federates with Mastodon.

Releases

  • fastify-cli v5.6.1 fix server config deep merge.
  • fastq v1.14.0 pass generic type to error handler.
  • @fastify/deepmerge v1.2.0 supports clone by reference.
  • mercurius v11.4.0 allows preExecution hook to modify variables.
  • @fastify/static v6.6.0 adds the ability to serve dot files.
  • fastify-cli v5.7.0 adds a generate-swagger command.

Update to TypeScript Nodenext resolution algorithm

The Fastify community is refactoring all its type definitions to be compatible with the new TypeScript nodenext resolution algorithm. You can find the whole discussion at https://github.com/fastify/fastify/issues/4349.

Here is the list of modules that have been updated so far:

  • @fastify/hotwire v2.0.0
  • @fastify/kafka v2.1.0
  • @fastify/redis v6.1.0
  • @fastify/basic-auth v5.0.0
  • @fastify/csrf-protection v6.1.0
  • @fastify/express v2.2.0
  • @fastify/rate-limit v7.6.0
  • @fastify/soap-client v2.2.0
  • @fastify/bearer-auth v9.0.0
  • @fastify/circuit-breaker v3.1.0
  • @fastify/http-proxy v8.4.0
  • @fastify/jwt v6.5.0
  • @fastify/etag
  • @fastify/mongodb v6.2.0
  • @fastify/auth v4.2.0
  • @fastify/session v10.1.0
  • @fastify/secure-session v5.3.0
  • @fastify/under-pressure v8.2.0
  • @fastify/elasticsearch v3.1.0
  • @fastify/error v3.1.0
  • @fastify/accept-negotiator v1.1.0
  • @fastify/funky v3.0.0
  • @fastify/formbody v7.4.0
  • @fastify/url-data v5.2.0
  • @fastify/env v4.2.0
  • process-warning v2.1.0
  • @fastify/restartable v1.4.0
  • @fastify/deepmerge v1.3.0
  • @fastify/diagnostics-channel v4.1.0
  • safe-regex2 v3.1.0
  • light-my-request v5.8.0
  • env-schema v5.2.0
  • @fastify/forwarded v2.2.0
  • secure-json-parse v2.6.0
  • @fastify/middie v8.1.0
  • @fastify/routes v5.1.0
  • @fastify/csrf v6.1.0
  • @fastify/sensible v5.2.0
  • fast-uri
  • @fastify/request-contenxt v4.2.0
  • @fastify/response-validation v2.2.0
  • @fastify/postgres v5.2.0
  • @fastify/routes-statis v3.3.0
  • @fastify/caching v8.1.0
  • @fatify/any-schema v3.1.0
  • @fastify/mysql v4.1.0
  • @fastify/one-line-logger v1.1.0
  • fast-json-stringify v5.5.0
Don't miss what's next. Subscribe to Adventures in Nodeland:
GitHub X YouTube LinkedIn