Change8

v3.13.1

Breaking Changes
📦 apollo-client
1 breaking1 features🔧 2 symbols

Summary

Patch release introduces a breaking change to ObservableQuery.refetch behavior and adds a new exported type UseSuspenseFragmentOptions.

⚠️ Breaking Changes

  • ObservableQuery.refetch no longer refetches when the fetchPolicy is "cache-and-network"; it now switches to "network-only". Update code to use the desired fetchPolicy explicitly or handle refetch manually.

Migration Steps

  1. If you relied on ObservableQuery.refetch with a "cache-and-network" fetchPolicy, change the fetchPolicy to "network-only" or implement custom refetch logic.

✨ New Features

  • Exported the UseSuspenseFragmentOptions type, allowing it to be imported by library users.

🔧 Affected Symbols

ObservableQuery.refetchUseSuspenseFragmentOptions