@graphcommerce/graphql-mesh 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,62 +1,21 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.100
3
+ ## 9.0.0-canary.103
4
4
 
5
- ## 9.0.0-canary.99
6
-
7
- ## 9.0.0-canary.98
8
-
9
- ## 9.0.0-canary.97
10
-
11
- ## 9.0.0-canary.96
12
-
13
- ## 9.0.0-canary.95
14
-
15
- ## 9.0.0-canary.94
16
-
17
- ## 9.0.0-canary.93
18
-
19
- ## 9.0.0-canary.92
20
-
21
- ## 9.0.0-canary.91
22
-
23
- ## 9.0.0-canary.90
24
-
25
- ## 9.0.0-canary.89
26
-
27
- ## 9.0.0-canary.88
28
-
29
- ## 9.0.0-canary.87
30
-
31
- ## 9.0.0-canary.86
32
-
33
- ## 9.0.0-canary.85
34
-
35
- ## 9.0.0-canary.84
36
-
37
- ## 9.0.0-canary.83
38
-
39
- ## 9.0.0-canary.82
40
-
41
- ## 9.0.0-canary.81
42
-
43
- ## 9.0.0-canary.80
44
-
45
- ## 9.0.0-canary.79
46
-
47
- ## 9.0.0-canary.78
5
+ ### Patch Changes
48
6
 
49
- ## 9.0.0-canary.77
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))
50
8
 
51
- ## 9.0.0-canary.76
9
+ ## 9.0.0-canary.101
52
10
 
53
- ## 9.0.0-canary.75
11
+ ### Minor Changes
54
12
 
