Skip to content

Update npm install command for Apollo Client 4 - #12955

Merged
jerelmiller merged 1 commit into
mainfrom
jerelmiller-patch-1
Oct 3, 2025
Merged

Update npm install command for Apollo Client 4#12955
jerelmiller merged 1 commit into
mainfrom
jerelmiller-patch-1

Conversation

@jerelmiller

Copy link
Copy Markdown
Member

@glasser pointed this out when upgrading an application to v4 which already had v3 installed.

@jerelmiller
jerelmiller requested a review from a team as a code owner October 3, 2025 17:38
@changeset-bot

changeset-bot Bot commented Oct 3, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e2cc5ab

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (CJS) 42.79 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) (CJS) 37.84 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" 32.67 KB (0%)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) 26.88 KB (0%)
import { ApolloProvider } from "@apollo/client/react" 5.91 KB (0%)
import { ApolloProvider } from "@apollo/client/react" (production) 994 B (0%)
import { useQuery } from "@apollo/client/react" 7.35 KB (0%)
import { useQuery } from "@apollo/client/react" (production) 2.39 KB (0%)
import { useLazyQuery } from "@apollo/client/react" 7.11 KB (0%)
import { useLazyQuery } from "@apollo/client/react" (production) 2.16 KB (0%)
import { useMutation } from "@apollo/client/react" 6.47 KB (0%)
import { useMutation } from "@apollo/client/react" (production) 1.52 KB (0%)
import { useSubscription } from "@apollo/client/react" 6.79 KB (0%)
import { useSubscription } from "@apollo/client/react" (production) 1.82 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" 8.55 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" (production) 3.63 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" 8.34 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" (production) 3.4 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" 8.29 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" (production) 3.39 KB (0%)
import { useReadQuery } from "@apollo/client/react" 6.6 KB (0%)
import { useReadQuery } from "@apollo/client/react" (production) 1.65 KB (0%)
import { useFragment } from "@apollo/client/react" 6.66 KB (0%)
import { useFragment } from "@apollo/client/react" (production) 1.71 KB (0%)

@apollo-librarian

apollo-librarian Bot commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 1 changed, 0 removed
* (developer-tools)/react/(latest)/migrating/apollo-client-4-migration.mdx

Build ID: 8258b314bcf5c255b08e648d
Build Logs: View logs

URL: https://www.apollographql.com/docs/deploy-preview/8258b314bcf5c255b08e648d

@github-actions github-actions Bot added the auto-cleanup 🤖 label Oct 3, 2025
@jerelmiller
jerelmiller merged commit 231de94 into main Oct 3, 2025
44 of 46 checks passed
@jerelmiller
jerelmiller deleted the jerelmiller-patch-1 branch October 3, 2025 17:49
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 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