@v-office/website-sdk 2.24.0 → 2.24.1
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/dist/cli.mjs +1 -1
- package/dist/instructions/CHANGELOG.md +1 -0
- package/dist/instructions/MIGRATION.md +1 -0
- package/dist/instructions/search.md +1 -2
- package/dist/instructions/versions/2.24.1/CHANGELOG.md +17 -0
- package/dist/instructions/versions/2.24.1/MIGRATION.md +9 -0
- package/instructions/CHANGELOG.md +1 -0
- package/instructions/MIGRATION.md +1 -0
- package/instructions/search.md +1 -2
- package/instructions/versions/2.24.1/CHANGELOG.md +17 -0
- package/instructions/versions/2.24.1/MIGRATION.md +9 -0
- package/instructions/versions/2.24.1/release.json +3 -0
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -16,7 +16,7 @@ var CLICheckFailed = class extends Error {
|
|
|
16
16
|
const toCLIError = (message, cause) => cause instanceof Error ? new CLICheckFailed(`${message}: ${cause.message}`, { cause }) : new CLICheckFailed(message, { cause });
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region package.json
|
|
19
|
-
var version = "2.24.
|
|
19
|
+
var version = "2.24.1";
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/cli/output.ts
|
|
22
22
|
const toJson = (value) => Effect.try({
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Release notes of `@v-office/website-sdk`, newest first. Each version has its own directory.
|
|
6
6
|
|
|
7
|
+
- `versions/2.24.1/CHANGELOG.md`: release notes for 2.24.1
|
|
7
8
|
- `versions/2.24.0/CHANGELOG.md`: release notes for 2.24.0
|
|
8
9
|
- `versions/2.23.0/CHANGELOG.md`: release notes for 2.23.0
|
|
9
10
|
- `versions/2.22.0/CHANGELOG.md`: release notes for 2.22.0
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Migration guides of `@v-office/website-sdk`, newest first. Apply them in order when skipping versions.
|
|
6
6
|
|
|
7
|
+
- `versions/2.24.1/MIGRATION.md`: Migration: 2.24.0 to 2.24.1
|
|
7
8
|
- `versions/2.24.0/MIGRATION.md`: Migration: 2.23.0 to 2.24.0
|
|
8
9
|
- `versions/2.23.0/MIGRATION.md`: Migration: 2.22.0 to 2.23.0
|
|
9
10
|
- `versions/2.22.0/MIGRATION.md`: Migration: 2.21.0 to 2.22.0
|
|
@@ -240,8 +240,7 @@ Backend behavior:
|
|
|
240
240
|
- `price`: v9 maps to `price_asc` or `price_desc`. v10 orders priced alternatives by total and direction. v10 price sorting requires a fixed-period or flexible-date query with occupancy; the SDK rejects incomplete requests before transport.
|
|
241
241
|
- `random`: v9 requests the backend's random ordering. v10 currently keeps the default backend ordering.
|
|
242
242
|
- `rating`: v9 requests the backend's rating ordering. v10 currently keeps the default backend ordering until rating ordering is implemented.
|
|
243
|
-
-
|
|
244
|
-
- v10 price ordering follows the backend's boost-first, total-second behavior, so different boost groups are not globally ordered only by price.
|
|
243
|
+
- The SDK does not reorder results: they arrive in the order the backend returns them. v9's random ordering may be the same on every request.
|
|
245
244
|
|
|
246
245
|
v10 additionally supports a stable subset of rental-summary field ordering:
|
|
247
246
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Changelog: 2.24.1
|
|
2
|
+
|
|
3
|
+
The search instructions said that v9 may put "promoted" results first and that v10 sorts by
|
|
4
|
+
price within "boost" groups. Neither is something the SDK does or exposes, and a site cannot
|
|
5
|
+
read or reproduce it. This release corrects the instructions and ships `@v-office/sdk-core`
|
|
6
|
+
1.24.1.
|
|
7
|
+
|
|
8
|
+
## Changed
|
|
9
|
+
|
|
10
|
+
- `instructions/search.md` says that the SDK does not reorder search results: they arrive in
|
|
11
|
+
the order the backend returns them. Do not build a page's order on backend boosts or
|
|
12
|
+
promotions.
|
|
13
|
+
|
|
14
|
+
## Fixed
|
|
15
|
+
|
|
16
|
+
- A v10 search whose alternatives have no `boost` field no longer fails (`@v-office/sdk-core`
|
|
17
|
+
1.24.1).
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Release notes of `@v-office/website-sdk`, newest first. Each version has its own directory.
|
|
6
6
|
|
|
7
|
+
- `versions/2.24.1/CHANGELOG.md`: release notes for 2.24.1
|
|
7
8
|
- `versions/2.24.0/CHANGELOG.md`: release notes for 2.24.0
|
|
8
9
|
- `versions/2.23.0/CHANGELOG.md`: release notes for 2.23.0
|
|
9
10
|
- `versions/2.22.0/CHANGELOG.md`: release notes for 2.22.0
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Migration guides of `@v-office/website-sdk`, newest first. Apply them in order when skipping versions.
|
|
6
6
|
|
|
7
|
+
- `versions/2.24.1/MIGRATION.md`: Migration: 2.24.0 to 2.24.1
|
|
7
8
|
- `versions/2.24.0/MIGRATION.md`: Migration: 2.23.0 to 2.24.0
|
|
8
9
|
- `versions/2.23.0/MIGRATION.md`: Migration: 2.22.0 to 2.23.0
|
|
9
10
|
- `versions/2.22.0/MIGRATION.md`: Migration: 2.21.0 to 2.22.0
|
package/instructions/search.md
CHANGED
|
@@ -240,8 +240,7 @@ Backend behavior:
|
|
|
240
240
|
- `price`: v9 maps to `price_asc` or `price_desc`. v10 orders priced alternatives by total and direction. v10 price sorting requires a fixed-period or flexible-date query with occupancy; the SDK rejects incomplete requests before transport.
|
|
241
241
|
- `random`: v9 requests the backend's random ordering. v10 currently keeps the default backend ordering.
|
|
242
242
|
- `rating`: v9 requests the backend's rating ordering. v10 currently keeps the default backend ordering until rating ordering is implemented.
|
|
243
|
-
-
|
|
244
|
-
- v10 price ordering follows the backend's boost-first, total-second behavior, so different boost groups are not globally ordered only by price.
|
|
243
|
+
- The SDK does not reorder results: they arrive in the order the backend returns them. v9's random ordering may be the same on every request.
|
|
245
244
|
|
|
246
245
|
v10 additionally supports a stable subset of rental-summary field ordering:
|
|
247
246
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Changelog: 2.24.1
|
|
2
|
+
|
|
3
|
+
The search instructions said that v9 may put "promoted" results first and that v10 sorts by
|
|
4
|
+
price within "boost" groups. Neither is something the SDK does or exposes, and a site cannot
|
|
5
|
+
read or reproduce it. This release corrects the instructions and ships `@v-office/sdk-core`
|
|
6
|
+
1.24.1.
|
|
7
|
+
|
|
8
|
+
## Changed
|
|
9
|
+
|
|
10
|
+
- `instructions/search.md` says that the SDK does not reorder search results: they arrive in
|
|
11
|
+
the order the backend returns them. Do not build a page's order on backend boosts or
|
|
12
|
+
promotions.
|
|
13
|
+
|
|
14
|
+
## Fixed
|
|
15
|
+
|
|
16
|
+
- A v10 search whose alternatives have no `boost` field no longer fails (`@v-office/sdk-core`
|
|
17
|
+
1.24.1).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@v-office/website-sdk",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.1",
|
|
4
4
|
"description": "Website-facing SDK facade backed by @v-office/sdk-core",
|
|
5
5
|
"bin": {
|
|
6
6
|
"website-sdk": "./dist/cli.mjs"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
45
|
-
"@v-office/sdk-core": "1.24.
|
|
45
|
+
"@v-office/sdk-core": "1.24.1",
|
|
46
46
|
"effect": "4.0.0-rc.115",
|
|
47
47
|
"graphql": "17.0.2",
|
|
48
48
|
"yaml": "^2.9.0"
|