What’s New in Apollo Client 4.3
Blog post from Apollo
Apollo Client 4.3 introduces type-safety and cache-handling improvements, led by native custom scalar support, the project’s most requested feature, which lets developers define parsing, serialization, and type-checking logic once and use native values such as Date objects in query results, variables, and cache writes. The release also enables applications to declare a specific cache implementation type through TypeScript overrides, removing repeated type casts, and improves GraphQL Codegen support for incremental queries by narrowing deferred data types once data is complete. Supporting custom scalars required broader changes to how Apollo Client handles incremental @defer and @stream responses: new defer-aware cache reads and data pruning ensure transformed cache values are returned consistently while fields within incomplete incremental boundaries remain unavailable until delivered by the network. Apollo Client also redesigns cache-feud detection, always writing network results to the cache and tracking repeated missing fields to prevent infinite refetch cycles while retaining complete transformed values; it now issues warnings when this protection activates. Other updates include a minimum TypeScript version of 5.9, skipToken support in useSubscription, and stricter configuration options for the from field-policy setting.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Real-time | 2 | 649 | 155 | 80 | -85% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.