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