@faststore/core 4.9.1-dev.0 → 4.9.2

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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @faststore/core@4.9.0 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.9.1 generate /home/runner/work/faststore/faststore/packages/core
3
3
  > pnpm run gen-types && pnpm run cache-graphql
4
4
 
5
5
 
6
- > @faststore/core@4.9.0 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.9.1 gen-types /home/runner/work/faststore/faststore/packages/core
7
7
  > node ../cli/bin/run generate-types .
8
8
 
9
9
  [STARTED] Parse Configuration
@@ -19,7 +19,7 @@
19
19
  [COMPLETED] Generate to @generated/
20
20
  [COMPLETED] Generate outputs
21
21
 
22
- > @faststore/core@4.9.0 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.9.1 cache-graphql /home/runner/work/faststore/faststore/packages/core
23
23
  > node ../cli/bin/run cache-graphql --config=./discovery.config.default.js --queries=./@generated/persisted-documents.json
24
24
 
25
25
  [Info] - Config file location: /home/runner/work/faststore/faststore/packages/core/discovery.config.default.js
@@ -1,5 +1,5 @@
1
1
 
2
- > @faststore/core@4.9.0 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.9.1 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
@@ -7,29 +7,26 @@
7
7
 
8
8
  Not implemented: navigation to another Document
9
9
  Not implemented: navigation to another Document
10
- ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 1266ms
11
- Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
10
+ ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 973ms
11
+ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
12
12
  npx update-browserslist-db@latest
13
13
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
14
- ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 3075ms
15
- ✓ shows the tab bar and renders Personal cards by default  1368ms
16
- ✓ paginates when there are more than 25 cards  454ms
17
- ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3836ms
18
- ✓ shows a loading state while contracts load  336ms
19
- ✓ shows an error state when the list fails to load  608ms
20
- ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  605ms
21
- ✓ keeps Confirm disabled until a different contract is selected  305ms
22
- ✓ keeps Confirm disabled when switching is unavailable  301ms
23
- ✓ honors CMS-provided labels for the header, current session, search, footer, and available count  372ms
24
- ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 2985ms
25
- ✓ opens the reject confirmation modal with the default English copy  1310ms
26
- ✓ opens the reject confirmation modal with CMS-provided labels  484ms
27
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 237ms
28
- ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 118ms
29
- ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1963ms
30
- ✓ renders the menu view with contract details and manage footer  1061ms
31
- ✓ opens the contract switcher and returns to the menu on back  388ms
32
- ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 98ms
14
+ ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3517ms
15
+ ✓ shows an error state when the list fails to load  634ms
16
+ ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  522ms
17
+ ✓ keeps Confirm disabled until a different contract is selected  322ms
18
+ ✓ keeps Confirm disabled when the selected contract is filtered out  306ms
19
+ ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 2424ms
20
+ ✓ shows the tab bar and renders Personal cards by default  1049ms
21
+ ✓ paginates when there are more than 25 cards  401ms
22
+ ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 1899ms
23
+ ✓ opens the reject confirmation modal with the default English copy  763ms
24
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 184ms
25
+ ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1217ms
26
+ ✓ renders the menu view with contract details and manage footer  683ms
27
+ ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 74ms
28
+ ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 110ms
29
+ ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (5 tests) 11ms
33
30
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx
34
31
  Error in optimistic validation: TypeError: Failed to parse URL from /api/graphql?operationName=ValidateCartMutation&operationHash=3c71b0d3fc2bade14df68abfa271858beb361b12
35
32
   at node:internal/deps/undici/undici:16416:13
@@ -37,7 +34,7 @@ Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
37
34
  at baseRequest (/home/runner/work/faststore/faststore/packages/core/src/sdk/graphql/request.ts:42:20)
38
35
  at GraphqlRequest (/home/runner/work/faststore/faststore/packages/core/src/sdk/graphql/request.ts:130:20)
39
36
  at request (/home/runner/work/faststore/faststore/packages/core/src/sdk/graphql/request.ts:154:5)
40
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:122:46)
37
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:126:46)
41
38
  at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:14)
42
39
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:17) {
43
40
  [cause]: TypeError: Invalid URL
@@ -56,14 +53,14 @@ Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
56
53
  }
57
54
  }
58
55
 
