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