@graphcommerce/next-config 8.1.0-canary.9 → 9.0.0-canary.101

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +272 -67
  2. package/__tests__/config/utils/__snapshots__/mergeEnvIntoConfig.ts.snap +159 -3
  3. package/__tests__/config/utils/configToImportMeta.ts +0 -4
  4. package/__tests__/config/utils/mergeEnvIntoConfig.ts +20 -2
  5. package/__tests__/config/utils/rewriteLegancyEnv.ts +1 -1
  6. package/__tests__/interceptors/findPlugins.ts +366 -240
  7. package/__tests__/interceptors/generateInterceptors.ts +138 -59
  8. package/__tests__/interceptors/parseStructure.ts +132 -2
  9. package/__tests__/utils/resolveDependenciesSync.ts +39 -33
  10. package/dist/config/commands/exportConfig.js +1 -2
  11. package/dist/config/commands/generateConfig.js +1 -2
  12. package/dist/config/demoConfig.js +5 -0
  13. package/dist/config/loadConfig.js +1 -2
  14. package/dist/config/utils/configToImportMeta.js +1 -2
  15. package/dist/config/utils/diff.js +1 -1
  16. package/dist/config/utils/exportConfigToEnv.js +1 -2
  17. package/dist/config/utils/mergeEnvIntoConfig.js +12 -5
  18. package/dist/config/utils/replaceConfigInString.js +1 -2
  19. package/dist/config/utils/rewriteLegacyEnv.js +1 -2
  20. package/dist/generated/config.js +37 -16
  21. package/dist/interceptors/Visitor.js +1 -2
  22. package/dist/interceptors/commands/codegenInterceptors.js +1 -2
  23. package/dist/interceptors/extractExports.js +23 -20
  24. package/dist/interceptors/findOriginalSource.js +19 -4
  25. package/dist/interceptors/findPlugins.js +1 -2
  26. package/dist/interceptors/generateInterceptor.js +11 -12
  27. package/dist/interceptors/generateInterceptors.js +1 -2
  28. package/dist/interceptors/parseStructure.js +20 -7
  29. package/dist/interceptors/swc.js +2 -3
  30. package/dist/interceptors/writeInterceptors.js +8 -9
  31. package/dist/utils/isMonorepo.js +1 -2
  32. package/dist/utils/resolveDependenciesSync.js +3 -4
  33. package/dist/withGraphCommerce.js +22 -15
  34. package/package.json +10 -11
  35. package/src/config/demoConfig.ts +5 -0
  36. package/src/config/utils/mergeEnvIntoConfig.ts +9 -1
  37. package/src/generated/config.ts +111 -22
  38. package/src/interceptors/Visitor.ts +1 -2
  39. package/src/interceptors/extractExports.ts +21 -21
  40. package/src/interceptors/findOriginalSource.ts +17 -2
  41. package/src/interceptors/generateInterceptor.ts +4 -6
  42. package/src/interceptors/parseStructure.ts +25 -5
  43. package/src/interceptors/writeInterceptors.ts +7 -7
  44. package/src/utils/resolveDependenciesSync.ts +1 -1
  45. package/src/withGraphCommerce.ts +21 -13
