@graphcommerce/magento-cart-coupon 10.0.0 → 10.0.1-canary.1

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 +4 -246
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.0.1-canary.1
4
+
5
+ ## 10.0.1-canary.0
6
+
3
7
  ## 10.0.0
4
8
 
5
9
  ### Major Changes
@@ -94,252 +98,6 @@
94
98
 
95
99
  - [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`3613b74`](https://github.com/graphcommerce-org/graphcommerce/commit/3613b7412e736c2770654a076ee8fa5f1e77735c) - Split out various Cart related fragments to allow for easier extensibility: AppliedCoupon, CartPrices, CartTaxItem, Discount ([@paales](https://github.com/paales))
96
100
 
97
- ## 10.0.0-canary.72
98
-
99
- ## 10.0.0-canary.71
100
-
101
- ## 10.0.0-canary.70
102
-
103
- ## 10.0.0-canary.69
104
-
105
- ## 10.0.0-canary.68
106
-
107
- ### Major Changes
108
-
109
- - [#2557](https://github.com/graphcommerce-org/graphcommerce/pull/2557) [`ceaadd8`](https://github.com/graphcommerce-org/graphcommerce/commit/ceaadd87f0648982a068a3b07b1fa149c9127f49) - ## Material UI v5 → v7 Migration
110
-
111
- This release upgrades Material UI from v5 to v7 with full CSS variables support. ([@paales](https://github.com/paales))
112
-
113
- ## 10.0.0-canary.67
114
-
115
- ## 10.0.0-canary.66
116
-
117
- ## 10.0.0-canary.65
118
-
119
- ## 10.0.0-canary.64
120
-
121
- ## 10.0.0-canary.63
122
-
123
- ## 10.0.0-canary.62
124
-
125
- ## 10.0.0-canary.61
126
-
127
- ## 10.0.0-canary.60
128
-
129
- ## 10.0.0-canary.59
130
-
131
- ## 10.0.0-canary.58
132
-
133
- ## 10.0.0-canary.57
134
-
135
- ## 10.0.0-canary.56
136
-
137
- ### Major Changes
138
-
139
- - [#2546](https://github.com/graphcommerce-org/graphcommerce/pull/2546) [`ed9332a`](https://github.com/graphcommerce-org/graphcommerce/commit/ed9332a7f78966d932041d9a7725641edc92b28d) - ## GraphCommerce 10 - Turbopack Support
140
-
141
- This major release brings full Turbopack compatibility, dramatically improving development speed.
142
-
143
- ### 🚀 Turbopack-Compatible Interceptor System
144
-
145
- The entire plugin/interceptor system has been rewritten to work with Turbopack:
146
-
147
- - **No more Webpack plugins** - Removed `InterceptorPlugin` webpack plugin entirely
148
- - **File-based interception** - Original files are moved to `.original.tsx` and replaced with interceptor content
149
- - **Direct imports** - Interceptors import from `.original` files instead of embedding source
150
- - **New CLI commands**:
151
- - `graphcommerce codegen-interceptors` - Generate interceptor files
152
- - `graphcommerce cleanup-interceptors` - Reset interceptor system, restore original files
153
- - **Stable file hashing** - Deterministic interceptor generation for better caching
154
-
155
- ### ⚙️ Treeshakable Configuration System
156
-
157
- Replaced Webpack `DefinePlugin`-based `import.meta.graphCommerce` with a new generated configuration system:
158
-
159
- - **New `codegen-config-values` command** - Generates TypeScript files with precise typing
160
- - **Schema-driven** - Dynamically introspects Zod schemas to determine all available properties
161
- - **Fully treeshakable** - Unused config values are eliminated from the bundle
162
- - **Type-safe** - Uses `Get<GraphCommerceConfig, 'path'>` for nested property access
163
- - **Separate files for nested objects** - Optimal treeshaking for complex configurations
164
-
165
- ### 🔧 withGraphCommerce Changes
166
-
167
- - **Removed** `InterceptorPlugin` - No longer needed with file-based interception
168
- - **Removed** `DefinePlugin` for `import.meta.graphCommerce` - Replaced with generated config
169
- - **Removed** `@mui/*` alias rewrites - No longer required
170
- - **Added** Turbopack loader rules for `.yaml`, `.yml`, and `.po` files
171
- - **Added** `serverExternalPackages` for all `@whatwg-node/*` packages
172
- - **Added** `optimizePackageImports` for better bundle optimization
173
- - **Added** `images.qualities: [52, 75]` for Next.js image optimization
174
-
175
- ### 📦 Lingui Configuration
176
-
177
- - **Renamed** `lingui.config.js` → `lingui.config.ts` with TypeScript support
178
- - **Updated** `@graphcommerce/lingui-next/config` to TypeScript with proper exports
179
- - **Simplified** formatter options
180
-
181
- ### ⚛️ React 19 & Next.js 16 Compatibility
182
-
183
- - Updated `RefObject<T>` types for React 19 (now includes `null` by default)
184
- - Replaced deprecated `React.VFC` with `React.FC`
185
- - Fixed `useRef` calls to require explicit initial values
186
- - Updated `MutableRefObject` usage in `framer-scroller`
187
-
188
- ### 📋 ESLint 9 Flat Config
189
-
190
- - Migrated from legacy `.eslintrc` to new flat config format (`eslint.config.mjs`)
191
- - Updated `@typescript-eslint/*` packages to v8
192
- - Fixed AST selector for `SxProps` rule (`typeParameters` → `typeArguments`)
193
-
194
- ### 🔄 Apollo Client
195
-
196
- - Fixed deprecated `name` option → `clientAwareness: { name: 'ssr' }`
197
- - Updated error handling types to accept `ApolloError | null | undefined`
198
-
199
- ### ⚠️ Breaking Changes
200
-
201
- - **Node.js 24.x not supported** - Restricted to `>=20 <24.0.0` due to [nodejs/undici#4290](https://github.com/nodejs/undici/issues/4290)
202
- - **Interceptor files changed** - Original components now at `.original.tsx`
203
- - **Config access changed** - Use generated config values instead of `import.meta.graphCommerce`
204
- - **ESLint config format** - Must use flat config (`eslint.config.mjs`)
205
- - **Lingui config** - Rename `lingui.config.js` to `lingui.config.ts`
206
-
207
- ### 🗑️ Removed
208
-
209
- - `InterceptorPlugin` webpack plugin
210
- - `configToImportMeta` utility
211
- - Webpack `DefinePlugin` usage for config
212
- - `@mui/*` modern alias rewrites
213
- - Debug plugins (`CircularDependencyPlugin`, `DuplicatesPlugin`) ([@paales](https://github.com/paales))
214
-
215
- ## 9.1.0-canary.55
216
-
217
- ## 9.1.0-canary.54
218
-
219
- ## 9.1.0-canary.53
220
-
221
- ## 9.1.0-canary.52
222
-
223
- ## 9.1.0-canary.51
224
-
225
- ## 9.1.0-canary.50
226
-
227
- ## 9.1.0-canary.49
228
-
229
- ## 9.1.0-canary.48
230
-
231
- ### Patch Changes
232
-
233
- - [#2532](https://github.com/graphcommerce-org/graphcommerce/pull/2532) [`4913aee`](https://github.com/graphcommerce-org/graphcommerce/commit/4913aeeae7c9237edc13361b72619e1d1f429198) - Resolve issue where a 400 error occurred due to missing coupon code data in the request. The coupon input field was being disabled before form submission, preventing the code from being included in the request payload ([@joshdavenport](https://github.com/joshdavenport))
234
-
235
- ## 9.1.0-canary.47
236
-
237
- ## 9.1.0-canary.46
238
-
239
- ## 9.1.0-canary.45
240
-
241
- ## 9.1.0-canary.44
242
-
243
- ## 9.1.0-canary.43
244
-
245
- ## 9.1.0-canary.42
246
-
247
- ## 9.1.0-canary.41
248
-
249
- ## 9.1.0-canary.40
250
-
251
- ## 9.1.0-canary.39
252
-
253
- ## 9.1.0-canary.38
254
-
255
- ## 9.1.0-canary.37
256
-
257
- ## 9.1.0-canary.36
258
-
259
- ## 9.1.0-canary.35
260
-
261
- ## 9.1.0-canary.34
262
-
263
- ## 9.1.0-canary.33
264
-
265
- ### Patch Changes
266
-
267
- - [#2486](https://github.com/graphcommerce-org/graphcommerce/pull/2486) [`e09873e`](https://github.com/graphcommerce-org/graphcommerce/commit/e09873ebccfca167e9ffe9873d9a26d104cb6623) - Align coupon accordion with other accordion types that can still expand with chips rendered ([@paales](https://github.com/paales))
268
-
269
- ## 9.1.0-canary.32
270
-
271
- ## 9.1.0-canary.31
272
-
273
- ## 9.1.0-canary.30
274
-
275
- ## 9.1.0-canary.29
276
-
277
- ## 9.1.0-canary.28
278
-
279
- ## 9.1.0-canary.27
280
-
281
- ## 9.1.0-canary.26
282
-
283
- ## 9.1.0-canary.25
284
-
285
- ## 9.1.0-canary.24
286
-
287
- ## 9.1.0-canary.23
288
-
289
- ## 9.1.0-canary.22
290
-
291
- ## 9.1.0-canary.21
292
-
293
- ## 9.1.0-canary.20
294
-
295
- ## 9.1.0-canary.19
296
-
297
- ### Patch Changes
298
-
299
- - [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`3613b74`](https://github.com/graphcommerce-org/graphcommerce/commit/3613b7412e736c2770654a076ee8fa5f1e77735c) - Split out various Cart related fragments to allow for easier extensibility: AppliedCoupon, CartPrices, CartTaxItem, Discount ([@paales](https://github.com/paales))
300
-
301
- ## 9.1.0-canary.18
302
-
303
- ## 9.1.0-canary.17
304
-
305
- ## 9.1.0-canary.16
306
-
307
- ## 9.1.0-canary.15
308
-
309
- ## 9.0.4-canary.14
310
-
311
- ## 9.0.4-canary.13
312
-
313
- ## 9.0.4-canary.12
314
-
315
- ## 9.0.4-canary.11
316
-
317
- ## 9.0.4-canary.10
318
-
319
- ## 9.0.4-canary.9
320
-
321
- ### Patch Changes
322
-
323
- - [`3b45e14`](https://github.com/graphcommerce-org/graphcommerce/commit/3b45e1426da4dd4caf1cc76f0707af07474ffd2e) - Forward props to CouponAccordion ([@paales](https://github.com/paales))
324
-
325
- ## 9.0.4-canary.8
326
-
327
- ## 9.0.4-canary.7
328
-
329
- ## 9.0.4-canary.6
330
-
331
- ## 9.0.4-canary.5
332
-
333
- ## 9.0.4-canary.4
334
-
335
- ## 9.0.4-canary.3
336
-
337
- ## 9.0.4-canary.2
338
-
339
- ## 9.0.4-canary.1
340
-
341
- ## 9.0.4-canary.0
342
-
343
101
  ## 9.0.0
344
102
 
345
103
  ### Patch Changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-coupon",
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.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -15,16 +15,16 @@
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/graphql": "^10.0.0",
21
- "@graphcommerce/image": "^10.0.0",
22
- "@graphcommerce/magento-cart": "^10.0.0",
23
- "@graphcommerce/magento-store": "^10.0.0",
24
- "@graphcommerce/next-ui": "^10.0.0",
25
- "@graphcommerce/prettier-config-pwa": "^10.0.0",
26
- "@graphcommerce/react-hook-form": "^10.0.0",
27
- "@graphcommerce/typescript-config-pwa": "^10.0.0",
18
+ "@graphcommerce/ecommerce-ui": "^10.0.1-canary.1",
19
+ "@graphcommerce/eslint-config-pwa": "^10.0.1-canary.1",
20
+ "@graphcommerce/graphql": "^10.0.1-canary.1",
21
+ "@graphcommerce/image": "^10.0.1-canary.1",
22
+ "@graphcommerce/magento-cart": "^10.0.1-canary.1",
23
+ "@graphcommerce/magento-store": "^10.0.1-canary.1",
24
+ "@graphcommerce/next-ui": "^10.0.1-canary.1",
25
+ "@graphcommerce/prettier-config-pwa": "^10.0.1-canary.1",
26
+ "@graphcommerce/react-hook-form": "^10.0.1-canary.1",
27
+ "@graphcommerce/typescript-config-pwa": "^10.0.1-canary.1",
28
28
  "@lingui/core": "^5",
29
29
  "@lingui/macro": "^5",
30
30
  "@lingui/react": "^5",