@graphcommerce/graphql 9.0.0-canary.101 → 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,784 +1,86 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.101
4
-
5
- ### Patch Changes
6
-
7
- - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`2457ca2`](https://github.com/graphcommerce-org/graphcommerce/commit/2457ca25a737a1fdc8b1d0e1b4b6ddb69c5f420e) - measurePerformanceLink now reports queries made in the subgraph and is only included during development and not in production. ([@paales](https://github.com/paales))
8
-
9
- ## 9.0.0-canary.100
10
-
11
- ## 9.0.0-canary.99
12
-
13
- ## 9.0.0-canary.98
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
- ### Patch Changes
40
-
41
- - [#2379](https://github.com/graphcommerce-org/graphcommerce/pull/2379) [`c4ff06d`](https://github.com/graphcommerce-org/graphcommerce/commit/c4ff06da58e01de47c48aa55f4f822223202570c) - When a useInContextQuery is called, only execute when there is no InContextMaskContext defined above ([@paales](https://github.com/paales))
42
-
43
- ## 9.0.0-canary.85
44
-
45
- ## 9.0.0-canary.84
46
-
47
- ## 9.0.0-canary.83
48
-
49
- ## 9.0.0-canary.82
50
-
51
- ## 9.0.0-canary.81
52
-
53
- ## 9.0.0-canary.80
54
-
55
- ### Patch Changes
56
-
57
- - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`7a2f715`](https://github.com/graphcommerce-org/graphcommerce/commit/7a2f7153fa9157be17575abb6d77821a2ec99f30) - Make sure the InContextMask only warns when a block is renderer during the initial ssr render. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
58
-
59
- ## 9.0.0-canary.79
60
-
61
- ## 9.0.0-canary.78
62
-
63
- ## 9.0.0-canary.77
64
-
65
- ## 9.0.0-canary.76
66
-
67
- ## 9.0.0-canary.75
68
-
69
- ## 9.0.0-canary.74
70
-
71
- ## 9.0.0-canary.73
72
-
73
- ## 9.0.0-canary.72
74
-
75
- ## 9.0.0-canary.71
76
-
77
- ## 9.0.0-canary.70
78
-
79
- ## 9.0.0-canary.69
80
-
81
- ## 9.0.0-canary.68
82
-
83
- ## 9.0.0-canary.67
84
-
85
- ## 9.0.0-canary.66
86
-
87
- ## 9.0.0-canary.65
88
-
89
- ## 9.0.0-canary.64
90
-
91
- ## 9.0.0-canary.63
92
-
93
- ## 9.0.0-canary.62
94
-
95
- ## 9.0.0-canary.61
96
-
97
- ## 9.0.0-canary.60
98
-
99
- ## 9.0.0-canary.59
100
-
101
- ## 9.0.0-canary.58
102
-
103
- ## 9.0.0-canary.57
104
-
105
- ## 9.0.0-canary.56
106
-
107
- ## 9.0.0-canary.55
108
-
109
- ## 9.0.0-canary.54
110
-
111
- ## 8.1.0-canary.53
112
-
113
- ## 8.1.0-canary.52
114
-
115
- ## 8.1.0-canary.51
116
-
117
- ## 8.1.0-canary.50
118
-
119
- ## 8.1.0-canary.49
120
-
121
- ## 8.1.0-canary.48
122
-
123
- ## 8.1.0-canary.47
124
-
125
- ### Minor Changes
126
-
127
- - [#2315](https://github.com/graphcommerce-org/graphcommerce/pull/2315) [`fb9118e`](https://github.com/graphcommerce-org/graphcommerce/commit/fb9118ec819d1b507d4fbde04f2ca34ec01ecf49) - Add guestOrder functionality, remove `size: 'max'` from getStaticProps ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
128
-
129
- ## 8.1.0-canary.46
130
-
131
- ### Patch Changes
132
-
133
- - [#2314](https://github.com/graphcommerce-org/graphcommerce/pull/2314) [`fe8fce7`](https://github.com/graphcommerce-org/graphcommerce/commit/fe8fce7f5a82e227ed4a1992415af73fa7d0bb79) - Importing \*.interceptor is NOT allowed ([@paales](https://github.com/paales))
134
-
135
- ## 8.1.0-canary.45
136
-
137
- ### Patch Changes
138
-
139
- - [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`d066e6f`](https://github.com/graphcommerce-org/graphcommerce/commit/d066e6f904ca68a8771ab73ce30aa06d11fc71b6) - When loading a page, always create a new graphql client, so that cache isn't shared for each request, causing an unnecessary large page size. ([@paales](https://github.com/paales))
140
-
141
- ## 8.1.0-canary.44
142
-
143
- ## 8.1.0-canary.43
144
-
145
- ## 8.1.0-canary.42
146
-
147
- ### Patch Changes
148
-
149
- - [#2308](https://github.com/graphcommerce-org/graphcommerce/pull/2308) [`8faa5ac`](https://github.com/graphcommerce-org/graphcommerce/commit/8faa5ac618ecfdacd6d5eb751b4110c423aef97f) - Added Draft Mode support. When enabled it will be shown. ([@paales](https://github.com/paales))
150
-
151
- ## 8.1.0-canary.41
152
-
153
- ## 8.1.0-canary.40
154
-
155
- ## 8.1.0-canary.39
156
-
157
- ## 8.1.0-canary.38
158
-
159
- ## 8.1.0-canary.37
160
-
161
- ## 8.1.0-canary.36
162
-
163
- ## 8.1.0-canary.35
164
-
165
- ## 8.1.0-canary.34
166
-
167
- ## 8.1.0-canary.33
168
-
169
- ## 8.1.0-canary.32
170
-
171
- ## 8.1.0-canary.31
172
-
173
- ## 8.1.0-canary.30
174
-
175
- ## 8.1.0-canary.29
176
-
177
- ## 8.1.0-canary.28
178
-
179
- ## 8.1.0-canary.27
180
-
181
- ## 8.1.0-canary.26
182
-
183
- ## 8.1.0-canary.25
184
-
185
- ## 8.1.0-canary.24
186
-
187
- ## 8.1.0-canary.23
188
-
189
- ## 8.1.0-canary.22
190
-
191
- ## 8.1.0-canary.21
192
-
193
- ## 8.1.0-canary.20
194
-
195
- ## 8.1.0-canary.19
196
-
197
- ## 8.1.0-canary.18
198
-
199
- ## 8.1.0-canary.17
200
-
201
- ## 8.1.0-canary.16
202
-
203
- ## 8.1.0-canary.15
204
-
205
- ## 8.1.0-canary.14
206
-
207
- ## 8.1.0-canary.13
208
-
209
- ## 8.1.0-canary.12
210
-
211
- ## 8.1.0-canary.11
212
-
213
- ## 8.1.0-canary.10
214
-
215
- ## 8.1.0-canary.9
216
-
217
- ## 8.1.0-canary.8
218
-
219
- ## 8.1.0-canary.7
220
-
221
- ## 8.1.0-canary.6
222
-
223
- ## 8.1.0-canary.5
224
-
225
- ## 8.0.6-canary.4
226
-
227
- ## 8.0.6-canary.3
228
-
229
- ## 8.0.6-canary.2
230
-
231
- ## 8.0.6-canary.1
232
-
233
- ## 8.0.6-canary.0
234
-
235
- ## 8.0.5
236
-
237
- ## 8.0.5-canary.10
238
-
239
- ## 8.0.5-canary.9
240
-
241
- ## 8.0.5-canary.8
242
-
243
- ## 8.0.5-canary.7
244
-
245
- ## 8.0.5-canary.6
246
-
247
- ## 8.0.5-canary.5
248
-
249
- ## 8.0.5-canary.4
250
-
251
- ## 8.0.5-canary.3
252
-
253
- ## 8.0.5-canary.2
254
-
255
- ## 8.0.5-canary.1
256
-
257
- ## 8.0.5-canary.0
258
-
259
- ## 8.0.4
260
-
261
- ## 8.0.4-canary.1
262
-
263
- ## 8.0.4-canary.0
264
-
265
- ## 8.0.3
266
-
267
- ## 8.0.3-canary.6
268
-
269
- ## 8.0.3-canary.5
270
-
271
- ## 8.0.3-canary.4
272
-
273
- ## 8.0.3-canary.3
274
-
275
- ## 8.0.3-canary.2
276
-
277
- ## 8.0.3-canary.1
278
-
279
- ## 8.0.3-canary.0
280
-
281
- ## 8.0.2
282
-
283
- ## 8.0.2-canary.3
284
-
285
- ## 8.0.2-canary.2
286
-
287
- ## 8.0.2-canary.1
288
-
289
- ## 8.0.2-canary.0
290
-
291
- ## 8.0.1
292
-
293
- ## 8.0.1-canary.4
294
-
295
- ## 8.0.1-canary.3
296
-
297
- ## 8.0.1-canary.2
298
-
299
- ## 8.0.1-canary.1
300
-
301
- ## 8.0.1-canary.0
302
-
303
- ## 8.0.0
304
-
305
- ### Patch Changes
306
-
307
- - [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`4a29bf7`](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))
308
-
309
- - [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`072cd14`](https://github.com/graphcommerce-org/graphcommerce/commit/072cd14f29b58b907ce04ee294e8fb9c6190556a) - Allow `configurable_product_options_selection` to be stored in the `localStorage` so queries do not need to be re-executed when the page loads. ([@Jessevdpoel](https://github.com/Jessevdpoel))
310
-
311
- ## 8.0.0-canary.100
312
-
313
- ## 8.0.0-canary.99
314
-
315
- ## 8.0.0-canary.98
316
-
317
- ## 8.0.0-canary.97
318
-
319
- ## 8.0.0-canary.96
320
-
321
- ## 8.0.0-canary.95
322
-
323
- ## 8.0.0-canary.94
324
-
325
- ## 8.0.0-canary.93
326
-
327
- ## 8.0.0-canary.92
328
-
329
- ## 8.0.0-canary.91
330
-
331
- ## 8.0.0-canary.90
332
-
333
- ## 8.0.0-canary.89
334
-
335
- ## 8.0.0-canary.88
336
-
337
- ## 8.0.0-canary.87
338
-
339
- ## 8.0.0-canary.86
340
-
341
- ## 8.0.0-canary.85
342
-
343
- ## 8.0.0-canary.84
344
-
345
- ## 8.0.0-canary.83
346
-
347
- ## 8.0.0-canary.82
348
-
349
- ## 8.0.0-canary.81
350
-
351
- ## 8.0.0-canary.80
352
-
353
- ## 8.0.0-canary.79
354
-
355
- ## 8.0.0-canary.78
356
-
357
- ## 8.0.0-canary.77
358
-
359
- ## 8.0.0-canary.76
360
-
361
- ## 8.0.0-canary.75
362
-
363
- ## 8.0.0-canary.74
364
-
365
- ## 8.0.0-canary.73
366
-
367
- ## 8.0.0-canary.72
368
-
369
- ## 8.0.0-canary.71
370
-
371
- ## 8.0.0-canary.70
372
-
373
- ## 8.0.0-canary.69
374
-
375
- ## 7.1.0-canary.68
376
-
377
- ## 7.1.0-canary.67
378
-
379
- ## 7.1.0-canary.66
380
-
381
- ## 7.1.0-canary.65
382
-
383
- ## 7.1.0-canary.64
384
-
385
- ## 7.1.0-canary.63
386
-
387
- ## 7.1.0-canary.62
388
-
389
- ## 7.1.0-canary.61
390
-
391
- ## 7.1.0-canary.60
392
-
393
- ## 7.1.0-canary.59
394
-
395
- ## 7.1.0-canary.58
396
-
397
- ## 7.1.0-canary.57
398
-
399
- ## 7.1.0-canary.56
400
-
401
- ## 7.1.0-canary.55
402
-
403
- ## 7.1.0-canary.54
404
-
405
- ## 7.1.0-canary.53
406
-
407
- ## 7.1.0-canary.52
408
-
409
- ## 7.1.0-canary.51
410
-
411
- ## 7.1.0-canary.50
412
-
413
- ## 7.1.0-canary.49
414
-
415
- ## 7.1.0-canary.48
416
-
417
- ## 7.1.0-canary.47
418
-
419
- ## 7.1.0-canary.46
420
-
421
- ## 7.1.0-canary.45
422
-
423
- ## 7.1.0-canary.38
424
-
425
- ### Patch Changes
426
-
427
- - [#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))
428
-
429
- - [#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))
430
-
431
- ## 7.1.0-canary.37
432
-
433
- ## 7.1.0-canary.36
434
-
435
- ## 7.1.0-canary.35
436
-
437
- ## 7.1.0-canary.34
438
-
439
- ## 7.1.0-canary.33
440
-
441
- ## 7.1.0-canary.32
442
-
443
- ## 7.1.0-canary.31
444
-
445
- ## 7.1.0-canary.30
446
-
447
- ## 7.1.0-canary.29
448
-
449
- ## 7.1.0-canary.28
450
-
451
- ## 7.1.0-canary.27
452
-
453
- ## 7.1.0-canary.26
454
-
455
- ## 7.1.0-canary.25
456
-
457
- ## 7.1.0-canary.24
458
-
459
- ## 7.1.0-canary.23
460
-
461
- ## 7.1.0-canary.22
462
-
463
- ## 7.1.0-canary.21
464
-
465
- ## 7.1.0-canary.20
466
-
467
- ## 7.1.0-canary.19
468
-
469
- ## 7.1.0-canary.18
470
-
471
- ## 7.1.0-canary.17
472
-
473
- ## 7.1.0-canary.16
474
-
475
- ## 7.1.0-canary.15
476
-
477
- ## 7.1.0-canary.14
478
-
479
- ## 7.1.0-canary.13
480
-
481
- ## 7.1.0-canary.12
482
-
483
- ## 7.1.0-canary.11
484
-
485
- ## 7.1.0-canary.10
486
-
487
- ## 7.1.0-canary.9
488
-
489
- ## 7.1.0-canary.8
490
-
491
- ## 7.0.2-canary.7
492
-
493
- ## 7.0.2-canary.6
494
-
495
- ## 7.0.2-canary.5
496
-
497
- ## 7.0.1
498
-
499
- ### Patch Changes
500
-
501
- - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
502
-
503
- ## 7.0.1-canary.15
504
-
505
- ## 7.0.1-canary.14
506
-
507
- ## 7.0.1-canary.13
508
-
509
- ## 7.0.1-canary.12
510
-
511
- ## 7.0.1-canary.11
512
-
513
- ## 7.0.1-canary.10
514
-
515
- ## 7.0.1-canary.9
516
-
517
- ## 7.0.1-canary.8
518
-
519
- ## 7.0.1-canary.7
520
-
521
- ## 7.0.1-canary.6
522
-
523
- ## 7.0.1-canary.5
524
-
525
- ## 7.0.1-canary.4
526
-
527
- ## 7.0.1-canary.3
528
-
529
- ## 7.0.1-canary.2
530
-
531
- ## 7.0.1-canary.1
532
-
533
- ## 7.0.1-canary.0
534
-
535
- ### Patch Changes
536
-
537
- - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
538
-
539
- ## 7.0.0
540
-
541
- ### Patch Changes
542
-
543
- - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`f78caf5a8`](https://github.com/graphcommerce-org/graphcommerce/commit/f78caf5a83683f1ae4b901fb94bd22d50943fa2f) - Updated packages: `next`, `@apollo/client`, `react-hook-form`, `@emotion/*`, `@lingui/*`, `@mui/*` and various others. ([@paales](https://github.com/paales))
544
-
545
- - [#2012](https://github.com/graphcommerce-org/graphcommerce/pull/2012) [`1dbb3ae13`](https://github.com/graphcommerce-org/graphcommerce/commit/1dbb3ae13553992ee1ed77f375375560f28c418c) - Upgrade graphql to 16.7.1, add graphql as peer dependency ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
546
-
547
- - [#2031](https://github.com/graphcommerce-org/graphcommerce/pull/2031) [`4d8fc9e99`](https://github.com/graphcommerce-org/graphcommerce/commit/4d8fc9e998fc9361282833316ec9564da0644ed6) - Eslint fixes and suppress accepted warnings ([@paales](https://github.com/paales))
548
-
549
- - [#1915](https://github.com/graphcommerce-org/graphcommerce/pull/1915) [`f4a8c3881`](https://github.com/graphcommerce-org/graphcommerce/commit/f4a8c388183e17c52e7f66536c5448749f494d7f) - Moved the injection of the links to plugins ([@paales](https://github.com/paales))
550
-
551
- - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`86e14569b`](https://github.com/graphcommerce-org/graphcommerce/commit/86e14569b1f68f73be7f93b614e36b382c5debff) - Updated to the latest release of GraphQL codegen and solve compatibility issues with our own generator ([@paales](https://github.com/paales))
552
-
553
- - [#1942](https://github.com/graphcommerce-org/graphcommerce/pull/1942) [`df2b3efb2`](https://github.com/graphcommerce-org/graphcommerce/commit/df2b3efb2f906232a302218678c1524753c5a32c) - Customer related information was stored in the users local storage indefintely causing cache mismatches:
554
-
555
- - 1. It stores a lot less by using the newly created _persistenceMapper_.
556
- - 2. The 'createCacheReviver' would recreate the ApolloClient-cache on each navigation, it wont do that anymore.
557
- - 3. The _persistenceMapper_ now has a hard coded blacklist of entries that aren't allowed to be stored in the local storage. In a future PR we'll make this blacklist configurable. ([@paales](https://github.com/paales))
558
-
559
- ## 6.2.0-canary.98
560
-
561
- ## 6.2.0-canary.97
562
-
563
- ## 6.2.0-canary.96
564
-
565
- ## 6.2.0-canary.95
566
-
567
- ## 6.2.0-canary.94
568
-
569
- ## 6.2.0-canary.93
570
-
571
- ## 6.2.0-canary.92
572
-
573
- ## 6.2.0-canary.91
574
-
575
- ## 6.2.0-canary.90
576
-
577
- ## 6.2.0-canary.89
578
-
579
- ### Patch Changes
580
-
581
- - [#2031](https://github.com/graphcommerce-org/graphcommerce/pull/2031) [`4d8fc9e99`](https://github.com/graphcommerce-org/graphcommerce/commit/4d8fc9e998fc9361282833316ec9564da0644ed6) - Eslint fixes and suppress accepted warnings ([@paales](https://github.com/paales))
582
-
583
- ## 6.2.0-canary.88
584
-
585
- ## 6.2.0-canary.87
586
-
587
- ## 6.2.0-canary.86
588
-
589
- ## 6.2.0-canary.85
590
-
591
- ## 6.2.0-canary.84
592
-
593
- ## 6.2.0-canary.83
594
-
595
- ## 6.2.0-canary.82
596
-
597
- ## 6.2.0-canary.81
598
-
599
- ## 6.2.0-canary.80
600
-
601
- ## 6.2.0-canary.79
602
-
603
- ## 6.2.0-canary.78
604
-
605
- ## 6.2.0-canary.77
606
-
607
- ## 6.2.0-canary.76
608
-
609
- ## 6.2.0-canary.75
610
-
611
- ## 6.2.0-canary.74
612
-
613
- ## 6.2.0-canary.73
614
-
615
- ## 6.2.0-canary.72
616
-
617
- ## 6.2.0-canary.71
618
-
619
- ## 6.2.0-canary.70
620
-
621
- ## 6.2.0-canary.69
3
+ ## 9.0.0-canary.103
622
4
 
623
5
  ### Patch Changes
624
6
 
625
- - [#2012](https://github.com/graphcommerce-org/graphcommerce/pull/2012) [`1dbb3ae13`](https://github.com/graphcommerce-org/graphcommerce/commit/1dbb3ae13553992ee1ed77f375375560f28c418c) - Upgrade graphql to 16.7.1, add graphql as peer dependency ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
626
-
627
- ## 6.2.0-canary.68
7
+ - [#2421](https://github.com/graphcommerce-org/graphcommerce/pull/2421) [`d500643`](https://github.com/graphcommerce-org/graphcommerce/commit/d500643138799b6db1610cb10a1d065d6219d8ea) - Resolve peer dependency issues so we get a clean install ([@paales](https://github.com/paales))
628
8
 
629
- ## 6.2.0-canary.67
9
+ ## 9.0.0-canary.101
630
10
 
631
11
  ### Patch Changes
632
12
 
633
- - [#2002](https://github.com/graphcommerce-org/graphcommerce/pull/2002) [`1234bb61f`](https://github.com/graphcommerce-org/graphcommerce/commit/1234bb61f8332da8a9e4dd7262b0c70beaed8c91) - Updated next and apollo/client ([@paales](https://github.com/paales))
634
-
635
- ## 6.2.0-canary.66
636
-
637
- ## 6.2.0-canary.65
638
-
639
- ## 6.2.0-canary.64
640
-
641
- ## 6.2.0-canary.63
642
-
643
- ## 6.2.0-canary.62
644
-
645
- ## 6.2.0-canary.61
646
-
647
- ## 6.2.0-canary.60
648
-
649
- ## 6.2.0-canary.59
650
-
651
- ## 6.2.0-canary.58
652
-
653
- ## 6.2.0-canary.57
654
-
655
- ## 6.2.0-canary.56
656
-
657
- ## 6.2.0-canary.55
658
-
659
- ## 6.2.0-canary.54
660
-
661
- ## 6.2.0-canary.53
662
-
663
- ## 6.2.0-canary.52
664
-
665
- ## 6.2.0-canary.51
666
-
667
- ## 6.2.0-canary.50
668
-
669
- ## 6.2.0-canary.49
670
-
671
- ## 6.2.0-canary.48
672
-
673
- ## 6.2.0-canary.47
674
-
675
- ## 6.2.0-canary.46
676
-
677
- ## 6.2.0-canary.45
678
-
679
- ## 6.2.0-canary.44
680
-
681
- ## 6.2.0-canary.43
682
-
683
- ## 6.2.0-canary.42
13
+ - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`2457ca2`](https://github.com/graphcommerce-org/graphcommerce/commit/2457ca25a737a1fdc8b1d0e1b4b6ddb69c5f420e) - measurePerformanceLink now reports queries made in the subgraph and is only included during development and not in production. ([@paales](https://github.com/paales))
684
14
 
685
- ## 6.2.0-canary.41
15
+ ## 9.0.0-canary.86
686
16
 
687
17
  ### Patch Changes
688
18
 
689
- - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`f78caf5a8`](https://github.com/graphcommerce-org/graphcommerce/commit/f78caf5a83683f1ae4b901fb94bd22d50943fa2f) - Updated packages @apollo/client, react-hook-form, @emotion/\*, @lingui/\*, @mui/\* and various others. ([@paales](https://github.com/paales))
690
-
691
- - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`86e14569b`](https://github.com/graphcommerce-org/graphcommerce/commit/86e14569b1f68f73be7f93b614e36b382c5debff) - Updated to the latest release of GraphQL codegen and solve compatibility issues with our own generator ([@paales](https://github.com/paales))
692
-
693
- ## 6.2.0-canary.40
694
-
695
- ## 6.2.0-canary.39
696
-
697
- ## 6.2.0-canary.38
698
-
699
- ## 6.2.0-canary.37
700
-
701
- ## 6.2.0-canary.36
702
-
703
- ## 6.2.0-canary.35
704
-
705
- ## 6.2.0-canary.34
706
-
707
- ## 6.2.0-canary.33
708
-
709
- ## 6.2.0-canary.32
710
-
711
- ## 6.2.0-canary.31
19
+ - [#2379](https://github.com/graphcommerce-org/graphcommerce/pull/2379) [`c4ff06d`](https://github.com/graphcommerce-org/graphcommerce/commit/c4ff06da58e01de47c48aa55f4f822223202570c) - When a useInContextQuery is called, only execute when there is no InContextMaskContext defined above ([@paales](https://github.com/paales))
712
20
 
713
- ## 6.2.0-canary.30
21
+ ## 9.0.0-canary.80
714
22
 
715
23
  ### Patch Changes
716
24
 
717
- - [#1942](https://github.com/graphcommerce-org/graphcommerce/pull/1942) [`df2b3efb2`](https://github.com/graphcommerce-org/graphcommerce/commit/df2b3efb2f906232a302218678c1524753c5a32c) - Customer related information was stored in the users local storage indefintely causing cache mismatches: 1. It stores a lot less by using the newly created _persistenceMapper_. 2. The 'createCacheReviver' would recreate the ApolloClient-cache on each navigation, it wont do that anymore. 3. The _persistenceMapper_ now has a hard coded blacklist of entries that aren't allowed to be stored in the local storage. In a future PR we'll make this blacklist configurable. ([@paales](https://github.com/paales))
718
-
719
- ## 6.2.0-canary.29
720
-
721
- ## 6.2.0-canary.28
722
-
723
- ## 6.2.0-canary.27
724
-
725
- ## 6.2.0-canary.26
25
+ - [#2341](https://github.com/graphcommerce-org/graphcommerce/pull/2341) [`7a2f715`](https://github.com/graphcommerce-org/graphcommerce/commit/7a2f7153fa9157be17575abb6d77821a2ec99f30) - Make sure the InContextMask only warns when a block is renderer during the initial ssr render. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
726
26
 
727
- ## 6.2.0-canary.25
27
+ ## 8.1.0-canary.47
728
28
 
729
- ## 6.2.0-canary.24
29
+ ### Minor Changes
730
30
 
731
- ## 6.2.0-canary.23
31
+ - [#2315](https://github.com/graphcommerce-org/graphcommerce/pull/2315) [`fb9118e`](https://github.com/graphcommerce-org/graphcommerce/commit/fb9118ec819d1b507d4fbde04f2ca34ec01ecf49) - Add guestOrder functionality, remove `size: 'max'` from getStaticProps ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
732
32
 
733
- ## 6.2.0-canary.22
33
+ ## 8.1.0-canary.46
734
34
 
735
- ## 6.2.0-canary.21
35
+ ### Patch Changes
736
36
 
737
- ## 6.2.0-canary.20
37
+ - [#2314](https://github.com/graphcommerce-org/graphcommerce/pull/2314) [`fe8fce7`](https://github.com/graphcommerce-org/graphcommerce/commit/fe8fce7f5a82e227ed4a1992415af73fa7d0bb79) - Importing \*.interceptor is NOT allowed ([@paales](https://github.com/paales))
738
38
 
739
- ## 6.2.0-canary.19
39
+ ## 8.1.0-canary.45
740
40
 
741
- ## 6.2.0-canary.18
41
+ ### Patch Changes
742
42
 
743
- ## 6.2.0-canary.17
43
+ - [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`d066e6f`](https://github.com/graphcommerce-org/graphcommerce/commit/d066e6f904ca68a8771ab73ce30aa06d11fc71b6) - When loading a page, always create a new graphql client, so that cache isn't shared for each request, causing an unnecessary large page size. ([@paales](https://github.com/paales))
744
44
 
745
- ## 6.2.0-canary.16
45
+ ## 8.1.0-canary.42
746
46
 
747
- ## 6.2.0-canary.15
47
+ ### Patch Changes
748
48
 
749
- ## 6.2.0-canary.14
49
+ - [#2308](https://github.com/graphcommerce-org/graphcommerce/pull/2308) [`8faa5ac`](https://github.com/graphcommerce-org/graphcommerce/commit/8faa5ac618ecfdacd6d5eb751b4110c423aef97f) - Added Draft Mode support. When enabled it will be shown. ([@paales](https://github.com/paales))
750
50
 
751
- ## 6.2.0-canary.13
51
+ ## 8.0.0
752
52
 
753
- ## 6.2.0-canary.12
53
+ ### Patch Changes
754
54
 
755
- ## 6.2.0-canary.11
55
+ - [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`4a29bf7`](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))
756
56
 
757
- ## 6.2.0-canary.10
57
+ - [#2048](https://github.com/graphcommerce-org/graphcommerce/pull/2048) [`072cd14`](https://github.com/graphcommerce-org/graphcommerce/commit/072cd14f29b58b907ce04ee294e8fb9c6190556a) - Allow `configurable_product_options_selection` to be stored in the `localStorage` so queries do not need to be re-executed when the page loads. ([@Jessevdpoel](https://github.com/Jessevdpoel))
758
58
 
759
- ## 6.2.0-canary.9
59
+ ## 7.0.1
760
60
 
761
- ## 6.2.0-canary.8
61
+ ### Patch Changes
762
62
 
763
- ## 6.2.0-canary.7
63
+ - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
764
64
 
765
- ## 6.2.0-canary.6
65
+ ## 7.0.0
766
66
 
767
67
  ### Patch Changes
768
68
 
769
- - [#1915](https://github.com/graphcommerce-org/graphcommerce/pull/1915) [`f4a8c3881`](https://github.com/graphcommerce-org/graphcommerce/commit/f4a8c388183e17c52e7f66536c5448749f494d7f) - Moved the injection of the links to plugins ([@paales](https://github.com/paales))
69
+ - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`f78caf5a8`](https://github.com/graphcommerce-org/graphcommerce/commit/f78caf5a83683f1ae4b901fb94bd22d50943fa2f) - Updated packages: `next`, `@apollo/client`, `react-hook-form`, `@emotion/*`, `@lingui/*`, `@mui/*` and various others. ([@paales](https://github.com/paales))
770
70
 
771
- ## 6.1.1-canary.5
71
+ - [#2012](https://github.com/graphcommerce-org/graphcommerce/pull/2012) [`1dbb3ae13`](https://github.com/graphcommerce-org/graphcommerce/commit/1dbb3ae13553992ee1ed77f375375560f28c418c) - Upgrade graphql to 16.7.1, add graphql as peer dependency ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
772
72
 
773
- ## 6.1.1-canary.4
73
+ - [#2031](https://github.com/graphcommerce-org/graphcommerce/pull/2031) [`4d8fc9e99`](https://github.com/graphcommerce-org/graphcommerce/commit/4d8fc9e998fc9361282833316ec9564da0644ed6) - Eslint fixes and suppress accepted warnings ([@paales](https://github.com/paales))
774
74
 
775
- ## 6.1.1-canary.3
75
+ - [#1915](https://github.com/graphcommerce-org/graphcommerce/pull/1915) [`f4a8c3881`](https://github.com/graphcommerce-org/graphcommerce/commit/f4a8c388183e17c52e7f66536c5448749f494d7f) - Moved the injection of the links to plugins ([@paales](https://github.com/paales))
776
76
 
777
- ## 6.1.1-canary.2
77
+ - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`86e14569b`](https://github.com/graphcommerce-org/graphcommerce/commit/86e14569b1f68f73be7f93b614e36b382c5debff) - Updated to the latest release of GraphQL codegen and solve compatibility issues with our own generator ([@paales](https://github.com/paales))
778
78
 
779
- ## 6.1.1-canary.1
79
+ - [#1942](https://github.com/graphcommerce-org/graphcommerce/pull/1942) [`df2b3efb2`](https://github.com/graphcommerce-org/graphcommerce/commit/df2b3efb2f906232a302218678c1524753c5a32c) - Customer related information was stored in the users local storage indefintely causing cache mismatches:
780
80
 
781
- ## 6.1.1-canary.0
81
+ - 1. It stores a lot less by using the newly created _persistenceMapper_.
82
+ - 2. The 'createCacheReviver' would recreate the ApolloClient-cache on each navigation, it wont do that anymore.
83
+ - 3. The _persistenceMapper_ now has a hard coded blacklist of entries that aren't allowed to be stored in the local storage. In a future PR we'll make this blacklist configurable. ([@paales](https://github.com/paales))
782
84
 
783
85
  ## 6.1.0
784
86
 
@@ -792,78 +94,6 @@
792
94
 
793
95
  - [#1883](https://github.com/graphcommerce-org/graphcommerce/pull/1883) [`ede93ae7f`](https://github.com/graphcommerce-org/graphcommerce/commit/ede93ae7f1d9239d1e827cce574085a1c264890b) - When running in dev mode, the CLI will now have clickable references to the backend queries made by the Mesh. ([@paales](https://github.com/paales))
794
96
 
795
- ## 6.0.2-canary.22
796
-
797
- ## 6.0.2-canary.21
798
-
799
- ## 6.0.2-canary.20
800
-
801
- ## 6.0.2-canary.19
802
-
803
- ## 6.0.2-canary.18
804
-
805
- ## 6.0.2-canary.17
806
-
807
- ## 6.0.2-canary.16
808
-
809
- ## 6.0.2-canary.15
810
-
811
- ## 6.0.2-canary.14
812
-
813
- ## 6.0.2-canary.13
814
-
815
- ### Patch Changes
816
-
817
- - [#1869](https://github.com/graphcommerce-org/graphcommerce/pull/1869) [`82111fa35`](https://github.com/graphcommerce-org/graphcommerce/commit/82111fa351b68a76ff053ebb7e0261ee507a826d) - Revert to classical useEffect strategy for Apollo cache persist restore and remove custom hydration strategies from the cart. ([@paales](https://github.com/paales))
818
-
819
- ## 6.0.2-canary.12
820
-
821
- ## 6.0.2-canary.11
822
-
823
- ## 6.0.2-canary.10
824
-
825
- ### Patch Changes
826
-
827
- - [#1883](https://github.com/graphcommerce-org/graphcommerce/pull/1883) [`ede93ae7f`](https://github.com/graphcommerce-org/graphcommerce/commit/ede93ae7f1d9239d1e827cce574085a1c264890b) - Added clickable links to measurePerformanceLink ([@paales](https://github.com/paales))
828
-
829
- ## 6.0.2-canary.9
830
-
831
- ## 6.0.2-canary.8
832
-
833
- ## 6.0.2-canary.7
834
-
835
- ## 6.0.2-canary.6
836
-
837
- ## 6.0.2-canary.5
838
-
839
- ## 6.0.2-canary.4
840
-
841
- ## 6.0.2-canary.3
842
-
843
- ## 6.0.2-canary.2
844
-
845
- ## 6.0.2-canary.1
846
-
847
- ## 6.0.2-canary.0
848
-
849
- ## 6.0.1
850
-
851
- ## 6.0.1-canary.7
852
-
853
- ## 6.0.1-canary.6
854
-
855
- ## 6.0.1-canary.5
856
-
857
- ## 6.0.1-canary.4
858
-
859
- ## 6.0.1-canary.3
860
-
861
- ## 6.0.1-canary.2
862
-
863
- ## 6.0.1-canary.1
864
-
865
- ## 6.0.1-canary.0
866
-
867
97
  ## 6.0.0
868
98
 
869
99
  ### Patch Changes
@@ -874,134 +104,6 @@
874
104
 
875
105
  - [#1851](https://github.com/graphcommerce-org/graphcommerce/pull/1851) [`550fd9f4f`](https://github.com/graphcommerce-org/graphcommerce/commit/550fd9f4ff8ce1a78254d7f1d711236f0d9ddef7) - Performance logging in the console is now more compact and will not wrap multiple lines. ([@paales](https://github.com/paales))
876
106
 
877
- ## 6.0.0-canary.54
878
-
879
- ## 6.0.0-canary.53
880
-
881
- ## 6.0.0-canary.52
882
-
883
- ## 6.0.0-canary.51
884
-
885
- ## 6.0.0-canary.50
886
-
887
- ### Patch Changes
888
-
889
- - [#1851](https://github.com/graphcommerce-org/graphcommerce/pull/1851) [`550fd9f4f`](https://github.com/graphcommerce-org/graphcommerce/commit/550fd9f4ff8ce1a78254d7f1d711236f0d9ddef7) - More compact measure perf link ([@paales](https://github.com/paales))
890
-
891
- ## 6.0.0-canary.49
892
-
893
- ## 6.0.0-canary.48
894
-
895
- ## 6.0.0-canary.47
896
-
897
- ## 6.0.0-canary.46
898
-
899
- ## 6.0.0-canary.45
900
-
901
- ## 6.0.0-canary.44
902
-
903
- ## 6.0.0-canary.43
904
-
905
- ## 6.0.0-canary.42
906
-
907
- ## 6.0.0-canary.41
908
-
909
- ## 6.0.0-canary.40
910
-
911
- ## 6.0.0-canary.39
912
-
913
- ## 6.0.0-canary.38
914
-
915
- ## 6.0.0-canary.37
916
-
917
- ## 6.0.0-canary.36
918
-
919
- ## 6.0.0-canary.35
920
-
921
- ## 6.0.0-canary.34
922
-
923
- ## 6.0.0-canary.33
924
-
925
- ## 6.0.0-canary.32
926
-
927
- ## 6.0.0-canary.31
928
-
929
- ## 6.0.0-canary.30
930
-
931
- ## 6.0.0-canary.29
932
-
933
- ## 6.0.0-canary.28
934
-
935
- ## 6.0.0-canary.27
936
-
937
- ### Patch Changes
938
-
939
- - [#1821](https://github.com/graphcommerce-org/graphcommerce/pull/1821) [`1abc50a21`](https://github.com/graphcommerce-org/graphcommerce/commit/1abc50a21103270fad04e4a9ea892ee1e75233e9) - Fix regression bugs and upgrade packages to latest versions ([@paales](https://github.com/paales))
940
-
941
- ## 6.0.0-canary.26
942
-
943
- ## 6.0.0-canary.25
944
-
945
- ## 6.0.0-canary.24
946
-
947
- ## 6.0.0-canary.23
948
-
949
- ## 6.0.0-canary.22
950
-
951
- ## 6.0.0-canary.21
952
-
953
- ## 6.0.0-canary.20
954
-
955
- ## 5.2.0-canary.19
956
-
957
- ## 5.2.0-canary.18
958
-
959
- ## 5.2.0-canary.17
960
-
961
- ## 5.2.0-canary.16
962
-
963
- ## 5.2.0-canary.15
964
-
965
- ## 5.2.0-canary.14
966
-
967
- ## 5.2.0-canary.13
968
-
969
- ## 5.2.0-canary.12
970
-
971
- ## 5.2.0-canary.11
972
-
973
- ## 5.2.0-canary.10
974
-
975
- ## 5.2.0-canary.9
976
-
977
- ## 5.2.0-canary.8
978
-
979
- ## 5.2.0-canary.7
980
-
981
- ### Patch Changes
982
-
983
- - [#1749](https://github.com/graphcommerce-org/graphcommerce/pull/1749) [`16e91da42`](https://github.com/graphcommerce-org/graphcommerce/commit/16e91da42dcb454ea4761d1780b9338c88ef1463) - Fix spelling error incomming to incoming ([@paales](https://github.com/paales))
984
-
985
- ## 5.2.0-canary.6
986
-
987
- ## 5.2.0-canary.5
988
-
989
- ## 5.2.0-canary.4
990
-
991
- ## 5.2.0-canary.3
992
-
993
- ## 5.2.0-canary.2
994
-
995
- ## 5.2.0-canary.1
996
-
997
- ## 5.2.0-canary.0
998
-
999
- ## 5.1.1
1000
-
1001
- ## 5.1.1-canary.1
1002
-
1003
- ## 5.1.1-canary.0
1004
-
1005
107
  ## 5.1.0
1006
108
 
1007
109
  ### Patch Changes
@@ -1015,43 +117,6 @@
1015
117
  - Upgraded dependencies including type-fest and graphql-mesh
1016
118
  - Solved peer dependency issues ([@paales](https://github.com/paales))
1017
119
 
1018
- ## 5.1.0-canary.11
1019
-
1020
- ## 5.1.0-canary.10
1021
-
1022
- ### Patch Changes
1023
-
1024
- - [#1760](https://github.com/graphcommerce-org/graphcommerce/pull/1760) [`8badc8550`](https://github.com/graphcommerce-org/graphcommerce/commit/8badc8550c402ac7b80c8d3238d313550c28a055) - Updated dependencies ([@paales](https://github.com/paales))
1025
-
1026
- ## 5.1.0-canary.9
1027
-
1028
- ## 5.1.0-canary.8
1029
-
1030
- ## 5.1.0-canary.7
1031
-
1032
- ## 5.1.0-canary.6
1033
-
1034
- ## 5.1.0-canary.5
1035
-
1036
- ## 5.1.0-canary.4
1037
-
1038
- ## 5.1.0-canary.3
1039
-
1040
- ### Patch Changes
1041
-
1042
- - [#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.
1043
-
1044
- - Updated the @mui/material package
1045
- - Removed dependencies on react-hook-form-mui and @playwright/test
1046
- - Upgraded dependencies including type-fest and graphql-mesh
1047
- - Solved peer dependency issues ([@paales](https://github.com/paales))
1048
-
1049
- ## 5.1.0-canary.2
1050
-
1051
- ## 5.1.0-canary.1
1052
-
1053
- ## 5.1.0-canary.0
1054
-
1055
120
  ## 5.0.0
1056
121
 
1057
122
  ### Major Changes
@@ -1064,56 +129,12 @@
1064
129
 
1065
130
  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))
1066
131
 
1067
- ## 5.0.0-canary.14
1068
-
1069
- ## 5.0.0-canary.9
1070
-
1071
- ### Major Changes
1072
-
1073
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
1074
-
1075
- ## 4.31.0-canary.8
1076
-
1077
- ## 4.31.0-canary.7
1078
-
1079
- ## 4.31.0-canary.6
1080
-
1081
- ## 4.31.0-canary.5
1082
-
1083
- ## 4.31.0-canary.4
1084
-
1085
- ## 4.31.0-canary.3
1086
-
1087
- ### Minor Changes
1088
-
1089
- - [#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.
1090
-
1091
- 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))
1092
-
1093
- ## 4.31.0-canary.2
1094
-
1095
- ## 4.31.0-canary.1
1096
-
1097
- ## 4.31.0-canary.0
1098
-
1099
- ## 4.30.2
1100
-
1101
- ## 4.30.1
1102
-
1103
132
  ## 4.30.0
1104
133
 
1105
134
  ### Patch Changes
1106
135
 
1107
136
  - [#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
1108
137
 
1109
- ## 4.30.0-canary.1
1110
-
1111
- ### Patch Changes
1112
-
1113
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1114
-
1115
- ## 4.30.0-canary.0
1116
-
1117
138
  ## 3.5.0
1118
139
 
1119
140
  ### Minor Changes
@@ -1,22 +1,11 @@
1
- import {
2
- ApolloClient,
3
- NormalizedCacheObject,
4
- ApolloLink,
5
- InMemoryCache,
6
- ApolloProvider,
7
- HttpLink,
8
- DefaultOptions,
9
- } from '@apollo/client'
1
+ import type { NormalizedCacheObject, DefaultOptions } from '@apollo/client'
2
+ import { ApolloClient, ApolloLink, InMemoryCache, ApolloProvider, HttpLink } from '@apollo/client'
10
3
  // eslint-disable-next-line import/no-extraneous-dependencies
11
4
  import { useStorefrontConfig } from '@graphcommerce/next-ui/hooks/useStorefrontConfig'
12
5
  import type { AppProps } from 'next/app'
13
6
  import { useCallback, useEffect, useRef, useState } from 'react'
14
- import {
15
- ApolloClientConfig,
16
- graphqlConfig,
17
- ApolloClientConfigInput,
18
- PreviewConfig,
19
- } from '../../config'
7
+ import type { ApolloClientConfig, ApolloClientConfigInput, PreviewConfig } from '../../config'
8
+ import { graphqlConfig } from '../../config'
20
9
  import fragments from '../../generated/fragments.json'
21
10
  import { createCacheReviver } from './createCacheReviver'
22
11
  import { errorLink } from './errorLink'
@@ -1,6 +1,7 @@
1
1
  import { LocalStorageWrapper, CachePersistor } from 'apollo3-cache-persist'
2
- import { mergeDeep, ApolloCache, ApolloClient, NormalizedCacheObject } from '../../apollo'
3
- import { ApolloClientConfig } from '../../config'
2
+ import type { ApolloCache, ApolloClient, NormalizedCacheObject } from '../../apollo'
3
+ import { mergeDeep } from '../../apollo'
4
+ import type { ApolloClientConfig } from '../../config'
4
5
  import { migrateCacheHandler } from './migrateCache'
5
6
  import { persistenceMapper } from './persistenceMapper'
6
7
  import { getTypePoliciesVersion } from './typePolicies'
@@ -3,6 +3,7 @@ import { ApolloLink } from '@apollo/client'
3
3
  import { print } from '@apollo/client/utilities'
4
4
  import type { MeshFetchHTTPInformation } from '@graphql-mesh/plugin-http-details-extensions'
5
5
  import { responsePathAsArray, stripIgnoredCharacters } from 'graphql'
6
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
6
7
  import { cliHyperlink } from '../../lib/hyperlinker'
7
8
 
8
9
  const running = new Map<
@@ -95,7 +96,7 @@ export const flushMeasurePerf = () => {
95
96
  serverStart: 0,
96
97
  requestStart: 0,
97
98
  requestEnd: end,
98
- additional: [`Total time`, `${end}ms`, ''],
99
+ additional: ['Total time', `${end}ms`, ''],
99
100
  colDivider,
100
101
  }),
101
102
  ]
@@ -113,11 +114,11 @@ export const flushMeasurePerf = () => {
113
114
  item.forEach((_, index) => {
114
115
  const [str] = Array.isArray(item[index]) ? item[index] : [item[index], item[index]]
115
116
 
116
- const val = Array.isArray(item[index]) ? item[index][1] : (item[index] as string)
117
+ const val = Array.isArray(item[index]) ? item[index][1] : item[index]
117
118
 
118
119
  const padLength = colWidths[index] + (val.length - str.length)
119
120
 
120
- item[index] = `${val.padEnd(padLength, ' ')}${index !== item.length - 1 ? `` : ''}`
121
+ item[index] = `${val.padEnd(padLength, ' ')}${index !== item.length - 1 ? '' : ''}`
121
122
  })
122
123
  })
123
124
  ;[[''], ...items]
@@ -156,7 +157,7 @@ export const measurePerformanceLink = new ApolloLink((operation, forward) => {
156
157
  return forward(operation).map((data) => {
157
158
  const httpDetails: MeshFetchHTTPInformation[] | undefined = data.extensions?.httpDetails
158
159
 
159
- let additional = [``, ``] as [string, string]
160
+ const additional = ['', ''] as [string, string]
160
161
 
161
162
  // Called after server responds
162
163
  const query = [
@@ -1,4 +1,4 @@
1
- import { ApolloCache, NormalizedCacheObject } from '../../apollo'
1
+ import type { ApolloCache, NormalizedCacheObject } from '../../apollo'
2
2
 
3
3
  export type MigrateCache = (
4
4
  oldCache: ApolloCache<NormalizedCacheObject>,
@@ -1,4 +1,5 @@
1
- import { InMemoryCache, NormalizedCacheObject } from '@apollo/client'
1
+ import type { NormalizedCacheObject } from '@apollo/client'
2
+ import { InMemoryCache } from '@apollo/client'
2
3
 
3
4
  function pruneKey(cacheValue: unknown, path: string[]) {
4
5
  if (typeof cacheValue !== 'object' || cacheValue === null) return
@@ -1,6 +1,7 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
2
  import { cssFlag, cssNotFlag, useIsSSR } from '@graphcommerce/next-ui'
3
- import { Box, Skeleton, SkeletonOwnProps, SkeletonProps, SxProps, Theme } from '@mui/material'
3
+ import type { SkeletonOwnProps, SkeletonProps, SxProps, Theme } from '@mui/material'
4
+ import { Box, Skeleton } from '@mui/material'
4
5
  import type { OverrideProps } from '@mui/material/OverridableComponent'
5
6
  import React, { createContext, useContext, useMemo } from 'react'
6
7
 
package/config.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { ApolloLink, TypePolicies } from '@apollo/client'
1
+ import type { ApolloLink, TypePolicies } from '@apollo/client'
2
2
  import type { GraphCommerceStorefrontConfig } from '@graphcommerce/next-config'
3
3
  import type { SetRequired } from 'type-fest'
4
- import { MigrateCache } from './components/GraphQLProvider/migrateCache'
4
+ import type { MigrateCache } from './components/GraphQLProvider/migrateCache'
5
5
 
6
6
  export interface PreviewData {}
7
7
 
@@ -1,7 +1,10 @@
1
- import { ApolloClient } from '@apollo/client'
1
+ import type { ApolloClient } from '@apollo/client'
2
2
  import type { InContextInput } from '@graphcommerce/graphql-mesh'
3
3
 
4
- export function getInContextInput(client: ApolloClient<any>): InContextInput | null {
4
+ export function getInContextInput(
5
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any
6
+ client: ApolloClient<any>,
7
+ ): InContextInput | null {
5
8
  return null
6
9
  }
7
10
 
@@ -4,7 +4,8 @@ import { useIsSSR } from '@graphcommerce/next-ui/hooks/useIsSsr'
4
4
  // eslint-disable-next-line import/no-extraneous-dependencies
5
5
  import { getCssFlag, removeCssFlag, setCssFlag } from '@graphcommerce/next-ui/utils/cssFlags'
6
6
  import { useContext, useEffect } from 'react'
7
- import { QueryHookOptions, QueryResult, TypedDocumentNode, useQuery } from '../apollo'
7
+ import type { QueryHookOptions, QueryResult, TypedDocumentNode } from '../apollo'
8
+ import { useQuery } from '../apollo'
8
9
  import { InContextMaskContext } from '../components/InContextMask/InContextMask'
9
10
  import { useInContextInput } from './useInContextInput'
10
11
 
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": "9.0.0-canary.101",
5
+ "version": "9.0.0-canary.103",
6
6
  "sideEffects": false,
7
7
  "main": "index.ts",
8
8
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -13,8 +13,7 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@graphcommerce/graphql-codegen-near-operation-file": "9.0.0-canary.101",
17
- "@graphcommerce/graphql-codegen-relay-optimizer-plugin": "9.0.0-canary.101",
16
+ "@apollo/client": "^3",
18
17
  "@graphql-codegen/add": "5.0.3",
19
18
  "@graphql-codegen/fragment-matcher": "5.0.2",
20
19
  "@graphql-codegen/introspection": "4.0.3",
@@ -24,14 +23,15 @@
24
23
  "@graphql-codegen/typescript-apollo-client-helpers": "2.2.6",
25
24
  "@graphql-codegen/typescript-document-nodes": "4.0.9",
26
25
  "@graphql-codegen/typescript-operations": "4.2.3",
27
- "apollo3-cache-persist": "^0.15.0"
26
+ "apollo3-cache-persist": "^0.15.0",
27
+ "graphql": "^16.7.1"
28
28
  },
29
29
  "peerDependencies": {
30
- "@apollo/client": "^3",
31
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.101",
32
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.101",
33
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.101",
34
- "graphql": "^16.7.1",
30
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.103",
31
+ "@graphcommerce/graphql-codegen-near-operation-file": "9.0.0-canary.103",
32
+ "@graphcommerce/graphql-codegen-relay-optimizer-plugin": "9.0.0-canary.103",
33
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.103",
34
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.103",
35
35
  "react": "^18.2.0",
36
36
  "react-dom": "^18.2.0"
37
37
  }
@@ -1,14 +1,9 @@
1
1
  /* eslint-disable import/no-extraneous-dependencies */
2
2
  /* eslint-disable no-empty-pattern */
3
- import { test as base, Page } from '@playwright/test'
4
- import {
5
- ApolloClient,
6
- FetchResult,
7
- getOperationName,
8
- InMemoryCache,
9
- NormalizedCacheObject,
10
- TypedDocumentNode,
11
- } from '../apollo'
3
+ import type { Page } from '@playwright/test'
4
+ import { test as base } from '@playwright/test'
5
+ import type { FetchResult, NormalizedCacheObject, TypedDocumentNode } from '../apollo'
6
+ import { ApolloClient, getOperationName, InMemoryCache } from '../apollo'
12
7
 
13
8
  type ApolloClientTest = {
14
9
  apolloClient: ApolloClient<NormalizedCacheObject>
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "exclude": ["**/node_modules", "**/.*/"],
3
3
  "include": ["**/*.ts", "**/*.tsx"],
4
- "extends": "@graphcommerce/typescript-config-pwa/nextjs.json",
4
+ "extends": "@graphcommerce/typescript-config-pwa/nextjs.json"
5
5
  }
@@ -1,4 +1,4 @@
1
- import { ApolloClient, FetchPolicy } from '@apollo/client'
1
+ import type { ApolloClient, FetchPolicy } from '@apollo/client'
2
2
  import { getPreviewData } from './getPreviewData'
3
3
 
4
4
  export function cachePolicy(
@@ -1,5 +1,5 @@
1
- import { ApolloClient } from '@apollo/client'
2
- import { PreviewConfig } from '../config'
1
+ import type { ApolloClient } from '@apollo/client'
2
+ import type { PreviewConfig } from '../config'
3
3
 
4
4
  export function getPreviewData(client: ApolloClient<object>): PreviewConfig | undefined {
5
5
  if ('preview' in client.defaultOptions) return client.defaultOptions.preview as PreviewConfig