January 30, 2023

Apollo Changelog: Jan 30, 2023

Dylan Anthony
Last updated February 6, 2023

Welcome to our second installment of the Apollo Changelog! We’ve got a ton of great news this week, so let’s dive straight in.

Retail ❤️ GraphOS

Retail companies of all sorts face similar technical challenges around topics like checkout, product availability, and personalization. We’ve observed with many retail organizations (including some very large ones!) that GraphOS is perfectly suited to helping wrangle these different concerns in a consistent, integrated way.

To share everything we’ve learned over the years, we’ve created a dedicated GraphOS for Retail page. Our solutions architects even designed an example supergraph schema you can start with when building your next graph! Check it out, and let us know which types of businesses you’d like us to cover next.

Making space for learning

Recently, the SpaceX GraphQL API was shut down due to the upstream data project being retired. This API was a fantastic learning tool used by countless tutorials, demonstrations, and blog posts. We didn’t want the community to lose access to such a helpful resource, so we recreated it using a different data source!

Check out a brand-new API implementation in Apollo Studio and query it to your heart’s content! We’re working on getting the original API’s endpoint updated to point to this new API so that existing resources will continue to work. In the meantime, feel free to point any new content to this project.

Help us build our next course

We’re building a new course in Odyssey called “Getting started with GraphOS“, and we’d love your feedback. This course will become the definitive guide to learning about GraphOS, but it’s currently in beta while we finalize the content. Try it out today, and let us know what you think!

Easier federation tests for library maintainers

Apollo maintains a list of federation-compatible subgraph implementations and which federation features they support. This list is generated from an open-source testing project, and maintainers can add their projects to our testing matrix by opening a pull request. Until recently, this was the best way for maintainers to determine if their projects fully support federation. However, it didn’t give them feedback in their CI pipelines if they broke that compatibility, and it required multiple steps to re-test implementations when building out new features.

Now, there is a CLI tool that can test libraries for federation compatibility, which should make implementing and maintaining federation capabilities much more straightforward!

Manage contracts programmatically with Rover

Rover 0.11.0 arrived this week with an exciting new feature: you can now view, create, and update Apollo GraphOS contracts from the command line. This means it’s faster than ever to provide a limited subset of your schema to a group of consumers! This version also ships with some improvements to rover dev and output formats, so make sure to check the full release notes.

By the way, did you know that you can bootstrap new GraphQL services from Rover? It’s the easiest way to get started with a new subgraph!

Router updates: Prometheus in plugins, persisted queries, and self-signed subgraph certificates

Apollo Router 1.9.0 brings a host of new capabilities to your self-hosted deployments. If you need a self-signed TLS certificate or a custom certificate authority to communicate with your subgraphs, it’s now possible within the Router’s config. While you’re there, you can also enable support for automatic persisted queries—an important feature for large queries on slow networks. If you’re building custom Rust plugins for your Router, you should also check out our new guide on custom Prometheus metrics! This new release of Router comes with many more improvements than we could fit here, so stop by the release page for all the details.

Rapid roundup

  • Michael Watson recently discussed query and mutation best practices in a livestream on our Discord server. Join the community to make sure you’re in the loop for future presentations!
  • Apollo Client 3.7.5 is out with a handful of improvements.
  • Apollo Server 4.3.2 solves some dependency issues and improves TypeScript checking of HeaderMap.
  • You can now deploy every GraphOS template to Railway with no additional configuration.

Upcoming events

On Wednesday, February 1st, we’ll present the first in a new series of livestreams in Discord. We’re investigating hosting GraphQL subgraphs in serverless environments—starting with Python and Strawberry! Do you have a suggestion for a language or environment you’d like to see us implement? Let us know!

Community spotlight

As part of these Changelog updates, we want to highlight some of the amazing contributions from the Apollo community! If you create or come across a helpful resource like a blog post, open-source library, or conference talk, drop a link in our Discord. We’ll help get the word out right here.

To kick things off, Yuleidy González wrote about “GraphQL Pagination” when your backing data source is a REST API. She describes the difference between “shallow” and “deep” pagination, and why understanding the difference is important.

For the front-end folks, there’s a blog post from Joosep Alviste titled “Improving the user experience of page navigation with Apollo Client”. Joosep dives into the common problem of reusing cached values from different queries. It’s worth the read if you’re working with Apollo Client, and make sure to check out our docs on caching for more info!

That’s all for now—stay tuned for more updates!

Written by

Dylan Anthony

Stay in our orbit!

Become an Apollo insider and get first access to new features, best practices, and community events. Oh, and no junk mail. Ever.

Make this article better!

Was this post helpful? Have suggestions? Consider so we can improve it for future readers ✨.

Similar posts

September 7, 2023

Office Hours: Apollo Server with Trevor Scheer

by Dylan Anthony