Skip to content

Version Packages (alpha)#12962

Merged
jerelmiller merged 1 commit intorelease-4.1from
changeset-release/release-4.1
Oct 10, 2025
Merged

Version Packages (alpha)#12962
jerelmiller merged 1 commit intorelease-4.1from
changeset-release/release-4.1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Oct 10, 2025

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

⚠️⚠️⚠️⚠️⚠️⚠️

release-4.1 is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on release-4.1.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@apollo/[email protected]

Minor Changes

  • #12959 556e837 Thanks @jerelmiller! - You can now provide a callback function as the context option on the mutate function returned by useMutation. The callback function is called with the value of the context option provided to the useMutation hook. This is useful if you'd like to merge the context object provided to the useMutation hook with a value provided to the mutate function.

    function MyComponent() {
      const [mutate, result] = useMutation(MUTATION, {
        context: { foo: true },
      });
    
      async function runMutation() {
        await mutate({
          // sends context as { foo: true, bar: true }
          context: (hookContext) => ({ ...hookContext, bar: true }),
        });
      }
    
      // ...
    }

Patch Changes

  • #12954 1c82eaf Thanks @jerelmiller! - Ensure an error is thrown when @stream is detected and an incrementalDelivery handler is not configured.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Oct 10, 2025

npm i https://pkg.pr.new/apollographql/apollo-client/@apollo/client@12962

commit: 1427a6c

@apollo-librarian
Copy link
Copy Markdown

apollo-librarian bot commented Oct 10, 2025

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 4 changed, 0 removed
* (developer-tools)/react/(latest)/data/mutations.mdx
* (developer-tools)/react/(latest)/data/queries.mdx
* (developer-tools)/react/(latest)/migrating/apollo-client-4-migration.mdx
* (developer-tools)/react/(latest)/performance/server-side-rendering.mdx

Build ID: 1f5259719aa7595f3235508d
Build Logs: View logs

URL: https://www.apollographql.com/docs/deploy-preview/1f5259719aa7595f3235508d

@apollogithubactionsbot apollogithubactionsbot bot force-pushed the changeset-release/release-4.1 branch from 9398081 to 1427a6c Compare October 10, 2025 15:42
@github-actions github-actions bot added the auto-cleanup 🤖 label Oct 10, 2025
@github-actions
Copy link
Copy Markdown
Contributor Author

size-limit report 📦

Path Size
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (CJS) 43.73 KB (+0.07% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) (CJS) 38.47 KB (-0.27% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" 33.08 KB (-0.07% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) 27.11 KB (+0.03% 🔺)
import { ApolloProvider } from "@apollo/client/react" 6.12 KB (-0.15% 🔽)
import { ApolloProvider } from "@apollo/client/react" (production) 1001 B (0%)
import { useQuery } from "@apollo/client/react" 7.58 KB (+0.22% 🔺)
import { useQuery } from "@apollo/client/react" (production) 2.39 KB (0%)
import { useLazyQuery } from "@apollo/client/react" 7.31 KB (0%)
import { useLazyQuery } from "@apollo/client/react" (production) 2.16 KB (0%)
import { useMutation } from "@apollo/client/react" 6.73 KB (+0.49% 🔺)
import { useMutation } from "@apollo/client/react" (production) 1.54 KB (+0.07% 🔺)
import { useSubscription } from "@apollo/client/react" 6.99 KB (-0.1% 🔽)
import { useSubscription } from "@apollo/client/react" (production) 1.82 KB (+0.06% 🔺)
import { useSuspenseQuery } from "@apollo/client/react" 8.78 KB (-0.02% 🔽)
import { useSuspenseQuery } from "@apollo/client/react" (production) 3.67 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" 8.56 KB (+0.05% 🔺)
import { useBackgroundQuery } from "@apollo/client/react" (production) 3.44 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" 8.52 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" (production) 3.43 KB (0%)
import { useReadQuery } from "@apollo/client/react" 6.8 KB (+0.03% 🔺)
import { useReadQuery } from "@apollo/client/react" (production) 1.66 KB (0%)
import { useFragment } from "@apollo/client/react" 6.86 KB (-0.05% 🔽)
import { useFragment } from "@apollo/client/react" (production) 1.71 KB (0%)

@jerelmiller jerelmiller merged commit f8dab9d into release-4.1 Oct 10, 2025
43 of 46 checks passed
@jerelmiller jerelmiller deleted the changeset-release/release-4.1 branch October 10, 2025 15:50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 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.

1 participant