Adventures in Nodeland logo

Adventures in Nodeland

Subscribe
Archives
March 28, 2023

Platformatic Launch Week, Styling Swagger UI to Fastify colors, Sparks of AGI, and other Adventures in Nodeland

Hi Folks!

This edition of Adventures in Nodeland is special. We have reached the 100th mark. Thank you for being so supportive and following me on this journey!

Platformatic Launch Week Recap

This week we made our cloud available to everyone for free. This includes:

  • PR Previews: we enable developers to test every code change by providing a unique URL for each Pull Request.
  • Workspaces: get a static URL for all your deployments. You can push your code to GitHub, and your CI is taking care of bundling (with some of our magic dust!), and we will run it.

We also launched Platformatic Client, a new command to turn an OpenAPI Schema (in JSON format for now) or a GraphQL endpoint and generates a client:

platformatic client https://target_service:target_port/documentation/json --name movies

Check out:

  • The full announcement video
  • The “Platformatic Cloud is now Live” blog post
  • platformatic v0.19.0 announcement

Videos

The State of Node.js panel of 2023 is up! Check it out: https://m.youtube.com/watch?v=Yl5mVte-wdw. Thanks to Tracy Lee for having us!

In the live stream of the 20th of March, we worked on two much-needed pull requests for the Platformatic CLI. We prevented cyclic dependencies in https://github.com/platformatic/platformatic/pull/802 and asked the user to overwrite the readme in create-platformatic https://github.com/platformatic/platformatic/pull/804. Check out the video at https://youtu.be/Qx_9XkFXtoI.

In the live stream of the 23rd of March, we branded @fastify/swagger-ui with Fastify colors: we modified @fastify/swagger-ui to accept a logo argument and use Fastify as its base: https://github.com/fastify/fastify-swagger-ui/pull/49.

Releases

  • @fastify/http-proxy v9.0.0 runs hooks with WebSockets, rewrite WebSockets headers and adds support for parametric rewrite prefix.
  • @fastify/oauth2 v7.0.1 fixes a non-required option that was required.
  • @fastify/mongodb v7.0.0 upgrades to mongodb@5.
  • async-cache-dedupe v1.10.1 calls setTimeout instead of setImmediate when running in the browser; v10.10.2 allows then ttl to be a number or function in the typescript definition
  • split v4.2.0 supports Symbol.split.
  • @fastify/websocket v7.2.0 adds support for TypeScript nodenext resolution algorithm.
  • @fastify/type-provider-typebox v3.0.0 updates to latest typebox and re-exports it.
  • @fastify/caching v8.3.0 does not override cache-control if it has already been set.
  • @fastify/session v10.2.0 adds ignoreFields option to the regenerate method.

Articles

  • Sparks of Artificial General Intelligence: Early experiments with GPT-4 - read this fascinating article on how GPT-4 performs across multiple situations. A must-read.
  • GitHub rotates its SSH host key - I got terrified when I saw the message in the morning, and it took me a bit to find this info.
  • Node.js compatibility for Cloudflare Workers – starting with Async Context Tracking, EventEmitter, Buffer, assert, and util. It seems incredible that very soon, I will be able to use Fastify in CloudFlare workers. It seems implementing Node.js APIs is table stakes for the various runtimes.

Jobs

My friend Robert Nagi (Node.js TSC) is hiring a Node.js engineer. While this is not a Node.js core position, I expect some tricky bugs to be solved. Check it out at https://nxtedition.com/we-are-hiring.

Don't miss what's next. Subscribe to Adventures in Nodeland:
GitHub X YouTube LinkedIn