59
- ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (5 tests) 21ms
60
56
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx > RecommendationShelf > renders nothing when there is an error
61
57
  Error fetching recommendations undefined boom for campaign vrn:recommendations:acc:rec-top-items-v2:campaign-1
62
58
 
63
- ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 134ms
64
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 82ms
65
- ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 121ms
66
- ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 78ms
59
+ ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 83ms
60
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 53ms
61
+ ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 94ms
62
+ ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 104ms
63
+ ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 78ms
67
64
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
68
65
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
69
66
 
@@ -293,90 +290,107 @@ act(() => {
293
290
  This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
294
291
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
295
292
 
296
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 856ms
297
- ✓ renders the password protection form  441ms
298
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 14ms
299
- ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 61ms
300
- ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 410ms
293
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 474ms
294
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 7ms
295
+ ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 281ms
296
+ ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 36ms
301
297
  stderr | test/components/cms/RenderSections.browser.test.tsx
302
298
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
303
299
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
304
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:120:9)
300
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
305
301
  at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
306
302
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
307
303
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
308
304
 
309
- ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 47ms
310
- ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 89ms
311
- ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 49ms
305
+ ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 60ms
306
+ ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 39ms
307
+ ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 215ms
312
308
  stderr | test/sdk/localization/store-url.browser.test.ts
313
309
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
314
310
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
315
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:120:9)
311
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
316
312
  at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
317
313
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
318
314
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
319
315
 
320
316
  ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 4ms
321
- ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 394ms
322
- ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 37ms
323
- ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 36ms
324
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 130ms
325
- ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 121ms
326
- ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 65ms
327
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 65ms
328
- ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 19ms
317
+ ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 20ms
318
+ ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 30ms
319
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 125ms
320
+ ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 104ms
321
+ ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 38ms
322
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 34ms
323
+ ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 17ms
329
324
  stderr | test/components/account/doLogout.browser.test.ts
330
325
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
331
326
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
332
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:120:9)
327
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
333
328
  at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
334
329
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
335
330
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
336
331
 
337
- ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 24ms
338
- ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 363ms
332
+ ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 18ms
339
333
  ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 40ms
334
+ ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 260ms
340
335
  stderr | test/sdk/account/clearPersistedSessionState.browser.test.ts
341
336
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
342
337
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
343
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:120:9)
338
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
344
339
  at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
345
340
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
346
341
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
347
342
 
348
- ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 21ms
349
- ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 102ms
350
- ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 111ms
351
- ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 98ms
352
- ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 31ms
353
- ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 85ms
354
- ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 93ms
355
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 31ms
356
- ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (2 tests) 273ms
343
+ ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 15ms
344
+ ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 62ms
345
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 71ms
346
+ ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 89ms
347
+ ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 17ms
348
+ ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 42ms
349
+ ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 21ms
350
+ ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 62ms
351
+ stderr | test/sdk/session/sessionStore.browser.test.ts
352
+ Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
353
+ at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
354
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
355
+ at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
356
+ at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
357
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
358
+
359
+ ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (2 tests) 185ms
360
+ ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 5ms
361
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 26ms
362
+ stderr | test/sdk/session/validateSession.browser.test.ts
363
+ Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
364
+ at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
365
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
366
+ at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
367
+ at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
368
+  at processTicksAndRejections (node:internal/process/task_queues:103:5)
369
+
370
+ ✓  browser  test/sdk/session/validateSession.browser.test.ts (1 test) 4ms
371
+ ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 74ms
357
372
  ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 4ms
358
- ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 116ms
359
373
  ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 3ms
360
- ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 55ms
361
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 49ms
362
- ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 45ms
363
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 38ms
374
+ ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 33ms
375
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 34ms
376
+ ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 22ms
377
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 20ms
364
378
  stderr | test/sdk/account/refreshToken.browser.test.ts
365
379
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
366
380
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
367
- at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:120:9)
381
+ at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:124:9)
368
382
  at onValidate (/home/runner/work/faststore/faststore/packages/core/src/sdk/useStore.ts:18:20)
369
383
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
370
384
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
371
385
 
