@faststore/core 4.3.0-dev.8 → 4.3.1-dev.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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @faststore/core@4.3.0-dev.7 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.3.0 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.3.0-dev.7 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.3.0 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 /home/runner/work/faststore/faststore/packages/core/@generated/
20
20
  [COMPLETED] Generate outputs
21
21
 
22
- > @faststore/core@4.3.0-dev.7 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.3.0 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,12 +1,12 @@
1
1
 
2
- > @faststore/core@4.3.0-dev.7 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.3.0 test /home/runner/work/faststore/faststore/packages/core
3
3
  > vitest run
4
4
 
5
5
 
6
6
   RUN  v4.0.7 /home/runner/work/faststore/faststore/packages/core
7
7
 
8
- ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 18ms
9
- ✓  browser  test/sdk/session/installLocaleCorrector.browser.test.ts (7 tests) 76ms
8
+ ✓  browser  test/sdk/session/installLocaleCorrector.browser.test.ts (7 tests) 24ms
9
+ ✓  browser  test/sdk/session/getInitialSession.browser.test.ts (6 tests) 8ms
10
10
  stderr | test/sdk/localization/store-url.browser.test.ts
11
11
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
12
12
  at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:119:27)
@@ -14,6 +14,7 @@
14
14
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:353:23)
15
15
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
16
16
 
17
+ ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 10ms
17
18
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > posts the password and redirects to the requested return path
18
19
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
19
20
 
