Adventures in Nodeland logo

Adventures in Nodeland

Subscribe
Archives
July 24, 2023

My explanation of Fastify Technical Principles, improved TypeScript support in Platformatic, and many other Adventures in Nodeland

Hi Folks, Adventures in Nodeland has officially become a biweekly newsletter! You'll receive news from the Fastify ecosystem every two weeks - with some leeway while I'm traveling.

Let's recap what happened since the last edition!

Videos

Have you ever wondered what technical principles inspire the Fastify community? Check out my latest video https://youtu.be/43X1VqlZTQ8.

In the live stream of the 3rd of July, we added typescript precompilation support to Platformatic: PR #1172

In the Live Stream of the 6th of July, we added support for the TypeScript flags and custom location for your tsconfig.json. Check out PR #1192.

Releases

  • @fastify/type-provider-typebox v3.3.0 fixes the peer dependency constraint.
  • @fastify/under-pressure v8.3.0 adds isUnderPressure() helper.
  • @fastify/response-validation v2.4.1 updates the types with custom instance support.
  • @fastify/rate-limit v8.0.2 fixes types for nodenext resolution compatibility.
  • @fastify/websocket v8.2.0 adds preClose option and hook
  • mercurius v13.1.0 moves graphql dependency to peerDependencies.
  • @fastify/multipart v7.7.1 fix empty body handling when attachFieldsToBody is keyValues. v7.7.2 fixes file stream consumption when buffer has not loaded yet. v7.7.3 fixes the throwFileSizeLimit option to respect per-request override.
  • hapi-pino v12.2.0 allows specifying level for request start/complete logging.
  • fastify-plugin v4.5.1 fix inferring the correct fn type.
  • pino-pretty v10.1.0 add customColors to TypeScript definition for PrettyOptions.
  • pino-elasticsearch v6.5.0 fixes reconnection errors.
  • @fastify/multipart v7.7.2 fixes the file stream consumption when the internal buffer has not loaded yet.
  • @fastify/swagger-ui v1.9.3 fixes error when updating logo with BaseLayout.

Platformatic

  • v0.31.0 Fixes the deployment of TypeScript apps.
  • v0.31.1 removes a memory leak when metrics are enabled, and it adds better types for EntityHooks.
  • v0.32.0 split input and output types so outputs fields can be nullable in the OpenAPI spec, makes the entity hooks typed, and it adds Arrays support in Platformatic DB for PostgreSQL.

Articles

  • Build and deploy a modular monolith with Platformatic
  • Validate the Fastify input with Joi
  • 5 reasons you should hire me as your next DX engineer - Salma Alam-Naylor
  • Introducing Changesets: Simplify Project Versioning with Semantic Releases
  • Composable Architectures: Powering Digital Transformation
  • Implement OAuth2 login with GitHub and Platformatic.
  • No cyber resilience without open source sustainability

Events

This fall I'll be at these events:

  • APIDays - 13th and 14th September - London, UK -
  • Nodejsconf.it - 30th of September, Desenzano del Garda, Italy
  • SRECon EMEA - 10th - 12th October, Dublin, Ireland
  • Codemotion Milan 2023 - 24th and 25th October, Milan, Italy
  • NodeConf.eu - 6th to 8th October, Kilkenny, Ireland
  • HalfStack London - 15th of November 2023, London, UK
Don't miss what's next. Subscribe to Adventures in Nodeland:
GitHub X YouTube LinkedIn