package/CHANGELOG.md CHANGED
@@ -1,36 +1,261 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.101
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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:
8
+
9
+ 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.
10
+
11
+ 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.
12
+ 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))
13
+
14
+ ## 9.0.0-canary.100
15
+
16
+ ## 9.0.0-canary.99
17
+
18
+ ## 9.0.0-canary.98
19
+
20
+ ## 9.0.0-canary.97
21
+
22
+ ## 9.0.0-canary.96
23
+
24
+ ## 9.0.0-canary.95
25
+
26
+ ## 9.0.0-canary.94
27
+
28
+ ## 9.0.0-canary.93
29
+
30
+ ## 9.0.0-canary.92
31
+
32
+ ## 9.0.0-canary.91
33
+
34
+ ## 9.0.0-canary.90
35
+
36
+ ## 9.0.0-canary.89
37
+
38
+ ## 9.0.0-canary.88
39
+
40
+ ## 9.0.0-canary.87
41
+
42
+ ## 9.0.0-canary.86
43
+
44
+ ### Patch Changes
45
+
46
+ - [#2379](https://github.com/graphcommerce-org/graphcommerce/pull/2379) [`9828754`](https://github.com/graphcommerce-org/graphcommerce/commit/9828754192348b966fb9736d7b0e1c78c4a909fa) - All automatically generated interceptor files are now read-only in vscode to prevent accedental changes. ([@paales](https://github.com/paales))
47
+
48
+ ## 9.0.0-canary.85
49
+
50
+ ## 9.0.0-canary.84
51
+
52
+ ## 9.0.0-canary.83
53
+
54
+ ## 9.0.0-canary.82
55
+
56
+ ## 9.0.0-canary.81
57
+
58
+ ## 9.0.0-canary.80
59
+
60
+ ## 9.0.0-canary.79
61
+
62
+ ## 9.0.0-canary.78
63
+
64
+ ## 9.0.0-canary.77
65
+
66
+ ## 9.0.0-canary.76
67
+
68
+ ## 9.0.0-canary.75
69
+
70
+ ## 9.0.0-canary.74
71
+
72
+ ## 9.0.0-canary.73
73
+
74
+ ## 9.0.0-canary.72
75
+
76
+ ## 9.0.0-canary.71
77
+
78
+ ## 9.0.0-canary.70
79
+
80
+ ## 9.0.0-canary.69
81
+
82
+ ## 9.0.0-canary.68
83
+
84
+ ## 9.0.0-canary.67
85
+
86
+ ## 9.0.0-canary.66
87
+
88
+ ## 9.0.0-canary.65
89
+
90
+ ## 9.0.0-canary.64
91
+
92
+ ## 9.0.0-canary.63
93
+
94
+ ## 9.0.0-canary.62
95
+
96
+ ## 9.0.0-canary.61
97
+
98
+ ## 9.0.0-canary.60
99
+
100
+ ## 9.0.0-canary.59
101
+
102
+ ## 9.0.0-canary.58
103
+
104
+ ### Minor Changes
105
+
106
+ - [#2330](https://github.com/graphcommerce-org/graphcommerce/pull/2330) [`5701e71`](https://github.com/graphcommerce-org/graphcommerce/commit/5701e71454ffb52880cd15c3341826d9502284d0) - Added support for boolean `ifConfig: ['customerXMagentoCacheIdDisable', true]` values in plugin configurations ([@paales](https://github.com/paales))
107
+
108
+ ## 9.0.0-canary.57
109
+
110
+ ## 9.0.0-canary.56
111
+
112
+ ## 9.0.0-canary.55
113
+
114
+ ## 9.0.0-canary.54
115
+
116
+ ## 8.1.0-canary.53
117
+
118
+ ## 8.1.0-canary.52
119
+
120
+ ## 8.1.0-canary.51
121
+
122
+ ## 8.1.0-canary.50
123
+
124
+ ## 8.1.0-canary.49
125
+
126
+ ## 8.1.0-canary.48
127
+
128
+ ## 8.1.0-canary.47
129
+
130
+ ## 8.1.0-canary.46
131
+
132
+ ### Minor Changes
133
+
134
+ - [#2313](https://github.com/graphcommerce-org/graphcommerce/pull/2313) [`511e75c`](https://github.com/graphcommerce-org/graphcommerce/commit/511e75c3f8c077e617ed17e5042796e2411f312f) - Add the customerNote field to the shipping and customer address forms ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
135
+
136
+ ### Patch Changes
137
+
138
+ - [#2314](https://github.com/graphcommerce-org/graphcommerce/pull/2314) [`ccd218c`](https://github.com/graphcommerce-org/graphcommerce/commit/ccd218c827d8ba7e632fa40ed75ad63a38620275) - Solve an issue where interceptors were immediately deleted after generating ([@paales](https://github.com/paales))
139
+
140
+ ## 8.1.0-canary.45
141
+
142
+ ## 8.1.0-canary.44
143
+
144
+ ## 8.1.0-canary.43
145
+
146
+ ## 8.1.0-canary.42
147
+
148
+ ## 8.1.0-canary.41
149
+
150
+ ### Patch Changes
151
+
152
+ - [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the "productListPaginationVariant" key in your graphcommerce.config.js COMPACT means: "< Page X of Y >" EXTENDED means: "< 1 2 ... [5] ... 10 11 >" ([@FrankHarland](https://github.com/FrankHarland))
153
+
154
+ ## 8.1.0-canary.40
155
+
156
+ ### Minor Changes
157
+
158
+ - [#2306](https://github.com/graphcommerce-org/graphcommerce/pull/2306) [`5e188e8`](https://github.com/graphcommerce-org/graphcommerce/commit/5e188e830dca4730c73830858f59a94e9d41ed12) - Add delete account functionality to the account section. Disabled by default and can be enabled through the config. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
159
+
160
+ ## 8.1.0-canary.39
161
+
162
+ ## 8.1.0-canary.38
163
+
164
+ ### Minor Changes
165
+
166
+ - [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Add company and vat fields to shipping and billing forms ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
167
+
168
+ ## 8.1.0-canary.37
169
+
170
+ ## 8.1.0-canary.36
171
+
172
+ ## 8.1.0-canary.35
173
+
174
+ ## 8.1.0-canary.34
175
+
176
+ ## 8.1.0-canary.33
177
+
178
+ ## 8.1.0-canary.32
179
+
180
+ ### Patch Changes
181
+
182
+ - [#2299](https://github.com/graphcommerce-org/graphcommerce/pull/2299) [`85d258a`](https://github.com/graphcommerce-org/graphcommerce/commit/85d258a0d1a48bb1b502cccba30a9844f2257814) - Solve an issue where an env variable wouldn't be coerced to a Number if a Config.graphqls value is defined as an Int/Float ([@paales](https://github.com/paales))
183
+
184
+ ## 8.1.0-canary.31
185
+
186
+ ## 8.1.0-canary.30
187
+
188
+ ## 8.1.0-canary.29
189
+
190
+ ## 8.1.0-canary.28
191
+
192
+ ### Patch Changes
193
+
194
+ - [#2292](https://github.com/graphcommerce-org/graphcommerce/pull/2292) [`6258adb`](https://github.com/graphcommerce-org/graphcommerce/commit/6258adbe294590ba52d3aaf65712cdc561f32c4c) - Be able to handle plugin runtime values values when parsing the source. Also, make sure parsed plugin sources do not return duplicate plugins. ([@paales](https://github.com/paales))
195
+
196
+ ## 8.1.0-canary.27
197
+
198
+ ## 8.1.0-canary.26
199
+
200
+ ## 8.1.0-canary.25
201
+
202
+ ## 8.1.0-canary.24
203
+
204
+ ## 8.1.0-canary.23
205
+
206
+ ## 8.1.0-canary.22
207
+
208
+ ## 8.1.0-canary.21
209
+
210
+ ## 8.1.0-canary.20
211
+
212
+ ## 8.1.0-canary.19
213
+
214
+ ## 8.1.0-canary.18
215
+
216
+ ## 8.1.0-canary.17
217
+
218
+ ## 8.1.0-canary.16
219
+
220
+ ## 8.1.0-canary.15
221
+
222
+ ## 8.1.0-canary.14
223
+
224
+ ## 8.1.0-canary.13
225
+
226
+ ## 8.1.0-canary.12
227
+
228
+ ## 8.1.0-canary.11
229
+
230
+ ## 8.1.0-canary.10
231
+
232
+ ### Patch Changes
233
+
234
+ - [#2251](https://github.com/graphcommerce-org/graphcommerce/pull/2251) [`bc6a9b4`](https://github.com/graphcommerce-org/graphcommerce/commit/bc6a9b4a7e9769977e98449a418bb239f92ec544) - When creating a release PR, make sure it is created against the main branch so it can be directly merged. ([@paales](https://github.com/paales))
235
+
3
236
  ## 8.1.0-canary.9
4
237
 
5
238
  ### Patch Changes
6
239
 
7
- - [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`4f7fe02`](https://github.com/graphcommerce-org/graphcommerce/commit/4f7fe02c6f0f017d7a52559df1972551eb0cba47) - Added robotsAllow to storefront config
8
- ([@bramvanderholst](https://github.com/bramvanderholst))
240
+ - [#2223](https://github.com/graphcommerce-org/graphcommerce/pull/2223) [`4f7fe02`](https://github.com/graphcommerce-org/graphcommerce/commit/4f7fe02c6f0f017d7a52559df1972551eb0cba47) - Added robotsAllow to storefront config ([@bramvanderholst](https://github.com/bramvanderholst))
9
241
 
10
242
  ## 8.1.0-canary.8
11
243
 
12
244
  ### Patch Changes
13
245
 
14
- - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`5153904`](https://github.com/graphcommerce-org/graphcommerce/commit/51539045cb3e14424141a65a1fd89216d3ee6fc2) - Added PRIVATE_ADDITIONAL_DEPENDENCIES to enable packages that we do not want to have in the examples directory but we do want to be able to demo.
15
- ([@paales](https://github.com/paales))
246
+ - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`5153904`](https://github.com/graphcommerce-org/graphcommerce/commit/51539045cb3e14424141a65a1fd89216d3ee6fc2) - Added PRIVATE_ADDITIONAL_DEPENDENCIES to enable packages that we do not want to have in the examples directory but we do want to be able to demo. ([@paales](https://github.com/paales))
16
247
 
17
- - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - reduce bundlesize of @apollo/client
18
- ([@paales](https://github.com/paales))
248
+ - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - reduce bundlesize of @apollo/client ([@paales](https://github.com/paales))
19
249
 
20
- - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`81c6c81`](https://github.com/graphcommerce-org/graphcommerce/commit/81c6c81e1b4a31df3c400a3ee4311bdf2b46a2b5) - Solved an issue where the plugins would be generated with the wrong path
21
- ([@paales](https://github.com/paales))
250
+ - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`81c6c81`](https://github.com/graphcommerce-org/graphcommerce/commit/81c6c81e1b4a31df3c400a3ee4311bdf2b46a2b5) - Solved an issue where the plugins would be generated with the wrong path ([@paales](https://github.com/paales))
22
251
 
23
- - [#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
24
- ([@paales](https://github.com/paales))
252
+ - [#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))
25
253
 
26
- - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`cfc0f4e`](https://github.com/graphcommerce-org/graphcommerce/commit/cfc0f4e015f3b3a7348b882eb7440222b3e26a07) - Make sure the interceptors are generated before the typecheck is ran.
27
- ([@paales](https://github.com/paales))
254
+ - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`cfc0f4e`](https://github.com/graphcommerce-org/graphcommerce/commit/cfc0f4e015f3b3a7348b882eb7440222b3e26a07) - Make sure the interceptors are generated before the typecheck is ran. ([@paales](https://github.com/paales))
28
255
 
29
- - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for linguiLocale
30
- ([@paales](https://github.com/paales))
256
+ - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`444e446`](https://github.com/graphcommerce-org/graphcommerce/commit/444e446a218cc9da3defb940a6d5cce0229ff845) - Added clear upgrade instructions for linguiLocale ([@paales](https://github.com/paales))
31
257
 
32
- - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`3f9d8f5`](https://github.com/graphcommerce-org/graphcommerce/commit/3f9d8f5ee9437fa90589ebd8ba8d1e790006b6ae) - Added better interceptor comments and link to original files
33
- ([@paales](https://github.com/paales))
258
+ - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`3f9d8f5`](https://github.com/graphcommerce-org/graphcommerce/commit/3f9d8f5ee9437fa90589ebd8ba8d1e790006b6ae) - Added better interceptor comments and link to original files ([@paales](https://github.com/paales))
34
259
 
35
260
  ## 8.1.0-canary.7
36
261
 
@@ -60,17 +285,17 @@
60
285
  5. We now support replace plugins (`type: 'replace'`), which allow you to replace the original component/function/const completely (and type checked of course).
61
286
 
62
287
  ```tsx
63
- import { ProductPageNameProps } from "@graphcommerce/magento-product";
64
- import { PluginConfig } from "@graphcommerce/next-config";
288
+ import { ProductPageNameProps } from '@graphcommerce/magento-product'
289
+ import { PluginConfig } from '@graphcommerce/next-config'
65
290
 
66
291
  export const config: PluginConfig = {
67
- type: "replace",
68
- module: "@graphcommerce/magento-product",
69
- };
292
+ type: 'replace',
293
+ module: '@graphcommerce/magento-product',
294
+ }
70
295
 
71
296
  export function ProductPageName(props: ProductPageNameProps) {
72
- const { product } = props;
73
- return <div>REPLACEMENT {product.url_key}</div>;
297
+ const { product } = props
298
+ return <div>REPLACEMENT {product.url_key}</div>
74
299
  }
75
300
  ```
76
301
 
@@ -80,10 +305,10 @@
80
305
 
81
306
  ```tsx
82
307
  export const config: PluginConfig = {
83
- type: "replace",
84
- module: "@graphcommerce/magento-product",
85
- ifConfig: ["theme", "my-theme"],
86
- };
308
+ type: 'replace',
309
+ module: '@graphcommerce/magento-product',
310
+ ifConfig: ['theme', 'my-theme'],
311
+ }
87
312
  ```
88
313
 
89
314
  This allows you to support multiple builds with different plugins applied. For example one build with `GC_THEME=my-theme` and another with `GC_THEME=my-other-theme`. ([@paales](https://github.com/paales))
@@ -92,8 +317,7 @@
92
317
 
93
318
  ### Patch Changes
94
319
 
95
- - [#2227](https://github.com/graphcommerce-org/graphcommerce/pull/2227) [`d597719`](https://github.com/graphcommerce-org/graphcommerce/commit/d597719baaabbe079660ac063fd021d871831511) - Added option to change sort order (ASC / DESC) for sort options (Name, price, position etc) on catalog and search pages.
96
- ([@FrankHarland](https://github.com/FrankHarland))
320
+ - [#2227](https://github.com/graphcommerce-org/graphcommerce/pull/2227) [`d597719`](https://github.com/graphcommerce-org/graphcommerce/commit/d597719baaabbe079660ac063fd021d871831511) - Added option to change sort order (ASC / DESC) for sort options (Name, price, position etc) on catalog and search pages. ([@FrankHarland](https://github.com/FrankHarland))
97
321
 
98
322
  ## 8.0.6-canary.3
99
323
 
@@ -101,29 +325,25 @@
101
325
 
102
326
  ### Patch Changes
103
327
 
104
- - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores
105
- ([@FrankHarland](https://github.com/FrankHarland))
328
+ - [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`0767bc4`](https://github.com/graphcommerce-org/graphcommerce/commit/0767bc40f7b596209f24ca4e745ff0441f3275c9) - Upgrade input components to no longer use muiRegister, which improves INP scores ([@FrankHarland](https://github.com/FrankHarland))
106
329
 
107
330
  ## 8.0.6-canary.1
108
331
 
109
332
  ### Patch Changes
110
333
 
111
- - [#2213](https://github.com/graphcommerce-org/graphcommerce/pull/2213) [`9b8349f`](https://github.com/graphcommerce-org/graphcommerce/commit/9b8349f0001a786f9b1666f050ae226316bd16f3) - Removed the ProductPage query from the examples directory as it isn't used anymore
112
- ([@paales](https://github.com/paales))
334
+ - [#2213](https://github.com/graphcommerce-org/graphcommerce/pull/2213) [`9b8349f`](https://github.com/graphcommerce-org/graphcommerce/commit/9b8349f0001a786f9b1666f050ae226316bd16f3) - Removed the ProductPage query from the examples directory as it isn't used anymore ([@paales](https://github.com/paales))
113
335
 
114
336
  ## 8.0.6-canary.0
115
337
 
116
338
  ### Patch Changes
117
339
 
118
- - [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods.
119
- ([@paales](https://github.com/paales))
340
+ - [#2196](https://github.com/graphcommerce-org/graphcommerce/pull/2196) [`84c50e4`](https://github.com/graphcommerce-org/graphcommerce/commit/84c50e49a1a7f154d4a8f4045c37e773e20283ad) - Allow Lingui to use linguiLocale with country identifiers like `en-us`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods. ([@paales](https://github.com/paales))
120
341
 
121
342
  ## 8.0.5
122
343
 
123
344
  ### Patch Changes
124
345
 
125
- - [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`1a20a34`](https://github.com/graphcommerce-org/graphcommerce/commit/1a20a34a8b55781ee3e88731b5e2623a85c64ccd) - Enable bundlePagesExternals for Vercel environments
126
- ([@paales](https://github.com/paales))
346
+ - [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`1a20a34`](https://github.com/graphcommerce-org/graphcommerce/commit/1a20a34a8b55781ee3e88731b5e2623a85c64ccd) - Enable bundlePagesExternals for Vercel environments ([@paales](https://github.com/paales))
127
347
 
128
348
  ## 8.0.5-canary.10
129
349
 
@@ -143,8 +363,7 @@
143
363
 
144
364
  ### Patch Changes
145
365
 
146
- - [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`1a20a34`](https://github.com/graphcommerce-org/graphcommerce/commit/1a20a34a8b55781ee3e88731b5e2623a85c64ccd) - Enable bundlePagesExternals for Vercel environments
147
- ([@paales](https://github.com/paales))
366
+ - [#2236](https://github.com/graphcommerce-org/graphcommerce/pull/2236) [`1a20a34`](https://github.com/graphcommerce-org/graphcommerce/commit/1a20a34a8b55781ee3e88731b5e2623a85c64ccd) - Enable bundlePagesExternals for Vercel environments ([@paales](https://github.com/paales))
148
367
 
149
368
  ## 8.0.5-canary.2
150
369
 
@@ -200,37 +419,27 @@
200
419
 
201
420
  ### Minor Changes
202
421
 
203
- - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`437f467`](https://github.com/graphcommerce-org/graphcommerce/commit/437f467ce1bd9182954be753f1ce17056ab62e85) - Upgraded the graphcommerce repo to the yarn 4 package manager
204
- ([@paales](https://github.com/paales))
422
+ - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`437f467`](https://github.com/graphcommerce-org/graphcommerce/commit/437f467ce1bd9182954be753f1ce17056ab62e85) - Upgraded the graphcommerce repo to the yarn 4 package manager ([@paales](https://github.com/paales))
205
423
 
206
424
  ### Patch Changes
207
425
 
208
- - [#2156](https://github.com/graphcommerce-org/graphcommerce/pull/2156) [`69b816c`](https://github.com/graphcommerce-org/graphcommerce/commit/69b816cd739af2999ec2a5053f09b9bb10379c52) - Updated dependencies. Fixed trace-to-tree.mjs to debug build perf and added trace-to-event-format.mjs for compatibility with about://tracing.
209
- ([@paales](https://github.com/paales))
426
+ - [#2156](https://github.com/graphcommerce-org/graphcommerce/pull/2156) [`69b816c`](https://github.com/graphcommerce-org/graphcommerce/commit/69b816cd739af2999ec2a5053f09b9bb10379c52) - Updated dependencies. Fixed trace-to-tree.mjs to debug build perf and added trace-to-event-format.mjs for compatibility with about://tracing. ([@paales](https://github.com/paales))
210
427
 
211
- - [#2078](https://github.com/graphcommerce-org/graphcommerce/pull/2078) [`5f409e6`](https://github.com/graphcommerce-org/graphcommerce/commit/5f409e617afae36d5c6224f3c6eb8d085fc2e84c) - Added @graphcommerce packages in node_modules to nextjs watch options
212
- ([@KMalkowski](https://github.com/KMalkowski))
428
+ - [#2078](https://github.com/graphcommerce-org/graphcommerce/pull/2078) [`5f409e6`](https://github.com/graphcommerce-org/graphcommerce/commit/5f409e617afae36d5c6224f3c6eb8d085fc2e84c) - Added @graphcommerce packages in node_modules to nextjs watch options ([@KMalkowski](https://github.com/KMalkowski))
213
429
 
214
- - [#2129](https://github.com/graphcommerce-org/graphcommerce/pull/2129) [`dca4490`](https://github.com/graphcommerce-org/graphcommerce/commit/dca4490b97319e9d4117277719adef395ed1e7b4) - Created `./devcontainer/devcontainer.json` to automatically run Graphcommerce after opening Codespaces
215
- ([@action-simon](https://github.com/action-simon))
430
+ - [#2129](https://github.com/graphcommerce-org/graphcommerce/pull/2129) [`dca4490`](https://github.com/graphcommerce-org/graphcommerce/commit/dca4490b97319e9d4117277719adef395ed1e7b4) - Created `./devcontainer/devcontainer.json` to automatically run Graphcommerce after opening Codespaces ([@action-simon](https://github.com/action-simon))
216
431
 
217
- - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`6306182`](https://github.com/graphcommerce-org/graphcommerce/commit/6306182196321bdab509a8dcfe09eb00da10303a) - Moved all internal `@graphcommerce/*` dependencies to `peerDependencies` and resolve remaining peer dependency issues
218
- ([@paales](https://github.com/paales))
432
+ - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`6306182`](https://github.com/graphcommerce-org/graphcommerce/commit/6306182196321bdab509a8dcfe09eb00da10303a) - Moved all internal `@graphcommerce/*` dependencies to `peerDependencies` and resolve remaining peer dependency issues ([@paales](https://github.com/paales))
219
433
 
220
- - [`d267f19`](https://github.com/graphcommerce-org/graphcommerce/commit/d267f19d6ab85f7dc1088974b3fee6148a537c20) - Disable the pagination thumbnails
221
- ([@paales](https://github.com/paales))
434
+ - [`d267f19`](https://github.com/graphcommerce-org/graphcommerce/commit/d267f19d6ab85f7dc1088974b3fee6148a537c20) - Disable the pagination thumbnails ([@paales](https://github.com/paales))
222
435
 
223
- - [#2172](https://github.com/graphcommerce-org/graphcommerce/pull/2172) [`279599e`](https://github.com/graphcommerce-org/graphcommerce/commit/279599e7a86bd96ea9e36065af3c367df9e02a63) - Updated examples in the documentation to reflect the changes made in GraphCommerce.
224
- ([@paales](https://github.com/paales))
436
+ - [#2172](https://github.com/graphcommerce-org/graphcommerce/pull/2172) [`279599e`](https://github.com/graphcommerce-org/graphcommerce/commit/279599e7a86bd96ea9e36065af3c367df9e02a63) - Updated examples in the documentation to reflect the changes made in GraphCommerce. ([@paales](https://github.com/paales))
225
437
 
226
- - [#2116](https://github.com/graphcommerce-org/graphcommerce/pull/2116) [`e0e5e82`](https://github.com/graphcommerce-org/graphcommerce/commit/e0e5e82af36ca38a78fc031e0c680daaab5909ad) - Node.js version of gitpod updated to node 18
227
- ([@action-simon](https://github.com/action-simon))
438
+ - [#2116](https://github.com/graphcommerce-org/graphcommerce/pull/2116) [`e0e5e82`](https://github.com/graphcommerce-org/graphcommerce/commit/e0e5e82af36ca38a78fc031e0c680daaab5909ad) - Node.js version of gitpod updated to node 18 ([@action-simon](https://github.com/action-simon))
228
439
 
229
- - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`77b1bac`](https://github.com/graphcommerce-org/graphcommerce/commit/77b1bac4db9c903a29c3969823da663875408be0) - Upgraded to nextjs 14.0.2, and updated other related dependencies. Removed @mui/material/modern alias as that doesnt work in combination with nextjs 14.0.2.
230
- ([@paales](https://github.com/paales))
440
+ - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`77b1bac`](https://github.com/graphcommerce-org/graphcommerce/commit/77b1bac4db9c903a29c3969823da663875408be0) - Upgraded to nextjs 14.0.2, and updated other related dependencies. Removed @mui/material/modern alias as that doesnt work in combination with nextjs 14.0.2. ([@paales](https://github.com/paales))
231
441
 
232
- - [#2169](https://github.com/graphcommerce-org/graphcommerce/pull/2169) [`eab3f0b`](https://github.com/graphcommerce-org/graphcommerce/commit/eab3f0b0b459f5b6cc4e50d787ac1e8ae545b708) - Solve issue where a Hygraph DynamicRow conditions were missing fields in the OrCondition
233
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
442
+ - [#2169](https://github.com/graphcommerce-org/graphcommerce/pull/2169) [`eab3f0b`](https://github.com/graphcommerce-org/graphcommerce/commit/eab3f0b0b459f5b6cc4e50d787ac1e8ae545b708) - Solve issue where a Hygraph DynamicRow conditions were missing fields in the OrCondition ([@Jessevdpoel](https://github.com/Jessevdpoel))
234
443
 
235
444
  ## 8.0.0-canary.100
236
445
 
@@ -248,15 +457,13 @@
248
457
 
249
458
  ### Patch Changes
250
459
 
251
- - [#2169](https://github.com/graphcommerce-org/graphcommerce/pull/2169) [`eab3f0b`](https://github.com/graphcommerce-org/graphcommerce/commit/eab3f0b0b459f5b6cc4e50d787ac1e8ae545b708) - Solve issue where a Hygraph DynamicRow conditions were missing fields in the OrCondition
252
- ([@Jessevdpoel](https://github.com/Jessevdpoel))
460
+ - [#2169](https://github.com/graphcommerce-org/graphcommerce/pull/2169) [`eab3f0b`](https://github.com/graphcommerce-org/graphcommerce/commit/eab3f0b0b459f5b6cc4e50d787ac1e8ae545b708) - Solve issue where a Hygraph DynamicRow conditions were missing fields in the OrCondition ([@Jessevdpoel](https://github.com/Jessevdpoel))
253
461
 
254
462
  ## 8.0.0-canary.93
255
463
 
256
464
  ### Patch Changes
257
465
 
258
- - [`d267f19`](https://github.com/graphcommerce-org/graphcommerce/commit/d267f19d6ab85f7dc1088974b3fee6148a537c20) - Disable the pagination thumbnails
259
- ([@paales](https://github.com/paales))
466
+ - [`d267f19`](https://github.com/graphcommerce-org/graphcommerce/commit/d267f19d6ab85f7dc1088974b3fee6148a537c20) - Disable the pagination thumbnails ([@paales](https://github.com/paales))
260
467
 
261
468
  ## 8.0.0-canary.92
262
469
 
@@ -264,8 +471,7 @@
264
471
 
265
472
  ### Patch Changes
266
473
 
267
- - [#2172](https://github.com/graphcommerce-org/graphcommerce/pull/2172) [`279599e`](https://github.com/graphcommerce-org/graphcommerce/commit/279599e7a86bd96ea9e36065af3c367df9e02a63) - Updated documentation to reflect recent code changes
268
- ([@paales](https://github.com/paales))
474
+ - [#2172](https://github.com/graphcommerce-org/graphcommerce/pull/2172) [`279599e`](https://github.com/graphcommerce-org/graphcommerce/commit/279599e7a86bd96ea9e36065af3c367df9e02a63) - Updated documentation to reflect recent code changes ([@paales](https://github.com/paales))
269
475
 
270
476
  ## 8.0.0-canary.90
271
477
 
@@ -319,8 +525,7 @@
319
525
 
320
526
  ### Patch Changes
321
527
 
322
- - [#2156](https://github.com/graphcommerce-org/graphcommerce/pull/2156) [`69b816c`](https://github.com/graphcommerce-org/graphcommerce/commit/69b816cd739af2999ec2a5053f09b9bb10379c52) - Updated dependencies. Fixed trace-to-tree.mjs to debug build perf and added trace-to-event-format.mjs for compatibility with about://tracing.
323
- ([@paales](https://github.com/paales))
528
+ - [#2156](https://github.com/graphcommerce-org/graphcommerce/pull/2156) [`69b816c`](https://github.com/graphcommerce-org/graphcommerce/commit/69b816cd739af2999ec2a5053f09b9bb10379c52) - Updated dependencies. Fixed trace-to-tree.mjs to debug build perf and added trace-to-event-format.mjs for compatibility with about://tracing. ([@paales](https://github.com/paales))
324
529
 
325
530
  ## 7.1.0-canary.65
326
531