-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Version Packages (rc) #12778
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
Open
github-actions
wants to merge
1
commit into
release-4.0
Choose a base branch
from
changeset-release/release-4.0
base: release-4.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Version Packages (rc) #12778
+60
−5
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: |
8d4b351
to
7a6608a
Compare
size-limit report 📦
|
7a6608a
to
1de8991
Compare
|
1de8991
to
32f946b
Compare
🛠️ Docs preview building...The preview is currently being built. Build ID: b7a1d6b335c1f5098ee32518 |
32f946b
to
07c8e4a
Compare
🛠️ Docs preview building...The preview is currently being built. Build ID: b9c39504ca77964d8cad0af8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.0
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onrelease-4.0
.Releases
@apollo/[email protected]
Patch Changes
454ec78
Thanks @jerelmiller! - Don't exportgql
from@apollo/client/react
entrypoint. Import from@apollo/client
instead.@apollo/[email protected]
Major Changes
#12776
bce9b74
Thanks @jerelmiller! - Report masked fragments as complete even when a nested masked fragment contains partial data.#12774
511b4f3
Thanks @jerelmiller! - Apply document transforms before reading data from the cache forclient.readQuery
,client.readFragment
,client.watchFragment
,useFragment
, anduseSuspenseFragment
.NOTE: This change does not affect the equivalent
cache.*
APIs. To read data from the cache without first running document transforms, runcache.readQuery
,cache.readFragment
, etc.Minor Changes
bce9b74
Thanks @jerelmiller! - AdddataState
to the value emitted fromclient.watchFragment
.Patch Changes
#12776
bce9b74
Thanks @jerelmiller! -cache.watchFragment
now returns anUnmasked<TData>
result sincecache.watchFragment
does not mask fragment spreads.#12370
0517163
Thanks @phryneas! -InMemoryCache
: Fields with an empty argument object are now saved the same way as fields without arguments.Previously, it was possible that the reponses for these two queries would be stored differently in the cache:
would be stored as
myField
and
would be stored as
myField({"optional":"Foo"})
if called with{optional: "Foo"}
and asmyField({})
if called without the optional argument.The cases
myField
andmyField({})
are equivalent from the perspective of a GraphQL server, and so in the future both of these will be stored asmyField
in the cache.#12775
454ec78
Thanks @jerelmiller! - Don't exportgql
from@apollo/client/react
entrypoint. Import from@apollo/client
instead.