February 20, 2023

Apollo Changelog: Feb 20, 2023

Dylan Anthony

Dylan Anthony

Federated interfaces

Last week, we shipped Federation 2.3, which adds the new @interfaceObject directive, enabling you to federate an interface without every subgraph knowing about every concrete implementation. Check out the announcement post for more details, and start upgrading your interfaces today!

Subgraph and variant management in Studio

You can now manage even more of your supergraph in Apollo Studio. The new Subgraphs page gives you a high-level view of all the subgraphs that make up your supergraph, along with a UI for adding and removing subgraphs!

A screenshot of the new "subgraphs" page within Apollo Studio, featuring an "Add a subgraph" button along with the list of subgraphs within the current variant.

You can now add or remove variants from Studio within graph settings.

A screenshot of the "Variants" page in Apollo Studio featuring an "Add a variant" button.

Time to update your subgraphs

Version 1.1.0 of the subgraph compatibility tests adds checks for @composeDirective and @interfaceObject. The subgraph compatibility page has been updated to reflect the status of every subgraph implementation. If your favorite library doesn’t support these features yet, consider contributing them! If you need any help, reach out to us in Discord.

The first community library to support these features is graphql-kotlin with its 6.4.0 release! Strawberry (Python) followed closely behind with its 0.157.0 release. Who will be next?

Is GraphQL a trap?

Our series of condensed GraphQL Summit talks continues with “Is GraphQL a trap?” Sasha Solomon tackles this question head-on by showing us where GraphQL shines.

Entity ownership

Federation 2.0 removed the requirement for one subgraph to “own” an entity and for others to “extend” it. Instead, each subgraph contributes to the entity, making them truly distributed. However, there are some situations where ownership is desirable, so our solutions architects created a tech note to address this situation!

Rapid roundup

  • Apollo Client 3.7.8 and 3.7.9 are out with a variety of bug fixes.
  • Apollo Gateway 2.3.2 fixes a breaking change that was introduced in 2.3.0.
  • Apollo Server 4.4.0 adds the “Include Cookies” toggle in the embedded sandbox.
  • Version 0.5.0 of both apollo-parser and apollo-encoder were released with some improvements and fixes.
  • Apollo Router 1.10.3 improves per-type metrics from subgraphs that support federated tracing.
  • Our homepage was recently refreshed to better explain all that we do. What’s your favorite Apollo product or feature? Let us know in Discord.
  • We released a new video to help introduce GraphOS. Learn the basics of connecting a graph in just 3 minutes!
  • Rover 0.12.0 was released with support for subgraph check without operation checks

Community spotlight

Last week, Graphiti 1.7.0 was released, adding Apollo Federation support! This is the first server-side Swift library to support Federation, meaning trying out Swift on the server has never been easier. Adding a new subgraph to your supergraph is a low-risk way to try out a new language.

Upcoming events

Join us this Wednesday, February 22, for a livestream in our Discord about implementing subgraphs in Rust. Make sure to bring your burning questions about Rust, as we’ll have dedicated time for Q&A at the end.

Our next Changelog post will be on March 6, we’ll see you then!

Written by

Dylan Anthony

Dylan Anthony

Read more by Dylan Anthony