-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Version Packages (alpha) #12501
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
Merged
Merged
Version Packages (alpha) #12501
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
commit: |
✅ Deploy Preview for apollo-client-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
d758fe6 to
d7f8819
Compare
Contributor
Author
size-limit report 📦
|
5faa6cd to
dbcd829
Compare
dbcd829 to
bfbcb4d
Compare
jerelmiller
approved these changes
Apr 1, 2025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.0is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonrelease-4.0.Releases
@apollo/client@4.0.0-alpha.6
Major Changes
#12485
d338303Thanks @jerelmiller! - Throw an error for queries and mutations if the link chain completes without emitting a value.#12484
9a8b9ceThanks @jerelmiller! - Removeloading,networkStatus, andpartialproperties 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.queryclient.refetchQueriesclient.reFetchObservableQueriesclient.resetStoreobservableQuery.fetchMoreobservableQuery.refetchobservableQuery.reobserveobservableQuery.setVariablesuseLazyQueryexecutefunctionMinor Changes
#12497
ff2cbe1Thanks @jerelmiller! - Add adataproperty toCombinedGraphQLErrorsthat captures any partial data returned by the GraphQL response whenerrorsare also returned.#12488
c98b633Thanks @phryneas! - Add a new method for static SSR of React components,prerenderStatic.The old methods,
getDataFromTree,getMarkupFromTreeandrenderToStringWithDatahave been deprecated in favor of
prerenderStatic.If used with React 19 and the
prerenderorprerenderToNodeStreamapis fromreact-dom/static, this method can now be used to SSR-prerender suspense-enabledhook APIs.