@faststore/core 4.10.1-dev.2 → 4.10.1-dev.4

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.10.1-dev.1 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.10.1-dev.3 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.10.1-dev.1 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.10.1-dev.3 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.10.1-dev.1 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.10.1-dev.3 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.10.1-dev.1 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.10.1-dev.3 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
@@ -7,24 +7,29 @@
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) 991ms
10
11
  Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
11
12
  npx update-browserslist-db@latest
12
13
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
13
- ✓  browser  test/sdk/ui/useScrollRestoration.browser.test.ts (43 tests) 1047ms
14
- ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 2181ms
15
- ✓ shows an error state when the list fails to load  468ms
16
- ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 1688ms
17
- ✓ shows the tab bar and renders Personal cards by default  704ms
18
- ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 1744ms
19
- ✓ opens the reject confirmation modal with the default English copy  762ms
20
- ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 254ms
21
- ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1201ms
22
- ✓ renders the menu view with contract details and manage footer  597ms
23
- ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 60ms
24
- ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 11ms
25
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 143ms
26
- ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 49ms
27
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 45ms
14
+ ✓  browser  test/components/account/ContractSwitcher.browser.test.tsx (22 tests) 3399ms
15
+ ✓ shows an error state when the list fails to load  548ms
16
+ ✓ requires selecting a contract before Confirm is enabled, then switches (REQ-03)  342ms
17
+ ✓ keeps Confirm disabled until a different contract is selected  348ms
18
+ ✓ keeps Confirm disabled when the selected contract is filtered out  412ms
19
+ ✓  browser  test/components/account/cards/MyAccountListCards.browser.test.tsx (16 tests) 2742ms
20
+ ✓ shows the tab bar and renders Personal cards by default  1266ms
21
+ ✓ paginates when there are more than 25 cards  307ms
22
+ ✓  browser  test/components/account/orders/BuyingPolicyAlert.browser.test.tsx (13 tests) 2247ms
23
+ ✓ opens the reject confirmation modal with the default English copy  876ms
24
+ ✓ opens the reject confirmation modal with CMS-provided labels  369ms
25
+ ✓  browser  test/components/account/OrganizationDrawer.browser.test.tsx (10 tests) 1500ms
26
+ ✓ renders the menu view with contract details and manage footer  816ms
27
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationShelf.browser.test.tsx (13 tests) 237ms
28
+ ✓  browser  test/components/ui/RichText/RichText.browser.test.tsx (8 tests) 362ms
29
+ ✓  browser  test/sdk/session/reconcileSessionLocale.browser.test.ts (6 tests) 7ms
30
+ ✓  browser  test/sdk/localization/useBindingSelector.browser.test.tsx (9 tests) 101ms
31
+ ✓  browser  test/components/ui/ProductGallery/GalleryPageHeightLock.browser.test.tsx (8 tests) 56ms
32
+ ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 56ms
28
33
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx
29
34
  Error in optimistic validation: TypeError: Failed to parse URL from /api/graphql?operationName=ValidateCartMutation&operationHash=3c71b0d3fc2bade14df68abfa271858beb361b12
30
35
   at node:internal/deps/undici/undici:16416:13
@@ -51,13 +56,13 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
51
56
  }
52
57
  }
53
58
 
59
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.browser.test.tsx (12 tests) 51ms
54
60
  stderr | test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx > RecommendationShelf > renders nothing when there is an error
55
61
  Error fetching recommendations undefined boom for campaign vrn:recommendations:acc:rec-top-items-v2:campaign-1
56
62
 
57
- ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 71ms
58
- ✓  browser  test/components/CartSidebar/CartSidebar.browser.test.tsx (5 tests) 71ms
59
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 11ms
60
- ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 75ms
63
+ ✓  browser  test/components/RecommendationShelf/RecommendationShelf.browser.test.tsx (8 tests) 113ms
64
+ ✓  browser  test/components/sections/Account/AccountOrderDetails.browser.test.tsx (4 tests) 84ms
65
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (7 tests) 7ms
61
66
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
62
67
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
63
68
 