372
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 28ms
373
- ✓  browser  test/sdk/account/refreshToken.browser.test.ts (1 test) 6ms
374
- ✓  node  test/pages/api/switch-contract.test.ts (25 tests) 90ms
375
- ✓  node  test/utils/match-url.test.ts (10 tests) 10ms
376
- ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 213ms
377
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 24ms
378
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 162ms
379
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 10ms
386
+ ✓  browser  test/sdk/account/refreshToken.browser.test.ts (1 test) 3ms
387
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 19ms
388
+ ✓  node  test/pages/api/switch-contract.test.ts (25 tests) 71ms
389
+ ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 169ms
390
+ ✓  node  test/utils/match-url.test.ts (10 tests) 8ms
391
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 8ms
392
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 86ms
393
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 9ms
380
394
  stderr | test/components/search/SearchInputComponent.test.tsx
381
395
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
382
396
 
@@ -440,21 +454,22 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
440
454
  at Suspense
441
455
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
442
456
 
443
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 87ms
444
- ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 421ms
457
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 59ms
458
+ ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 298ms
459
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 30ms
445
460
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > redirects to /pvt/account/403 when the query fails with 401/403
446
461
  { extensions: { status: 401 } }
447
462
 
448
463
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > renders the error state (no redirect) when the query fails with a non-auth status
449
464
  { extensions: { status: 502 } }
450
465
 
