@graphcommerce/magento-graphql 9.0.0-canary.99 → 9.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 +27 -962
- package/graphqlErrorByCategory.ts +6 -6
- package/mesh/attributeValueResolver.ts +2 -2
- package/mesh/customAttributeMetadataV2.ts +1 -1
- package/mesh/customAttributeV2Resolver.ts +3 -2
- package/package.json +5 -5
- package/plugins/magentoGraphqlConfig.ts +3 -3
- package/schema-247/Mutation-confirmEmail.graphqls +1 -1
- package/typePolicies.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,144 +1,60 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.
|
|
3
|
+
## 9.0.1-canary.0
|
|
4
|
+
|
|
5
|
+
## 9.0.0
|
|
4
6
|
|
|
5
7
|
### Minor Changes
|
|
6
8
|
|
|
7
9
|
- [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`651eea0`](https://github.com/graphcommerce-org/graphcommerce/commit/651eea0bdda1ed0f46f4c73d7edf52c8c1da5b54) - Created a new field for products: `custom_attribute(attribute_code: "attribute_code")` to retrieve attribute option value labels. This field is only available in Magento 2.4.7 and up. ([@paales](https://github.com/paales))
|
|
8
10
|
|
|
9
|
-
- [#
|
|
10
|
-
|
|
11
|
-
## 9.0.0-canary.98
|
|
12
|
-
|
|
13
|
-
## 9.0.0-canary.97
|
|
14
|
-
|
|
15
|
-
## 9.0.0-canary.96
|
|
16
|
-
|
|
17
|
-
## 9.0.0-canary.95
|
|
18
|
-
|
|
19
|
-
## 9.0.0-canary.94
|
|
20
|
-
|
|
21
|
-
## 9.0.0-canary.93
|
|
22
|
-
|
|
23
|
-
## 9.0.0-canary.92
|
|
24
|
-
|
|
25
|
-
## 9.0.0-canary.91
|
|
26
|
-
|
|
27
|
-
## 9.0.0-canary.90
|
|
28
|
-
|
|
29
|
-
## 9.0.0-canary.89
|
|
30
|
-
|
|
31
|
-
## 9.0.0-canary.88
|
|
32
|
-
|
|
33
|
-
## 9.0.0-canary.87
|
|
34
|
-
|
|
35
|
-
## 9.0.0-canary.86
|
|
36
|
-
|
|
37
|
-
## 9.0.0-canary.85
|
|
38
|
-
|
|
39
|
-
## 9.0.0-canary.84
|
|
40
|
-
|
|
41
|
-
## 9.0.0-canary.83
|
|
42
|
-
|
|
43
|
-
## 9.0.0-canary.82
|
|
44
|
-
|
|
45
|
-
## 9.0.0-canary.81
|
|
46
|
-
|
|
47
|
-
## 9.0.0-canary.80
|
|
48
|
-
|
|
49
|
-
## 9.0.0-canary.79
|
|
50
|
-
|
|
51
|
-
## 9.0.0-canary.78
|
|
52
|
-
|
|
53
|
-
## 9.0.0-canary.77
|
|
54
|
-
|
|
55
|
-
## 9.0.0-canary.76
|
|
56
|
-
|
|
57
|
-
## 9.0.0-canary.75
|
|
58
|
-
|
|
59
|
-
## 9.0.0-canary.74
|
|
60
|
-
|
|
61
|
-
## 9.0.0-canary.73
|
|
62
|
-
|
|
63
|
-
## 9.0.0-canary.72
|
|
64
|
-
|
|
65
|
-
## 9.0.0-canary.71
|
|
66
|
-
|
|
67
|
-
## 9.0.0-canary.70
|
|
11
|
+
- [#2204](https://github.com/graphcommerce-org/graphcommerce/pull/2204) [`42843eb`](https://github.com/graphcommerce-org/graphcommerce/commit/42843eb760f8301eb7901bb0d888c95792ff0b4b) - Add `X-Forwarded-For` header to mesh requests. ([@SumVur](https://github.com/SumVur))
|
|
68
12
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
## 9.0.0-canary.68
|
|
72
|
-
|
|
73
|
-
## 9.0.0-canary.67
|
|
74
|
-
|
|
75
|
-
## 9.0.0-canary.66
|
|
76
|
-
|
|
77
|
-
## 9.0.0-canary.65
|
|
78
|
-
|
|
79
|
-
## 9.0.0-canary.64
|
|
80
|
-
|
|
81
|
-
## 9.0.0-canary.63
|
|
82
|
-
|
|
83
|
-
## 9.0.0-canary.62
|
|
84
|
-
|
|
85
|
-
## 9.0.0-canary.61
|
|
86
|
-
|
|
87
|
-
## 9.0.0-canary.60
|
|
88
|
-
|
|
89
|
-
## 9.0.0-canary.59
|
|
90
|
-
|
|
91
|
-
## 9.0.0-canary.58
|
|
92
|
-
|
|
93
|
-
## 9.0.0-canary.57
|
|
94
|
-
|
|
95
|
-
## 9.0.0-canary.56
|
|
96
|
-
|
|
97
|
-
## 9.0.0-canary.55
|
|
13
|
+
- [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`53af256`](https://github.com/graphcommerce-org/graphcommerce/commit/53af25671d3aca7f3daa2dd45ccd2237697e9254) - Added an `attribute`-field to `AttributeValueInterface` to be able to retrieve attribute metadata from the value of an attribute. ([@paales](https://github.com/paales))
|
|
98
14
|
|
|
99
|
-
|
|
15
|
+
### Patch Changes
|
|
100
16
|
|
|
101
|
-
|
|
17
|
+
- [#2299](https://github.com/graphcommerce-org/graphcommerce/pull/2299) [`c6ac45b`](https://github.com/graphcommerce-org/graphcommerce/commit/c6ac45b8ff41dcaa47f1e5d40d04e120990870aa) - Added a `magentoVersion` configuration value to be able to differentiate features based on the Magento version. ([@paales](https://github.com/paales))
|
|
102
18
|
|
|
103
|
-
##
|
|
19
|
+
## 9.0.0-canary.118
|
|
104
20
|
|
|
105
|
-
##
|
|
21
|
+
## 9.0.0-canary.117
|
|
106
22
|
|
|
107
|
-
##
|
|
23
|
+
## 9.0.0-canary.116
|
|
108
24
|
|
|
109
|
-
##
|
|
25
|
+
## 9.0.0-canary.115
|
|
110
26
|
|
|
111
|
-
##
|
|
27
|
+
## 9.0.0-canary.114
|
|
112
28
|
|
|
113
|
-
##
|
|
29
|
+
## 9.0.0-canary.113
|
|
114
30
|
|
|
115
|
-
##
|
|
31
|
+
## 9.0.0-canary.112
|
|
116
32
|
|
|
117
|
-
##
|
|
33
|
+
## 9.0.0-canary.111
|
|
118
34
|
|
|
119
|
-
##
|
|
35
|
+
## 9.0.0-canary.110
|
|
120
36
|
|
|
121
|
-
##
|
|
37
|
+
## 9.0.0-canary.109
|
|
122
38
|
|
|
123
|
-
##
|
|
39
|
+
## 9.0.0-canary.108
|
|
124
40
|
|
|
125
|
-
##
|
|
41
|
+
## 9.0.0-canary.107
|
|
126
42
|
|
|
127
|
-
##
|
|
43
|
+
## 9.0.0-canary.106
|
|
128
44
|
|
|
129
|
-
##
|
|
45
|
+
## 9.0.0-canary.105
|
|
130
46
|
|
|
131
|
-
##
|
|
47
|
+
## 9.0.0-canary.104
|
|
132
48
|
|
|
133
|
-
##
|
|
49
|
+
## 9.0.0-canary.103
|
|
134
50
|
|
|
135
|
-
##
|
|
51
|
+
## 9.0.0-canary.99
|
|
136
52
|
|
|
137
|
-
|
|
53
|
+
### Minor Changes
|
|
138
54
|
|
|
139
|
-
|
|
55
|
+
- [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`651eea0`](https://github.com/graphcommerce-org/graphcommerce/commit/651eea0bdda1ed0f46f4c73d7edf52c8c1da5b54) - Created a new field for products: `custom_attribute(attribute_code: "attribute_code")` to retrieve attribute option value labels. This field is only available in Magento 2.4.7 and up. ([@paales](https://github.com/paales))
|
|
140
56
|
|
|
141
|
-
|
|
57
|
+
- [#2416](https://github.com/graphcommerce-org/graphcommerce/pull/2416) [`53af256`](https://github.com/graphcommerce-org/graphcommerce/commit/53af25671d3aca7f3daa2dd45ccd2237697e9254) - Added an `attribute`-field to `AttributeValueInterface` to be able to retrieve attribute metadata from the value of an attribute. ([@paales](https://github.com/paales))
|
|
142
58
|
|
|
143
59
|
## 8.1.0-canary.32
|
|
144
60
|
|
|
@@ -146,354 +62,6 @@
|
|
|
146
62
|
|
|
147
63
|
- [#2299](https://github.com/graphcommerce-org/graphcommerce/pull/2299) [`c6ac45b`](https://github.com/graphcommerce-org/graphcommerce/commit/c6ac45b8ff41dcaa47f1e5d40d04e120990870aa) - Added a magentoVersion configuration value to be able to differentiate features based on the Magento version ([@paales](https://github.com/paales))
|
|
148
64
|
|
|
149
|
-
## 8.1.0-canary.31
|
|
150
|
-
|
|
151
|
-
## 8.1.0-canary.30
|
|
152
|
-
|
|
153
|
-
## 8.1.0-canary.29
|
|
154
|
-
|
|
155
|
-
## 8.1.0-canary.28
|
|
156
|
-
|
|
157
|
-
## 8.1.0-canary.27
|
|
158
|
-
|
|
159
|
-
## 8.1.0-canary.26
|
|
160
|
-
|
|
161
|
-
## 8.1.0-canary.25
|
|
162
|
-
|
|
163
|
-
## 8.1.0-canary.24
|
|
164
|
-
|
|
165
|
-
## 8.1.0-canary.23
|
|
166
|
-
|
|
167
|
-
## 8.1.0-canary.22
|
|
168
|
-
|
|
169
|
-
## 8.1.0-canary.21
|
|
170
|
-
|
|
171
|
-
## 8.1.0-canary.20
|
|
172
|
-
|
|
173
|
-
## 8.1.0-canary.19
|
|
174
|
-
|
|
175
|
-
## 8.1.0-canary.18
|
|
176
|
-
|
|
177
|
-
## 8.1.0-canary.17
|
|
178
|
-
|
|
179
|
-
## 8.1.0-canary.16
|
|
180
|
-
|
|
181
|
-
## 8.1.0-canary.15
|
|
182
|
-
|
|
183
|
-
## 8.1.0-canary.14
|
|
184
|
-
|
|
185
|
-
## 8.1.0-canary.13
|
|
186
|
-
|
|
187
|
-
## 8.1.0-canary.12
|
|
188
|
-
|
|
189
|
-
## 8.1.0-canary.11
|
|
190
|
-
|
|
191
|
-
## 8.1.0-canary.10
|
|
192
|
-
|
|
193
|
-
## 8.1.0-canary.9
|
|
194
|
-
|
|
195
|
-
## 8.1.0-canary.8
|
|
196
|
-
|
|
197
|
-
## 8.1.0-canary.7
|
|
198
|
-
|
|
199
|
-
## 8.1.0-canary.6
|
|
200
|
-
|
|
201
|
-
## 8.1.0-canary.5
|
|
202
|
-
|
|
203
|
-
## 8.0.6-canary.4
|
|
204
|
-
|
|
205
|
-
## 8.0.6-canary.3
|
|
206
|
-
|
|
207
|
-
## 8.0.6-canary.2
|
|
208
|
-
|
|
209
|
-
## 8.0.6-canary.1
|
|
210
|
-
|
|
211
|
-
## 8.0.6-canary.0
|
|
212
|
-
|
|
213
|
-
## 8.0.5
|
|
214
|
-
|
|
215
|
-
## 8.0.5-canary.10
|
|
216
|
-
|
|
217
|
-
## 8.0.5-canary.9
|
|
218
|
-
|
|
219
|
-
## 8.0.5-canary.8
|
|
220
|
-
|
|
221
|
-
## 8.0.5-canary.7
|
|
222
|
-
|
|
223
|
-
## 8.0.5-canary.6
|
|
224
|
-
|
|
225
|
-
## 8.0.5-canary.5
|
|
226
|
-
|
|
227
|
-
## 8.0.5-canary.4
|
|
228
|
-
|
|
229
|
-
## 8.0.5-canary.3
|
|
230
|
-
|
|
231
|
-
## 8.0.5-canary.2
|
|
232
|
-
|
|
233
|
-
## 8.0.5-canary.1
|
|
234
|
-
|
|
235
|
-
## 8.0.5-canary.0
|
|
236
|
-
|
|
237
|
-
## 8.0.4
|
|
238
|
-
|
|
239
|
-
## 8.0.4-canary.1
|
|
240
|
-
|
|
241
|
-
## 8.0.4-canary.0
|
|
242
|
-
|
|
243
|
-
## 8.0.3
|
|
244
|
-
|
|
245
|
-
## 8.0.3-canary.6
|
|
246
|
-
|
|
247
|
-
## 8.0.3-canary.5
|
|
248
|
-
|
|
249
|
-
## 8.0.3-canary.4
|
|
250
|
-
|
|
251
|
-
## 8.0.3-canary.3
|
|
252
|
-
|
|
253
|
-
## 8.0.3-canary.2
|
|
254
|
-
|
|
255
|
-
## 8.0.3-canary.1
|
|
256
|
-
|
|
257
|
-
## 8.0.3-canary.0
|
|
258
|
-
|
|
259
|
-
## 8.0.2
|
|
260
|
-
|
|
261
|
-
## 8.0.2-canary.3
|
|
262
|
-
|
|
263
|
-
## 8.0.2-canary.2
|
|
264
|
-
|
|
265
|
-
## 8.0.2-canary.1
|
|
266
|
-
|
|
267
|
-
## 8.0.2-canary.0
|
|
268
|
-
|
|
269
|
-
## 8.0.1
|
|
270
|
-
|
|
271
|
-
## 8.0.1-canary.4
|
|
272
|
-
|
|
273
|
-
## 8.0.1-canary.3
|
|
274
|
-
|
|
275
|
-
## 8.0.1-canary.2
|
|
276
|
-
|
|
277
|
-
## 8.0.1-canary.1
|
|
278
|
-
|
|
279
|
-
## 8.0.1-canary.0
|
|
280
|
-
|
|
281
|
-
## 8.0.0
|
|
282
|
-
|
|
283
|
-
## 8.0.0-canary.100
|
|
284
|
-
|
|
285
|
-
## 8.0.0-canary.99
|
|
286
|
-
|
|
287
|
-
## 8.0.0-canary.98
|
|
288
|
-
|
|
289
|
-
## 8.0.0-canary.97
|
|
290
|
-
|
|
291
|
-
## 8.0.0-canary.96
|
|
292
|
-
|
|
293
|
-
## 8.0.0-canary.95
|
|
294
|
-
|
|
295
|
-
## 8.0.0-canary.94
|
|
296
|
-
|
|
297
|
-
## 8.0.0-canary.93
|
|
298
|
-
|
|
299
|
-
## 8.0.0-canary.92
|
|
300
|
-
|
|
301
|
-
## 8.0.0-canary.91
|
|
302
|
-
|
|
303
|
-
## 8.0.0-canary.90
|
|
304
|
-
|
|
305
|
-
## 8.0.0-canary.89
|
|
306
|
-
|
|
307
|
-
## 8.0.0-canary.88
|
|
308
|
-
|
|
309
|
-
## 8.0.0-canary.87
|
|
310
|
-
|
|
311
|
-
## 8.0.0-canary.86
|
|
312
|
-
|
|
313
|
-
## 8.0.0-canary.85
|
|
314
|
-
|
|
315
|
-
## 8.0.0-canary.84
|
|
316
|
-
|
|
317
|
-
## 8.0.0-canary.83
|
|
318
|
-
|
|
319
|
-
## 8.0.0-canary.82
|
|
320
|
-
|
|
321
|
-
## 8.0.0-canary.81
|
|
322
|
-
|
|
323
|
-
## 8.0.0-canary.80
|
|
324
|
-
|
|
325
|
-
## 8.0.0-canary.79
|
|
326
|
-
|
|
327
|
-
## 8.0.0-canary.78
|
|
328
|
-
|
|
329
|
-
## 8.0.0-canary.77
|
|
330
|
-
|
|
331
|
-
## 8.0.0-canary.76
|
|
332
|
-
|
|
333
|
-
## 8.0.0-canary.75
|
|
334
|
-
|
|
335
|
-
## 8.0.0-canary.74
|
|
336
|
-
|
|
337
|
-
## 8.0.0-canary.73
|
|
338
|
-
|
|
339
|
-
## 8.0.0-canary.72
|
|
340
|
-
|
|
341
|
-
## 8.0.0-canary.71
|
|
342
|
-
|
|
343
|
-
## 8.0.0-canary.70
|
|
344
|
-
|
|
345
|
-
## 8.0.0-canary.69
|
|
346
|
-
|
|
347
|
-
## 7.1.0-canary.68
|
|
348
|
-
|
|
349
|
-
## 7.1.0-canary.67
|
|
350
|
-
|
|
351
|
-
## 7.1.0-canary.66
|
|
352
|
-
|
|
353
|
-
## 7.1.0-canary.65
|
|
354
|
-
|
|
355
|
-
## 7.1.0-canary.64
|
|
356
|
-
|
|
357
|
-
## 7.1.0-canary.63
|
|
358
|
-
|
|
359
|
-
## 7.1.0-canary.62
|
|
360
|
-
|
|
361
|
-
## 7.1.0-canary.61
|
|
362
|
-
|
|
363
|
-
## 7.1.0-canary.60
|
|
364
|
-
|
|
365
|
-
## 7.1.0-canary.59
|
|
366
|
-
|
|
367
|
-
## 7.1.0-canary.58
|
|
368
|
-
|
|
369
|
-
## 7.1.0-canary.57
|
|
370
|
-
|
|
371
|
-
## 7.1.0-canary.56
|
|
372
|
-
|
|
373
|
-
## 7.1.0-canary.55
|
|
374
|
-
|
|
375
|
-
## 7.1.0-canary.54
|
|
376
|
-
|
|
377
|
-
## 7.1.0-canary.53
|
|
378
|
-
|
|
379
|
-
## 7.1.0-canary.52
|
|
380
|
-
|
|
381
|
-
## 7.1.0-canary.51
|
|
382
|
-
|
|
383
|
-
## 7.1.0-canary.50
|
|
384
|
-
|
|
385
|
-
## 7.1.0-canary.49
|
|
386
|
-
|
|
387
|
-
## 7.1.0-canary.48
|
|
388
|
-
|
|
389
|
-
## 7.1.0-canary.47
|
|
390
|
-
|
|
391
|
-
## 7.1.0-canary.46
|
|
392
|
-
|
|
393
|
-
## 7.1.0-canary.45
|
|
394
|
-
|
|
395
|
-
## 7.1.0-canary.38
|
|
396
|
-
|
|
397
|
-
## 7.1.0-canary.37
|
|
398
|
-
|
|
399
|
-
## 7.1.0-canary.36
|
|
400
|
-
|
|
401
|
-
## 7.1.0-canary.35
|
|
402
|
-
|
|
403
|
-
## 7.1.0-canary.34
|
|
404
|
-
|
|
405
|
-
## 7.1.0-canary.33
|
|
406
|
-
|
|
407
|
-
## 7.1.0-canary.32
|
|
408
|
-
|
|
409
|
-
## 7.1.0-canary.31
|
|
410
|
-
|
|
411
|
-
## 7.1.0-canary.30
|
|
412
|
-
|
|
413
|
-
## 7.1.0-canary.29
|
|
414
|
-
|
|
415
|
-
## 7.1.0-canary.28
|
|
416
|
-
|
|
417
|
-
## 7.1.0-canary.27
|
|
418
|
-
|
|
419
|
-
## 7.1.0-canary.26
|
|
420
|
-
|
|
421
|
-
## 7.1.0-canary.25
|
|
422
|
-
|
|
423
|
-
## 7.1.0-canary.24
|
|
424
|
-
|
|
425
|
-
## 7.1.0-canary.23
|
|
426
|
-
|
|
427
|
-
## 7.1.0-canary.22
|
|
428
|
-
|
|
429
|
-
## 7.1.0-canary.21
|
|
430
|
-
|
|
431
|
-
## 7.1.0-canary.20
|
|
432
|
-
|
|
433
|
-
## 7.1.0-canary.19
|
|
434
|
-
|
|
435
|
-
## 7.1.0-canary.18
|
|
436
|
-
|
|
437
|
-
## 7.1.0-canary.17
|
|
438
|
-
|
|
439
|
-
## 7.1.0-canary.16
|
|
440
|
-
|
|
441
|
-
## 7.1.0-canary.15
|
|
442
|
-
|
|
443
|
-
## 7.1.0-canary.14
|
|
444
|
-
|
|
445
|
-
## 7.1.0-canary.13
|
|
446
|
-
|
|
447
|
-
## 7.1.0-canary.12
|
|
448
|
-
|
|
449
|
-
## 7.1.0-canary.11
|
|
450
|
-
|
|
451
|
-
## 7.1.0-canary.10
|
|
452
|
-
|
|
453
|
-
## 7.1.0-canary.9
|
|
454
|
-
|
|
455
|
-
## 7.1.0-canary.8
|
|
456
|
-
|
|
457
|
-
## 7.0.2-canary.7
|
|
458
|
-
|
|
459
|
-
## 7.0.2-canary.6
|
|
460
|
-
|
|
461
|
-
## 7.0.2-canary.5
|
|
462
|
-
|
|
463
|
-
## 7.0.1
|
|
464
|
-
|
|
465
|
-
## 7.0.1-canary.15
|
|
466
|
-
|
|
467
|
-
## 7.0.1-canary.14
|
|
468
|
-
|
|
469
|
-
## 7.0.1-canary.13
|
|
470
|
-
|
|
471
|
-
## 7.0.1-canary.12
|
|
472
|
-
|
|
473
|
-
## 7.0.1-canary.11
|
|
474
|
-
|
|
475
|
-
## 7.0.1-canary.10
|
|
476
|
-
|
|
477
|
-
## 7.0.1-canary.9
|
|
478
|
-
|
|
479
|
-
## 7.0.1-canary.8
|
|
480
|
-
|
|
481
|
-
## 7.0.1-canary.7
|
|
482
|
-
|
|
483
|
-
## 7.0.1-canary.6
|
|
484
|
-
|
|
485
|
-
## 7.0.1-canary.5
|
|
486
|
-
|
|
487
|
-
## 7.0.1-canary.4
|
|
488
|
-
|
|
489
|
-
## 7.0.1-canary.3
|
|
490
|
-
|
|
491
|
-
## 7.0.1-canary.2
|
|
492
|
-
|
|
493
|
-
## 7.0.1-canary.1
|
|
494
|
-
|
|
495
|
-
## 7.0.1-canary.0
|
|
496
|
-
|
|
497
65
|
## 7.0.0
|
|
498
66
|
|
|
499
67
|
### Major Changes
|
|
@@ -506,404 +74,6 @@
|
|
|
506
74
|
|
|
507
75
|
- [#1968](https://github.com/graphcommerce-org/graphcommerce/pull/1968) [`1d0611abf`](https://github.com/graphcommerce-org/graphcommerce/commit/1d0611abfc002e68e0274713cda31d9e9550bf9c) - prevent ‘SelectedConfigurableOption’ and ‘Customizable’ from being cached. ([@carlocarels90](https://github.com/carlocarels90))
|
|
508
76
|
|
|
509
|
-
## 6.2.0-canary.98
|
|
510
|
-
|
|
511
|
-
## 6.2.0-canary.97
|
|
512
|
-
|
|
513
|
-
## 6.2.0-canary.96
|
|
514
|
-
|
|
515
|
-
## 6.2.0-canary.95
|
|
516
|
-
|
|
517
|
-
## 6.2.0-canary.94
|
|
518
|
-
|
|
519
|
-
## 6.2.0-canary.93
|
|
520
|
-
|
|
521
|
-
## 6.2.0-canary.92
|
|
522
|
-
|
|
523
|
-
## 6.2.0-canary.91
|
|
524
|
-
|
|
525
|
-
## 6.2.0-canary.90
|
|
526
|
-
|
|
527
|
-
## 6.2.0-canary.89
|
|
528
|
-
|
|
529
|
-
## 6.2.0-canary.88
|
|
530
|
-
|
|
531
|
-
## 6.2.0-canary.87
|
|
532
|
-
|
|
533
|
-
## 6.2.0-canary.86
|
|
534
|
-
|
|
535
|
-
## 6.2.0-canary.85
|
|
536
|
-
|
|
537
|
-
## 6.2.0-canary.84
|
|
538
|
-
|
|
539
|
-
## 6.2.0-canary.83
|
|
540
|
-
|
|
541
|
-
## 6.2.0-canary.82
|
|
542
|
-
|
|
543
|
-
## 6.2.0-canary.81
|
|
544
|
-
|
|
545
|
-
## 6.2.0-canary.80
|
|
546
|
-
|
|
547
|
-
## 6.2.0-canary.79
|
|
548
|
-
|
|
549
|
-
## 6.2.0-canary.78
|
|
550
|
-
|
|
551
|
-
## 6.2.0-canary.77
|
|
552
|
-
|
|
553
|
-
## 6.2.0-canary.76
|
|
554
|
-
|
|
555
|
-
## 6.2.0-canary.75
|
|
556
|
-
|
|
557
|
-
## 6.2.0-canary.74
|
|
558
|
-
|
|
559
|
-
## 6.2.0-canary.73
|
|
560
|
-
|
|
561
|
-
## 6.2.0-canary.72
|
|
562
|
-
|
|
563
|
-
## 6.2.0-canary.71
|
|
564
|
-
|
|
565
|
-
## 6.2.0-canary.70
|
|
566
|
-
|
|
567
|
-
## 6.2.0-canary.69
|
|
568
|
-
|
|
569
|
-
## 6.2.0-canary.68
|
|
570
|
-
|
|
571
|
-
## 6.2.0-canary.67
|
|
572
|
-
|
|
573
|
-
## 6.2.0-canary.66
|
|
574
|
-
|
|
575
|
-
## 6.2.0-canary.65
|
|
576
|
-
|
|
577
|
-
## 6.2.0-canary.64
|
|
578
|
-
|
|
579
|
-
## 6.2.0-canary.63
|
|
580
|
-
|
|
581
|
-
## 6.2.0-canary.62
|
|
582
|
-
|
|
583
|
-
## 6.2.0-canary.61
|
|
584
|
-
|
|
585
|
-
## 6.2.0-canary.60
|
|
586
|
-
|
|
587
|
-
## 6.2.0-canary.59
|
|
588
|
-
|
|
589
|
-
## 6.2.0-canary.58
|
|
590
|
-
|
|
591
|
-
## 6.2.0-canary.57
|
|
592
|
-
|
|
593
|
-
## 6.2.0-canary.56
|
|
594
|
-
|
|
595
|
-
## 6.2.0-canary.55
|
|
596
|
-
|
|
597
|
-
## 6.2.0-canary.54
|
|
598
|
-
|
|
599
|
-
## 6.2.0-canary.53
|
|
600
|
-
|
|
601
|
-
## 6.2.0-canary.52
|
|
602
|
-
|
|
603
|
-
## 6.2.0-canary.51
|
|
604
|
-
|
|
605
|
-
## 6.2.0-canary.50
|
|
606
|
-
|
|
607
|
-
### Minor Changes
|
|
608
|
-
|
|
609
|
-
- [`e55d8c390`](https://github.com/graphcommerce-org/graphcommerce/commit/e55d8c390d90b4bb7bab11c6a99027ac72bd7e3e) - Created a new sidebar layout system, can be configured with productFiltersLayout in the graphcommerce.config.js ([@paales](https://github.com/paales))
|
|
610
|
-
|
|
611
|
-
## 6.2.0-canary.49
|
|
612
|
-
|
|
613
|
-
## 6.2.0-canary.48
|
|
614
|
-
|
|
615
|
-
## 6.2.0-canary.47
|
|
616
|
-
|
|
617
|
-
## 6.2.0-canary.46
|
|
618
|
-
|
|
619
|
-
### Patch Changes
|
|
620
|
-
|
|
621
|
-
- [#1968](https://github.com/graphcommerce-org/graphcommerce/pull/1968) [`1d0611abf`](https://github.com/graphcommerce-org/graphcommerce/commit/1d0611abfc002e68e0274713cda31d9e9550bf9c) - prevent ‘SelectedConfigurableOption’ and ‘Customizable’ from being cached. ([@carlocarels90](https://github.com/carlocarels90))
|
|
622
|
-
|
|
623
|
-
## 6.2.0-canary.45
|
|
624
|
-
|
|
625
|
-
## 6.2.0-canary.44
|
|
626
|
-
|
|
627
|
-
## 6.2.0-canary.43
|
|
628
|
-
|
|
629
|
-
## 6.2.0-canary.42
|
|
630
|
-
|
|
631
|
-
## 6.2.0-canary.41
|
|
632
|
-
|
|
633
|
-
## 6.2.0-canary.40
|
|
634
|
-
|
|
635
|
-
## 6.2.0-canary.39
|
|
636
|
-
|
|
637
|
-
## 6.2.0-canary.38
|
|
638
|
-
|
|
639
|
-
## 6.2.0-canary.37
|
|
640
|
-
|
|
641
|
-
## 6.2.0-canary.36
|
|
642
|
-
|
|
643
|
-
## 6.2.0-canary.35
|
|
644
|
-
|
|
645
|
-
## 6.2.0-canary.34
|
|
646
|
-
|
|
647
|
-
## 6.2.0-canary.33
|
|
648
|
-
|
|
649
|
-
## 6.2.0-canary.32
|
|
650
|
-
|
|
651
|
-
## 6.2.0-canary.31
|
|
652
|
-
|
|
653
|
-
## 6.2.0-canary.30
|
|
654
|
-
|
|
655
|
-
## 6.2.0-canary.29
|
|
656
|
-
|
|
657
|
-
## 6.2.0-canary.28
|
|
658
|
-
|
|
659
|
-
## 6.2.0-canary.27
|
|
660
|
-
|
|
661
|
-
## 6.2.0-canary.26
|
|
662
|
-
|
|
663
|
-
## 6.2.0-canary.25
|
|
664
|
-
|
|
665
|
-
## 6.2.0-canary.24
|
|
666
|
-
|
|
667
|
-
## 6.2.0-canary.23
|
|
668
|
-
|
|
669
|
-
## 6.2.0-canary.22
|
|
670
|
-
|
|
671
|
-
## 6.2.0-canary.21
|
|
672
|
-
|
|
673
|
-
## 6.2.0-canary.20
|
|
674
|
-
|
|
675
|
-
## 6.2.0-canary.19
|
|
676
|
-
|
|
677
|
-
## 6.2.0-canary.18
|
|
678
|
-
|
|
679
|
-
## 6.2.0-canary.17
|
|
680
|
-
|
|
681
|
-
## 6.2.0-canary.16
|
|
682
|
-
|
|
683
|
-
## 6.2.0-canary.15
|
|
684
|
-
|
|
685
|
-
## 6.2.0-canary.14
|
|
686
|
-
|
|
687
|
-
## 6.2.0-canary.13
|
|
688
|
-
|
|
689
|
-
## 6.2.0-canary.12
|
|
690
|
-
|
|
691
|
-
## 6.2.0-canary.11
|
|
692
|
-
|
|
693
|
-
## 6.2.0-canary.10
|
|
694
|
-
|
|
695
|
-
## 6.2.0-canary.9
|
|
696
|
-
|
|
697
|
-
## 6.2.0-canary.8
|
|
698
|
-
|
|
699
|
-
## 6.2.0-canary.7
|
|
700
|
-
|
|
701
|
-
## 6.2.0-canary.6
|
|
702
|
-
|
|
703
|
-
## 6.1.1-canary.5
|
|
704
|
-
|
|
705
|
-
## 6.1.1-canary.4
|
|
706
|
-
|
|
707
|
-
### Patch Changes
|
|
708
|
-
|
|
709
|
-
- [#1914](https://github.com/graphcommerce-org/graphcommerce/pull/1914) [`4ab34615f`](https://github.com/graphcommerce-org/graphcommerce/commit/4ab34615f9a0425010e0d793f20e4853f85a69e3) - When an error is masked, do not remask them ([@paales](https://github.com/paales))
|
|
710
|
-
|
|
711
|
-
## 6.1.1-canary.3
|
|
712
|
-
|
|
713
|
-
## 6.1.1-canary.2
|
|
714
|
-
|
|
715
|
-
## 6.1.1-canary.1
|
|
716
|
-
|
|
717
|
-
## 6.1.1-canary.0
|
|
718
|
-
|
|
719
|
-
## 6.1.0
|
|
720
|
-
|
|
721
|
-
## 6.0.2-canary.22
|
|
722
|
-
|
|
723
|
-
## 6.0.2-canary.21
|
|
724
|
-
|
|
725
|
-
## 6.0.2-canary.20
|
|
726
|
-
|
|
727
|
-
## 6.0.2-canary.19
|
|
728
|
-
|
|
729
|
-
## 6.0.2-canary.18
|
|
730
|
-
|
|
731
|
-
## 6.0.2-canary.17
|
|
732
|
-
|
|
733
|
-
## 6.0.2-canary.16
|
|
734
|
-
|
|
735
|
-
## 6.0.2-canary.15
|
|
736
|
-
|
|
737
|
-
## 6.0.2-canary.14
|
|
738
|
-
|
|
739
|
-
## 6.0.2-canary.13
|
|
740
|
-
|
|
741
|
-
## 6.0.2-canary.12
|
|
742
|
-
|
|
743
|
-
## 6.0.2-canary.11
|
|
744
|
-
|
|
745
|
-
## 6.0.2-canary.10
|
|
746
|
-
|
|
747
|
-
## 6.0.2-canary.9
|
|
748
|
-
|
|
749
|
-
## 6.0.2-canary.8
|
|
750
|
-
|
|
751
|
-
## 6.0.2-canary.7
|
|
752
|
-
|
|
753
|
-
## 6.0.2-canary.6
|
|
754
|
-
|
|
755
|
-
## 6.0.2-canary.5
|
|
756
|
-
|
|
757
|
-
## 6.0.2-canary.4
|
|
758
|
-
|
|
759
|
-
## 6.0.2-canary.3
|
|
760
|
-
|
|
761
|
-
## 6.0.2-canary.2
|
|
762
|
-
|
|
763
|
-
## 6.0.2-canary.1
|
|
764
|
-
|
|
765
|
-
## 6.0.2-canary.0
|
|
766
|
-
|
|
767
|
-
## 6.0.1
|
|
768
|
-
|
|
769
|
-
## 6.0.1-canary.7
|
|
770
|
-
|
|
771
|
-
## 6.0.1-canary.6
|
|
772
|
-
|
|
773
|
-
## 6.0.1-canary.5
|
|
774
|
-
|
|
775
|
-
## 6.0.1-canary.4
|
|
776
|
-
|
|
777
|
-
## 6.0.1-canary.3
|
|
778
|
-
|
|
779
|
-
## 6.0.1-canary.2
|
|
780
|
-
|
|
781
|
-
## 6.0.1-canary.1
|
|
782
|
-
|
|
783
|
-
## 6.0.1-canary.0
|
|
784
|
-
|
|
785
|
-
## 6.0.0
|
|
786
|
-
|
|
787
|
-
## 6.0.0-canary.54
|
|
788
|
-
|
|
789
|
-
## 6.0.0-canary.53
|
|
790
|
-
|
|
791
|
-
## 6.0.0-canary.52
|
|
792
|
-
|
|
793
|
-
## 6.0.0-canary.51
|
|
794
|
-
|
|
795
|
-
## 6.0.0-canary.50
|
|
796
|
-
|
|
797
|
-
## 6.0.0-canary.49
|
|
798
|
-
|
|
799
|
-
## 6.0.0-canary.48
|
|
800
|
-
|
|
801
|
-
## 6.0.0-canary.47
|
|
802
|
-
|
|
803
|
-
## 6.0.0-canary.46
|
|
804
|
-
|
|
805
|
-
## 6.0.0-canary.45
|
|
806
|
-
|
|
807
|
-
## 6.0.0-canary.44
|
|
808
|
-
|
|
809
|
-
### Patch Changes
|
|
810
|
-
|
|
811
|
-
- [#1842](https://github.com/graphcommerce-org/graphcommerce/pull/1842) [`7b67d84bd`](https://github.com/graphcommerce-org/graphcommerce/commit/7b67d84bd269c3fc91afbd69f6683c5d12808d36) - Renamed i18n to storefront in configuration ([@paales](https://github.com/paales))
|
|
812
|
-
|
|
813
|
-
## 6.0.0-canary.43
|
|
814
|
-
|
|
815
|
-
## 6.0.0-canary.42
|
|
816
|
-
|
|
817
|
-
## 6.0.0-canary.41
|
|
818
|
-
|
|
819
|
-
## 6.0.0-canary.40
|
|
820
|
-
|
|
821
|
-
## 6.0.0-canary.39
|
|
822
|
-
|
|
823
|
-
## 6.0.0-canary.38
|
|
824
|
-
|
|
825
|
-
## 6.0.0-canary.37
|
|
826
|
-
|
|
827
|
-
## 6.0.0-canary.36
|
|
828
|
-
|
|
829
|
-
## 6.0.0-canary.35
|
|
830
|
-
|
|
831
|
-
## 6.0.0-canary.34
|
|
832
|
-
|
|
833
|
-
## 6.0.0-canary.33
|
|
834
|
-
|
|
835
|
-
## 6.0.0-canary.32
|
|
836
|
-
|
|
837
|
-
## 6.0.0-canary.31
|
|
838
|
-
|
|
839
|
-
## 6.0.0-canary.30
|
|
840
|
-
|
|
841
|
-
## 6.0.0-canary.29
|
|
842
|
-
|
|
843
|
-
## 6.0.0-canary.28
|
|
844
|
-
|
|
845
|
-
## 6.0.0-canary.27
|
|
846
|
-
|
|
847
|
-
## 6.0.0-canary.26
|
|
848
|
-
|
|
849
|
-
## 6.0.0-canary.25
|
|
850
|
-
|
|
851
|
-
## 6.0.0-canary.24
|
|
852
|
-
|
|
853
|
-
## 6.0.0-canary.23
|
|
854
|
-
|
|
855
|
-
## 6.0.0-canary.22
|
|
856
|
-
|
|
857
|
-
## 6.0.0-canary.21
|
|
858
|
-
|
|
859
|
-
## 6.0.0-canary.20
|
|
860
|
-
|
|
861
|
-
## 5.2.0-canary.19
|
|
862
|
-
|
|
863
|
-
## 5.2.0-canary.18
|
|
864
|
-
|
|
865
|
-
## 5.2.0-canary.17
|
|
866
|
-
|
|
867
|
-
## 5.2.0-canary.16
|
|
868
|
-
|
|
869
|
-
## 5.2.0-canary.15
|
|
870
|
-
|
|
871
|
-
## 5.2.0-canary.14
|
|
872
|
-
|
|
873
|
-
## 5.2.0-canary.13
|
|
874
|
-
|
|
875
|
-
## 5.2.0-canary.12
|
|
876
|
-
|
|
877
|
-
## 5.2.0-canary.11
|
|
878
|
-
|
|
879
|
-
## 5.2.0-canary.10
|
|
880
|
-
|
|
881
|
-
## 5.2.0-canary.9
|
|
882
|
-
|
|
883
|
-
## 5.2.0-canary.8
|
|
884
|
-
|
|
885
|
-
## 5.2.0-canary.7
|
|
886
|
-
|
|
887
|
-
## 5.2.0-canary.6
|
|
888
|
-
|
|
889
|
-
## 5.2.0-canary.5
|
|
890
|
-
|
|
891
|
-
## 5.2.0-canary.4
|
|
892
|
-
|
|
893
|
-
## 5.2.0-canary.3
|
|
894
|
-
|
|
895
|
-
## 5.2.0-canary.2
|
|
896
|
-
|
|
897
|
-
## 5.2.0-canary.1
|
|
898
|
-
|
|
899
|
-
## 5.2.0-canary.0
|
|
900
|
-
|
|
901
|
-
## 5.1.1
|
|
902
|
-
|
|
903
|
-
## 5.1.1-canary.1
|
|
904
|
-
|
|
905
|
-
## 5.1.1-canary.0
|
|
906
|
-
|
|
907
77
|
## 5.1.0
|
|
908
78
|
|
|
909
79
|
### Minor Changes
|
|
@@ -923,47 +93,6 @@
|
|
|
923
93
|
- Upgraded dependencies including type-fest and graphql-mesh
|
|
924
94
|
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
925
95
|
|
|
926
|
-
## 5.1.0-canary.11
|
|
927
|
-
|
|
928
|
-
## 5.1.0-canary.10
|
|
929
|
-
|
|
930
|
-
## 5.1.0-canary.9
|
|
931
|
-
|
|
932
|
-
## 5.1.0-canary.8
|
|
933
|
-
|
|
934
|
-
## 5.1.0-canary.7
|
|
935
|
-
|
|
936
|
-
### Minor Changes
|
|
937
|
-
|
|
938
|
-
- [#1756](https://github.com/graphcommerce-org/graphcommerce/pull/1756) [`1abaaedde`](https://github.com/graphcommerce-org/graphcommerce/commit/1abaaedde4062d3b19696e333d0016972681afaf) - Show cart item error messages when running Magento >= 2.4.5 or this [patch is applied](https://raw.githubusercontent.com/graphcommerce-org/graphcommerce/main/packages/magento-cart/243-244-magento-module-quote-graphql-cart-item-errors.patch)
|
|
939
|
-
|
|
940
|
-
- Fixes an issue where the cart can get into a broken state, if items contain errors.
|
|
941
|
-
- AddToCartForm now shows a success message if there is an error but the error is related to another item in the cart.
|
|
942
|
-
- Disable checkout buttons when there are cart item errors and show a message. ([@paales](https://github.com/paales))
|
|
943
|
-
|
|
944
|
-
## 5.1.0-canary.6
|
|
945
|
-
|
|
946
|
-
## 5.1.0-canary.5
|
|
947
|
-
|
|
948
|
-
## 5.1.0-canary.4
|
|
949
|
-
|
|
950
|
-
## 5.1.0-canary.3
|
|
951
|
-
|
|
952
|
-
### Patch Changes
|
|
953
|
-
|
|
954
|
-
- [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`2a6a4d9ec`](https://github.com/graphcommerce-org/graphcommerce/commit/2a6a4d9ecfa1b58a66ba9b9d00016d6feda9aa95) - Updated dependencies to latest versions, except for nextjs; Solve tons of peer dependency issues.
|
|
955
|
-
|
|
956
|
-
- Updated the @mui/material package
|
|
957
|
-
- Removed dependencies on react-hook-form-mui and @playwright/test
|
|
958
|
-
- Upgraded dependencies including type-fest and graphql-mesh
|
|
959
|
-
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
960
|
-
|
|
961
|
-
## 5.1.0-canary.2
|
|
962
|
-
|
|
963
|
-
## 5.1.0-canary.1
|
|
964
|
-
|
|
965
|
-
## 5.1.0-canary.0
|
|
966
|
-
|
|
967
96
|
## 5.0.0
|
|
968
97
|
|
|
969
98
|
### Major Changes
|
|
@@ -980,76 +109,12 @@
|
|
|
980
109
|
|
|
981
110
|
- [#1738](https://github.com/graphcommerce-org/graphcommerce/pull/1738) [`52882a63e`](https://github.com/graphcommerce-org/graphcommerce/commit/52882a63e96c0d3ba9641c3714d288fa4f420c82) - Do not forward the Prev prop in plugins ([@paales](https://github.com/paales))
|
|
982
111
|
|
|
983
|
-
## 5.0.0-canary.14
|
|
984
|
-
|
|
985
|
-
## 5.0.0-canary.13
|
|
986
|
-
|
|
987
|
-
### Major Changes
|
|
988
|
-
|
|
989
|
-
- [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
|
|
990
|
-
|
|
991
|
-
## 4.14.0-canary.12
|
|
992
|
-
|
|
993
|
-
## 4.14.0-canary.11
|
|
994
|
-
|
|
995
|
-
## 4.14.0-canary.10
|
|
996
|
-
|
|
997
|
-
## 4.14.0-canary.9
|
|
998
|
-
|
|
999
|
-
## 4.14.0-canary.8
|
|
1000
|
-
|
|
1001
|
-
## 4.14.0-canary.7
|
|
1002
|
-
|
|
1003
|
-
### Patch Changes
|
|
1004
|
-
|
|
1005
|
-
- [#1738](https://github.com/graphcommerce-org/graphcommerce/pull/1738) [`52882a63e`](https://github.com/graphcommerce-org/graphcommerce/commit/52882a63e96c0d3ba9641c3714d288fa4f420c82) - Do not forward the Prev prop in plugins ([@paales](https://github.com/paales))
|
|
1006
|
-
|
|
1007
|
-
## 4.14.0-canary.6
|
|
1008
|
-
|
|
1009
|
-
## 4.14.0-canary.5
|
|
1010
|
-
|
|
1011
|
-
## 4.14.0-canary.4
|
|
1012
|
-
|
|
1013
|
-
### Minor Changes
|
|
1014
|
-
|
|
1015
|
-
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`761bd2832`](https://github.com/graphcommerce-org/graphcommerce/commit/761bd2832f115afc8b95bedbf479266309dd5acc) - ApolloLinks, typePolicies and migration scripts are now handled with plugins on the new library component `<GraphQLProvider/>`. Hygraph's, Magento Cart, Customer, Store, Wishlist and Magento GraphQL are all migrated to be using plugins.
|
|
1016
|
-
|
|
1017
|
-
If you are using custom `links` / `policies` / `migrations` you can pass them as props to the `<GraphQLProvider/>` or create your own local plugin. ([@paales](https://github.com/paales))
|
|
1018
|
-
|
|
1019
|
-
## 4.14.0-canary.3
|
|
1020
|
-
|
|
1021
|
-
## 4.14.0-canary.2
|
|
1022
|
-
|
|
1023
|
-
## 4.13.2-canary.1
|
|
1024
|
-
|
|
1025
|
-
## 4.13.2-canary.0
|
|
1026
|
-
|
|
1027
|
-
## 4.13.3
|
|
1028
|
-
|
|
1029
|
-
## 4.13.2
|
|
1030
|
-
|
|
1031
|
-
## 4.13.1
|
|
1032
|
-
|
|
1033
|
-
## 4.13.1-canary.2
|
|
1034
|
-
|
|
1035
|
-
## 4.13.1-canary.1
|
|
1036
|
-
|
|
1037
|
-
## 4.13.1-canary.0
|
|
1038
|
-
|
|
1039
112
|
## 4.13.0
|
|
1040
113
|
|
|
1041
114
|
### Patch Changes
|
|
1042
115
|
|
|
1043
116
|
- [#1702](https://github.com/graphcommerce-org/graphcommerce/pull/1702) [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1044
117
|
|
|
1045
|
-
## 4.13.0-canary.1
|
|
1046
|
-
|
|
1047
|
-
### Patch Changes
|
|
1048
|
-
|
|
1049
|
-
- [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1050
|
-
|
|
1051
|
-
## 4.13.0-canary.0
|
|
1052
|
-
|
|
1053
118
|
## 3.1.9
|
|
1054
119
|
|
|
1055
120
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApolloError } from '@graphcommerce/graphql'
|
|
2
|
-
import type {
|
|
2
|
+
import type { GraphQLFormattedError } from 'graphql'
|
|
3
3
|
|
|
4
4
|
export type ErrorCategory =
|
|
5
5
|
| 'internal'
|
|
@@ -28,13 +28,13 @@ export type GraphQLErrorByCategoryPropsNoExtract = Omit<GraphQLErrorByCategoryPr
|
|
|
28
28
|
*/
|
|
29
29
|
export function graphqlErrorByCategory(
|
|
30
30
|
props: GraphQLErrorByCategoryPropsNoExtract,
|
|
31
|
-
): [ApolloError,
|
|
31
|
+
): [ApolloError, GraphQLFormattedError | undefined]
|
|
32
32
|
export function graphqlErrorByCategory(
|
|
33
33
|
props: GraphQLErrorByCategoryProps,
|
|
34
|
-
): [ApolloError | undefined,
|
|
34
|
+
): [ApolloError | undefined, GraphQLFormattedError | undefined]
|
|
35
35
|
export function graphqlErrorByCategory(
|
|
36
36
|
props: GraphQLErrorByCategoryProps | GraphQLErrorByCategoryPropsNoExtract,
|
|
37
|
-
): [ApolloError | undefined,
|
|
37
|
+
): [ApolloError | undefined, GraphQLFormattedError | undefined] {
|
|
38
38
|
const { category, error, extract = true, mask } = props
|
|
39
39
|
|
|
40
40
|
if (!error) return [error, undefined]
|
|
@@ -46,9 +46,9 @@ export function graphqlErrorByCategory(
|
|
|
46
46
|
),
|
|
47
47
|
})
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
let graphqlError = error.graphQLErrors.find((err) => err?.extensions?.category === category)
|
|
50
50
|
if (mask && graphqlError) {
|
|
51
|
-
graphqlError
|
|
51
|
+
graphqlError = { ...graphqlError, message: mask }
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
return newError.graphQLErrors.length === 0 && !newError.networkError
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import fragments from '@graphcommerce/graphql/generated/fragments.json'
|
|
2
1
|
import type {
|
|
3
2
|
AttributeValueInterfaceResolvers,
|
|
4
3
|
MeshContext,
|
|
5
4
|
Resolvers,
|
|
6
5
|
} from '@graphcommerce/graphql-mesh'
|
|
6
|
+
import fragments from '@graphcommerce/graphql/generated/fragments.json'
|
|
7
7
|
import { customAttributeMetadataV2 } from './customAttributeMetadataV2'
|
|
8
8
|
|
|
9
9
|
type AttributeValueResolver = Pick<AttributeValueInterfaceResolvers<MeshContext>, 'attribute'>
|
|
10
10
|
|
|
11
11
|
const attributeValueResolver: AttributeValueResolver = {
|
|
12
12
|
attribute: {
|
|
13
|
-
selectionSet:
|
|
13
|
+
selectionSet: '{ code }',
|
|
14
14
|
resolve: async (root, _, context) =>
|
|
15
15
|
root.attribute ??
|
|
16
16
|
(await customAttributeMetadataV2(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CustomAttributeMetadataInterface, MeshContext } from '@graphcommerce/graphql-mesh'
|
|
2
2
|
|
|
3
3
|
export type CustomAttributeInput = { attribute_code: string; entity_type: 'catalog_product' }
|
|
4
4
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import fragments from '@graphcommerce/graphql/generated/fragments.json'
|
|
2
1
|
import type { MeshContext, ProductInterfaceResolvers, Resolvers } from '@graphcommerce/graphql-mesh'
|
|
2
|
+
import fragments from '@graphcommerce/graphql/generated/fragments.json'
|
|
3
3
|
import { Kind } from 'graphql'
|
|
4
|
-
import { CustomAttributeInput
|
|
4
|
+
import type { CustomAttributeInput } from './customAttributeMetadataV2'
|
|
5
|
+
import { customAttributeMetadataV2 } from './customAttributeMetadataV2'
|
|
5
6
|
|
|
6
7
|
type CustomAttributeV2Resolver = Pick<ProductInterfaceResolvers<MeshContext>, 'custom_attributeV2'>
|
|
7
8
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-graphql",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.
|
|
5
|
+
"version": "9.0.1-canary.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.
|
|
17
|
-
"@graphcommerce/graphql": "^9.0.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.
|
|
19
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.1-canary.0",
|
|
17
|
+
"@graphcommerce/graphql": "^9.0.1-canary.0",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.1-canary.0",
|
|
19
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.1-canary.0",
|
|
20
20
|
"graphql": "^16.0.0",
|
|
21
21
|
"next": "*",
|
|
22
22
|
"react": "^18.2.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { graphqlConfig as graphqlConfigType } from '@graphcommerce/graphql'
|
|
1
|
+
import type { graphqlConfig as graphqlConfigType } from '@graphcommerce/graphql'
|
|
2
2
|
import type { FunctionPlugin, PluginConfig } from '@graphcommerce/next-config'
|
|
3
3
|
import { magentoTypePolicies } from '../typePolicies'
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ export const config: PluginConfig = {
|
|
|
7
7
|
module: '@graphcommerce/graphql',
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export const graphqlConfig: FunctionPlugin<typeof graphqlConfigType> = (prev,
|
|
11
|
-
const results = prev(
|
|
10
|
+
export const graphqlConfig: FunctionPlugin<typeof graphqlConfigType> = (prev, conf) => {
|
|
11
|
+
const results = prev(conf)
|
|
12
12
|
return { ...results, policies: [magentoTypePolicies, ...results.policies] }
|
|
13
13
|
}
|
package/typePolicies.ts
CHANGED