@@ -239,7 +244,6 @@ act(() => {
239
244
  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
240
245
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
241
246
 
242
- ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 28ms
243
247
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > shows service unavailable when the login request fails
244
248
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
245
249
 
@@ -288,9 +292,10 @@ act(() => {
288
292
  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
289
293
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
290
294
 
291
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 451ms
292
- ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 347ms
293
- ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 27ms
295
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 605ms
296
+ ✓  browser  test/components/navigation/Navbar.browser.test.tsx (3 tests) 48ms
297
+ ✓  browser  test/components/account/OrganizationDrawerFooter.browser.test.tsx (8 tests) 326ms
298
+ ✓  browser  test/sdk/account/useSwitchContract.browser.test.ts (5 tests) 31ms
294
299
  stderr | test/components/cms/RenderSections.browser.test.tsx
295
300
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
296
301
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -299,8 +304,8 @@ This ensures that you're testing the behavior the user would see in the browser.
299
304
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
300
305
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
301
306
 
302
- ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 24ms
303
- ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 52ms
307
+ ✓  browser  test/components/navigation/NavbarSlider.browser.test.tsx (2 tests) 29ms
308
+ ✓  browser  test/components/cms/RenderSections.browser.test.tsx (5 tests) 60ms
304
309
  stderr | test/sdk/localization/store-url.browser.test.ts
305
310
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
306
311
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -309,14 +314,14 @@ This ensures that you're testing the behavior the user would see in the browser.
309
314
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
310
315
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
311
316
 
312
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 3ms
313
- ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 207ms
314
- ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 31ms
315
- ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 17ms
316
- ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 120ms
317
- ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 85ms
318
- ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 31ms
319
- ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 30ms
317
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 4ms
318
+ ✓  browser  test/components/account/Menu.browser.test.tsx (6 tests) 263ms
319
+ ✓  browser  test/sdk/account/useAvailableContracts.browser.test.ts (6 tests) 28ms
320
+ ✓  browser  test/components/templates/SearchPage/SearchWrapper.browser.test.tsx (3 tests) 23ms
321
+ ✓  browser  test/sdk/recommendations/useRecommendationShelf.sessionFallback.browser.test.tsx (2 tests) 121ms
322
+ ✓  browser  test/components/sections/Account/AccountListQuotes.browser.test.tsx (4 tests) 83ms
323
+ ✓  browser  test/components/navigation/NavbarAccountArea.browser.test.tsx (4 tests) 49ms
324
+ ✓  browser  test/components/CartRecommendationShelf/CartRecommendationProductCard.browser.test.tsx (3 tests) 66ms
320
325
  ✓  browser  test/sdk/account/changeContractToken.browser.test.ts (9 tests) 12ms
321
326
  stderr | test/components/account/doLogout.browser.test.ts
322
327
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
@@ -326,9 +331,9 @@ This ensures that you're testing the behavior the user would see in the browser.
326
331
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
327
332
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
328
333
 
329
- ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 14ms
330
- ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 177ms
331
- ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 26ms
334
+ ✓  browser  test/components/account/doLogout.browser.test.ts (1 test) 21ms
335
+ ✓  browser  test/components/ui/LocalizationButton.browser.test.tsx (3 tests) 35ms
336
+ ✓  browser  test/components/account/OrganizationDrawerHeader.browser.test.tsx (5 tests) 346ms
332
337
  stderr | test/sdk/account/clearPersistedSessionState.browser.test.ts
333
338
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
334
339
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -337,14 +342,15 @@ This ensures that you're testing the behavior the user would see in the browser.
337
342
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
338
343
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
339
344
 
340
- ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 11ms
341
- ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 48ms
342
- ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 57ms
343
- ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 68ms
344
- ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 14ms
345
- ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 53ms
345
+ ✓  browser  test/sdk/account/clearPersistedSessionState.browser.test.ts (4 tests) 15ms
346
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordion.browser.test.tsx (2 tests) 82ms
347
+ ✓  browser  test/components/sections/Account/AccountOrderDelivery.browser.test.tsx (2 tests) 60ms
348
+ ✓  browser  test/components/sections/Account/AccountOrderStatus.browser.test.tsx (3 tests) 137ms
349
+ ✓  browser  test/components/region/useRegion.browser.test.ts (1 test) 17ms
350
+ ✓  browser  test/components/sections/Account/AccountListCards.browser.test.tsx (3 tests) 67ms
346
351
  ✓  browser  test/components/sections/Account/AccountOrdersList.browser.test.tsx (2 tests) 23ms
347
- ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 50ms
352
+ ✓  browser  test/components/account/orders/SummaryCard.browser.test.tsx (2 tests) 58ms
353
+ ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (2 tests) 156ms
348
354
  stderr | test/sdk/session/sessionStore.browser.test.ts
349
355
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
350
356
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -353,9 +359,8 @@ This ensures that you're testing the behavior the user would see in the browser.
353
359
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
354
360
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
355
361
 
356
- ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 4ms
357
- ✓  browser  test/components/account/OrganizationSignInButton.browser.test.tsx (2 tests) 147ms
358
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 22ms
362
+ ✓  browser  test/sdk/session/sessionStore.browser.test.ts (2 tests) 5ms
363
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionDeliveryInfo.browser.test.tsx (1 test) 33ms
359
364
  stderr | test/sdk/session/validateSession.browser.test.ts
360
365
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
361
366
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -364,14 +369,14 @@ This ensures that you're testing the behavior the user would see in the browser.
364
369
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
365
370
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
366
371
 
367
- ✓  browser  test/sdk/session/validateSession.browser.test.ts (1 test) 3ms
368
- ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 69ms
369
- ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 3ms
372
+ ✓  browser  test/sdk/session/validateSession.browser.test.ts (1 test) 5ms
373
+ ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 4ms
374
+ ✓  browser  test/components/account/orders/StatusCard.browser.test.tsx (2 tests) 88ms
370
375
  ✓  browser  test/sdk/session/reconcileSessionLocale.disabled.browser.test.ts (1 test) 2ms
371
- ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 32ms
372
- ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 19ms
373
- ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 17ms
374
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 11ms
376
+ ✓  browser  test/components/account/orders/DeliveryOptionAccordionProducts.browser.test.tsx (1 test) 31ms
377
+ ✓  browser  test/components/account/orders/DeliveryCard.browser.test.tsx (1 test) 40ms
378
+ ✓  browser  test/components/skeletons/ProductGridSkeleton.browser.test.tsx (2 tests) 30ms
379
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 22ms
375
380
  stderr | test/sdk/account/refreshToken.browser.test.ts
376
381
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
377
382
  at waitForSessionValidated (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/waitForSessionValidated.ts:16:32)
@@ -380,13 +385,13 @@ This ensures that you're testing the behavior the user would see in the browser.
380
385
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:357:23)
381
386
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
382
387
 
383
- ✓  browser  test/sdk/account/refreshToken.browser.test.ts (1 test) 3ms
384
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 19ms
385
- ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 143ms
386
- ✓  node  test/pages/api/switch-contract.test.ts (25 tests) 66ms
387
- ✓  node  test/server/content/service.test.ts (16 tests) 15ms
388
- ✓  node  test/utils/match-url.test.ts (10 tests) 5ms
389
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 9ms
388
+ ✓  browser  test/sdk/account/refreshToken.browser.test.ts (1 test) 4ms
389
+ ✓  browser  test/components/account/orders/FilterFacetPendingApproval.browser.test.tsx (1 test) 170ms
390
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 30ms
391
+ ✓  node  test/pages/api/switch-contract.test.ts (25 tests) 81ms
392
+ ✓  node  test/server/content/service.test.ts (27 tests) 34ms
393
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (22 tests) 10ms
394
+ ✓  node  test/utils/match-url.test.ts (10 tests) 7ms
390
395
  stderr | test/sdk/deliveryPromise/provider.effect.test.tsx > DeliveryPromiseProvider pickup fetch > clears the loading flag after a failed request and retries on the next update
391
396
  Failed to fetch pickup points: Error: network
392
397
  at /home/runner/work/faststore/faststore/packages/core/test/sdk/deliveryPromise/provider.effect.test.tsx:250:30
@@ -413,13 +418,13 @@ This ensures that you're testing the behavior the user would see in the browser.
413
418
  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)
414
419
  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)
415
420
 
416
- ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 57ms
417
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 92ms
418
- ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 5ms
419
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 4ms
421
+ ✓  node  test/sdk/deliveryPromise/provider.effect.test.tsx (9 tests) 81ms
422
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 106ms
423
+ ✓  node  test/sdk/session/syncSalesChannelFromOrderForm.test.ts (14 tests) 9ms
420
424
  stderr | test/components/search/SearchInputComponent.test.tsx
421
425
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
422
426
 
427
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 7ms
423
428
  stderr | test/components/search/SearchInputComponent.test.tsx > SearchInput (OES integration) > renders without crashing
424
429
  Warning: React does not recognize the `visibleDropdown` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `visibledropdown` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
425
430
  at div
@@ -480,23 +485,23 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
480
485
  at Suspense
481
486
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
482
487
 
483
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 42ms
484
- ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 281ms
485
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 28ms
488
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 55ms
489
+ ✓  node  test/components/quotes/MyAccountListQuotesTable.test.tsx (15 tests) 348ms
490
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 38ms
486
491
  stderr | test/pages/pvt/account/cards/index.test.ts > Cards page getServerSideProps > redirects to /pvt/account/403 when the query fails with 401/403
487
492
  { extensions: { status: 401 } }
488
493
 
489
494
  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
490
495
  { extensions: { status: 502 } }
491
496
 
492
- ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 5ms
493
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 8ms
494
- ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 783ms
495
- ✓ navigates with the search term on blur  357ms
497
+ ✓  node  test/pages/pvt/account/cards/index.test.ts (8 tests) 7ms
498
+ ✓  node  test/components/quotes/MyAccountListQuotes.test.tsx (11 tests) 804ms
499
+ ✓ navigates with the search term on blur  358ms
496
500
  ✓ navigates without a label param when the search is cleared  358ms
497
- ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 20ms
498
- ✓  node  test/utils/productJsonLd.test.ts (36 tests) 7ms
499
- ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 6ms
501
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 12ms
502
+ ✓  node  test/components/quotes/quoteFilters.test.ts (26 tests) 22ms
503
+ ✓  node  test/utils/productJsonLd.test.ts (36 tests) 15ms
504
+ ✓  node  test/experimental/myAccountCmsServerSideProps.test.ts (5 tests) 8ms
500
505
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
501
506
  Graphql execution returned with error: [
502
507
  {
@@ -548,7 +553,7 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
548
553
 
549
554
  stderr | test/pages/api/graphql.test.ts > /api/graphql request handling > maps BadRequestError thrown by execute to its status
550
555
  Something unexpected occurred querying Graphql endpoint:
551
- U [FastStoreError]: malformed
556
+ k [FastStoreError]: malformed
552
557
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:201:31
553
558
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:207:39
554
559
  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,7 +569,7 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
564
569
 
565
570
  stderr | test/pages/api/graphql.test.ts > /api/graphql request handling > maps UnauthorizedError thrown by execute to its status
566
571
  Something unexpected occurred querying Graphql endpoint:
567
- de [FastStoreError]: expired
572
+ ue [FastStoreError]: expired
568
573
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:202:33
569
574
  at /home/runner/work/faststore/faststore/packages/core/test/pages/api/graphql.test.ts:207:39
570
575
  at file:///home/runner/work/faststore/faststore/node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js:1024:60
@@ -606,76 +611,77 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
606
611
  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)
607
612
  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)
608
613
 
609
- ✓  node  test/pages/api/graphql.test.ts (19 tests) 20ms
610
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 16ms
614
+ ✓  node  test/pages/api/graphql.test.ts (19 tests) 25ms
615
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 17ms
611
616
  ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 4ms
612
617
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
613
618
  Set password request failed: Bad Request
614
619
 
615
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 36ms
616
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 26ms
617
- ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 3ms
618
- ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 91ms
619
- ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 111ms
620
- ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 4ms
621
- ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 5ms
622
- ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 66ms
623
- ✓  node  test/sdk/redirects/index.test.ts (7 tests) 43ms
624
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 28ms
625
- ✓  node  test/proxy.localization.test.ts (5 tests) 32ms
626
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 23ms
627
- ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 8ms
620
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 38ms
621
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 29ms
622
+ ✓  node  test/utils/localization/localizeRedirectDestination.test.ts (11 tests) 6ms
623
+ ✓  node  test/components/quotes/MyAccountQuotesFilterSlider.test.tsx (8 tests) 106ms
624
+ ✓  node  test/utils/localization/hreflang.test.ts (8 tests) 6ms
625
+ ✓  node  test/components/quotes/MyAccountQuotesStatusSelector.test.tsx (14 tests) 131ms
626
+ ✓  node  test/server/cms/index.test.ts (7 tests) 8ms
627
+ ✓  node  test/sdk/account/getMyAccountRoutes.test.ts (13 tests) 6ms
628
+ ✓  node  test/components/quotes/MyAccountQuotesSelectedTags.test.tsx (10 tests) 87ms
629
+ ✓  node  test/server/content/promiseCache.test.ts (10 tests) 11ms
630
+ ✓  node  test/sdk/redirects/index.test.ts (7 tests) 28ms
631
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 45ms
632
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 35ms
633
+ ✓  node  test/proxy.localization.test.ts (5 tests) 46ms
634
+ ✓  node  test/components/account/orders/getDeliveryOptionLabel.test.ts (21 tests) 6ms
628
635
  ✓  node  test/sdk/graphql/retryPolicy.test.ts (18 tests) 13ms
629
- ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 4ms
636
+ ✓  node  test/server/cms/myAccountDefaultSections.test.ts (9 tests) 6ms
630
637
  ✓  node  test/utils/productJsonLdRendering.test.tsx (5 tests) 9ms
631
- ✓  node  test/utils/trustedForwardedHost.test.ts (27 tests) 3ms
632
- ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 23ms
633
- ✓  node  test/proxy.test.ts (4 tests) 11ms
634
- ✓  node  test/server/webops-api.test.ts (9 tests) 7ms
635
- ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 18ms
636
- ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 12ms
637
- ✓  node  test/server/index.test.ts (7 tests) 1131ms
638
- ✓ should handle options and execute  791ms
639
- ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 3ms
638
+ ✓  node  test/utils/trustedForwardedHost.test.ts (27 tests) 6ms
639
+ ✓  node  test/server/index.test.ts (7 tests) 865ms
640
+ ✓ should handle options and execute  362ms
641
+ ✓  node  test/sdk/analytics/useStartRecommendationSession.test.ts (6 tests) 41ms
642
+ ✓  node  test/proxy.test.ts (4 tests) 17ms
643
+ ✓  node  test/server/webops-api.test.ts (9 tests) 15ms
644
+ ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 29ms
640
645
  ✓  node  test/sdk/deliveryPromise/queries.test.ts (4 tests) 6ms
641
- ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 6ms
642
- ✓  node  test/sdk/account/refreshToken.test.ts (5 tests) 5ms
643
- ✓  node  test/server/cms/global.test.ts (3 tests) 7ms
644
- ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 4ms
645
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 12ms
646
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 3ms
647
- ✓  node  test/components/account/Layout.test.tsx (6 tests) 44ms
648
- ✓  node  test/pages/api/preview.test.ts (2 tests) 6ms
649
- ✓  node  test/server/rootSpan.test.ts (4 tests) 24ms
650
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 5ms
651
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 3ms
652
- ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 2ms
653
- ✓  node  test/server/cms/index.test.ts (2 tests) 3ms
654
- ✓  node  test/components/region/useRegion.test.ts (1 test) 13ms
655
- ✓  node  test/utils/retry.test.ts (5 tests) 10ms
656
- ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 2ms
657
- ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 2ms
658
- ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 178ms
659
- ✓  node  test/utils/unlockResponse.test.ts (11 tests) 4ms
660
- ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 3ms
661
- ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 31ms
662
- ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 2ms
646
+ ✓  node  test/components/account/orders/StatusCard.test.ts (3 tests) 21ms
647
+ ✓  node  test/sdk/localization/store-url.test.ts (4 tests) 4ms
648
+ ✓  node  test/sdk/cart/waitForSessionValidated.test.ts (5 tests) 9ms
649
+ ✓  node  test/sdk/account/refreshToken.test.ts (5 tests) 6ms
650
+ ✓  node  test/server/cms/global.test.ts (3 tests) 5ms
651
+ ✓  node  test/sdk/deliveryPromise/provider.test.ts (11 tests) 3ms
652
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 17ms
653
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 6ms
654
+ ✓  node  test/components/account/Layout.test.tsx (6 tests) 50ms
655
+ ✓  node  test/server/rootSpan.test.ts (4 tests) 27ms
656
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 7ms
657
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 6ms
658
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 4ms
659
+ ✓  node  test/sdk/recommendations/vrn.test.ts (5 tests) 5ms
660
+ ✓  node  test/utils/retry.test.ts (5 tests) 12ms
661
+ ✓  node  test/components/region/useRegion.test.ts (1 test) 20ms
662
+ ✓  node  test/sdk/account/getB2BSessionClaims.test.ts (4 tests) 4ms
663
+ ✓  node  test/sdk/recommendations/useRecommendationUserId.test.ts (4 tests) 185ms
664
+ ✓  node  test/utils/userOrderStatus.test.ts (4 tests) 3ms
665
+ ✓  node  test/utils/unlockResponse.test.ts (11 tests) 5ms
666
+ ✓  node  test/components/account/OrganizationDrawerBody.test.tsx (3 tests) 35ms
667
+ ✓  node  test/sdk/recommendations/useRecommendations.test.ts (2 tests) 4ms
668
+ ✓  node  test/sdk/deliveryPromise/reducer.test.ts (2 tests) 3ms
663
669
  ✓  node  test/utils/isLocalHost.test.ts (7 tests) 3ms
664
- ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 19ms
665
- ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 3ms
666
- ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 2ms
667
- ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 2ms
668
- ✓  node  test/utils/getCookie.test.ts (4 tests) 3ms
669
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 19ms
670
- ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 2ms
671
- ✓  node  test/utils/filterChannel.test.ts (2 tests) 2ms
672
- ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 2ms
673
- ✓  node  test/instrumentation.test.ts (3 tests) 3ms
674
- ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 2ms
675
- ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 6ms
676
-
677
-  Test Files  135 passed (135)
678
-  Tests  1077 passed (1077)
679
-  Start at  19:24:01
680
-  Duration  37.79s (transform 8.93s, setup 0ms, import 32.76s, tests 14.78s, environment 45.53s)
670
+ ✓  node  test/sdk/session/toSessionInput.test.ts (3 tests) 2ms
671
+ ✓  node  test/components/quotes/MyAccountQuoteStatusBadge.test.tsx (4 tests) 34ms
672
+ ✓  node  test/components/account/orders/getOrderTotalLabel.test.ts (6 tests) 4ms
673
+ ✓  node  test/components/account/orders/listOrdersLabels.test.ts (2 tests) 3ms
674
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 30ms
675
+ ✓  node  test/utils/getCookie.test.ts (4 tests) 4ms
676
+ ✓  node  test/sdk/session/isSignInAreaResolved.test.ts (3 tests) 3ms
677
+ ✓  node  test/utils/filterChannel.test.ts (2 tests) 3ms
678
+ ✓  node  test/sdk/analytics/utils.test.ts (2 tests) 3ms
679
+ ✓  node  test/instrumentation.test.ts (3 tests) 5ms
680
+ ✓  node  test/components/account/orders/orderDetailsLabels.test.ts (1 test) 3ms
681
+ ✓  node  test/sdk/account/clearPersistedSessionState.test.ts (1 test) 7ms
682
+
683
+  Test Files  136 passed (136)
684
+  Tests  1103 passed (1103)
685
+  Start at  12:10:09
686
+  Duration  51.45s (transform 12.64s, setup 0ms, import 45.54s, tests 19.01s, environment 62.38s)
681
687
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.10.1-dev.4](https://github.com/vtex/faststore/compare/v4.10.1-dev.3...v4.10.1-dev.4) (2026-10-28)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
10
+ ## [4.10.1-dev.3](https://github.com/vtex/faststore/compare/v4.10.1-dev.2...v4.10.1-dev.3) (2026-10-27)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **core:** address review feedback on CMS cache ([8cec85f](https://github.com/vtex/faststore/commit/8cec85f730643dc72914c8477e9021c7437d8921))
15
+ - **core:** cache global and single CMS content across page generations ([6f20530](https://github.com/vtex/faststore/commit/6f205308216be07cb567595ff5ed59f6a229d876))
16
+ - **core:** do not cache empty required CMS content ([21a2dd3](https://github.com/vtex/faststore/commit/21a2dd3a1379c5b60ea96003e0addd6173f2923e))
17
+
6
18
  ## [4.10.1-dev.2](https://github.com/vtex/faststore/compare/v4.10.1-dev.1...v4.10.1-dev.2) (2026-10-27)
7
19
 
8
20
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.10.1-dev.2",
3
+ "version": "4.10.1-dev.4",
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/api": "4.10.1-dev.2",
75
- "@faststore/diagnostics": "4.10.1-dev.2",
76
- "@faststore/ui": "4.10.1-dev.2",
77
- "@faststore/lighthouse": "4.10.1-dev.2",
78
- "@faststore/sdk": "4.10.1-dev.2"
74
+ "@faststore/api": "4.10.1-dev.4",
75
+ "@faststore/diagnostics": "4.10.1-dev.4",
76
+ "@faststore/lighthouse": "4.10.1-dev.4",
77
+ "@faststore/sdk": "4.10.1-dev.4",
78
+ "@faststore/ui": "4.10.1-dev.4"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@cypress/code-coverage": "^3.12.1",