@graphcommerce/magento-cart-items 10.0.0 → 10.0.1-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +2 -252
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.0.1-canary.0
4
+
3
5
  ## 10.0.0
4
6
 
5
7
  ### Major Changes
@@ -100,258 +102,6 @@
100
102
 
101
103
  - [#2485](https://github.com/graphcommerce-org/graphcommerce/pull/2485) [`dfd6359`](https://github.com/graphcommerce-org/graphcommerce/commit/dfd63593f31bd69d255a69dd7e9cb5471428c685) - Exported cartItemToCartItemInput so it can be extended with plugins ([@paales](https://github.com/paales))
102
104
 
103
- ## 10.0.0-canary.72
104
-
105
- ## 10.0.0-canary.71
106
-
107
- ## 10.0.0-canary.70
108
-
109
- ## 10.0.0-canary.69
110
-
111
- ## 10.0.0-canary.68
112
-
113
- ### Major Changes
114
-
115
- - [#2557](https://github.com/graphcommerce-org/graphcommerce/pull/2557) [`ceaadd8`](https://github.com/graphcommerce-org/graphcommerce/commit/ceaadd87f0648982a068a3b07b1fa149c9127f49) - ## Material UI v5 → v7 Migration
116
-
117
- This release upgrades Material UI from v5 to v7 with full CSS variables support. ([@paales](https://github.com/paales))
118
-
119
- ## 10.0.0-canary.67
120
-
121
- ## 10.0.0-canary.66
122
-
123
- ## 10.0.0-canary.65
124
-
125
- ## 10.0.0-canary.64
126
-
127
- ## 10.0.0-canary.63
128
-
129
- ## 10.0.0-canary.62
130
-
131
- ## 10.0.0-canary.61
132
-
133
- ## 10.0.0-canary.60
134
-
135
- ## 10.0.0-canary.59
136
-
137
- ## 10.0.0-canary.58
138
-
139
- ## 10.0.0-canary.57
140
-
141
- ## 10.0.0-canary.56
142
-
143
- ### Major Changes
144
-
145
- - [#2546](https://github.com/graphcommerce-org/graphcommerce/pull/2546) [`ed9332a`](https://github.com/graphcommerce-org/graphcommerce/commit/ed9332a7f78966d932041d9a7725641edc92b28d) - ## GraphCommerce 10 - Turbopack Support
146
-
147
- This major release brings full Turbopack compatibility, dramatically improving development speed.
148
-
149
- ### 🚀 Turbopack-Compatible Interceptor System
150
-
151
- The entire plugin/interceptor system has been rewritten to work with Turbopack:
152
-
153
- - **No more Webpack plugins** - Removed `InterceptorPlugin` webpack plugin entirely
154
- - **File-based interception** - Original files are moved to `.original.tsx` and replaced with interceptor content
155
- - **Direct imports** - Interceptors import from `.original` files instead of embedding source
156
- - **New CLI commands**:
157
- - `graphcommerce codegen-interceptors` - Generate interceptor files
158
- - `graphcommerce cleanup-interceptors` - Reset interceptor system, restore original files
159
- - **Stable file hashing** - Deterministic interceptor generation for better caching
160
-
161
- ### ⚙️ Treeshakable Configuration System
162
-
163
- Replaced Webpack `DefinePlugin`-based `import.meta.graphCommerce` with a new generated configuration system:
164
-
165
- - **New `codegen-config-values` command** - Generates TypeScript files with precise typing
166
- - **Schema-driven** - Dynamically introspects Zod schemas to determine all available properties
167
- - **Fully treeshakable** - Unused config values are eliminated from the bundle
168
- - **Type-safe** - Uses `Get<GraphCommerceConfig, 'path'>` for nested property access
169
- - **Separate files for nested objects** - Optimal treeshaking for complex configurations
170
-
171
- ### 🔧 withGraphCommerce Changes
172
-
173
- - **Removed** `InterceptorPlugin` - No longer needed with file-based interception
174
- - **Removed** `DefinePlugin` for `import.meta.graphCommerce` - Replaced with generated config
175
- - **Removed** `@mui/*` alias rewrites - No longer required
176
- - **Added** Turbopack loader rules for `.yaml`, `.yml`, and `.po` files
177
- - **Added** `serverExternalPackages` for all `@whatwg-node/*` packages
178
- - **Added** `optimizePackageImports` for better bundle optimization
179
- - **Added** `images.qualities: [52, 75]` for Next.js image optimization
180
-
181
- ### 📦 Lingui Configuration
182
-
183
- - **Renamed** `lingui.config.js` → `lingui.config.ts` with TypeScript support
184
- - **Updated** `@graphcommerce/lingui-next/config` to TypeScript with proper exports
185
- - **Simplified** formatter options
186
-
187
- ### ⚛️ React 19 & Next.js 16 Compatibility
188
-
189
- - Updated `RefObject<T>` types for React 19 (now includes `null` by default)
190
- - Replaced deprecated `React.VFC` with `React.FC`
191
- - Fixed `useRef` calls to require explicit initial values
192
- - Updated `MutableRefObject` usage in `framer-scroller`
193
-
194
- ### 📋 ESLint 9 Flat Config
195
-
196
- - Migrated from legacy `.eslintrc` to new flat config format (`eslint.config.mjs`)
197
- - Updated `@typescript-eslint/*` packages to v8
198
- - Fixed AST selector for `SxProps` rule (`typeParameters` → `typeArguments`)
199
-
200
- ### 🔄 Apollo Client
201
-
202
- - Fixed deprecated `name` option → `clientAwareness: { name: 'ssr' }`
203
- - Updated error handling types to accept `ApolloError | null | undefined`
204
-
205
- ### ⚠️ Breaking Changes
206
-
207
- - **Node.js 24.x not supported** - Restricted to `>=20 <24.0.0` due to [nodejs/undici#4290](https://github.com/nodejs/undici/issues/4290)
208
- - **Interceptor files changed** - Original components now at `.original.tsx`
209
- - **Config access changed** - Use generated config values instead of `import.meta.graphCommerce`
210
- - **ESLint config format** - Must use flat config (`eslint.config.mjs`)
211
- - **Lingui config** - Rename `lingui.config.js` to `lingui.config.ts`
212
-
213
- ### 🗑️ Removed
214
-
215
- - `InterceptorPlugin` webpack plugin
216
- - `configToImportMeta` utility
217
- - Webpack `DefinePlugin` usage for config
218
- - `@mui/*` modern alias rewrites
219
- - Debug plugins (`CircularDependencyPlugin`, `DuplicatesPlugin`) ([@paales](https://github.com/paales))
220
-
221
- ## 9.1.0-canary.55
222
-
223
- ## 9.1.0-canary.54
224
-
225
- ## 9.1.0-canary.53
226
-
227
- ## 9.1.0-canary.52
228
-
229
- ## 9.1.0-canary.51
230
-
231
- ### Patch Changes
232
-
233
- - [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`47daa19`](https://github.com/graphcommerce-org/graphcommerce/commit/47daa19a848acc85b0a9b84e6fda89da92128565) - Solve issue where if a product wasn't available in the cart anymore from the server the user wouldn't be able to remove the item from the cart. ([@paales](https://github.com/paales))
234
-
235
- ## 9.1.0-canary.50
236
-
237
- ## 9.1.0-canary.49
238
-
239
- ## 9.1.0-canary.48
240
-
241
- ## 9.1.0-canary.47
242
-
243
- ## 9.1.0-canary.46
244
-
245
- ## 9.1.0-canary.45
246
-
247
- ## 9.1.0-canary.44
248
-
249
- ## 9.1.0-canary.43
250
-
251
- ## 9.1.0-canary.42
252
-
253
- ## 9.1.0-canary.41
254
-
255
- ## 9.1.0-canary.40
256
-
257
- ## 9.1.0-canary.39
258
-
259
- ## 9.1.0-canary.38
260
-
261
- ## 9.1.0-canary.37
262
-
263
- ## 9.1.0-canary.36
264
-
265
- ## 9.1.0-canary.35
266
-
267
- ## 9.1.0-canary.34
268
-
269
- ## 9.1.0-canary.33
270
-
271
- ## 9.1.0-canary.32
272
-
273
- ## 9.1.0-canary.31
274
-
275
- ## 9.1.0-canary.30
276
-
277
- ## 9.1.0-canary.29
278
-
279
- ## 9.1.0-canary.28
280
-
281
- ## 9.1.0-canary.27
282
-
283
- ## 9.1.0-canary.26
284
-
285
- ## 9.1.0-canary.25
286
-
287
- ## 9.1.0-canary.24
288
-
289
- ## 9.1.0-canary.23
290
-
291
- ## 9.1.0-canary.22
292
-
293
- ## 9.1.0-canary.21
294
-
295
- ## 9.1.0-canary.20
296
-
297
- ## 9.1.0-canary.19
298
-
299
- ### Patch Changes
300
-
301
- - [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`89e785d`](https://github.com/graphcommerce-org/graphcommerce/commit/89e785de9d62c2f6cf6b2885da72ff63b16fc70d) - Added support for TIME and DATE for the customizable options. Added required stars. ([@paales](https://github.com/paales))
302
-
303
- - [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`6b2b44c`](https://github.com/graphcommerce-org/graphcommerce/commit/6b2b44ca853279144d7768067f3462d4d4bf0af1) - Created a new PriceModifiers component that is implemented on CartItems, allowing different product types to render their options in a consistent manner and allow rendering a base price so that the sum in the cart is correct. ([@paales](https://github.com/paales))
304
-
305
- - [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`09945ab`](https://github.com/graphcommerce-org/graphcommerce/commit/09945abef32640d1000a1da3f376afe4776d697f) - Solve issue where the UpdateItemQuantity would send a wrong query to the backend. ([@paales](https://github.com/paales))
306
-
307
- ## 9.1.0-canary.18
308
-
309
- ## 9.1.0-canary.17
310
-
311
- ## 9.1.0-canary.16
312
-
313
- ## 9.1.0-canary.15
314
-
315
- ### Patch Changes
316
-
317
- - [#2493](https://github.com/graphcommerce-org/graphcommerce/pull/2493) [`a482084`](https://github.com/graphcommerce-org/graphcommerce/commit/a482084d34e5e38e19cf6afbad87cd6eda67e858) - Currency wasn't set properly while rendering custom options for cart items that had a different currency than the current store. ([@paales](https://github.com/paales))
318
-
319
- ## 9.0.4-canary.14
320
-
321
- ## 9.0.4-canary.13
322
-
323
- ## 9.0.4-canary.12
324
-
325
- ## 9.0.4-canary.11
326
-
327
- ### Patch Changes
328
-
329
- - [#2485](https://github.com/graphcommerce-org/graphcommerce/pull/2485) [`875fbca`](https://github.com/graphcommerce-org/graphcommerce/commit/875fbcab9a26db8a33eca7cc9a41847c24cd8381) - Solve issue where the CartItem href wouldn't be correct ([@paales](https://github.com/paales))
330
-
331
- - [#2485](https://github.com/graphcommerce-org/graphcommerce/pull/2485) [`dfd6359`](https://github.com/graphcommerce-org/graphcommerce/commit/dfd63593f31bd69d255a69dd7e9cb5471428c685) - Exported cartItemToCartItemInput so it can be extended with plugins ([@paales](https://github.com/paales))
332
-
333
- ## 9.0.4-canary.10
334
-
335
- ## 9.0.4-canary.9
336
-
337
- ## 9.0.4-canary.8
338
-
339
- ## 9.0.4-canary.7
340
-
341
- ## 9.0.4-canary.6
342
-
343
- ## 9.0.4-canary.5
344
-
345
- ## 9.0.4-canary.4
346
-
347
- ## 9.0.4-canary.3
348
-
349
- ## 9.0.4-canary.2
350
-
351
- ## 9.0.4-canary.1
352
-
353
- ## 9.0.4-canary.0
354
-
355
105
  ## 9.0.1
356
106
 
357
107
  ### Patch Changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-items",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "10.0.0",
5
+ "version": "10.0.1-canary.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -15,19 +15,19 @@
15
15
  ".": "./index.ts"
16
16
  },
17
17
  "peerDependencies": {
18
- "@graphcommerce/ecommerce-ui": "^10.0.0",
19
- "@graphcommerce/eslint-config-pwa": "^10.0.0",
20
- "@graphcommerce/framer-next-pages": "^10.0.0",
21
- "@graphcommerce/graphql": "^10.0.0",
22
- "@graphcommerce/image": "^10.0.0",
23
- "@graphcommerce/magento-cart": "^10.0.0",
24
- "@graphcommerce/magento-customer": "^10.0.0",
25
- "@graphcommerce/magento-product": "^10.0.0",
26
- "@graphcommerce/magento-store": "^10.0.0",
27
- "@graphcommerce/next-ui": "^10.0.0",
28
- "@graphcommerce/prettier-config-pwa": "^10.0.0",
29
- "@graphcommerce/react-hook-form": "^10.0.0",
30
- "@graphcommerce/typescript-config-pwa": "^10.0.0",
18
+ "@graphcommerce/ecommerce-ui": "^10.0.1-canary.0",
19
+ "@graphcommerce/eslint-config-pwa": "^10.0.1-canary.0",
20
+ "@graphcommerce/framer-next-pages": "^10.0.1-canary.0",
21
+ "@graphcommerce/graphql": "^10.0.1-canary.0",
22
+ "@graphcommerce/image": "^10.0.1-canary.0",
23
+ "@graphcommerce/magento-cart": "^10.0.1-canary.0",
24
+ "@graphcommerce/magento-customer": "^10.0.1-canary.0",
25
+ "@graphcommerce/magento-product": "^10.0.1-canary.0",
26
+ "@graphcommerce/magento-store": "^10.0.1-canary.0",
27
+ "@graphcommerce/next-ui": "^10.0.1-canary.0",
28
+ "@graphcommerce/prettier-config-pwa": "^10.0.1-canary.0",
29
+ "@graphcommerce/react-hook-form": "^10.0.1-canary.0",
30
+ "@graphcommerce/typescript-config-pwa": "^10.0.1-canary.0",
31
31
  "@lingui/core": "^5",
32
32
  "@lingui/macro": "^5",
33
33
  "@lingui/react": "^5",