Skip to content

Conversation

@svc-secops
Copy link
Contributor

@svc-secops svc-secops commented Sep 5, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) 4.0.3 -> 4.0.12 age adoption passing confidence

Release Notes

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

v4.0.12

Compare Source

Patch Changes

v4.0.11

Compare Source

Patch Changes
  • #​13050 8020829 Thanks @​phryneas! - Replace usage of findLast with more backwards-compatible methods.

  • #​13049 05638de Thanks @​phryneas! - Fixes an issue where queries starting with skipToken or lazy queries from useLazyQuery were included in client.refetchQueries() before they had been executed for the first time. While generally queries with a standby fetchPolicy should be included in refetch, these queries never had variables passed in, so they should be excluded until they have run once and received their actual variables.

    These queries are now properly excluded from refetch operations until after their initial execution.

    This change adds a new hidden option to client.watchQuery, [variablesUnknownSymbol], which may be set true for queries starting with a fetchPolicy of standby. It will only be applied when creating the ObservableQuery instance and cannot be changed later. This flag indicates that the query's variables are not yet known, and thus it should be excluded from refetch operations until they are.
    This option is not meant for everyday use and is intended for framework integrations only.

v4.0.10

Compare Source

Patch Changes

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"


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


This PR has been generated by Renovate Bot.

@svc-secops svc-secops requested a review from a team as a code owner September 5, 2025 12:14
@svc-secops svc-secops added the dependencies Pull requests that update a dependency file label Sep 5, 2025
@svc-secops svc-secops force-pushed the renovate/apollo-graphql-packages branch from 3ce9842 to 38e817a Compare September 16, 2025 11:02
@svc-secops svc-secops changed the title fix(deps): update dependency @apollo/client to v4.0.4 fix(deps): update dependency @apollo/client to v4.0.5 Sep 16, 2025
@svc-secops svc-secops force-pushed the renovate/apollo-graphql-packages branch from 38e817a to fc18f53 Compare September 30, 2025 11:37
@svc-secops svc-secops changed the title fix(deps): update dependency @apollo/client to v4.0.5 fix(deps): update dependency @apollo/client to v4.0.6 Sep 30, 2025
@svc-secops svc-secops force-pushed the renovate/apollo-graphql-packages branch from fc18f53 to 8e42377 Compare October 4, 2025 11:12
@svc-secops svc-secops changed the title fix(deps): update dependency @apollo/client to v4.0.6 fix(deps): update dependency @apollo/client to v4.0.7 Oct 4, 2025
@svc-secops svc-secops force-pushed the renovate/apollo-graphql-packages branch from 8e42377 to d3ba312 Compare October 31, 2025 13:05
@svc-secops svc-secops changed the title fix(deps): update dependency @apollo/client to v4.0.7 fix(deps): update dependency @apollo/client to v4.0.8 Oct 31, 2025
@svc-secops svc-secops force-pushed the renovate/apollo-graphql-packages branch from d3ba312 to 41ccf50 Compare November 4, 2025 12:47
@svc-secops svc-secops changed the title fix(deps): update dependency @apollo/client to v4.0.8 fix(deps): update dependency @apollo/client to v4.0.9 Nov 4, 2025
@svc-secops svc-secops force-pushed the renovate/apollo-graphql-packages branch from 41ccf50 to e40606c Compare December 18, 2025 13:28
@svc-secops svc-secops changed the title fix(deps): update dependency @apollo/client to v4.0.9 fix(deps): update dependency @apollo/client to v4.0.10 Dec 18, 2025
@svc-secops svc-secops force-pushed the renovate/apollo-graphql-packages branch from e40606c to 604d91d Compare December 25, 2025 12:29
@svc-secops svc-secops changed the title fix(deps): update dependency @apollo/client to v4.0.10 fix(deps): update dependency @apollo/client to v4.0.11 Dec 25, 2025
@svc-secops svc-secops force-pushed the renovate/apollo-graphql-packages branch from 604d91d to 9180954 Compare January 15, 2026 14:15
@svc-secops svc-secops changed the title fix(deps): update dependency @apollo/client to v4.0.11 fix(deps): update dependency @apollo/client to v4.0.12 Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants