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