Change8

v4.0.0-alpha.13

Breaking Changes
📦 apollo-client
2 breaking🔧 5 symbols

Summary

Apollo Client introduces a restructuring of utility modules and removal of experimental testing utilities, requiring import path updates and migration to the GraphQL Testing Library.

⚠️ Breaking Changes

  • Utilities moved from `@apollo/client/utilities` to `@apollo/client/utilities/internal` may break existing imports; update import paths to the new location.
  • The `@apollo/client/testing/experimental` test utilities have been removed; replace them with the GraphQL Testing Library.

Migration Steps

  1. Update any imports that referenced utilities from `@apollo/client/utilities` to import from `@apollo/client/utilities/internal`.
  2. Remove usage of `@apollo/client/testing/experimental` and switch to the GraphQL Testing Library (https://github.com/apollographql/graphql-testing-library).

🔧 Affected Symbols

@apollo/client/utilities@apollo/client/utilities/internal@apollo/client/testing/experimentalHttpLinkBatchHttpLink