@v-office/website-sdk 2.36.1 → 2.36.2

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 CHANGED
@@ -17,7 +17,7 @@ var CLICheckFailed = class extends Error {
17
17
  const toCLIError = (message, cause) => cause instanceof Error ? new CLICheckFailed(`${message}: ${cause.message}`, { cause }) : new CLICheckFailed(message, { cause });
18
18
  //#endregion
19
19
  //#region package.json
20
- var version = "2.36.1";
20
+ var version = "2.36.2";
21
21
  //#endregion
22
22
  //#region src/cli/output.ts
23
23
  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.36.2/CHANGELOG.md`: release notes for 2.36.2
7
8
  - `versions/2.36.1/CHANGELOG.md`: release notes for 2.36.1
8
9
  - `versions/2.36.0/CHANGELOG.md`: release notes for 2.36.0
9
10
  - `versions/2.35.0/CHANGELOG.md`: release notes for 2.35.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.36.2/MIGRATION.md`: Migration: 2.36.1 to 2.36.2
7
8
  - `versions/2.36.1/MIGRATION.md`: Migration: 2.36.0 to 2.36.1
8
9
  - `versions/2.36.0/MIGRATION.md`: Migration: 2.35.0 to 2.36.0
9
10
  - `versions/2.35.0/MIGRATION.md`: Migration: 2.34.0 to 2.35.0
@@ -0,0 +1,16 @@
1
+ # Changelog: 2.36.2
2
+
3
+ A fix release: `sdk.static.regions.getRegions` works on v10 again.
4
+
5
+ ## Fixed
6
+
7
+ - v10: `sdk.static.regions.getRegions` rejected for every website since 2.35.0 with
8
+ `Cannot query field "position" on type "websites_WebsiteRegionRental"`
9
+ (`GRAPHQL_VALIDATION_FAILED`). The websites service no longer has a rental's position in a
10
+ region, and the SDK asked for it. The SDK now asks only for what it reads, so a site build
11
+ that reads regions no longer stops. The result is the same as before: `ownRentalIds`,
12
+ `rentalIds`, `depth` and every other field are unchanged.
13
+
14
+ ## Changed
15
+
16
+ - Nothing for existing code. v9 was not affected.
@@ -0,0 +1,10 @@
1
+ # Migration: 2.36.1 to 2.36.2
2
+
3
+ No changes required. A v10 site that reads `sdk.static.regions.getRegions` needs this version for
4
+ its build to pass.
5
+
6
+ ## 1. Upgrade
7
+
8
+ ```sh
9
+ pnpm add @v-office/website-sdk@2.36.2
10
+ ```
@@ -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.36.2/CHANGELOG.md`: release notes for 2.36.2
7
8
  - `versions/2.36.1/CHANGELOG.md`: release notes for 2.36.1
8
9
  - `versions/2.36.0/CHANGELOG.md`: release notes for 2.36.0
9
10
  - `versions/2.35.0/CHANGELOG.md`: release notes for 2.35.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.36.2/MIGRATION.md`: Migration: 2.36.1 to 2.36.2
7
8
  - `versions/2.36.1/MIGRATION.md`: Migration: 2.36.0 to 2.36.1
8
9
  - `versions/2.36.0/MIGRATION.md`: Migration: 2.35.0 to 2.36.0
9
10
  - `versions/2.35.0/MIGRATION.md`: Migration: 2.34.0 to 2.35.0
@@ -0,0 +1,16 @@
1
+ # Changelog: 2.36.2
2
+
3
+ A fix release: `sdk.static.regions.getRegions` works on v10 again.
4
+
5
+ ## Fixed
6
+
7
+ - v10: `sdk.static.regions.getRegions` rejected for every website since 2.35.0 with
8
+ `Cannot query field "position" on type "websites_WebsiteRegionRental"`
9
+ (`GRAPHQL_VALIDATION_FAILED`). The websites service no longer has a rental's position in a
10
+ region, and the SDK asked for it. The SDK now asks only for what it reads, so a site build
11
+ that reads regions no longer stops. The result is the same as before: `ownRentalIds`,
12
+ `rentalIds`, `depth` and every other field are unchanged.
13
+
14
+ ## Changed
15
+
16
+ - Nothing for existing code. v9 was not affected.
@@ -0,0 +1,10 @@
1
+ # Migration: 2.36.1 to 2.36.2
2
+
3
+ No changes required. A v10 site that reads `sdk.static.regions.getRegions` needs this version for
4
+ its build to pass.
5
+
6
+ ## 1. Upgrade
7
+
8
+ ```sh
9
+ pnpm add @v-office/website-sdk@2.36.2
10
+ ```
@@ -0,0 +1,3 @@
1
+ {
2
+ "componentsAffectedByHeadlessChange": []
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@v-office/website-sdk",
3
- "version": "2.36.1",
3
+ "version": "2.36.2",
4
4
  "description": "Website-facing SDK facade backed by @v-office/sdk-core",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@graphql-typed-document-node/core": "3.2.0",
51
- "@v-office/sdk-core": "1.27.0",
51
+ "@v-office/sdk-core": "1.27.1",
52
52
  "effect": "4.0.0-rc.115",
53
53
  "graphql": "17.0.2",
54
54
  "yaml": "^2.9.0"