55
- ## 9.0.0-canary.74
13
+ - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`3710d8b`](https://github.com/graphcommerce-org/graphcommerce/commit/3710d8bf1cceb5a991e5cfdfc15d42e462704c6d) - Solves the issue `TypeError: url?.startsWith is not a function`. The generated `.mesh/index.ts` would be generated as a requirejs module while next.js expects an esm module. In the end we properly generated the mesh correctly and now there is an `import.meta.url` instead of using `require('node:url')`. To solve this we needed to solve a chain of issues:
56
14
 
57
- ## 9.0.0-canary.73
15
+ 1. The generation of the mesh is based on the version of the mesh that is imported (esm or commonjs). See [source](https://github.com/ardatan/graphql-mesh/blob/bf588d372c0078378aaa24beea2da794af7949e6/scripts/replace-import-meta-url-in-cjs.ts#L9-L10) for the lines that need to be different. This meant that we needed to change the @graphcommerce/cli package to be of type:module instead of a commonjs module.
58
16
 
59
- ## 9.0.0-canary.72
17
+ 2) To properly convert the module to an esm module we've migrated the build of the cli package to use 'pkgroll' instead of tsc, because tsc is limited in what it outputs and can't really convert classic imports to esm.
18
+ 3) To load possible mesh plugins we require additional .ts files to be loaded with [tsx](https://tsx.is/). To get the tsx loader to work properly in combination with esm modules, we need at least [node 18.19.0](https://nodejs.org/en/blog/release/v18.19.0#new-nodemodule-api-register-for-module-customization-hooks-new-initialize-hook). Minimal Node version upped to 18.19.0 and add support for node 22. ([@paales](https://github.com/paales))
60
19
 
61
20
  ## 9.0.0-canary.71
62
21
 
@@ -64,32 +23,12 @@
64
23
 
65
24
  - [#2345](https://github.com/graphcommerce-org/graphcommerce/pull/2345) [`d4ae30b`](https://github.com/graphcommerce-org/graphcommerce/commit/d4ae30ba28815ccb9d3a0478da995b7c609618e5) - Solve issue where customFetch coudn’t be loaded correctly ([@paales](https://github.com/paales))
66
25
 
67
- ## 9.0.0-canary.70
68
-
69
- ## 9.0.0-canary.69
70
-
71
- ## 9.0.0-canary.68
72
-
73
26
  ## 9.0.0-canary.67
74
27
 
75
28
  ### Patch Changes
76
29
 
77
30
  - [#2336](https://github.com/graphcommerce-org/graphcommerce/pull/2336) [`214bc56`](https://github.com/graphcommerce-org/graphcommerce/commit/214bc56950f397727d2c5417741dc62419080dfa) - Added traverseSelectionSet utility function to extract a child selection set from the parent. ([@Renzovh](https://github.com/Renzovh))
78
31
 
79
- ## 9.0.0-canary.66
80
-
81
- ## 9.0.0-canary.65
82
-
83
- ## 9.0.0-canary.64
84
-
85
- ## 9.0.0-canary.63
86
-
87
- ## 9.0.0-canary.62
88
-
89
- ## 9.0.0-canary.61
90
-
91
- ## 9.0.0-canary.60
92
-
93
32
  ## 9.0.0-canary.59
94
33
 
95
34
  ### Minor Changes
@@ -102,430 +41,30 @@
102
41
 
103
42
  - [#2330](https://github.com/graphcommerce-org/graphcommerce/pull/2330) [`bc3ec5e`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3ec5e439b97cea4a2cef23e4008c7e0cfd6797) - Created a new @graphql-mesh plugin to forward headers from backends as forwardedHeaders in extensions ([@paales](https://github.com/paales))
104
43
 
105
- ## 9.0.0-canary.57
106
-
107
- ## 9.0.0-canary.56
108
-
109
- ## 9.0.0-canary.55
110
-
111
- ## 9.0.0-canary.54
112
-
113
- ## 8.1.0-canary.53
114
-
115
- ## 8.1.0-canary.52
116
-
117
- ## 8.1.0-canary.51
118
-
119
- ## 8.1.0-canary.50
120
-
121
- ## 8.1.0-canary.49
122
-
123
- ## 8.1.0-canary.48
124
-
125
- ## 8.1.0-canary.47
126
-
127
- ## 8.1.0-canary.46
128
-
129
- ## 8.1.0-canary.45
130
-
131
- ## 8.1.0-canary.44
132
-
133
- ## 8.1.0-canary.43
134
-
135
- ## 8.1.0-canary.42
136
-
137
- ## 8.1.0-canary.41
138
-
139
- ## 8.1.0-canary.40
140
-
141
- ## 8.1.0-canary.39
142
-
143
- ## 8.1.0-canary.38
144
-
145
- ## 8.1.0-canary.37
146
-
147
- ## 8.1.0-canary.36
148
-
149
- ## 8.1.0-canary.35
150
-
151
- ## 8.1.0-canary.34
152
-
153
- ## 8.1.0-canary.33
154
-
155
- ## 8.1.0-canary.32
156
-
157
- ## 8.1.0-canary.31
158
-
159
- ## 8.1.0-canary.30
160
-
161
44
  ## 8.1.0-canary.29
162
45
 
163
46
  ### Patch Changes
164
47
 
165
48
  - [#2290](https://github.com/graphcommerce-org/graphcommerce/pull/2290) [`21f2ac0`](https://github.com/graphcommerce-org/graphcommerce/commit/21f2ac06b95cfc9b51febe19e6859cbba2b578b4) - Fix cors issues with Dynamic Row Property Picker App ([@JoshuaS98](https://github.com/JoshuaS98))
166
49
 
167
- ## 8.1.0-canary.28
168
-
169
- ## 8.1.0-canary.27
170
-
171
- ## 8.1.0-canary.26
172
-
173
- ## 8.1.0-canary.25
174
-
175
- ## 8.1.0-canary.24
176
-
177
- ## 8.1.0-canary.23
178
-
179
- ## 8.1.0-canary.22
180
-
181
- ## 8.1.0-canary.21
182
-
183
- ## 8.1.0-canary.20
184
-
185
- ## 8.1.0-canary.19
186
-
187
- ## 8.1.0-canary.18
188
-
189
- ## 8.1.0-canary.17
190
-
191
- ## 8.1.0-canary.16
192
-
193
- ## 8.1.0-canary.15
194
-
195
- ## 8.1.0-canary.14
196
-
197
- ## 8.1.0-canary.13
198
-
199
- ## 8.1.0-canary.12
200
-
201
- ## 8.1.0-canary.11
202
-
203
- ## 8.1.0-canary.10
204
-
205
- ## 8.1.0-canary.9
206
-
207
50
  ## 8.1.0-canary.8
208
51
 
209
52
  ### Patch Changes
210
53
 
211
54
  - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found ([@paales](https://github.com/paales))
212
55
 
213
- ## 8.1.0-canary.7
214
-
215
- ## 8.1.0-canary.6
216
-
217
- ## 8.1.0-canary.5
218
-
219
- ## 8.0.6-canary.4
220
-
221
- ## 8.0.6-canary.3
222
-
223
- ## 8.0.6-canary.2
224
-
225
- ## 8.0.6-canary.1
226
-
227
- ## 8.0.6-canary.0
228
-
229
- ## 8.0.5
230
-
231
- ## 8.0.5-canary.10
232
-
233
- ## 8.0.5-canary.9
234
-
235
- ## 8.0.5-canary.8
236
-
237
- ## 8.0.5-canary.7
238
-
239
- ## 8.0.5-canary.6
240
-
241
- ## 8.0.5-canary.5
242
-
243
- ## 8.0.5-canary.4
244
-
245
- ## 8.0.5-canary.3
246
-
247
- ## 8.0.5-canary.2
248
-
249
- ## 8.0.5-canary.1
250
-
251
- ## 8.0.5-canary.0
252
-
253
- ## 8.0.4
254
-
255
- ## 8.0.4-canary.1
256
-
257
- ## 8.0.4-canary.0
258
-
259
- ## 8.0.3
260
-
261
- ## 8.0.3-canary.6
262
-
263
- ## 8.0.3-canary.5
264
-
265
- ## 8.0.3-canary.4
266
-
267
- ## 8.0.3-canary.3
268
-
269
- ## 8.0.3-canary.2
270
-
271
- ## 8.0.3-canary.1
272
-
273
- ## 8.0.3-canary.0
274
-
275
- ## 8.0.2
276
-
277
- ## 8.0.2-canary.3
278
-
279
- ## 8.0.2-canary.2
280
-
281
- ## 8.0.2-canary.1
282
-
283
- ## 8.0.2-canary.0
284
-
285
- ## 8.0.1
286
-
287
- ## 8.0.1-canary.4
288
-
289
- ## 8.0.1-canary.3
290
-
291
- ## 8.0.1-canary.2
292
-
293
- ## 8.0.1-canary.1
294
-
295
- ## 8.0.1-canary.0
296
-
297
56
  ## 8.0.0
298
57
 
299
58
  ### Patch Changes
300
59
 
301
60
  - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae89`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli ([@paales](https://github.com/paales))
302
61
 
303
- ## 8.0.0-canary.100
304
-
305
- ## 8.0.0-canary.99
306
-
307
- ## 8.0.0-canary.98
308
-
309
- ## 8.0.0-canary.97
310
-
311
- ## 8.0.0-canary.96
312
-
313
- ## 8.0.0-canary.95
314
-
315
- ## 8.0.0-canary.94
316
-
317
- ## 8.0.0-canary.93
318
-
319
- ## 8.0.0-canary.92
320
-
321
- ## 8.0.0-canary.91
322
-
323
- ## 8.0.0-canary.90
324
-
325
- ## 8.0.0-canary.89
326
-
327
- ## 8.0.0-canary.88
328
-
329
- ## 8.0.0-canary.87
330
-
331
- ## 8.0.0-canary.86
332
-
333
- ## 8.0.0-canary.85
334
-
335
- ## 8.0.0-canary.84
336
-
337
- ## 8.0.0-canary.83
338
-
339
- ## 8.0.0-canary.82
340
-
341
- ## 8.0.0-canary.81
342
-
343
- ## 8.0.0-canary.80
344
-
345
- ## 8.0.0-canary.79
346
-
347
- ## 8.0.0-canary.78
348
-
349
- ## 8.0.0-canary.77
350
-
351
- ## 8.0.0-canary.76
352
-
353
- ## 8.0.0-canary.75
354
-
355
- ## 8.0.0-canary.74
356
-
357
- ## 8.0.0-canary.73
358
-
359
- ## 8.0.0-canary.72
360
-
361
- ## 8.0.0-canary.71
362
-
363
- ## 8.0.0-canary.70
364
-
365
- ## 8.0.0-canary.69
366
-
367
- ## 7.1.0-canary.68
368
-
369
- ## 7.1.0-canary.67
370
-
371
- ## 7.1.0-canary.66
372
-
373
- ## 7.1.0-canary.65
374
-
375
- ## 7.1.0-canary.64
376
-
377
- ## 7.1.0-canary.63
378
-
379
- ## 7.1.0-canary.62
380
-
381
- ## 7.1.0-canary.61
382
-
383
- ## 7.1.0-canary.60
384
-
385
- ## 7.1.0-canary.59
386
-
387
- ## 7.1.0-canary.58
388
-
389
- ## 7.1.0-canary.57
390
-
391
- ## 7.1.0-canary.56
392
-
393
- ## 7.1.0-canary.55
394
-
395
- ## 7.1.0-canary.54
396
-
397
- ## 7.1.0-canary.53
398
-
399
- ## 7.1.0-canary.52
400
-
401
- ## 7.1.0-canary.51
402
-
403
- ## 7.1.0-canary.50
404
-
405
- ## 7.1.0-canary.49
406
-
407
- ## 7.1.0-canary.48
408
-
409
- ## 7.1.0-canary.47
410
-
411
- ## 7.1.0-canary.46
412
-
413
- ## 7.1.0-canary.45
414
-
415
- ### Patch Changes
416
-
417
- - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae8979`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli ([@paales](https://github.com/paales))
418
-
419
- ## 7.1.0-canary.38
420
-
421
- ## 7.1.0-canary.37
422
-
423
- ## 7.1.0-canary.36
424
-
425
- ## 7.1.0-canary.35
426
-
427
- ## 7.1.0-canary.34
428
-
429
- ## 7.1.0-canary.33
430
-
431
- ## 7.1.0-canary.32
432
-
433
- ## 7.1.0-canary.31
434
-
435
- ## 7.1.0-canary.30
436
-
437
- ## 7.1.0-canary.29
438
-
439
- ## 7.1.0-canary.28
440
-
441
- ## 7.1.0-canary.27
442
-
443
- ## 7.1.0-canary.26
444
-
445
- ## 7.1.0-canary.25
446
-
447
- ## 7.1.0-canary.24
448
-
449
- ## 7.1.0-canary.23
450
-
451
- ## 7.1.0-canary.22
452
-
453
- ## 7.1.0-canary.21
454
-
455
- ## 7.1.0-canary.20
456
-
457
- ## 7.1.0-canary.19
458
-
459
- ## 7.1.0-canary.18
460
-
461
- ## 7.1.0-canary.17
462
-
463
- ## 7.1.0-canary.16
464
-
465
- ## 7.1.0-canary.15
466
-
467
- ## 7.1.0-canary.14
468
-
469
- ## 7.1.0-canary.13
470
-
471
- ## 7.1.0-canary.12
472
-
473
- ## 7.1.0-canary.11
474
-
475
- ## 7.1.0-canary.10
476
-
477
- ## 7.1.0-canary.9
478
-
479
- ## 7.1.0-canary.8
480
-
481
- ## 7.0.2-canary.7
482
-
483
- ## 7.0.2-canary.6
484
-
485
- ## 7.0.2-canary.5
486
-
487
62
  ## 7.0.1
488
63
 
489
64
  ### Patch Changes
490
65
 
491
66
  - [#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))
492
67
 
493
- ## 7.0.1-canary.15
494
-
495
- ## 7.0.1-canary.14
496
-
497
- ## 7.0.1-canary.13
498
-
499
- ## 7.0.1-canary.12
500
-
501
- ## 7.0.1-canary.11
502
-
503
- ## 7.0.1-canary.10
504
-
505
- ## 7.0.1-canary.9
506
-
507
- ## 7.0.1-canary.8
508
-
509
- ## 7.0.1-canary.7
510
-
511
- ## 7.0.1-canary.6
512
-
513
- ## 7.0.1-canary.5
514
-
515
- ## 7.0.1-canary.4
516
-
517
- ## 7.0.1-canary.3
518
-
519
- ## 7.0.1-canary.2
520
-
521
- ## 7.0.1-canary.1
522
-
523
- ## 7.0.1-canary.0
524
-
525
- ### Patch Changes
526
-
527
- - [#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))
528
-
529
68
  ## 7.0.0
530
69
 
531
70
  ### Patch Changes
@@ -538,224 +77,6 @@
538
77
 
539
78
  - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
540
79
 
541
- ## 6.2.0-canary.98
542
-
543
- ### Patch Changes
544
-
545
- - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
546
-
547
- ## 6.2.0-canary.97
548
-
549
- ## 6.2.0-canary.96
550
-
551
- ## 6.2.0-canary.95
552
-
553
- ## 6.2.0-canary.94
554
-
555
- ## 6.2.0-canary.93
556
-
557
- ## 6.2.0-canary.92
558
-
559
- ## 6.2.0-canary.91
560
-
561
- ## 6.2.0-canary.90
562
-
563
- ## 6.2.0-canary.89
564
-
565
- ## 6.2.0-canary.88
566
-
567
- ## 6.2.0-canary.87
568
-
569
- ## 6.2.0-canary.86
570
-
571
- ## 6.2.0-canary.85
572
-
573
- ## 6.2.0-canary.84
574
-
575
- ## 6.2.0-canary.83
576
-
577
- ## 6.2.0-canary.82
578
-
579
- ## 6.2.0-canary.81
580
-
581
- ## 6.2.0-canary.80
582
-
583
- ## 6.2.0-canary.79
584
-
585
- ## 6.2.0-canary.78
586
-
587
- ## 6.2.0-canary.77
588
-
589
- ## 6.2.0-canary.76
590
-
591
- ## 6.2.0-canary.75
592
-
593
- ## 6.2.0-canary.74
594
-
595
- ## 6.2.0-canary.73
596
-
597
- ## 6.2.0-canary.72
598
-
599
- ## 6.2.0-canary.71
600
-
601
- ## 6.2.0-canary.70
602
-
603
- ## 6.2.0-canary.69
604
-
605
- ### Patch Changes
606
-
607
- - [#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))
608
-
609
- ## 6.2.0-canary.68
610
-
611
- ## 6.2.0-canary.67
612
-
613
- ### Patch Changes
614
-
615
- - [#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))
616
-
617
- ## 6.2.0-canary.66
618
-
619
- ## 6.2.0-canary.65
620
-
621
- ## 6.2.0-canary.64
622
-
623
- ## 6.2.0-canary.63
624
-
625
- ## 6.2.0-canary.62
626
-
627
- ## 6.2.0-canary.61
628
-
629
- ## 6.2.0-canary.60
630
-
631
- ## 6.2.0-canary.59
632
-
633
- ## 6.2.0-canary.58
634
-
635
- ## 6.2.0-canary.57
636
-
637
- ## 6.2.0-canary.56
638
-
639
- ## 6.2.0-canary.55
640
-
641
- ## 6.2.0-canary.54
642
-
643
- ## 6.2.0-canary.53
644
-
645
- ## 6.2.0-canary.52
646
-
647
- ## 6.2.0-canary.51
648
-
649
- ## 6.2.0-canary.50
650
-
651
- ## 6.2.0-canary.49
652
-
653
- ## 6.2.0-canary.48
654
-
655
- ## 6.2.0-canary.47
656
-
657
- ## 6.2.0-canary.46
658
-
659
- ## 6.2.0-canary.45
660
-
661
- ## 6.2.0-canary.44
662
-
663
- ## 6.2.0-canary.43
664
-
665
- ## 6.2.0-canary.42
666
-
667
- ## 6.2.0-canary.41
668
-
669
- ### Patch Changes
670
-
671
- - [#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))
672
-
673
- ## 6.2.0-canary.40
674
-
675
- ## 6.2.0-canary.39
676
-
677
- ## 6.2.0-canary.38
678
-
679
- ## 6.2.0-canary.37
680
-
681
- ## 6.2.0-canary.36
682
-
683
- ## 6.2.0-canary.35
684
-
685
- ## 6.2.0-canary.34
686
-
687
- ## 6.2.0-canary.33
688
-
689
- ## 6.2.0-canary.32
690
-
691
- ## 6.2.0-canary.31
692
-
693
- ## 6.2.0-canary.30
694
-
695
- ## 6.2.0-canary.29
696
-
697
- ## 6.2.0-canary.28
698
-
699
- ## 6.2.0-canary.27
700
-
701
- ## 6.2.0-canary.26
702
-
703
- ## 6.2.0-canary.25
704
-
705
- ## 6.2.0-canary.24
706
-
707
- ## 6.2.0-canary.23
708
-
709
- ## 6.2.0-canary.22
710
-
711
- ## 6.2.0-canary.21
712
-
713
- ## 6.2.0-canary.20
714
-
715
- ## 6.2.0-canary.19
716
-
717
- ## 6.2.0-canary.18
718
-
719
- ## 6.2.0-canary.17
720
-
721
- ## 6.2.0-canary.16
722
-
723
- ## 6.2.0-canary.15
724
-
725
- ## 6.2.0-canary.14
726
-
727
- ## 6.2.0-canary.13
728
-
729
- ### Patch Changes
730
-
731
- - [#1924](https://github.com/graphcommerce-org/graphcommerce/pull/1924) [`04581f619`](https://github.com/graphcommerce-org/graphcommerce/commit/04581f619c609f2f6ca5268ee5effb6a1db3f0eb) - Use the latest branch from graphql-mesh so that all versions are in sync ([@paales](https://github.com/paales))
732
-
733
- ## 6.2.0-canary.12
734
-
735
- ## 6.2.0-canary.11
736
-
737
- ## 6.2.0-canary.10
738
-
739
- ## 6.2.0-canary.9
740
-
741
- ## 6.2.0-canary.8
742
-
743
- ## 6.2.0-canary.7
744
-
745
- ## 6.2.0-canary.6
746
-
747
- ## 6.1.1-canary.5
748
-
749
- ## 6.1.1-canary.4
750
-
751
- ## 6.1.1-canary.3
752
-
753
- ## 6.1.1-canary.2
754
-
755
- ## 6.1.1-canary.1
756
-
757
- ## 6.1.1-canary.0
758
-
759
80
  ## 6.1.0
760
81
 
761
82
  ### Minor Changes
@@ -764,210 +85,18 @@
764
85
 
765
86
  - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - Big Magento performance improvements; Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request. ([@paales](https://github.com/paales))
766
87
 
767
- ## 6.0.2-canary.22
768
-
769
- ## 6.0.2-canary.21
770
-
771
- ## 6.0.2-canary.20
772
-
773
- ## 6.0.2-canary.19
774
-
775
- ## 6.0.2-canary.18
776
-
777
- ## 6.0.2-canary.17
778
-
779
- ## 6.0.2-canary.16
780
-
781
- ## 6.0.2-canary.15
782
-
783
- ## 6.0.2-canary.14
784
-
785
- ## 6.0.2-canary.13
786
-
787
- ## 6.0.2-canary.12
788
-
789
- ## 6.0.2-canary.11
790
-
791
- ## 6.0.2-canary.10
792
-
793
- ## 6.0.2-canary.9
794
-
795
- ## 6.0.2-canary.8
796
-
797
- ## 6.0.2-canary.7
798
-
799
- ## 6.0.2-canary.6
800
-
801
- ## 6.0.2-canary.5
802
-
803
- ## 6.0.2-canary.4
804
-
805
- ### Patch Changes
806
-
807
- - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - The mesh wouldn't keep ssl handshakes alive causing an additional delay for each request. Solving this will improve every fetch request 30-100ms, depending on the ssl handshake performance of the server. ([@paales](https://github.com/paales))
808
-
809
- - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request. ([@paales](https://github.com/paales))
810
-
811
- ## 6.0.2-canary.3
812
-
813
- ## 6.0.2-canary.2
814
-
815
- ## 6.0.2-canary.1
816
-
817
- ## 6.0.2-canary.0
818
-
819
- ## 6.0.1
820
-
821
- ## 6.0.1-canary.7
822
-
823
- ## 6.0.1-canary.6
824
-
825
- ## 6.0.1-canary.5
826
-
827
- ## 6.0.1-canary.4
828
-
829
- ## 6.0.1-canary.3
830
-
831
- ## 6.0.1-canary.2
832
-
833
- ## 6.0.1-canary.1
834
-
835
- ## 6.0.1-canary.0
836
-
837
88
  ## 6.0.0
838
89
 
839
90
  ### Patch Changes
840
91
 
841
92
  - [#1821](https://github.com/graphcommerce-org/graphcommerce/pull/1821) [`1abc50a21`](https://github.com/graphcommerce-org/graphcommerce/commit/1abc50a21103270fad04e4a9ea892ee1e75233e9) - Upgrade packages to latest version ([@paales](https://github.com/paales))
842
93
 
843
- ## 6.0.0-canary.54
844
-
845
- ## 6.0.0-canary.53
846
-
847
- ## 6.0.0-canary.52
848
-
849
- ## 6.0.0-canary.51
850
-
851
- ## 6.0.0-canary.50
852
-
853
- ## 6.0.0-canary.49
854
-
855
- ## 6.0.0-canary.48
856
-
857
- ## 6.0.0-canary.47
858
-
859
- ## 6.0.0-canary.46
860
-
861
- ## 6.0.0-canary.45
862
-
863
- ## 6.0.0-canary.44
864
-
865
- ## 6.0.0-canary.43
866
-
867
- ## 6.0.0-canary.42
868
-
869
- ## 6.0.0-canary.41
870
-
871
- ## 6.0.0-canary.40
872
-
873
- ## 6.0.0-canary.39
874
-
875
- ## 6.0.0-canary.38
876
-
877
- ## 6.0.0-canary.37
878
-
879
- ## 6.0.0-canary.36
880
-
881
- ## 6.0.0-canary.35
882
-
883
- ## 6.0.0-canary.34
884
-
885
- ## 6.0.0-canary.33
886
-
887
- ## 6.0.0-canary.32
888
-
889
- ## 6.0.0-canary.31
890
-
891
- ## 6.0.0-canary.30
892
-
893
- ## 6.0.0-canary.29
894
-
895
- ## 6.0.0-canary.28
896
-
897
- ## 6.0.0-canary.27
898
-
899
- ### Patch Changes
900
-
901
- - [#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))
902
-
903
- ## 6.0.0-canary.26
904
-
905
- ## 6.0.0-canary.25
906
-
907
- ## 6.0.0-canary.24
908
-
909
- ## 6.0.0-canary.23
910
-
911
- ## 6.0.0-canary.22
912
-
913
- ## 6.0.0-canary.21
914
-
915
- ## 6.0.0-canary.20
916
-
917
- ## 5.2.0-canary.19
918
-
919
- ## 5.2.0-canary.18
920
-
921
- ## 5.2.0-canary.17
922
-
923
- ## 5.2.0-canary.16
924
-
925
- ## 5.2.0-canary.15
926
-
927
- ## 5.2.0-canary.14
928
-
929
- ## 5.2.0-canary.13
930
-
931
- ## 5.2.0-canary.12
932
-
933
- ## 5.2.0-canary.11
934
-
935
- ## 5.2.0-canary.10
936
-
937
- ## 5.2.0-canary.9
938
-
939
- ## 5.2.0-canary.8
940
-
941
- ## 5.2.0-canary.7
942
-
943
- ## 5.2.0-canary.6
944
-
945
- ## 5.2.0-canary.5
946
-
947
- ## 5.2.0-canary.4
948
-
949
- ## 5.2.0-canary.3
950
-
951
- ## 5.2.0-canary.2
952
-
953
- ## 5.2.0-canary.1
954
-
955
- ## 5.2.0-canary.0
956
-
957
94
  ## 5.1.1
958
95
 
959
96
  ### Patch Changes
960
97
 
961
98
  - [#1764](https://github.com/graphcommerce-org/graphcommerce/pull/1764) [`5829ffc73`](https://github.com/graphcommerce-org/graphcommerce/commit/5829ffc732c6aea95da53314722385a2c0edce85) - Update dependencies ([@paales](https://github.com/paales))
962
99
 
963
- ## 5.1.1-canary.1
964
-
965
- ### Patch Changes
966
-
967
- - [#1764](https://github.com/graphcommerce-org/graphcommerce/pull/1764) [`5829ffc73`](https://github.com/graphcommerce-org/graphcommerce/commit/5829ffc732c6aea95da53314722385a2c0edce85) - Update dependencies ([@paales](https://github.com/paales))
968
-
969
- ## 5.1.1-canary.0
970
-
971
100
  ## 5.1.0
972
101
 
973
102
  ### Minor Changes
@@ -989,103 +118,18 @@
989
118
  - Upgraded dependencies including type-fest and graphql-mesh
990
119
  - Solved peer dependency issues ([@paales](https://github.com/paales))
991
120
 
992
- ## 5.1.0-canary.11
993
-
994
- ## 5.1.0-canary.10
995
-
996
- ### Patch Changes
997
-
998
- - [#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))
999
-
1000
- ## 5.1.0-canary.9
1001
-
1002
- ## 5.1.0-canary.8
1003
-
1004
- ## 5.1.0-canary.7
1005
-
1006
- ## 5.1.0-canary.6
1007
-
1008
- ## 5.1.0-canary.5
1009
-
1010
- ### Patch Changes
1011
-
1012
- - [`c7816cd69`](https://github.com/graphcommerce-org/graphcommerce/commit/c7816cd693f2fad61be6e2ed119e7e8bf13f079f) - Added JS version of the customFetch method, node_module files aren't transpiled ([@paales](https://github.com/paales))
1013
-
1014
- ## 5.1.0-canary.4
1015
-
1016
- ### Minor Changes
1017
-
1018
- - [#1755](https://github.com/graphcommerce-org/graphcommerce/pull/1755) [`053ef07d0`](https://github.com/graphcommerce-org/graphcommerce/commit/053ef07d0acf25fba840b50f3ad56746fc97d6a2) - Add [httpDetailsExtensions](https://the-guild.dev/graphql/mesh/docs/plugins/http-details-extensions) plugin to the mesh for a better debugging experience. ([@paales](https://github.com/paales))
1019
-
1020
- ## 5.1.0-canary.3
1021
-
1022
- ### Patch Changes
1023
-
1024
- - [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`188f23452`](https://github.com/graphcommerce-org/graphcommerce/commit/188f2345255aacd7665d8e443cf42e20a3070a01) - Implement a custom fetch that has an exponential backoff so that build don’t fail as often ([@paales](https://github.com/paales))
1025
-
1026
- - [#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.
1027
-
1028
- - Updated the @mui/material package
1029
- - Removed dependencies on react-hook-form-mui and @playwright/test
1030
- - Upgraded dependencies including type-fest and graphql-mesh
1031
- - Solved peer dependency issues ([@paales](https://github.com/paales))
1032
-
1033
- ## 5.1.0-canary.2
1034
-
1035
- ## 5.1.0-canary.1
1036
-
1037
- ## 5.1.0-canary.0
1038
-
1039
121
  ## 5.0.0
1040
122
 
1041
123
  ### Major Changes
1042
124
 
1043
125
  - [#1734](https://github.com/graphcommerce-org/graphcommerce/pull/1734) [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@github-actions](https://github.com/apps/github-actions))
1044
126
 
1045
- ## 5.0.0-canary.14
1046
-
1047
- ## 5.0.0-canary.9
1048
-
1049
- ### Major Changes
1050
-
1051
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
1052
-
1053
- ## 4.31.0-canary.8
1054
-
1055
- ## 4.31.0-canary.7
1056
-
1057
- ## 4.31.0-canary.6
1058
-
1059
- ## 4.31.0-canary.5
1060
-
1061
- ## 4.31.0-canary.4
1062
-
1063
- ## 4.31.0-canary.3
1064
-
1065
- ## 4.31.0-canary.2
1066
-
1067
- ## 4.31.0-canary.1
1068
-
1069
- ## 4.31.0-canary.0
1070
-
1071
- ## 4.30.2
1072
-
1073
- ## 4.30.1
1074
-
1075
127
  ## 4.30.0
1076
128
 
1077
129
  ### Patch Changes
1078
130
 
1079
131
  - [#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
1080
132
 
1081
- ## 4.30.0-canary.1
1082
-
1083
- ### Patch Changes
1084
-
1085
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1086
-
1087
- ## 4.30.0-canary.0
1088
-
1089
133
  ## 4.2.0
1090
134
 
1091
135
  ### Minor Changes
@@ -1302,8 +346,6 @@ All notable changes to this project will be documented in this file. See [Conven
1302
346
  - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
1303
347
  - upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
1304
348
 
1305
- ## 2.0.8 (2020-10-28)
1306
-
1307
349
  ## 2.0.7 (2020-10-28)
1308
350
 
1309
351
  ### Bug Fixes
package/api/apolloLink.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { ApolloLink, FetchResult, Observable, Operation, RequestHandler } from '@apollo/client/core'
2
- import { ExecuteMeshFn, MeshInstance, SubscribeMeshFn } from '@graphql-mesh/runtime'
1
+ import type { FetchResult, Operation, RequestHandler } from '@apollo/client/core'
2
+ import { ApolloLink, Observable } from '@apollo/client/core'
3
+ import type { ExecuteMeshFn, MeshInstance, SubscribeMeshFn } from '@graphql-mesh/runtime'
3
4
  import { isAsyncIterable } from '@graphql-tools/utils'
4
5
 
5
6
  const ROOT_VALUE = {}
package/customFetch.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import fetchRetry from 'fetch-retry'
2
+ import type { RequestInitWithRetry } from 'fetch-retry'
2
3
 
3
4
  const fetcher = fetchRetry(
4
5
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, no-underscore-dangle, @typescript-eslint/no-var-requires
@@ -12,10 +13,10 @@ const fetcher = fetchRetry(
12
13
  */
13
14
  export default (
14
15
  url: RequestInfo | URL,
15
- options: import('fetch-retry').RequestInitWithRetry | undefined,
16
+ options: RequestInitWithRetry | undefined,
16
17
  ): Promise<Response> => {
17
18
  const headers = Object.fromEntries(
18
- Object.entries(options?.headers ?? {}).filter(([_, value]) => value !== ''),
19
+ Object.entries(options?.headers ?? {}).filter(([, value]) => value !== ''),
19
20
  )
20
21
 
21
22
  return fetcher(url, {
package/meshConfig.ts CHANGED
@@ -1,8 +1,12 @@
1
1
  import type { GraphCommerceConfig } from '@graphcommerce/next-config'
2
- import type { Config } from '@graphql-mesh/types/typings/config'
2
+ import type { YamlConfig } from '@graphql-mesh/types'
3
3
 
4
4
  export type MeshConfigFunction = typeof meshConfig
5
5
 
6
- export function meshConfig(config: Config, graphCommerceConfig: GraphCommerceConfig): Config {
6
+ export function meshConfig(
7
+ config: YamlConfig.Config,
8
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
9
+ graphCommerceConfig: GraphCommerceConfig,
10
+ ): YamlConfig.Config {
7
11
  return config
8
12
  }
package/package.json CHANGED
@@ -2,10 +2,9 @@
2
2
  "name": "@graphcommerce/graphql-mesh",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.100",
5
+ "version": "9.0.0-canary.103",
6
6
  "main": "index.ts",
7
7
  "dependencies": {
8
- "@graphql-mesh/apollo-link": "latest",
9
8
  "@graphql-mesh/config": "latest",
10
9
  "@graphql-mesh/cross-helpers": "latest",
11
10
  "@graphql-mesh/graphql": "latest",
@@ -27,22 +26,22 @@
27
26
  "@graphql-mesh/types": "latest",
28
27
  "@graphql-mesh/utils": "latest",
29
28
  "@graphql-tools/utils": "^10.3.2",
30
- "@whatwg-node/fetch": "^0.9.18",
29
+ "@whatwg-node/fetch": "^0.9.21",
31
30
  "fetch-retry": "^5.0.6",
31
+ "graphql": "^16.7.1",
32
32
  "long": "^5.2.3",
33
- "tslib": "^2.6.3",
33
+ "tslib": "^2.7.0",
34
34
  "uglify-es": "3.3.10"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@apollo/client": "^3",
38
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.100",
39
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.100",
40
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.100",
41
- "graphql": "^16.7.1"
38
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.103",
39
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.103",
40
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.103"
42
41
  },
43
42
  "devDependencies": {
44
43
  "@types/uglify-es": "^3.0.3",
45
- "typescript": "5.5.3"
44
+ "typescript": "5.6.2"
46
45
  },
47
46
  "sideEffects": false,
48
47
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -1,5 +1,6 @@
1
+ // eslint-disable-next-line import/no-extraneous-dependencies
1
2
  import { isAsyncIterable } from '@envelop/core'
2
- import { MeshPlugin, MeshPluginOptions } from '@graphql-mesh/types'
3
+ import type { MeshPlugin, MeshPluginOptions } from '@graphql-mesh/types'
3
4
  import type { MeshContext } from '../.mesh'
4
5
 
5
6
  interface ForwardHeaderConfig {
@@ -1,4 +1,5 @@
1
- import { Kind, SelectionNode, SelectionSetNode } from 'graphql'
1
+ import type { SelectionNode, SelectionSetNode } from 'graphql'
2
+ import { Kind } from 'graphql'
2
3
  import type { Path } from 'react-hook-form'
3
4
 
4
5
  function isNumeric(n: string) {