Apollo Changelog: Jan 23, 2023
We’re building so much great stuff at Apollo that it can be tricky to keep track of it all! To help with that, we’re kicking off our Changelog series to cover exciting releases for GraphOS and our open-source projects. We’ll also let you know about upcoming live events and new educational content to help you expand and sharpen your graph expertise. So without further ado, let’s see what’s new!
Boost app responsiveness with @defer in GraphOS
If a query includes a field that takes a long time to resolve, it can delay your graph’s entire response, making your apps feel less responsive. With GraphOS support for the @defer directive (now generally available!), your graph can respond to the client with most of the response data almost immediately, then follow up with slower fields when they’re ready.
Livestreams with library maintainers
This week we kicked off a new livestream series in the Apollo GraphQL Discord where maintainers and community experts demonstrate building subgraphs with different libraries and languages. To start, we built a subgraph live using Python and Strawberry. Next up, we’ll do the same with Rust and async-graphql on February 22. All of our livestreams are in Discord, so make sure to join so you don’t miss out!
GraphOS introduction video
Your graph’s README page in GraphOS Studio now features a friendly introductory video and some handy links to help you get the most out of GraphOS from day one! Look for this section to the right of your README:
Keeping you in suspense
Can’t wait to use React 18’s Suspense feature when fetching data with your GraphQL queries? Try our new
useSuspenseQuery hook today with Apollo Client 3.8.0-alpha.5. Install it with
npm i @apollo/client@alpha, then check out the RFC for more details. We can’t wait to hear your feedback!
Here are a few more changes and version updates you might want to check out:
- Apollo Server 4.3.1 was released with a few bug fixes
- Apollo Kotlin 3.7.4 shipped with some minor improvements
- Apollo Client 3.7.4 squashed some bugs
- Apollo iOS 1.0.6 addressed some community requests and bugs
- apollo-compiler 0.6.0 brings API enhancements to your Rust code
- All GraphOS cloud supergraphs have been updated to use version 1.6.0 of the Apollo Router
- We’ve added an FAQ about Relay Connections to our tech notes
- You can now deploy our “Hack the Supergraph” example to Railway with just a couple of clicks using a template
Are you using data loaders in all of your graph’s resolvers? If you aren’t yet, learn all about handling the N+1 problem.
That’s all for now! We’ll be back soon with another update. In the meantime, join our Discord server to stay up to date with future programs and announcements. That’s also where you can give us feedback on this new format and request changes or additions. Happy querying!