Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 2, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@apollo/client@4.0.4

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"

@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from ff1312b to 1d00700 Compare September 2, 2025 16:00
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1d00700 to ace112e Compare September 2, 2025 16:08
@github-actions github-actions bot added the auto-cleanup 🤖 label Sep 2, 2025
@jerelmiller jerelmiller merged commit b3cbb22 into main Sep 2, 2025
34 of 35 checks passed
@jerelmiller jerelmiller deleted the changeset-release/main branch September 2, 2025 16:50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants