@graphcommerce/graphql 10.0.0-canary.72 → 10.0.1-canary.0
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,42 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 10.0.
|
|
3
|
+
## 10.0.1-canary.0
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## 10.0.0-canary.70
|
|
8
|
-
|
|
9
|
-
### Major Changes
|
|
10
|
-
|
|
11
|
-
- [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`c96dfcd`](https://github.com/graphcommerce-org/graphcommerce/commit/c96dfcdca981baca387c270ad9e2b9515cdd00cc) - Updated to Apollo Client 4 ([@paales](https://github.com/paales))
|
|
12
|
-
|
|
13
|
-
## 10.0.0-canary.69
|
|
14
|
-
|
|
15
|
-
## 10.0.0-canary.68
|
|
16
|
-
|
|
17
|
-
## 10.0.0-canary.67
|
|
18
|
-
|
|
19
|
-
## 10.0.0-canary.66
|
|
20
|
-
|
|
21
|
-
## 10.0.0-canary.65
|
|
22
|
-
|
|
23
|
-
## 10.0.0-canary.64
|
|
24
|
-
|
|
25
|
-
## 10.0.0-canary.63
|
|
26
|
-
|
|
27
|
-
## 10.0.0-canary.62
|
|
28
|
-
|
|
29
|
-
## 10.0.0-canary.61
|
|
30
|
-
|
|
31
|
-
## 10.0.0-canary.60
|
|
32
|
-
|
|
33
|
-
## 10.0.0-canary.59
|
|
34
|
-
|
|
35
|
-
## 10.0.0-canary.58
|
|
5
|
+
### Patch Changes
|
|
36
6
|
|
|
37
|
-
|
|
7
|
+
- [#2568](https://github.com/graphcommerce-org/graphcommerce/pull/2568) [`6714cbb`](https://github.com/graphcommerce-org/graphcommerce/commit/6714cbb912ed64217cb04c4355cc2b63762e6ea1) - Deprecated globalApolloClient ([@paales](https://github.com/paales))
|
|
38
8
|
|
|
39
|
-
## 10.0.0
|
|
9
|
+
## 10.0.0
|
|
40
10
|
|
|
41
11
|
### Major Changes
|
|
42
12
|
|
|
@@ -116,148 +86,30 @@
|
|
|
116
86
|
- `@mui/*` modern alias rewrites
|
|
117
87
|
- Debug plugins (`CircularDependencyPlugin`, `DuplicatesPlugin`) ([@paales](https://github.com/paales))
|
|
118
88
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## 9.1.0-canary.54
|
|
122
|
-
|
|
123
|
-
## 9.1.0-canary.53
|
|
124
|
-
|
|
125
|
-
## 9.1.0-canary.52
|
|
126
|
-
|
|
127
|
-
## 9.1.0-canary.51
|
|
89
|
+
- [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`c96dfcd`](https://github.com/graphcommerce-org/graphcommerce/commit/c96dfcdca981baca387c270ad9e2b9515cdd00cc) - Updated to Apollo Client 4 ([@paales](https://github.com/paales))
|
|
128
90
|
|
|
129
91
|
### Minor Changes
|
|
130
92
|
|
|
131
|
-
- [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`958dcb6`](https://github.com/graphcommerce-org/graphcommerce/commit/958dcb62d5abb3427a38e2a4583897f3e2043cc4) -
|
|
93
|
+
- [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`958dcb6`](https://github.com/graphcommerce-org/graphcommerce/commit/958dcb62d5abb3427a38e2a4583897f3e2043cc4) - Introduce a new Product-`uid` to solve an issue where cache normalization was not working properly on the frontend when viewing products with a differen curreny, etc.
|
|
132
94
|
|
|
133
95
|
Products now have a more detailed `uid` which will include the scope the product is retrieved from. For example: `NDg5MDM=?store=nl_NL¤cyCode=EUR`. This results in a better cache normalization in Apollo Client and allows for switching between scopes (store/currency/price views/accounts) without creating a broken cache state.
|
|
134
96
|
|
|
135
97
|
We have implemented this with a new resolver that rewrites the `uid` passed from Magento to the Mesh Resolver, and additing additonal data to the `uid` based on the headers passed from the client. This also requires each package to implement the `getPrivateQueryContextMesh` method to retrieve the current PrivateQuery context from the GraphQL request headers. ([@paales](https://github.com/paales))
|
|
136
98
|
|
|
137
|
-
## 9.1.0-canary.50
|
|
138
|
-
|
|
139
|
-
## 9.1.0-canary.49
|
|
140
|
-
|
|
141
|
-
## 9.1.0-canary.48
|
|
142
|
-
|
|
143
|
-
## 9.1.0-canary.47
|
|
144
|
-
|
|
145
|
-
## 9.1.0-canary.46
|
|
146
|
-
|
|
147
|
-
## 9.1.0-canary.45
|
|
148
|
-
|
|
149
|
-
## 9.1.0-canary.44
|
|
150
|
-
|
|
151
|
-
## 9.1.0-canary.43
|
|
152
|
-
|
|
153
|
-
## 9.1.0-canary.42
|
|
154
|
-
|
|
155
|
-
## 9.1.0-canary.41
|
|
156
|
-
|
|
157
|
-
## 9.1.0-canary.40
|
|
158
|
-
|
|
159
|
-
## 9.1.0-canary.39
|
|
160
|
-
|
|
161
|
-
## 9.1.0-canary.38
|
|
162
|
-
|
|
163
|
-
## 9.1.0-canary.37
|
|
164
|
-
|
|
165
|
-
## 9.1.0-canary.36
|
|
166
|
-
|
|
167
|
-
## 9.1.0-canary.35
|
|
168
|
-
|
|
169
99
|
### Patch Changes
|
|
170
100
|
|
|
171
101
|
- [#2528](https://github.com/graphcommerce-org/graphcommerce/pull/2528) [`c52604f`](https://github.com/graphcommerce-org/graphcommerce/commit/c52604f89e1776fc1f0913f016b8b24fa194c6b7) - Solve issue where the persistenceMapper didn't use the same typePolicies and other configuration from the cache, causing potential issues. ([@paales](https://github.com/paales))
|
|
172
102
|
|
|
173
|
-
- [#
|
|
174
|
-
|
|
175
|
-
## 9.1.0-canary.34
|
|
176
|
-
|
|
177
|
-
## 9.1.0-canary.33
|
|
178
|
-
|
|
179
|
-
## 9.1.0-canary.32
|
|
180
|
-
|
|
181
|
-
## 9.1.0-canary.31
|
|
182
|
-
|
|
183
|
-
## 9.1.0-canary.30
|
|
184
|
-
|
|
185
|
-
## 9.1.0-canary.29
|
|
186
|
-
|
|
187
|
-
### Patch Changes
|
|
103
|
+
- [#2496](https://github.com/graphcommerce-org/graphcommerce/pull/2496) [`a261149`](https://github.com/graphcommerce-org/graphcommerce/commit/a261149b6b32ad6a35606da2d530b8e41bfa10a0) - ReCaptcha now using the `recaptchaV3Config` query and add a fallback for Magento 2.4.6 and earlier to still use the configuration. Magento 2.4.7 doesn't need that configuration anymore. ([@paales](https://github.com/paales))
|
|
188
104
|
|
|
189
105
|
- [#2525](https://github.com/graphcommerce-org/graphcommerce/pull/2525) [`e1e132d`](https://github.com/graphcommerce-org/graphcommerce/commit/e1e132d076fbc6b3a081a245e51cb2bc91b0c707) - usePrivateQuery now disables masking when an error occurs. ([@paales](https://github.com/paales))
|
|
190
106
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
## 9.1.0-canary.27
|
|
194
|
-
|
|
195
|
-
## 9.1.0-canary.26
|
|
196
|
-
|
|
197
|
-
## 9.1.0-canary.25
|
|
198
|
-
|
|
199
|
-
## 9.1.0-canary.24
|
|
200
|
-
|
|
201
|
-
## 9.1.0-canary.23
|
|
202
|
-
|
|
203
|
-
## 9.1.0-canary.22
|
|
204
|
-
|
|
205
|
-
## 9.1.0-canary.21
|
|
206
|
-
|
|
207
|
-
## 9.1.0-canary.20
|
|
208
|
-
|
|
209
|
-
## 9.1.0-canary.19
|
|
210
|
-
|
|
211
|
-
## 9.1.0-canary.18
|
|
212
|
-
|
|
213
|
-
### Patch Changes
|
|
107
|
+
- [#2528](https://github.com/graphcommerce-org/graphcommerce/pull/2528) [`529d7a8`](https://github.com/graphcommerce-org/graphcommerce/commit/529d7a88a4e010cb3e50c1358e2ac43e80e0bf38) - Solve issue where the ApolloClient cache wasn't scoped properly causing the wrong currency to be shown when switching currency. ([@paales](https://github.com/paales))
|
|
214
108
|
|
|
215
109
|
- [`62b71d5`](https://github.com/graphcommerce-org/graphcommerce/commit/62b71d5ed1d482fdb5b76dc19ac4d55fc41fb191) - Solve issue: TypeError: InMemoryLRUCache is not a constructor ([@paales](https://github.com/paales))
|
|
216
110
|
|
|
217
|
-
## 9.1.0-canary.17
|
|
218
|
-
|
|
219
|
-
### Patch Changes
|
|
220
|
-
|
|
221
|
-
- [#2496](https://github.com/graphcommerce-org/graphcommerce/pull/2496) [`a261149`](https://github.com/graphcommerce-org/graphcommerce/commit/a261149b6b32ad6a35606da2d530b8e41bfa10a0) - ReCaptcha now using the `recaptchaV3Config` query and add a fallback for Magento 2.4.6 and earlier to still use the configuration. Magento 2.4.7 doesn't need that configuration anymore. ([@paales](https://github.com/paales))
|
|
222
|
-
|
|
223
|
-
## 9.1.0-canary.16
|
|
224
|
-
|
|
225
|
-
## 9.1.0-canary.15
|
|
226
|
-
|
|
227
|
-
## 9.0.4-canary.14
|
|
228
|
-
|
|
229
|
-
## 9.0.4-canary.13
|
|
230
|
-
|
|
231
|
-
## 9.0.4-canary.12
|
|
232
|
-
|
|
233
|
-
## 9.0.4-canary.11
|
|
234
|
-
|
|
235
|
-
## 9.0.4-canary.10
|
|
236
|
-
|
|
237
|
-
## 9.0.4-canary.9
|
|
238
|
-
|
|
239
|
-
## 9.0.4-canary.8
|
|
240
|
-
|
|
241
|
-
## 9.0.4-canary.7
|
|
242
|
-
|
|
243
|
-
## 9.0.4-canary.6
|
|
244
|
-
|
|
245
|
-
## 9.0.4-canary.5
|
|
246
|
-
|
|
247
|
-
## 9.0.4-canary.4
|
|
248
|
-
|
|
249
|
-
## 9.0.4-canary.3
|
|
250
|
-
|
|
251
|
-
### Patch Changes
|
|
252
|
-
|
|
253
111
|
- [#2477](https://github.com/graphcommerce-org/graphcommerce/pull/2477) [`8015eab`](https://github.com/graphcommerce-org/graphcommerce/commit/8015eabc130dacf1f2703980cd5f0ad2c550aa4d) - Upgraded to @apollo/client 3.12.3 without impacting typescript compilation performance. ([@paales](https://github.com/paales))
|
|
254
112
|
|
|
255
|
-
## 9.0.4-canary.2
|
|
256
|
-
|
|
257
|
-
## 9.0.4-canary.1
|
|
258
|
-
|
|
259
|
-
## 9.0.4-canary.0
|
|
260
|
-
|
|
261
113
|
## 9.0.0
|
|
262
114
|
|
|
263
115
|
### Major Changes
|
|
@@ -14,6 +14,7 @@ import { errorLink } from './errorLink'
|
|
|
14
14
|
import { measurePerformanceLink } from './measurePerformanceLink'
|
|
15
15
|
import { mergeTypePolicies } from './typePolicies'
|
|
16
16
|
|
|
17
|
+
/** @deprecated You can probably use operation.client instead */
|
|
17
18
|
export const globalApolloClient: { current: ApolloClient | null } = {
|
|
18
19
|
current: null,
|
|
19
20
|
}
|
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": "10.0.
|
|
5
|
+
"version": "10.0.1-canary.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"rxjs": "^7.8.2"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@graphcommerce/eslint-config-pwa": "^10.0.
|
|
32
|
-
"@graphcommerce/graphql-codegen-near-operation-file": "10.0.
|
|
33
|
-
"@graphcommerce/graphql-codegen-relay-optimizer-plugin": "10.0.
|
|
34
|
-
"@graphcommerce/next-config": "^10.0.
|
|
35
|
-
"@graphcommerce/prettier-config-pwa": "^10.0.
|
|
36
|
-
"@graphcommerce/typescript-config-pwa": "^10.0.
|
|
31
|
+
"@graphcommerce/eslint-config-pwa": "^10.0.1-canary.0",
|
|
32
|
+
"@graphcommerce/graphql-codegen-near-operation-file": "10.0.1-canary.0",
|
|
33
|
+
"@graphcommerce/graphql-codegen-relay-optimizer-plugin": "10.0.1-canary.0",
|
|
34
|
+
"@graphcommerce/next-config": "^10.0.1-canary.0",
|
|
35
|
+
"@graphcommerce/prettier-config-pwa": "^10.0.1-canary.0",
|
|
36
|
+
"@graphcommerce/typescript-config-pwa": "^10.0.1-canary.0",
|
|
37
37
|
"@graphql-mesh/plugin-http-details-extensions": "*",
|
|
38
38
|
"react": "^19.2.0",
|
|
39
39
|
"react-dom": "^19.2.0"
|