@faststore/core 4.0.0-dev.1 → 4.0.0-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.0.0-dev.0 generate /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.0.0-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.0.0-dev.0 gen-types /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@4.0.0-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 /home/runner/work/faststore/faststore/packages/core/@generated/
20
20
  [COMPLETED] Generate outputs
21
21
 
22
- > @faststore/core@4.0.0-dev.0 cache-graphql /home/runner/work/faststore/faststore/packages/core
22
+ > @faststore/core@4.0.0-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,13 +1,13 @@
1
1
 
2
- > @faststore/core@4.0.0-dev.0 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@4.0.0-dev.3 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) 38ms
9
- ✓  node  test/utils/localization/bindingPaths.test.ts (71 tests) 107ms
10
- ✓  node  test/sdk/localization/bindingSelector.test.ts (18 tests) 18ms
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
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,7 @@
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) 55ms
18
+ ✓  node  test/utils/cookieCacheBusting.test.ts (10 tests) 37ms
19
19
  stderr | test/sdk/localization/store-url.browser.test.ts
20
20
  Error in optimistic validation: ReferenceError: Cannot access '__vite_ssr_import_4__' before initialization
21
21
  at getSettings (/home/runner/work/faststore/faststore/packages/core/src/sdk/localization/useLocalizationConfig.tsx:126:45)
@@ -24,25 +24,25 @@
24
24
  at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:342:23)
25
25
   at processTicksAndRejections (node:internal/process/task_queues:103:5)
26
26
 
27
- ✓  browser  test/sdk/localization/store-url.browser.test.ts (3 tests) 13ms
28
- ✓  node  test/sdk/localization/useBindingSelector.test.tsx (12 tests) 28ms
29
- ✓  node  test/sdk/search/useSearchHistory.test.ts (13 tests) 71ms
30
- ✓  node  test/utils/multipleTemplates.test.ts (8 tests) 19ms
31
- ✓  node  test/utils/clearCookies.test.ts (20 tests) 80ms
32
- ✓  node  test/server/cms/global.test.ts (3 tests) 16ms
33
- ✓  node  test/server/content/service.test.ts (5 tests) 22ms
34
- ✓  node  test/utils/getRequestHostname.test.ts (12 tests) 18ms
35
- ✓  node  test/sdk/localization/store-url.test.ts (1 test) 11ms
36
- ✓  node  test/utils/validateSessionRefreshToken.test.ts (6 tests) 37ms
37
- ✓  node  test/pages/api/preview.test.ts (2 tests) 21ms
38
- ✓  node  test/server/cms/index.test.ts (2 tests) 5ms
39
- ✓  node  test/server/index.test.ts (7 tests) 1362ms
40
- ✓ should return a valid merged GraphQL schema  514ms
41
- ✓ should exist with its plugins  469ms
42
- ✓ should handle options and execute  346ms
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
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
43
43
 
44
44
   Test Files  17 passed (17)
45
45
   Tests  203 passed (203)
46
-  Start at  15:33:45
47
-  Duration  12.49s (transform 4.97s, setup 0ms, collect 15.81s, tests 1.92s, environment 6.46s, prepare 548ms)
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)
48
48
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
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.0-dev.4](https://github.com/vtex/faststore/compare/v4.0.0-dev.3...v4.0.0-dev.4) (2026-05-07)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add repository field to diagnostics package for OIDC provenance ([d1e40ab](https://github.com/vtex/faststore/commit/d1e40abe742b469a68b3d178c10ef56e5184ec29))
11
+
12
+ # [4.0.0-dev.3](https://github.com/vtex/faststore/compare/v4.0.0-dev.2...v4.0.0-dev.3) (2026-05-07)
13
+
14
+ ### Features
15
+
16
+ - trigger v4 publish ([bb56584](https://github.com/vtex/faststore/commit/bb565843917c61b4d0023c2ad21284a1aa95c55e))
17
+
18
+ # [4.0.0-dev.2](https://github.com/vtex/faststore/compare/v4.0.0-dev.1...v4.0.0-dev.2) (2026-05-07)
19
+
20
+ ### Features
21
+
22
+ - force publish all packages on v4 release ([0e765a3](https://github.com/vtex/faststore/commit/0e765a335da1f16b4a4298caa31900286f324ea8))
23
+
6
24
  # [4.0.0-dev.1](https://github.com/vtex/faststore/compare/v4.0.0-dev.0...v4.0.0-dev.1) (2026-05-07)
7
25
 
8
26
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "4.0.0-dev.1",
3
+ "version": "4.0.0-dev.4",
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.0",
43
- "@faststore/diagnostics": "4.0.0-dev.0",
44
- "@faststore/lighthouse": "4.0.0-dev.0",
45
- "@faststore/sdk": "4.0.0-dev.0",
46
- "@faststore/ui": "4.0.0-dev.0",
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",
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": "03adf11ca106beab99ca8fcd9d3b0e3e93207a7a"
116
+ "gitHead": "883f7d5f4ee5dd78a63cf6281164a58c2672ec0b"
117
117
  }
@@ -12,8 +12,8 @@ import COMPONENTS from 'src/components/cms/home/Components'
12
12
  import { getStoreURL } from 'src/sdk/localization/useLocalizationConfig'
13
13
  import PageProvider from 'src/sdk/overrides/PageProvider'
14
14
  import { injectGlobalSections } from 'src/server/cms/global'
15
- import { contentService } from 'src/server/content/service'
16
15
  import type { PreviewData } from 'src/server/content/types'
16
+ import { contentService } from 'src/server/content/service'
17
17
  import { getDynamicContent } from 'src/utils/dynamicContent'
18
18
  import storeConfig from '../../discovery.config'
19
19