Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Apr 1, 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.0, this PR will be updated.

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

release-4.0 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.0.

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

Releases

@apollo/client@4.0.0-alpha.6

Major Changes

  • #12485 d338303 Thanks @jerelmiller! - Throw an error for queries and mutations if the link chain completes without emitting a value.

  • #12484 9a8b9ce Thanks @jerelmiller! - Remove loading, networkStatus, and partial properties on all promise-based query APIs. These properties were mostly static and were unnecessary since promise resolution guaranteed that the query was not longer loading.

    This affects the following APIs:

    • client.query
    • client.refetchQueries
    • client.reFetchObservableQueries
    • client.resetStore
    • observableQuery.fetchMore
    • observableQuery.refetch
    • observableQuery.reobserve
    • observableQuery.setVariables
    • The useLazyQuery execute function

Minor Changes

  • #12497 ff2cbe1 Thanks @jerelmiller! - Add a data property to CombinedGraphQLErrors that captures any partial data returned by the GraphQL response when errors are also returned.

  • #12488 c98b633 Thanks @phryneas! - Add a new method for static SSR of React components, prerenderStatic.
    The old methods, getDataFromTree, getMarkupFromTree and renderToStringWithData
    have been deprecated in favor of prerenderStatic.

    If used with React 19 and the prerender or prerenderToNodeStream apis from
    react-dom/static, this method can now be used to SSR-prerender suspense-enabled
    hook APIs.

@svc-apollo-docs
Copy link

svc-apollo-docs commented Apr 1, 2025

⚠️ Docs preview not attached to branch

The preview was not built because the PR's base branch release-4.0 is not in the list of sources.

An Apollo team member can comment one of the following commands to dictate which branch to attach the preview to:

  • !docs set-base-branch version-2.6
  • !docs set-base-branch main

Build ID: edf40e3089769ec11af73384

@pkg-pr-new
Copy link

pkg-pr-new bot commented Apr 1, 2025

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

commit: bfbcb4d

@netlify
Copy link

netlify bot commented Apr 1, 2025

Deploy Preview for apollo-client-docs ready!

Name Link
🔨 Latest commit bfbcb4d
🔍 Latest deploy log https://app.netlify.com/sites/apollo-client-docs/deploys/67ec467c3390ab0008d17fc7
😎 Deploy Preview https://deploy-preview-12501--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.

@apollogithubactionsbot apollogithubactionsbot bot force-pushed the changeset-release/release-4.0 branch from d758fe6 to d7f8819 Compare April 1, 2025 09:52
@github-actions
Copy link
Contributor Author

github-actions bot commented Apr 1, 2025

size-limit report 📦

Path Size
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (CJS) 41.56 KB (-0.01% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) (CJS) 37.01 KB (+0.17% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" 32.15 KB (-0.04% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) 27.04 KB (+0.01% 🔺)
import { ApolloProvider } from "@apollo/client/react" 5.26 KB (0%)
import { ApolloProvider } from "@apollo/client/react" (production) 961 B (-0.32% 🔽)
import { useQuery } from "@apollo/client/react" 7.09 KB (-0.21% 🔽)
import { useQuery } from "@apollo/client/react" (production) 2.76 KB (-0.15% 🔽)
import { useLazyQuery } from "@apollo/client/react" 6.48 KB (-0.02% 🔽)
import { useLazyQuery } from "@apollo/client/react" (production) 2.17 KB (+0.05% 🔺)
import { useMutation } from "@apollo/client/react" 6.45 KB (0%)
import { useMutation } from "@apollo/client/react" (production) 2.1 KB (+0.05% 🔺)
import { useSubscription } from "@apollo/client/react" 6.74 KB (+0.02% 🔺)
import { useSubscription } from "@apollo/client/react" (production) 2.4 KB (-0.09% 🔽)
import { useSuspenseQuery } from "@apollo/client/react" 8.32 KB (-0.04% 🔽)
import { useSuspenseQuery } from "@apollo/client/react" (production) 4.01 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" 8.15 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" (production) 3.83 KB (+0.03% 🔺)
import { useLoadableQuery } from "@apollo/client/react" 8.19 KB (+0.08% 🔺)
import { useLoadableQuery } from "@apollo/client/react" (production) 3.88 KB (+0.06% 🔺)
import { useReadQuery } from "@apollo/client/react" 5.93 KB (-0.1% 🔽)
import { useReadQuery } from "@apollo/client/react" (production) 1.61 KB (0%)
import { useFragment } from "@apollo/client/react" 5.98 KB (-0.02% 🔽)
import { useFragment } from "@apollo/client/react" (production) 1.68 KB (+1.24% 🔺)

@apollogithubactionsbot apollogithubactionsbot bot force-pushed the changeset-release/release-4.0 branch 2 times, most recently from 5faa6cd to dbcd829 Compare April 1, 2025 15:26
@apollogithubactionsbot apollogithubactionsbot bot force-pushed the changeset-release/release-4.0 branch from dbcd829 to bfbcb4d Compare April 1, 2025 20:03
@jerelmiller jerelmiller merged commit 4665b0c into release-4.0 Apr 1, 2025
47 of 49 checks passed
@jerelmiller jerelmiller deleted the changeset-release/release-4.0 branch April 1, 2025 20:09
@github-actions github-actions bot added the auto-cleanup 🤖 label Apr 1, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 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.

3 participants