@graphcommerce/magento-search 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 -260
  2. package/package.json +12 -12
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
@@ -106,266 +110,6 @@
106
110
 
107
111
  Implementation details: When filters are applied (e.g., filtering by color:blue), the ProductList query only returns products matching that filter, which means other filter options (like other colors) are excluded from the filter options. This behavior is expected since those other options wouldn't return any products. However, when no filters are applied, the ProductList query returns all products along with all available filter options, eliminating the need for a separate ProductFilters query. ([@paales](https://github.com/paales))
108
112
 
109
- ## 10.0.0-canary.72
110
-
111
- ## 10.0.0-canary.71
112
-
113
- ## 10.0.0-canary.70
114
-
115
- ### Major Changes
116
-
117
- - [#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))
118
-
119
- ## 10.0.0-canary.69
120
-
121
- ## 10.0.0-canary.68
122
-
123
- ### Major Changes
124
-
125
- - [#2557](https://github.com/graphcommerce-org/graphcommerce/pull/2557) [`ceaadd8`](https://github.com/graphcommerce-org/graphcommerce/commit/ceaadd87f0648982a068a3b07b1fa149c9127f49) - ## Material UI v5 → v7 Migration
126
-
127
- This release upgrades Material UI from v5 to v7 with full CSS variables support. ([@paales](https://github.com/paales))
128
-
129
- ## 10.0.0-canary.67
130
-
131
- ## 10.0.0-canary.66
132
-
133
- ## 10.0.0-canary.65
134
-
135
- ## 10.0.0-canary.64
136
-
137
- ## 10.0.0-canary.63
138
-
139
- ## 10.0.0-canary.62
140
-
141
- ## 10.0.0-canary.61
142
-
143
- ## 10.0.0-canary.60
144
-
145
- ## 10.0.0-canary.59
146
-
147
- ## 10.0.0-canary.58
148
-
149
- ## 10.0.0-canary.57
150
-
151
- ## 10.0.0-canary.56
152
-
153
- ### Major Changes
154
-
155
- - [#2546](https://github.com/graphcommerce-org/graphcommerce/pull/2546) [`ed9332a`](https://github.com/graphcommerce-org/graphcommerce/commit/ed9332a7f78966d932041d9a7725641edc92b28d) - ## GraphCommerce 10 - Turbopack Support
156
-
157
- This major release brings full Turbopack compatibility, dramatically improving development speed.
158
-
159
- ### 🚀 Turbopack-Compatible Interceptor System
160
-
161
- The entire plugin/interceptor system has been rewritten to work with Turbopack:
162
-
163
- - **No more Webpack plugins** - Removed `InterceptorPlugin` webpack plugin entirely
164
- - **File-based interception** - Original files are moved to `.original.tsx` and replaced with interceptor content
165
- - **Direct imports** - Interceptors import from `.original` files instead of embedding source
166
- - **New CLI commands**:
167
- - `graphcommerce codegen-interceptors` - Generate interceptor files
168
- - `graphcommerce cleanup-interceptors` - Reset interceptor system, restore original files
169
- - **Stable file hashing** - Deterministic interceptor generation for better caching
170
-
171
- ### ⚙️ Treeshakable Configuration System
172
-
173
- Replaced Webpack `DefinePlugin`-based `import.meta.graphCommerce` with a new generated configuration system:
174
-
175
- - **New `codegen-config-values` command** - Generates TypeScript files with precise typing
176
- - **Schema-driven** - Dynamically introspects Zod schemas to determine all available properties
177
- - **Fully treeshakable** - Unused config values are eliminated from the bundle
178
- - **Type-safe** - Uses `Get<GraphCommerceConfig, 'path'>` for nested property access
179
- - **Separate files for nested objects** - Optimal treeshaking for complex configurations
180
-
181
- ### 🔧 withGraphCommerce Changes
182
-
183
- - **Removed** `InterceptorPlugin` - No longer needed with file-based interception
184
- - **Removed** `DefinePlugin` for `import.meta.graphCommerce` - Replaced with generated config
185
- - **Removed** `@mui/*` alias rewrites - No longer required
186
- - **Added** Turbopack loader rules for `.yaml`, `.yml`, and `.po` files
187
- - **Added** `serverExternalPackages` for all `@whatwg-node/*` packages
188
- - **Added** `optimizePackageImports` for better bundle optimization
189
- - **Added** `images.qualities: [52, 75]` for Next.js image optimization
190
-
191
- ### 📦 Lingui Configuration
192
-
193
- - **Renamed** `lingui.config.js` → `lingui.config.ts` with TypeScript support
194
- - **Updated** `@graphcommerce/lingui-next/config` to TypeScript with proper exports
195
- - **Simplified** formatter options
196
-
197
- ### ⚛️ React 19 & Next.js 16 Compatibility
198
-
199
- - Updated `RefObject<T>` types for React 19 (now includes `null` by default)
200
- - Replaced deprecated `React.VFC` with `React.FC`
201
- - Fixed `useRef` calls to require explicit initial values
202
- - Updated `MutableRefObject` usage in `framer-scroller`
203
-
204
- ### 📋 ESLint 9 Flat Config
205
-
206
- - Migrated from legacy `.eslintrc` to new flat config format (`eslint.config.mjs`)
207
- - Updated `@typescript-eslint/*` packages to v8
208
- - Fixed AST selector for `SxProps` rule (`typeParameters` → `typeArguments`)
209
-
210
- ### 🔄 Apollo Client
211
-
212
- - Fixed deprecated `name` option → `clientAwareness: { name: 'ssr' }`
213
- - Updated error handling types to accept `ApolloError | null | undefined`
214
-
215
- ### ⚠️ Breaking Changes
216
-
217
- - **Node.js 24.x not supported** - Restricted to `>=20 <24.0.0` due to [nodejs/undici#4290](https://github.com/nodejs/undici/issues/4290)
218
- - **Interceptor files changed** - Original components now at `.original.tsx`
219
- - **Config access changed** - Use generated config values instead of `import.meta.graphCommerce`
220
- - **ESLint config format** - Must use flat config (`eslint.config.mjs`)
221
- - **Lingui config** - Rename `lingui.config.js` to `lingui.config.ts`
222
-
223
- ### 🗑️ Removed
224
-
225
- - `InterceptorPlugin` webpack plugin
226
- - `configToImportMeta` utility
227
- - Webpack `DefinePlugin` usage for config
228
- - `@mui/*` modern alias rewrites
229
- - Debug plugins (`CircularDependencyPlugin`, `DuplicatesPlugin`) ([@paales](https://github.com/paales))
230
-
231
- ## 9.1.0-canary.55
232
-
233
- ## 9.1.0-canary.54
234
-
235
- ## 9.1.0-canary.53
236
-
237
- ## 9.1.0-canary.52
238
-
239
- ## 9.1.0-canary.51
240
-
241
- ## 9.1.0-canary.50
242
-
243
- ## 9.1.0-canary.49
244
-
245
- ### Patch Changes
246
-
247
- - [#2533](https://github.com/graphcommerce-org/graphcommerce/pull/2533) [`88abcbf`](https://github.com/graphcommerce-org/graphcommerce/commit/88abcbf011b65b0cd1235e984f5d8306256bd518) - When loading the category/search page in the case that there are no filters applied, the amount or product related queries is reduced from 2 to 1 (ProductFilters is skipped). Pagination, sorting and search terms also do not affect this. When a filter is applied we fall back to the previous functionality and do a second query to retrieve the filters.
248
-
249
- This did not matter when the categories/search pages were served by Magento as Magento would cache the result of the ProductFilters query. When the the catalog is served by an external service like Algolia this might be a problem.
250
-
251
- Implementation details: When filters are applied (e.g., filtering by color:blue), the ProductList query only returns products matching that filter, which means other filter options (like other colors) are excluded from the filter options. This behavior is expected since those other options wouldn't return any products. However, when no filters are applied, the ProductList query returns all products along with all available filter options, eliminating the need for a separate ProductFilters query. ([@paales](https://github.com/paales))
252
-
253
- ## 9.1.0-canary.48
254
-
255
- ## 9.1.0-canary.47
256
-
257
- ## 9.1.0-canary.46
258
-
259
- ## 9.1.0-canary.45
260
-
261
- ## 9.1.0-canary.44
262
-
263
- ## 9.1.0-canary.43
264
-
265
- ## 9.1.0-canary.42
266
-
267
- ## 9.1.0-canary.41
268
-
269
- ## 9.1.0-canary.40
270
-
271
- ## 9.1.0-canary.39
272
-
273
- ## 9.1.0-canary.38
274
-
275
- ## 9.1.0-canary.37
276
-
277
- ## 9.1.0-canary.36
278
-
279
- ## 9.1.0-canary.35
280
-
281
- ### Patch Changes
282
-
283
- - [`4b02607`](https://github.com/graphcommerce-org/graphcommerce/commit/4b02607b26dd45e33bba3fb73d36052757dc2dec) - Solve issue where seaches containing a `/` would not consider everything after the `/` as part of the search. ([@paales](https://github.com/paales))
284
-
285
- - [`ec5b915`](https://github.com/graphcommerce-org/graphcommerce/commit/ec5b91559fb8e702ae3043c38a73c62c7724aefa) - Solve issue where the cursor would jump after the first result of the search page came in. ([@paales](https://github.com/paales))
286
-
287
- ## 9.1.0-canary.34
288
-
289
- ## 9.1.0-canary.33
290
-
291
- ## 9.1.0-canary.32
292
-
293
- ## 9.1.0-canary.31
294
-
295
- ## 9.1.0-canary.30
296
-
297
- ## 9.1.0-canary.29
298
-
299
- ### Minor Changes
300
-
301
- - [#2525](https://github.com/graphcommerce-org/graphcommerce/pull/2525) [`f9176ad`](https://github.com/graphcommerce-org/graphcommerce/commit/f9176adf3bf643ac00c865fc173a80056d8b8170) - Search Categories through algolia ([@paales](https://github.com/paales))
302
-
303
- ## 9.1.0-canary.28
304
-
305
- ## 9.1.0-canary.27
306
-
307
- ## 9.1.0-canary.26
308
-
309
- ## 9.1.0-canary.25
310
-
311
- ## 9.1.0-canary.24
312
-
313
- ## 9.1.0-canary.23
314
-
315
- ### Patch Changes
316
-
317
- - [#2521](https://github.com/graphcommerce-org/graphcommerce/pull/2521) [`78b8640`](https://github.com/graphcommerce-org/graphcommerce/commit/78b86401fc5410ffb3b001bc7c79049496a54ae7) - Solve issue where the category sidebar navigation would show a Clear button while it wasn't clearable. ([@paales](https://github.com/paales))
318
-
319
- ## 9.1.0-canary.22
320
-
321
- ### Patch Changes
322
-
323
- - [#2510](https://github.com/graphcommerce-org/graphcommerce/pull/2510) [`1471d62`](https://github.com/graphcommerce-org/graphcommerce/commit/1471d62c59147da87e954694144fe694db3ee4b7) - Allow setting alternate search input placeholder ([@bramvanderholst](https://github.com/bramvanderholst))
324
-
325
- ## 9.1.0-canary.21
326
-
327
- ## 9.1.0-canary.20
328
-
329
- ## 9.1.0-canary.19
330
-
331
- ## 9.1.0-canary.18
332
-
333
- ## 9.1.0-canary.17
334
-
335
- ## 9.1.0-canary.16
336
-
337
- ## 9.1.0-canary.15
338
-
339
- ## 9.0.4-canary.14
340
-
341
- ## 9.0.4-canary.13
342
-
343
- ## 9.0.4-canary.12
344
-
345
- ## 9.0.4-canary.11
346
-
347
- ## 9.0.4-canary.10
348
-
349
- ## 9.0.4-canary.9
350
-
351
- ## 9.0.4-canary.8
352
-
353
- ## 9.0.4-canary.7
354
-
355
- ## 9.0.4-canary.6
356
-
357
- ## 9.0.4-canary.5
358
-
359
- ## 9.0.4-canary.4
360
-
361
- ## 9.0.4-canary.3
362
-
363
- ## 9.0.4-canary.2
364
-
365
- ## 9.0.4-canary.1
366
-
367
- ## 9.0.4-canary.0
368
-
369
113
  ## 9.0.0
370
114
 
371
115
  ### Major Changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-search",
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": {
@@ -12,17 +12,17 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^10.0.0",
16
- "@graphcommerce/eslint-config-pwa": "^10.0.0",
17
- "@graphcommerce/framer-utils": "^10.0.0",
18
- "@graphcommerce/graphql": "^10.0.0",
19
- "@graphcommerce/image": "^10.0.0",
20
- "@graphcommerce/magento-product": "^10.0.0",
21
- "@graphcommerce/magento-store": "^10.0.0",
22
- "@graphcommerce/next-ui": "^10.0.0",
23
- "@graphcommerce/prettier-config-pwa": "^10.0.0",
24
- "@graphcommerce/react-hook-form": "^10.0.0",
25
- "@graphcommerce/typescript-config-pwa": "^10.0.0",
15
+ "@graphcommerce/ecommerce-ui": "^10.0.1-canary.1",
16
+ "@graphcommerce/eslint-config-pwa": "^10.0.1-canary.1",
17
+ "@graphcommerce/framer-utils": "^10.0.1-canary.1",
18
+ "@graphcommerce/graphql": "^10.0.1-canary.1",
19
+ "@graphcommerce/image": "^10.0.1-canary.1",
20
+ "@graphcommerce/magento-product": "^10.0.1-canary.1",
21
+ "@graphcommerce/magento-store": "^10.0.1-canary.1",
22
+ "@graphcommerce/next-ui": "^10.0.1-canary.1",
23
+ "@graphcommerce/prettier-config-pwa": "^10.0.1-canary.1",
24
+ "@graphcommerce/react-hook-form": "^10.0.1-canary.1",
25
+ "@graphcommerce/typescript-config-pwa": "^10.0.1-canary.1",
26
26
  "@lingui/core": "^5",
27
27
  "@lingui/macro": "^5",
28
28
  "@lingui/react": "^5",