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