Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated partialRefetch option #12224

Merged
merged 9 commits into from
Dec 16, 2024

Conversation

jerelmiller
Copy link
Member

Closes #12190

Removes the deprecated partialRefetch option.

@jerelmiller jerelmiller added this to the Release 4.0 milestone Dec 13, 2024
@jerelmiller jerelmiller requested a review from a team as a code owner December 13, 2024 20:28
@svc-apollo-docs
Copy link

svc-apollo-docs commented Dec 13, 2024

✅ Docs Preview Ready

Configuration
{
  "repoOverrides": {
    "apollographql/[email protected]": {
      "remote": {
        "owner": "apollographql",
        "repo": "apollo-client",
        "branch": "jerel/remove-partial-refetch"
      }
    }
  }
}
Name Link

Commit

692ed02

Preview

https://www.apollographql.com/docs/deploy-preview/30f3b6ce7f447efa7990

Build ID

30f3b6ce7f447efa7990

File Changes

0 new, 1 changed, 0 removed
* (developer-tools)/react/(latest)/integrations/react-native.md

Pages

1


1 pages published. Build will be available for 30 days.

Copy link

changeset-bot bot commented Dec 13, 2024

🦋 Changeset detected

Latest commit: 692ed02

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@apollo/client Major

Not sure what this means? Click here to learn what changesets are.

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

@jerelmiller jerelmiller changed the base branch from main to release-4.0 December 13, 2024 20:28
Copy link

netlify bot commented Dec 13, 2024

Deploy Preview for apollo-client-docs ready!

Name Link
🔨 Latest commit 692ed02
🔍 Latest deploy log https://app.netlify.com/sites/apollo-client-docs/deploys/675ff3ba94e02c0008b02a4f
😎 Deploy Preview https://deploy-preview-12224--apollo-client-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines -726 to -727
// WARNING: SIDE-EFFECTS IN THE RENDER FUNCTION
// this could call unsafeHandlePartialRefetch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@github-actions github-actions bot added the auto-cleanup 🤖 label Dec 16, 2024
Copy link

pkg-pr-new bot commented Dec 16, 2024

npm i https://pkg.pr.new/@apollo/client@12224

commit: 692ed02

Copy link
Contributor

size-limit report 📦

Path Size
dist/apollo-client.min.cjs 40.56 KB (-0.2% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" 49.93 KB (-0.18% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" (production) 47.06 KB (-0.17% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" 36.13 KB (-0.03% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" (production) 33.54 KB (0%)
import { ApolloProvider } from "dist/react/index.js" 1.26 KB (0%)
import { ApolloProvider } from "dist/react/index.js" (production) 1.24 KB (0%)
import { useQuery } from "dist/react/index.js" 5.12 KB (-1.73% 🔽)
import { useQuery } from "dist/react/index.js" (production) 4.21 KB (-2.07% 🔽)
import { useLazyQuery } from "dist/react/index.js" 5.61 KB (-1.65% 🔽)
import { useLazyQuery } from "dist/react/index.js" (production) 4.68 KB (-2.05% 🔽)
import { useMutation } from "dist/react/index.js" 3.62 KB (0%)
import { useMutation } from "dist/react/index.js" (production) 2.84 KB (0%)
import { useSubscription } from "dist/react/index.js" 4.43 KB (+0.05% 🔺)
import { useSubscription } from "dist/react/index.js" (production) 3.48 KB (-0.06% 🔽)
import { useSuspenseQuery } from "dist/react/index.js" 5.51 KB (0%)
import { useSuspenseQuery } from "dist/react/index.js" (production) 4.17 KB (0%)
import { useBackgroundQuery } from "dist/react/index.js" 5.01 KB (0%)
import { useBackgroundQuery } from "dist/react/index.js" (production) 3.66 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" 5.09 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" (production) 3.74 KB (0%)
import { useReadQuery } from "dist/react/index.js" 3.41 KB (0%)
import { useReadQuery } from "dist/react/index.js" (production) 3.35 KB (0%)
import { useFragment } from "dist/react/index.js" 2.36 KB (0%)
import { useFragment } from "dist/react/index.js" (production) 2.31 KB (0%)

@phryneas phryneas merged commit 51e6c0f into release-4.0 Dec 16, 2024
44 checks passed
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.

[4.0] Remove deprecated partialRefetch option
3 participants