@scayle/storefront-nuxt 8.28.6 → 8.29.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.
- package/CHANGELOG.md +48 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 8.29.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
**Dependencies**
|
|
8
|
+
|
|
9
|
+
**@scayle/storefront-core v8.29.0**
|
|
10
|
+
|
|
11
|
+
- Minor
|
|
12
|
+
|
|
13
|
+
- Added an `includeProductSorting` boolean parameter to all category RPC method endpoints (`getRootCategories`, `getCategoryByPath`, `getCategoriesByPath`, `getCategoryById`, `getCategoryTree`).
|
|
14
|
+
This flag allows consumers to retrieve product sorting data, including the `smartSortingKey` and `customSortingKey` properties.
|
|
15
|
+
Developers can leverage this data to seamlessly apply smart sorting keys on the product listing page by passing those parameters when fetching products.
|
|
16
|
+
- Added an optional `hideEmptyCategories` parameter to `getCategoryTree`. When enabled, the product count for each category is retrieved, and categories (including their children) without any products are removed. Enabling this option may increase response times, especially for large category trees.
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
import { rpcMethods } from '@scayle/storefront-core'
|
|
20
|
+
|
|
21
|
+
rpcMethods.getCategoryTree({ hideEmptyCategories: true }, rpcContext)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
or
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import { useCategoryTree } from '#storefront/composables'
|
|
28
|
+
|
|
29
|
+
const { data: rootCategories, status } = useCategoryTree(
|
|
30
|
+
{
|
|
31
|
+
params: {
|
|
32
|
+
hideEmptyCategories: true,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
'category-navigation-tree',
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## 8.28.7
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
**Dependencies**
|
|
44
|
+
|
|
45
|
+
**@scayle/storefront-core v8.28.7**
|
|
46
|
+
|
|
47
|
+
- Patch
|
|
48
|
+
- Fixed the return type of `flattenFieldSet` to reflect the flattened field set.
|
|
49
|
+
|
|
3
50
|
## 8.28.6
|
|
4
51
|
|
|
5
52
|
### Patch Changes
|
|
@@ -325,7 +372,7 @@
|
|
|
325
372
|
- Deprecated attribute group specific utilities `getFlattenedVariantCrosssellings` and
|
|
326
373
|
`getFlattenedMaterialComposition`.
|
|
327
374
|
|
|
328
|
-
These functions should be a part of the Storefront
|
|
375
|
+
These functions should be a part of the Storefront Application.
|
|
329
376
|
|
|
330
377
|
## 8.22.0
|
|
331
378
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.29.0",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@opentelemetry/api": "^1.9.0",
|
|
83
83
|
"@scayle/h3-session": "0.6.1",
|
|
84
|
-
"@scayle/storefront-core": "8.
|
|
84
|
+
"@scayle/storefront-core": "8.29.0",
|
|
85
85
|
"@scayle/unstorage-compression-driver": "^1.0.0",
|
|
86
86
|
"@vercel/nft": "0.29.4",
|
|
87
87
|
"@vueuse/core": "13.3.0",
|
|
@@ -101,21 +101,21 @@
|
|
|
101
101
|
"zod": "^3.23.8"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@arethetypeswrong/cli": "0.18.
|
|
104
|
+
"@arethetypeswrong/cli": "0.18.2",
|
|
105
105
|
"@eslint/eslintrc": "3.3.1",
|
|
106
106
|
"@nuxt/eslint": "1.4.1",
|
|
107
107
|
"@nuxt/kit": "3.16.2",
|
|
108
108
|
"@nuxt/module-builder": "1.0.1",
|
|
109
109
|
"@nuxt/schema": "3.16.2",
|
|
110
110
|
"@nuxt/test-utils": "3.18.0",
|
|
111
|
-
"@scayle/eslint-config-storefront": "4.5.
|
|
111
|
+
"@scayle/eslint-config-storefront": "4.5.5",
|
|
112
112
|
"@scayle/eslint-plugin-vue-composable": "0.2.1",
|
|
113
113
|
"@scayle/unstorage-scayle-kv-driver": "1.0.1",
|
|
114
|
-
"@types/node": "22.15.
|
|
115
|
-
"@vitest/coverage-v8": "3.2.
|
|
114
|
+
"@types/node": "22.15.32",
|
|
115
|
+
"@vitest/coverage-v8": "3.2.3",
|
|
116
116
|
"dprint": "0.50.0",
|
|
117
|
-
"eslint-formatter-gitlab": "6.0.
|
|
118
|
-
"eslint": "9.
|
|
117
|
+
"eslint-formatter-gitlab": "6.0.1",
|
|
118
|
+
"eslint": "9.29.0",
|
|
119
119
|
"fishery": "2.3.1",
|
|
120
120
|
"h3": "1.15.3",
|
|
121
121
|
"nitro-test-utils": "0.9.2",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"publint": "0.2.12",
|
|
126
126
|
"typescript": "5.8.3",
|
|
127
127
|
"unbuild": "3.5.0",
|
|
128
|
-
"vitest": "3.2.
|
|
128
|
+
"vitest": "3.2.3",
|
|
129
129
|
"vue-tsc": "2.2.10"
|
|
130
130
|
},
|
|
131
131
|
"peerDependencies": {
|