@graphcommerce/graphql 7.1.0-canary.9 → 8.0.0-canary.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,119 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.0-canary.69
|
|
4
|
+
|
|
5
|
+
## 7.1.0-canary.68
|
|
6
|
+
|
|
7
|
+
## 7.1.0-canary.67
|
|
8
|
+
|
|
9
|
+
## 7.1.0-canary.66
|
|
10
|
+
|
|
11
|
+
## 7.1.0-canary.65
|
|
12
|
+
|
|
13
|
+
## 7.1.0-canary.64
|
|
14
|
+
|
|
15
|
+
## 7.1.0-canary.63
|
|
16
|
+
|
|
17
|
+
## 7.1.0-canary.62
|
|
18
|
+
|
|
19
|
+
## 7.1.0-canary.61
|
|
20
|
+
|
|
21
|
+
## 7.1.0-canary.60
|
|
22
|
+
|
|
23
|
+
## 7.1.0-canary.59
|
|
24
|
+
|
|
25
|
+
## 7.1.0-canary.58
|
|
26
|
+
|
|
27
|
+
## 7.1.0-canary.57
|
|
28
|
+
|
|
29
|
+
## 7.1.0-canary.56
|
|
30
|
+
|
|
31
|
+
## 7.1.0-canary.55
|
|
32
|
+
|
|
33
|
+
## 7.1.0-canary.54
|
|
34
|
+
|
|
35
|
+
## 7.1.0-canary.53
|
|
36
|
+
|
|
37
|
+
## 7.1.0-canary.52
|
|
38
|
+
|
|
39
|
+
## 7.1.0-canary.51
|
|
40
|
+
|
|
41
|
+
## 7.1.0-canary.50
|
|
42
|
+
|
|
43
|
+
## 7.1.0-canary.49
|
|
44
|
+
|
|
45
|
+
## 7.1.0-canary.48
|
|
46
|
+
|
|
47
|
+
## 7.1.0-canary.47
|
|
48
|
+
|
|
49
|
+
## 7.1.0-canary.46
|
|
50
|
+
|
|
51
|
+
## 7.1.0-canary.45
|
|
52
|
+
|
|
53
|
+
## 7.1.0-canary.38
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`4a29bf7e0`](https://github.com/graphcommerce-org/graphcommerce/commit/4a29bf7e0d6cfa4ee360ef3f28b779689f6c1e11) - Include @connection, @export, @defer and @nonreactive in schema, so they can be used, in queries ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
58
|
+
|
|
59
|
+
- [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`072cd14f2`](https://github.com/graphcommerce-org/graphcommerce/commit/072cd14f29b58b907ce04ee294e8fb9c6190556a) - Allow configurable_product_options_selection to be stored in the localStorage so queries can be resolved correctly ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
60
|
+
|
|
61
|
+
## 7.1.0-canary.37
|
|
62
|
+
|
|
63
|
+
## 7.1.0-canary.36
|
|
64
|
+
|
|
65
|
+
## 7.1.0-canary.35
|
|
66
|
+
|
|
67
|
+
## 7.1.0-canary.34
|
|
68
|
+
|
|
69
|
+
## 7.1.0-canary.33
|
|
70
|
+
|
|
71
|
+
## 7.1.0-canary.32
|
|
72
|
+
|
|
73
|
+
## 7.1.0-canary.31
|
|
74
|
+
|
|
75
|
+
## 7.1.0-canary.30
|
|
76
|
+
|
|
77
|
+
## 7.1.0-canary.29
|
|
78
|
+
|
|
79
|
+
## 7.1.0-canary.28
|
|
80
|
+
|
|
81
|
+
## 7.1.0-canary.27
|
|
82
|
+
|
|
83
|
+
## 7.1.0-canary.26
|
|
84
|
+
|
|
85
|
+
## 7.1.0-canary.25
|
|
86
|
+
|
|
87
|
+
## 7.1.0-canary.24
|
|
88
|
+
|
|
89
|
+
## 7.1.0-canary.23
|
|
90
|
+
|
|
91
|
+
## 7.1.0-canary.22
|
|
92
|
+
|
|
93
|
+
## 7.1.0-canary.21
|
|
94
|
+
|
|
95
|
+
## 7.1.0-canary.20
|
|
96
|
+
|
|
97
|
+
## 7.1.0-canary.19
|
|
98
|
+
|
|
99
|
+
## 7.1.0-canary.18
|
|
100
|
+
|
|
101
|
+
## 7.1.0-canary.17
|
|
102
|
+
|
|
103
|
+
## 7.1.0-canary.16
|
|
104
|
+
|
|
105
|
+
## 7.1.0-canary.15
|
|
106
|
+
|
|
107
|
+
## 7.1.0-canary.14
|
|
108
|
+
|
|
109
|
+
## 7.1.0-canary.13
|
|
110
|
+
|
|
111
|
+
## 7.1.0-canary.12
|
|
112
|
+
|
|
113
|
+
## 7.1.0-canary.11
|
|
114
|
+
|
|
115
|
+
## 7.1.0-canary.10
|
|
116
|
+
|
|
3
117
|
## 7.1.0-canary.9
|
|
4
118
|
|
|
5
119
|
## 7.1.0-canary.8
|
package/apollo-client.graphql
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
"
|
|
1
|
+
"""
|
|
2
|
+
The @client directive allows you to resolve client-only data alongside your server data. These fields are not sent to the GraphQL server.
|
|
3
|
+
"""
|
|
2
4
|
directive @client on FIELD
|
|
5
|
+
|
|
6
|
+
"""
|
|
7
|
+
The @connection directive allows you to specify a custom cache key for paginated results. For more information, see this section on the [@connection directive](https://www.apollographql.com/docs/react/caching/advanced-topics/#the-connection-directive).
|
|
8
|
+
"""
|
|
9
|
+
directive @connection(key: String, filter: [String]) on FIELD
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
This directive enables your queries to receive data for specific fields incrementally, instead of receiving all field data at the same time. This is helpful whenever some fields in a query take much longer to resolve than others.
|
|
13
|
+
"""
|
|
14
|
+
directive @defer(if: Boolean! = true, label: String) on FRAGMENT_SPREAD | INLINE_FRAGMENT
|
|
15
|
+
|
|
16
|
+
# """
|
|
17
|
+
# Directs the executor to stream plural fields when the `if` argument is true or undefined.
|
|
18
|
+
# """
|
|
19
|
+
# directive @stream(if: Boolean! = true, label: String, initialCount: Int! = 0) on FIELD
|
|
20
|
+
|
|
21
|
+
directive @export(exportName: String!) on FIELD
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
The @nonreactive directive can be used to mark query fields or fragment spreads and is used to indicate that changes to the data contained within the subtrees marked @nonreactive should not trigger rerendering.
|
|
25
|
+
"""
|
|
26
|
+
directive @nonreactive on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
|
|
@@ -31,7 +31,6 @@ export const persistenceMapper = (data: string): Promise<string> => {
|
|
|
31
31
|
'ROOT_QUERY.checkoutAgreements',
|
|
32
32
|
'ROOT_QUERY.storeConfig',
|
|
33
33
|
'ROOT_QUERY.__type*',
|
|
34
|
-
'ConfigurableProduct:*.configurable_product_options_selection*',
|
|
35
34
|
'*Product:{"uid":"*"}.crosssell_products',
|
|
36
35
|
])
|
|
37
36
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/graphql",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "8.0.0-canary.69",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@
|
|
17
|
-
"@graphcommerce/graphql-codegen-
|
|
18
|
-
"@graphcommerce/graphql-codegen-relay-optimizer-plugin": "7.1.0-canary.9",
|
|
16
|
+
"@graphcommerce/graphql-codegen-near-operation-file": "8.0.0-canary.69",
|
|
17
|
+
"@graphcommerce/graphql-codegen-relay-optimizer-plugin": "8.0.0-canary.69",
|
|
19
18
|
"@graphql-codegen/add": "5.0.0",
|
|
20
19
|
"@graphql-codegen/fragment-matcher": "5.0.0",
|
|
21
20
|
"@graphql-codegen/introspection": "4.0.0",
|
|
@@ -27,12 +26,11 @@
|
|
|
27
26
|
"@graphql-codegen/typescript-operations": "4.0.1",
|
|
28
27
|
"apollo3-cache-persist": "^0.14.1"
|
|
29
28
|
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@graphcommerce/eslint-config-pwa": "7.1.0-canary.9",
|
|
32
|
-
"@graphcommerce/prettier-config-pwa": "7.1.0-canary.9",
|
|
33
|
-
"@graphcommerce/typescript-config-pwa": "7.1.0-canary.9"
|
|
34
|
-
},
|
|
35
29
|
"peerDependencies": {
|
|
30
|
+
"@apollo/client": "^3",
|
|
31
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.0-canary.69",
|
|
32
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.0-canary.69",
|
|
33
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.0-canary.69",
|
|
36
34
|
"graphql": "^16.7.1",
|
|
37
35
|
"react": "^18.2.0",
|
|
38
36
|
"react-dom": "^18.2.0"
|