-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
documentTransform
: use optimism
and WeakCache
#11389
Changes from 10 commits
d5d8cb1
29bf59d
d64eee1
bd40e8e
c712446
f84da80
fed211a
685cf3e
28dd6ee
2c1c8bd
1ededf5
8698dcd
baafd93
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@apollo/client": patch | ||
--- | ||
|
||
`documentTransform`: use `optimism` and `WeakCache` instead of directly storing data on the `Trie` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@apollo/client": patch | ||
--- | ||
|
||
`print`: use `WeakCache` instead of `WeakMap` | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"dist/apollo-client.min.cjs": 38164, | ||
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32188 | ||
"dist/apollo-client.min.cjs": 38179, | ||
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32209 | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,12 +90,13 @@ | |
}, | ||
"dependencies": { | ||
"@graphql-typed-document-node/core": "^3.1.1", | ||
"@wry/caches": "^1.0.0", | ||
"@wry/context": "^0.7.3", | ||
"@wry/equality": "^0.5.6", | ||
"@wry/trie": "^0.4.3", | ||
"graphql-tag": "^2.12.6", | ||
"hoist-non-react-statics": "^3.3.2", | ||
"optimism": "^0.17.5", | ||
"optimism": "^0.18.0-pre.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can use the stable 0.18.0 version that is now released. This was merged into |
||
"prop-types": "^15.7.2", | ||
"rehackt": "0.0.3", | ||
"response-iterator": "^0.2.6", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we just need to merge
release-3.9
back into this branch? Odd this made it into the diff.