451
- ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 9ms
452
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 40ms
453
- ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 858ms
454
- ✓ navigates with the search term on blur  364ms
455
- ✓ navigates without a label param when the search is cleared  358ms
456
- ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 42ms
457
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 16ms
466
+ ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 6ms
467
+ ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 812ms
468
+ ✓ navigates with the search term on blur  358ms
469
+ ✓ navigates without a label param when the search is cleared  362ms
470
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 11ms
471
+ ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 26ms
472
+ ✓  node  test/utils/productJsonLd.test.ts (36 tests) 11ms
458
473
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
459
474
  Graphql execution returned with error: [
460
475
  {
@@ -506,7 +521,7 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
506
521
 
507
522
  stderr | test/pages/api/graphql.test.ts > /api/graphql request handling > maps BadRequestError thrown by execute to its status
508
523
  Something unexpected occurred querying Graphql endpoint:
509
- _ [FastStoreError]: malformed
524
+ k [FastStoreError]: malformed
510
525
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:201:31
511
526
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:207:39
512
527
  at file:///home/runner/work/faststore/faststore/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:1024:60
@@ -564,73 +579,72 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
564
579
  at trace (file:///home/runner/work/faststore/faststore/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@20.19.13_jiti@2.6.1_jsdom@27.4.0_sas_13be941c57d55f08f06eeaf1c180ddfe/node_modules/vitest/dist/chunks/test.B8ej_ZHS.js:239:21)
565
580
  at runTest (file:///home/runner/work/faststore/faststore/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:1653:12)
566
581
 
567
- ✓  node  test/pages/api/graphql.test.ts (19 tests) 29ms
568
- ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 10ms
569
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 29ms
570
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 7ms
582
+ ✓  node  test/pages/api/graphql.test.ts (19 tests) 25ms
583
+ ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 7ms
584
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 19ms
585
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 5ms
571
586
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
572
587
  Set password request failed: Bad Request
573
588
 
574
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 58ms
575
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 55ms
576
- ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 8ms
577
- ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 206ms
578
- ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 15ms
579
- ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 10ms
580
- ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 180ms
581
- ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 124ms
582
- ✓  node  test/sdk/redirects/index.test.ts (7 tests) 51ms
583
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 49ms
584
- ✓  node  test/utils/productJsonLd.test.ts (17 tests) 10ms
585
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 35ms
586
- ✓  node  test/proxy.localization.test.ts (5 tests) 38ms
587
- ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 10ms
588
- ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 26ms
589
- ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 8ms
589
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 36ms
590
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 35ms
591
+ ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 5ms
592
+ ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 121ms
593
+ ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 125ms
594
+ ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 4ms
595
+ ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 7ms
596
+ ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 69ms
597
+ ✓  node  test/sdk/redirects/index.test.ts (7 tests) 28ms
598
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 38ms
599
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 34ms
600
+ ✓  node  test/proxy.localization.test.ts (5 tests) 34ms
601
+ ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 6ms
602
+ ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 18ms
603
+ ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 5ms
604
+ ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 14ms
590
605
  ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (6 tests) 6ms
591
- ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 42ms
592
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 28ms
606
+ ✓  node  test/server/index.test.ts (7 tests) 676ms
593
607
  ✓  node  test/proxy.test.ts (4 tests) 15ms
594
- ✓  node  test/server/webops-api.test.ts (9 tests) 11ms
595
- ✓  node  test/server/index.test.ts (7 tests) 1779ms
596
- ✓ should handle options and execute  1260ms
597
- ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 28ms
598
- ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 5ms
599
- ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 11ms
600
- ✓  node  test/utils/productJsonLdRendering.test.tsx (4 tests) 14ms
601
- ✓  node  test/server/content/service.test.ts (5 tests) 5ms
602
- ✓  node  test/sdk/account/refreshToken.test.ts (5 tests) 10ms
608
+ ✓  node  test/server/webops-api.test.ts (9 tests) 10ms
609
+ ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 36ms
610
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 20ms
611
+ ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 25ms
612
+ ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 3ms
613
+ ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 8ms
614
+ ✓  node  test/sdk/account/refreshToken.test.ts (5 tests) 5ms
603
615
  ✓  node  test/server/cms/global.test.ts (3 tests) 4ms
604
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 31ms
605
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 8ms
606
- ✓  node  test/components/account/Layout.test.tsx (6 tests) 81ms
607
- ✓  node  test/server/rootSpan.test.ts (4 tests) 46ms
608
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 9ms
609
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 6ms
610
- ✓  node  test/pages/api/preview.test.ts (2 tests) 9ms
611
- ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 7ms
612
- ✓  node  test/server/cms/index.test.ts (2 tests) 7ms
613
- ✓  node  test/utils/retry.test.ts (5 tests) 14ms
616
+ ✓  node  test/server/content/service.test.ts (5 tests) 4ms
617
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 23ms
618
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 5ms
619
+ ✓  node  test/components/account/Layout.test.tsx (6 tests) 54ms
620
+ ✓  node  test/server/rootSpan.test.ts (4 tests) 25ms
621
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 6ms
622
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 3ms
623
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 6ms
624
+ ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 4ms
625
+ ✓  node  test/utils/retry.test.ts (5 tests) 11ms
626
+ ✓  node  test/server/cms/index.test.ts (2 tests) 4ms
614
627
  ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 6ms
615
- ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 5ms
616
- ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 196ms
617
- ✓  node  test/utils/unlockResponse.test.ts (11 tests) 5ms
618
- ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 62ms
619
- ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 6ms
620
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 4ms
621
- ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 46ms
622
- ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 4ms
623
- ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 4ms
624
- ✓  node  test/utils/getCookie.test.ts (4 tests) 6ms
625
- ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 3ms
628
+ ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 4ms
629
+ ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 184ms
630
+ ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 37ms
631
+ ✓  node  test/utils/unlockResponse.test.ts (11 tests) 4ms
632
+ ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 4ms
633
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 3ms
634
+ ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 29ms
635
+ ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 4ms
636
+ ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 3ms
637
+ ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 3ms
638
+ ✓  node  test/utils/getCookie.test.ts (4 tests) 3ms
639
+ ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 2ms
626
640
  ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 3ms
627
- ✓  node  test/instrumentation.test.ts (3 tests) 6ms
628
- ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 5ms
629
- ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 19ms
630
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 26ms
631
-
632
-  Test Files  123 passed (123)
633
-  Tests  965 passed (965)
634
-  Start at  14:35:24
635
-  Duration  60.95s (transform 13.85s, setup 0ms, import 52.85s, tests 23.55s, environment 75.21s)
641
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 31ms
642
+ ✓  node  test/instrumentation.test.ts (3 tests) 5ms
643
+ ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 3ms
644
+ ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 8ms
645
+
646
+  Test Files  127 passed (127)
647
+  Tests  992 passed (992)
648
+  Start at  23:13:01
649
+  Duration  45.70s (transform 10.32s, setup 0ms, import 40.02s, tests 16.96s, environment 56.91s)
636
650
 
@@ -1727,7 +1727,7 @@ export type StoreProduct = {
1727
1727
  otherLocales: Maybe<Array<StoreProductLocale>>;
1728
1728
  /** Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs. */
1729
1729
  productID: Scalars['String']['output'];
1730
- /** The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601 */
1730
+ /** The product's release date, passed through exactly as the catalog returns it, without validation or normalization. Usually epoch milliseconds (e.g. "1774224000000"), but some accounts store an ISO 8601 string, and the value may be empty. Parse and validate it before use. */
1731
1731
  releaseDate: Scalars['String']['output'];
1732
1732
  /** Array with review information. */
1733
1733
  review: Array<StoreReview>;
@@ -1730,7 +1730,7 @@ type StoreProduct {
1730
1730
  """Array of additional properties."""
1731
1731
  additionalProperty: [StorePropertyValue!]!
1732
1732
  """
1733
- The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601
1733
+ The product's release date, passed through exactly as the catalog returns it, without validation or normalization. Usually epoch milliseconds (e.g. "1774224000000"), but some accounts store an ISO 8601 string, and the value may be empty. Parse and validate it before use.
1734
1734
  """
1735
1735
  releaseDate: String!
1736
1736
  """Sku Unit Multiplier"""
package/CHANGELOG.md CHANGED
@@ -3,9 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [4.9.1-dev.0](https://github.com/vtex/faststore/compare/v4.9.0...v4.9.1-dev.0) (2026-09-30)
6
+ ## [4.9.2](https://github.com/vtex/faststore/compare/v4.9.1...v4.9.2) (2026-10-02)
7
7
 
8
- **Note:** Version bump only for package @faststore/core
8
+ ### Bug Fixes
9
+
10
+ - **core:** keep UI session state out of session and cart mutations ([#3511](https://github.com/vtex/faststore/issues/3511)) ([3c58a21](https://github.com/vtex/faststore/commit/3c58a213d237f8d5f7919ab12f63015fbfe3ef73)), closes [#3479](https://github.com/vtex/faststore/issues/3479) [#3479](https://github.com/vtex/faststore/issues/3479) [#3509](https://github.com/vtex/faststore/issues/3509)
11
+
12
+ ## [4.9.1](https://github.com/vtex/faststore/compare/v4.9.0...v4.9.1) (2026-10-02)
13
+
14
+ ### Bug Fixes
15
+
16
+ - restore raw StoreProduct.releaseDate, normalize only in PDP JSON-LD ([#3508](https://github.com/vtex/faststore/issues/3508)) ([fb0112d](https://github.com/vtex/faststore/commit/fb0112df966dc59b8971c335bcb5fd405b715763)), closes [#3465](https://github.com/vtex/faststore/issues/3465) [#3465](https://github.com/vtex/faststore/issues/3465) [#1438](https://github.com/vtex/faststore/issues/1438) [#3437](https://github.com/vtex/faststore/issues/3437)
9
17
 
10
18
  # [4.9.0](https://github.com/vtex/faststore/compare/v4.9.0-dev.8...v4.9.0) (2026-09-30)
11
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.9.1-dev.0",
3
+ "version": "4.9.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -71,11 +71,11 @@
71
71
  "style-loader": "^3.3.1",
72
72
  "swr": "^2.2.5",
73
73
  "use-sync-external-store": "^1.6.0",
74
- "@faststore/diagnostics": "4.9.1-dev.0",
75
- "@faststore/lighthouse": "4.9.1-dev.0",
76
- "@faststore/ui": "4.9.1-dev.0",
77
- "@faststore/sdk": "4.9.1-dev.0",
78
- "@faststore/api": "4.9.1-dev.0"
74
+ "@faststore/api": "4.9.2",
75
+ "@faststore/diagnostics": "4.9.2",
76
+ "@faststore/lighthouse": "4.9.2",
77
+ "@faststore/ui": "4.9.2",
78
+ "@faststore/sdk": "4.9.2"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@cypress/code-coverage": "^3.12.1",
@@ -65,7 +65,7 @@ function RegionModal(regionModalProps: RegionModalProps) {
65
65
  } = cmsData?.regionalization ?? {}
66
66
 
67
67
  const inputRef = useRef<HTMLInputElement>(null)
68
- const { isValidating, isSessionReady, ...session } = useSession()
68
+ const { isValidating, ...session } = useSession()
69
69
  const { modal: displayModal, closeModal } = useUI()
70
70
 
71
71
  const [input, setInput] = useState<string>('')