-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[js] Update dependency @apollo/client to v3.12.4 #14752
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
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
CI Failure Feedback 🧐(Checks updated until commit 45a2060)
|
19dc751 to
7e55f9e
Compare
d6aeb65 to
1448de0
Compare
1448de0 to
4331289
Compare
4331289 to
cee5674
Compare
cee5674 to
ab07706
Compare
diemol
approved these changes
Dec 27, 2024
48ea102 to
67297d5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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 contains the following updates:
3.11.9->3.12.4Release Notes
apollographql/apollo-client (@apollo/client)
v3.12.4Compare Source
Patch Changes
4334d30Thanks @charpeni! - Fix an issue withrefetchQuerieswhere comparingDocumentNodes internally by references could lead to an unknown query, even though theDocumentNodewas indeed an active query—with a different reference.v3.12.3Compare Source
Patch Changes
#12214
8bfee88Thanks @phryneas! - Data masking: prevent infinite recursion ofContainsFragmentsRefstype#12204
851deb0Thanks @jerelmiller! - FixUnmaskedunwrapping tuple types into an array of their subtypes.#12204
851deb0Thanks @jerelmiller! - EnsureMaybeMaskeddoes not try and unwrap types that contain index signatures.#12204
851deb0Thanks @jerelmiller! - EnsureMaybeMaskeddoes not try to unwrap the type asUnmaskedif the type containsany.v3.12.2Compare Source
Patch Changes
84af347Thanks @jerelmiller! - Update peer deps to allow for React 19 stable release.v3.12.1Compare Source
Patch Changes
e1efe74Thanks @phryneas! - Fix import extension in masking entry point.v3.12.0Compare Source
Minor Changes
Data masking 🎭
#12042
1c0ecbfThanks @jerelmiller! - Introduces data masking in Apollo Client.Data masking enforces that only the fields requested by the query or fragment is available to that component. Data masking is best paired with colocated fragments.
To enable data masking in Apollo Client, set the
dataMaskingoption totrue.For detailed information on data masking, including how to incrementally adopt it in an existing applications, see the data masking documentation.
#12131
21c3f08Thanks @jerelmiller! - Allownullas a validfromvalue inuseFragment.More Patch Changes
#12126
d10d702Thanks @jerelmiller! - Maintain the existing document if its unchanged by the codemod and move to more naive whitespace formatting#12150
9ed1e1eThanks @jerelmiller! - Fix issue when usingUnmaskedwith older versions of TypeScript when used with array fields.#12116
8ae6e4eThanks @jerelmiller! - Prevent field accessor warnings when using@unmask(mode: "migrate")on objects that are passed intocache.identify.#12120
6a98e76Thanks @jerelmiller! - Provide a codemod that applies@unmaskto all named fragments for all operations and fragments.Learn how to use the codemod in the incremental adoption documentation.
#12134
cfaf4efThanks @jerelmiller! - Fix issue where data went missing when an unmasked fragment in migrate mode selected fields that the parent did not.#12154
d933defThanks @phryneas! - Data masking types: handle overlapping nested array types and fragments on interface types.#12139
5a53e15Thanks @phryneas! - Fix issue where masked data would sometimes get returned when the field was part of a child fragment from a fragment unmasked by the parent query.#12123
8422a30Thanks @jerelmiller! - Warn when using data masking with "no-cache" operations.#12139
5a53e15Thanks @phryneas! - Fix issue where the warning emitted by@unmask(mode: "migrate")would trigger unnecessarily when the fragment was used alongside a masked fragment inside an inline fragment.#12114
1d4ce00Thanks @jerelmiller! - Fix error when combining@unmaskand@deferdirectives on a fragment spread when data masking is enabled.#12130
1e7d009Thanks @jerelmiller! - Fix error thrown when applying unmask migrate mode warnings on interface types with selection sets that contain inline fragment conditions.#12152
78137ecThanks @phryneas! - Add a helper that will skip the TS unmasking alorithm when no fragments are present on type level#12126
d10d702Thanks @jerelmiller! - Ensure documents unchanged by the codemod are left untouched.#12133
a6ece37Thanks @jerelmiller! - Ensurenullis retained in nullable types when unmasking a type with theUnmaskedhelper type.#12139
5a53e15Thanks @phryneas! - Fix issue that threw errors when masking partial data with@unmask(mode: "migrate").v3.11.10Compare Source
Patch Changes
1765668Thanks @mgmolisani! - Fixed a bug when evaluating the devtools flag with the new syntaxdevtools.enabledthat could result totruewhen explicitly set tofalse.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.