Adventures in Nodeland logo

Adventures in Nodeland

Subscribe
Archives
May 16, 2022

The Road to Fastify v4 and other Adventures in Nodeland - Issue #59

Hi Folks, this edition covers the upcoming Fastify v4 release and several other news in the Node.js and Open Source world. Let me know what you think!

Fastify

Fastify v4 release coordination · Issue #3482 · fastify/fastify · GitHub
Fastify v4 release coordination · Issue #3482 · fastify/fastify · GitHub
This is an issue to coordinate the release of Fastify v4. It will be updated as soon as it progresses. release new major of fast-json-stringify https://github.com/fastify/fast-json-stringify/releases/tag/v3.0.0 create type providers modu…
github.com
Fastify v4 release coordination · Issue #3482 · fastify/fastify · GitHub
Fastify v4 release coordination · Issue #3482 · fastify/fastify · GitHub
This is an issue to coordinate the release of Fastify v4. It will be updated as soon as it progresses. release new major of fast-json-stringify https://github.com/fastify/fast-json-stringify/releases/tag/v3.0.0 create type providers modu…
github.com

As part of the road to release Fastify v4, we have been updating all the core modules, making sure that the all the supported modules works correctly with the new release. Check them out.

Fastify v4 module releases

  • @fastify/session v9
  • @fastify/cookie v7
  • @fastify/jwt v6
  • @fastify/leveldb v5
  • under-pressure v6
  • point-of-view v6
  • @fastify/etag v4
  • @fastify/formbody v7
  • @fastify/helmet v9
  • middie v7
  • @fastify/routes v5
  • @fastify/autoload v5
  • @fastify/cors v8
  • @fastify/reply-from v8
  • @fastifywebsocket v6.0.1
  • @fastify/auth v3
  • @fastify/basic-auth v4
  • @fastify/http-proxy v8
  • @fastify/diagnostics-channel v4
  • @fastify/csrf-protection v4
  • @fastify/postgres v5
  • @fastify/request-context v4
  • @fastify/flash v5
  • @fastify/bearer-auth v8
  • @fastify/mongodb v6
  • @fastify/redis v6
  • @fastify/static v6.1.0

Fastify v3 module releases

  • middie v6.1.0
  • fastify-cli v3.0.0 and v3.0.1

Node.js

Undici v5.2.0 is out with a massive list of fixes for fetch, including the ability to configure truly global dispatchers that are shared by Node.js fetch and undici fetch. Check it out:

Release v5.2.0 · nodejs/undici · GitHub
Release v5.2.0 · nodejs/undici · GitHub
An HTTP/1.1 client, written from scratch for Node.js - Release v5.2.0 · nodejs/undici
github.com

News

How do you make a GraphQL service that is not federation compatible work in a federated environment? Turns out there is no good or up-to-date solution. Simone Sanfratello from NearForm has built a solution to this problem!

GitHub - nearform/graphql-auto-federate: Automatically federate a GraphQL service
Automatically federate a GraphQL service. Contribute to nearform/graphql-auto-federate development by creating an account on GitHub.
github.com

If you have been following the story of Lerna - the great monorepo management tool - and its deprecation, I’m happy to share that Lerna lives! Nrwl, the company behind https://nx.dev/ is going to sponsor the development of Lerna going further. Read the full announcement:

Announcement: Passing the torch · Issue #3121 · lerna/lerna
Move from Lerna to alternative toolset (like Nx) facebook/docusaurus#7333 Open 2 tasks
github.com

I would like to congratulate with Feross and team for the series seed of Socket.dev! You are doing an amazing job in building a tool which is extremely simple to use:

$4.6M Series Seed to defend open source from supply chain attacks - Socket
One year ago, we founded Socket with the goal to safeguard the open source ecosystem for everyone. Modern applications use thousands of dependencies written by hundreds of maintainers.
socket.dev

As you know, I recommend developers to not use Jest to test Node.js applications - most teams do that anyway, and that’s fine. I’m thrilled to announce that Jest is transferring to the OpenJS Foundation as Facebook has not been involved in its maintenance for quite some time now. Read the full announcement:

Meta Open Source is transferring Jest to the OpenJS Foundation
Meta Open Source is officially transferring Jest, its open source JavaScript testing framework, to the OpenJS Foundation.  With over 17 million weekly downloads and over 38,000 GitHub stars, Jest is the most used testing framework in the JavaScript ecosystem and is used by companies of all sizes, including Amazon, Google, Microsoft, and Stripe.
engineering.fb.com

Partners

  • This Week in React: the best of React & React Native news. Sebastien filters the noise, and you save time!
Don't miss what's next. Subscribe to Adventures in Nodeland:
GitHub X YouTube LinkedIn