GraphQL Caching, Auth and a bunch of releases on Adventures in Nodeland - Issue #37





Subscribe to our newsletter

By subscribing, you agree with Revue’s Terms of Service and Privacy Policy and understand that Adventures in Nodeland will receive your email address.

Matteo Collina
Matteo Collina
Hi Everyone! This edition of Adventures in Nodeland is packed with new releases - last week was very productive as I caught up with my OSS duties. Thanks for reading and let me know if you have any question!

GraphQL Galaxy – The biggest GraphQL conference in the cloud
I’m very excited to be speaking at GraphQL Galaxy about my implementation of GraphQL caching. It is still a work in progress but we have already seen massive performance improvements in a few production cases! Watch the talk!
We are starting to assemble Fastify v4! Here is an hard-but-tiny PR that improves performance by about 10%.
Skip encapsulation of Request and Reply when not needed by mcollina · Pull Request #3479 · fastify/fastify · GitHub
We have just released a new version of fastify-jwt! This new version moves away from the old-and-tested jsonwebtoken module and start using fast-jwt. By providing utilities for JWT caching, servers could become significantly faster. Check it out:
Release v4.0.0 · fastify/fastify-jwt · GitHub
Here is also a new release of Fastify, including several bugfixes and doc updates. What makes this release incredibly special is that 14 different people contributed to it - 9 of them being new to the project. I’m enthusiastic about this. Thanks folks!
Release v3.24.1 · fastify/fastify · GitHub
We have been incredibly active in Mercurius last week. A new version of mercurius-auth has a new option to avoid displaying the authorization directives during inspection queries. Check it out:
Release v1.4.0 · mercurius-js/auth · GitHub
This change was enabled by v8.10.0 of Mercurius, which added a couple of new hooks to able to intercept those changes:
Release v8.10.0 · mercurius-js/mercurius · GitHub
…but the work on Mercurius did not stop there, and thanks to Giacomo we got a significant improvement on the Gateway, enabling a significant increase in performance is the target service supports request batching.
feat: optimize gateway by batching queries by giacomorebonato · Pull Request #667 · mercurius-js/mercurius · GitHub
I also did another fix, enabling our loaders implementation to have access to the info object when the individual loader cache is disabled:
Both those changes shipped in v8.11.0:
Release v8.11.0 · mercurius-js/mercurius · GitHub
Even pino packed a couple of releases for this edition of Adventures in Nodeland. They bring improved types, better developer experience and a improved docs.
Release v7.4.0 · pinojs/pino · GitHub
Release v7.5.0 · pinojs/pino · GitHub
Interesting Modules
As I do security triaging in Node.js, we often closereports as out-of-scope or informative because the vm module does not offer any security guarantees. What does? Isolated-vm! Check it out:
GitHub - laverdet/isolated-vm: Secure & isolated JS environments for nodejs
Interesting articles
Once upon a time, I studied CRDT and Operational Transformation in great detail. Thus I couldn’t resist in presenting to you Peritext. I have found the research on this topic extremely compelling - I can’t wait to see what this new algorithm and library will enable:
Peritext: A CRDT for Rich-Text Collaboration
Redis shipped a new developer tool built on Electron! Hurray - I’m so glad that we enable this amazing usecase for all companies around the globe.
Introducing RedisInsight 2.0: A Whole New Redis Developer Experience | Redis
Have you received a raise in 2021? If not, you might be losing out. A significant number of tech companies are doing off-cycle adjustments in 2021:
Exceptional Off-Cycle Compensation Adjustments for Software Engineers in 2021
Did you enjoy this issue? Yes No
Matteo Collina
Matteo Collina @matteocollina

I write about my journey as a core contributor of Node.js, as an author and a maintainer of many modules - including Fastify and Pino. In addition, I speak at conferences, and I will add links to all my talks in case you missed one.

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.