@@ -51,7 +52,6 @@ act(() => {
51
52
  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
52
53
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
53
54
 
54
- ✓  browser  test/utils/isLocalHost.browser.test.ts (3 tests) 14ms
55
55
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > defaults returnTo to root and shows API validation errors
56
56
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
57
57
 
@@ -148,6 +148,8 @@ act(() => {
148
148
  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
149
149
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
150
150
 
151
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 137ms
152
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 25ms
151
153
  stderr | test/pages/password-protection.browser.test.tsx > PasswordProtectionLogin > shows service unavailable when the response is not a login payload
152
154
  Warning: An update to PasswordProtectionLogin inside a test was not wrapped in act(...).
153
155
 
@@ -244,15 +246,13 @@ act(() => {
244
246
  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
245
247
  at PasswordProtectionLogin (/home/runner/work/faststore/faststore/packages/core/src/pages/password-protection/index.tsx:19:69)
246
248
 
247
- ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 1695ms
248
- ✓ renders the password protection form  805ms
249
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 17ms
250
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 125ms
251
- ✓  node  test/server/password-protection-service.test.ts (22 tests) 117ms
252
- ✓  node  test/utils/match-url.test.ts (10 tests) 36ms
253
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 28ms
254
- ✓  node  test/pages/api/unlock.test.ts (15 tests) 856ms
255
- ✓ returns 405 for non-POST requests  613ms
249
+ ✓  browser  test/pages/password-protection.browser.test.tsx (6 tests) 1783ms
250
+ ✓ renders the password protection form  694ms
251
+ ✓  node  test/utils/match-url.test.ts (10 tests) 44ms
252
+ ✓  node  test/server/password-protection-service.test.ts (22 tests) 169ms
253
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 51ms
254
+ ✓  node  test/pages/api/unlock.test.ts (15 tests) 855ms
255
+ ✓ returns 405 for non-POST requests  550ms
256
256
  stderr | test/components/search/SearchInputComponent.test.tsx
257
257
  Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
258
258
 
@@ -316,17 +316,17 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
316
316
  at Suspense
317
317
  at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
318
318
 
319
- ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 242ms
320
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 25ms
321
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 185ms
322
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 53ms
323
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 148ms
324
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 31ms
319
+ ✓  node  test/components/search/SearchInputComponent.test.tsx (6 tests) 293ms
320
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 44ms
321
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 42ms
322
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 248ms
323
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 73ms
325
324
  stderr | test/sdk/account/useSetPassword.test.ts > useSetPassword > maps wrongcredentials error responses to the existing message
326
325
  Set password request failed: Bad Request
327
326
 
328
- ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 113ms
329
- ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 84ms
327
+ ✓  node  test/sdk/account/useSetPassword.test.ts (6 tests) 55ms
328
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 10ms
329
+ ✓  node  test/sdk/orderEntry/useOrderEntryOperation.test.ts (8 tests) 32ms
330
330
  stderr | test/pages/api/graphql.test.ts > /api/graphql error status propagation > propagates the upstream 400 from a wrapped BadRequestError instead of 500
331
331
  Graphql execution returned with error: [
332
332
  {
@@ -373,29 +373,29 @@ Warning: React does not recognize the `providerProps` prop on a DOM element. If
373
373
  { message: 'bad', status: 400, type: 'BadRequestError' }
374
374
  ]
375
375
 
376
- ✓  node  test/pages/api/graphql.test.ts (10 tests) 24ms
377
- ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 49ms
378
- ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 48ms
376
+ ✓  node  test/pages/api/graphql.test.ts (10 tests) 18ms
377
+ ✓  node  test/sdk/orderEntry/useOrderEntryUpload.test.ts (8 tests) 43ms
379
378
  ✓  node  test/sdk/orderEntry/useOrderFormItems.test.ts (7 tests) 39ms
380
- ✓  node  test/proxy.test.ts (4 tests) 63ms
381
- ✓  node  test/server/webops-api.test.ts (9 tests) 31ms
382
- ✓  node  test/server/cms/global.test.ts (3 tests) 4ms
383
- ✓  node  test/server/index.test.ts (7 tests) 1124ms
384
- ✓ should handle options and execute  599ms
379
+ ✓  node  test/sdk/orderEntry/useOrderEntry.test.ts (8 tests) 42ms
380
+ ✓  node  test/server/webops-api.test.ts (9 tests) 26ms
381
+ ✓  node  test/proxy.test.ts (4 tests) 44ms
382
+ ✓  node  test/server/cms/global.test.ts (3 tests) 5ms
385
383
  ✓  node  test/server/content/service.test.ts (5 tests) 5ms
386
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 5ms
384
+ ✓  node  test/server/index.test.ts (7 tests) 1072ms
385
+ ✓ should handle options and execute  601ms
386
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 7ms
387
387
  ✓  node  test/sdk/localization/store-url.test.ts (1 test) 4ms
388
- ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 32ms
389
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 5ms
390
- ✓  node  test/pages/api/preview.test.ts (2 tests) 10ms
391
- ✓  node  test/components/search/SearchInput.test.ts (6 tests) 8ms
392
- ✓  node  test/utils/unlockResponse.test.ts (11 tests) 5ms
393
- ✓  node  test/utils/isLocalHost.test.ts (7 tests) 5ms
394
- ✓  node  test/server/cms/index.test.ts (2 tests) 6ms
395
- ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 26ms
388
+ ✓  node  test/sdk/auth/useAuth.test.ts (5 tests) 25ms
389
+ ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 6ms
390
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 8ms
391
+ ✓  node  test/utils/unlockResponse.test.ts (11 tests) 6ms
392
+ ✓  node  test/components/search/SearchInput.test.ts (6 tests) 7ms
393
+ ✓  node  test/server/cms/index.test.ts (2 tests) 5ms
394
+ ✓  node  test/utils/isLocalHost.test.ts (7 tests) 3ms
395
+ ✓  node  test/components/auth/ProfileChallenge.test.tsx (3 tests) 24ms
396
396
 
397
397
   Test Files  37 passed (37)
398
398
   Tests  360 passed (360)
399
-  Start at  21:17:04
400
-  Duration  24.45s (transform 6.16s, setup 0ms, collect 17.83s, tests 5.36s, environment 32.81s, prepare 1.08s)
399
+  Start at  23:55:31
400
+  Duration  22.18s (transform 5.40s, setup 0ms, collect 18.02s, tests 5.29s, environment 27.14s, prepare 959ms)
401
401
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
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.3.1-dev.0](https://github.com/vtex/faststore/compare/v4.3.0-dev.8...v4.3.1-dev.0) (2026-06-17)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
10
+ # [4.3.0](https://github.com/vtex/faststore/compare/v4.2.0...v4.3.0) (2026-06-17)
11
+
12
+ ### Features
13
+
14
+ - graduate v4.3.0 ([#3396](https://github.com/vtex/faststore/issues/3396)) ([b489766](https://github.com/vtex/faststore/commit/b4897664c7826dcd59bfde7c3599c93259d4d11f)), closes [#3276](https://github.com/vtex/faststore/issues/3276) [#3334](https://github.com/vtex/faststore/issues/3334) [#3386](https://github.com/vtex/faststore/issues/3386) [#3380](https://github.com/vtex/faststore/issues/3380) [#3394](https://github.com/vtex/faststore/issues/3394) [#3395](https://github.com/vtex/faststore/issues/3395) [#3381](https://github.com/vtex/faststore/issues/3381) [#3379](https://github.com/vtex/faststore/issues/3379) [#3375](https://github.com/vtex/faststore/issues/3375)
15
+
6
16
  # [4.3.0-dev.8](https://github.com/vtex/faststore/compare/v4.3.0-dev.7...v4.3.0-dev.8) (2026-06-17)
7
17
 
8
18
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.3.0-dev.8",
3
+ "version": "4.3.1-dev.0",
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.3.0-dev.8",
75
- "@faststore/diagnostics": "4.3.0-dev.8",
76
- "@faststore/sdk": "4.3.0-dev.8",
77
- "@faststore/ui": "4.3.0-dev.8",
78
- "@faststore/lighthouse": "4.3.0-dev.8"
74
+ "@faststore/diagnostics": "4.3.1-dev.0",
75
+ "@faststore/lighthouse": "4.3.1-dev.0",
76
+ "@faststore/api": "4.3.1-dev.0",
77
+ "@faststore/sdk": "4.3.1-dev.0",
78
+ "@faststore/ui": "4.3.1-dev.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@cypress/code-coverage": "^3.12.1",