Remember the astronauts from Apollo 11? This is them now. Feel old yet?
…and one giant leap for GraphQL servers everywhere, when they released v3.0 last week (their first major release since 2018).
Quick review: Apollo Server is an open-source GraphQL server with a schema-first approach. It can be used as a standalone GraphQL server, a gateway for a federated data graph, or as an add-on to your existing Node.js middleware (like Express or Fastify).
Getting flexible: Apollo Server 2 had a bunch of hardcoded dependencies, which made it difficult to build new features. So, like many of us during quarantine, Apollo Server bought a cheap yoga mat off Amazon and decided to start working on its flexibility.
In this case, that required removing the majority of those hardcoded dependencies, increasing extensibility, and modernizing the entire code base. These under-the-hood improvements were the major focus of this v3 release, but there are a few other cool new features:
Apollo Sandbox is a new GraphQL IDE for local development that’s now the main recommended tool for querying your server
There’s newly added support for the latest versions of Fastify and Hapi
AWS Lambda and Google Cloud Functions integrations are now built directly on top of the Express integration — which means that new Apollo Server functionality will work in Lambda and Cloud Functions without making you write the same code three times
The Bottom Line: This release is less about introducing a ton of exciting new features, and more about building a scalable foundation so that Apollo Server can actually build those new features in the future. Kind of like when Venusaur has to spend a whole turn charging up its Solar Beam move before it can use it to unleash hell.
If by my life or death I can protect you from breaking changes, I will.
When we saw the agenda for the upcoming 84th meeting of Ecma TC39, we were ecstatic. “Find volunteers for note taking”, “Intl Locale Info update”, “Module fragments current direction” had us – and I can’t emphasize this enough – riveted. So much so that we applied to join TC39.
.findLastIndex()methods on array and typed array
Tempura is a “light, crispy, and delicious template engine,” which sounds much classier than if he had named it DeepFried.js.
Firefox 90 was released last week with some new features for developers. 10 more updates and it’ll evolve into an Icefox.
FracturedJson is a JSON formatter that produces a human-readable but fairly compact output.
esbuild-loader lets you harness the speed of esbuild in your Webpack build by offering faster alternatives for transpilation.
Átila wrote about Breaking Down Bulky Builds with Netlify And Next.js. Really looking forward to him releasing an at-home workout DVD with the same name. “Breaking Down Bulky Builds — I hate it… but I love it.”