Skip to content

Update dependency @apollo/client to v4#4570

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-@apolloclient-and-related-dependencies
Closed

Update dependency @apollo/client to v4#4570
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-@apolloclient-and-related-dependencies

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 24, 2025

This PR contains the following updates:

Package Change Age Confidence
@apollo/client (source) ^3.13.8 -> ^4.0.9 age confidence
@apollo/client (source) ^3.7.0 -> ^3.7.0 || ^4.0.0 age confidence
@apollo/client (source) ^3.7.0 -> ^4.0.9 age confidence

Release Notes

apollographql/apollo-client (@​apollo/client)

v4.0.9

Compare Source

Patch Changes
  • #​12993 8f3bc9b Thanks @​jerelmiller! - Fix an issue where switching from options with variables to skipToken with useSuspenseQuery and useBackgroundQuery would create a new ObservableQuery. This could cause unintended refetches where variables were absent in the request when the query was referenced with refetchQueries.

v4.0.8

Compare Source

Patch Changes

v4.0.7

Compare Source

Patch Changes

v4.0.6

Compare Source

Patch Changes
  • #​12937 3b0d89b Thanks @​phryneas! - Fix a problem with fetchMore where the loading state wouldn't reset if the result wouldn't result in a data update.

v4.0.5

Compare Source

Patch Changes

v4.0.4

Compare Source

Patch Changes
  • #​12892 db8a04b Thanks @​jerelmiller! - Prevent unhandled rejections from the promise returned by calling the mutate function from the useMutation hook.

  • #​12899 5352c12 Thanks @​phryneas! - Fix an issue when invariant is called by external libraries when no dev error message handler is loaded.

  • #​12895 71f2517 Thanks @​jerelmiller! - Support skipToken with useQuery to provide a more type-safe way to skip query execution.

    import { skipToken, useQuery } from "@​apollo/client/react";
    
    // Use `skipToken` in place of `skip: true` for better type safety
    // for required variables
    const { data } = useQuery(QUERY, id ? { variables: { id } } : skipToken);

    Note: this change is provided as a patch within the 4.0 minor version because the changes to TypeScript validation with required variables in version 4.0 made using the skip option more difficult.

  • #​12900 c0d5be7 Thanks @​phryneas! - Use named export equal instead of default from "@​wry/equality"

v4.0.3

Compare Source

Patch Changes

v4.0.2

Compare Source

Patch Changes

v4.0.1

Compare Source

Patch Changes
  • #​12876 b00f231 Thanks @​phryneas! - Fix CJS build output for invariantErrorCodes

  • #​12866 0d1614a Thanks @​jerelmiller! - Export isNetworkStatusInFlight from @apollo/client/utilities. Add isNetworkStatusSettled to @apollo/client/utilities and re-export it from @apollo/client with a deprecation.

v4.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-@apolloclient-and-related-dependencies branch from 06fe869 to cf2bff5 Compare September 25, 2025 20:10
@renovate renovate bot force-pushed the renovate/major-@apolloclient-and-related-dependencies branch from cf2bff5 to 483bb58 Compare October 3, 2025 20:28
@renovate renovate bot force-pushed the renovate/major-@apolloclient-and-related-dependencies branch from 483bb58 to a5d2a44 Compare October 21, 2025 10:57
@renovate renovate bot force-pushed the renovate/major-@apolloclient-and-related-dependencies branch 4 times, most recently from fa5d90e to 580208b Compare November 6, 2025 13:43
@renovate renovate bot force-pushed the renovate/major-@apolloclient-and-related-dependencies branch 3 times, most recently from 6f93a52 to c9aaa7c Compare November 13, 2025 12:40
@renovate renovate bot force-pushed the renovate/major-@apolloclient-and-related-dependencies branch 3 times, most recently from bbe02aa to b581529 Compare November 24, 2025 14:58
@renovate renovate bot force-pushed the renovate/major-@apolloclient-and-related-dependencies branch from b581529 to 4fe73e9 Compare November 24, 2025 15:25
@johnnyomair
Copy link
Collaborator

This major version has a lot of breaking changes and requires significant effort. We'll postpone this upgrade.

@renovate
Copy link
Contributor Author

renovate bot commented Nov 25, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/major-@apolloclient-and-related-dependencies branch November 25, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant