@faststore/core 4.0.0-dev.4 → 4.0.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.0.0-dev.3 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.0.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.0.0-dev.3 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.0.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.0.0-dev.3 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.0.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,13 +1,13 @@
1
1
 
2
- > @faststore/core@4.0.0-dev.3 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.0.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
- ✓  node  test/utils/match-url.test.ts (10 tests) 23ms
9
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 65ms
10
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 25ms
8
+ ✓  node  test/utils/match-url.test.ts (10 tests) 27ms
9
+ ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 82ms
10
+ ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 33ms
11
11
  stderr | test/sdk/localization/store-url.browser.test.ts
12
12
  Error in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
13
13
  at validateCart (/home/runner/work/faststore/faststore/packages/core/src/sdk/cart/index.ts:119:27)
@@ -15,7 +15,6 @@
15
15
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:342:23)
16
16
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
17
17
 
18
- ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 37ms
19
18
  stderr | test/sdk/localization/store-url.browser.test.ts
20
19
  Error in optimistic validation: ReferenceError: Cannot access '__vite_ssr_import_4__' before initialization
21
20
  at getSettings (/home/runner/work/faststore/faststore/packages/core/src/sdk/localization/useLocalizationConfig.tsx:126:45)
@@ -24,25 +23,26 @@
24
23
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:342:23)
25
24
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
26
25
 
27
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 12ms
28
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 22ms
29
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 102ms
30
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 24ms
31
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 95ms
32
- ✓  node  test/server/cms/global.test.ts (3 tests) 23ms
33
- ✓  node  test/server/content/service.test.ts (5 tests) 17ms
34
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 11ms
35
- ✓  node  test/sdk/localization/store-url.test.ts (1 test) 9ms
26
+ ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 14ms
27
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 33ms
28
+ ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 103ms
29
+ ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 39ms
30
+ ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 25ms
31
+ ✓  node  test/utils/clearCookies.test.ts (20 tests) 121ms
32
+ ✓  node  test/server/cms/global.test.ts (3 tests) 20ms
33
+ ✓  node  test/server/content/service.test.ts (5 tests) 19ms
34
+ ✓  node  test/sdk/localization/store-url.test.ts (1 test) 10ms
35
+ ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 13ms
36
36
  ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 11ms
37
- ✓  node  test/pages/api/preview.test.ts (2 tests) 36ms
38
- ✓  node  test/server/cms/index.test.ts (2 tests) 14ms
39
- ✓  node  test/server/index.test.ts (7 tests) 1305ms
40
- ✓ should return a valid merged GraphQL schema  352ms
41
- ✓ should exist with its plugins  348ms
42
- ✓ should handle options and execute  578ms
37
+ ✓  node  test/pages/api/preview.test.ts (2 tests) 20ms
38
+ ✓  node  test/server/cms/index.test.ts (2 tests) 16ms
39
+ ✓  node  test/server/index.test.ts (7 tests) 1713ms
40
+ ✓ should return a valid merged GraphQL schema  566ms
41
+ ✓ should exist with its plugins  582ms
42
+ ✓ should handle options and execute  535ms
43
43
 
44
44
   Test Files  17 passed (17)
45
45
   Tests  203 passed (203)
46
-  Start at  16:08:51
47
-  Duration  12.53s (transform 5.88s, setup 0ms, collect 15.78s, tests 1.83s, environment 7.24s, prepare 624ms)
46
+  Start at  19:12:01
47
+  Duration  14.10s (transform 6.16s, setup 0ms, collect 16.57s, tests 2.30s, environment 8.89s, prepare 686ms)
48
48
 
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.0.1-dev.0](https://github.com/vtex/faststore/compare/v4.0.0...v4.0.1-dev.0) (2026-05-07)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
10
+ # [4.0.0](https://github.com/vtex/faststore/compare/v3.99.0...v4.0.0) (2026-05-07)
11
+
12
+ ### Features
13
+
14
+ - FastStore v4 ([#3302](https://github.com/vtex/faststore/issues/3302)) ([c7ca1a2](https://github.com/vtex/faststore/commit/c7ca1a2a9a6161bdf30e33a965ecf2fda9ef3fbf))
15
+
6
16
  # [4.0.0-dev.4](https://github.com/vtex/faststore/compare/v4.0.0-dev.3...v4.0.0-dev.4) (2026-05-07)
7
17
 
8
18
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.0.0-dev.4",
3
+ "version": "4.0.1-dev.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,11 +39,11 @@
39
39
  "@envelop/graphql-jit": "catalog:",
40
40
  "@envelop/parser-cache": "catalog:",
41
41
  "@envelop/validation-cache": "catalog:",
42
- "@faststore/api": "4.0.0-dev.4",
43
- "@faststore/diagnostics": "4.0.0-dev.4",
44
- "@faststore/lighthouse": "4.0.0-dev.4",
45
- "@faststore/sdk": "4.0.0-dev.4",
46
- "@faststore/ui": "4.0.0-dev.4",
42
+ "@faststore/api": "4.0.1-dev.0",
43
+ "@faststore/diagnostics": "4.0.1-dev.0",
44
+ "@faststore/lighthouse": "4.0.1-dev.0",
45
+ "@faststore/sdk": "4.0.1-dev.0",
46
+ "@faststore/ui": "4.0.1-dev.0",
47
47
  "@graphql-codegen/cli": "catalog:",
48
48
  "@graphql-codegen/client-preset": "4.2.6",
49
49
  "@graphql-codegen/typescript": "catalog:",
@@ -113,5 +113,5 @@
113
113
  "react": "catalog:",
114
114
  "react-dom": "catalog:"
115
115
  },
116
- "gitHead": "883f7d5f4ee5dd78a63cf6281164a58c2672ec0b"
116
+ "gitHead": "a9d781c453243794ea7f5b58dfa0643c42fc62c0"
117
117
  }