@v-office/website-sdk 2.37.0 → 2.37.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 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.37.0";
20
+ var version = "2.37.1";
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.37.1/CHANGELOG.md`: release notes for 2.37.1
7
8
  - `versions/2.37.0/CHANGELOG.md`: release notes for 2.37.0
8
9
  - `versions/2.36.2/CHANGELOG.md`: release notes for 2.36.2
9
10
  - `versions/2.36.1/CHANGELOG.md`: release notes for 2.36.1
@@ -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.37.1/MIGRATION.md`: Migration: 2.37.0 to 2.37.1
7
8
  - `versions/2.37.0/MIGRATION.md`: Migration: 2.36.2 to 2.37.0
8
9
  - `versions/2.36.2/MIGRATION.md`: Migration: 2.36.1 to 2.36.2
9
10
  - `versions/2.36.1/MIGRATION.md`: Migration: 2.36.0 to 2.36.1
@@ -0,0 +1,11 @@
1
+ # Changelog: 2.37.1
2
+
3
+ A fix release: `sdk.static.regions.getRegions` reads v10 region trees again.
4
+
5
+ ## Fixed
6
+
7
+ - v10: `sdk.static.regions.getRegions` rejected every tree that holds regions with
8
+ `The website regions response did not match the region tree contract`, caused by
9
+ `Region <key> has no name`. The API gateway sends region names as JSON text, and 2.37.0
10
+ only read an object. Site builds that read a v10 region tree pass again. Empty trees and
11
+ v9 were not affected.
@@ -0,0 +1,10 @@
1
+ # Migration: 2.37.0 to 2.37.1
2
+
3
+ No changes required. A v10 site that reads `sdk.static.regions.getRegions` needs this version
4
+ for its build to pass once its website has regions.
5
+
6
+ ## 1. Upgrade
7
+
8
+ ```sh
9
+ pnpm add @v-office/website-sdk@2.37.1
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.37.1/CHANGELOG.md`: release notes for 2.37.1
7
8
  - `versions/2.37.0/CHANGELOG.md`: release notes for 2.37.0
8
9
  - `versions/2.36.2/CHANGELOG.md`: release notes for 2.36.2
9
10
  - `versions/2.36.1/CHANGELOG.md`: release notes for 2.36.1
@@ -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.37.1/MIGRATION.md`: Migration: 2.37.0 to 2.37.1
7
8
  - `versions/2.37.0/MIGRATION.md`: Migration: 2.36.2 to 2.37.0
8
9
  - `versions/2.36.2/MIGRATION.md`: Migration: 2.36.1 to 2.36.2
9
10
  - `versions/2.36.1/MIGRATION.md`: Migration: 2.36.0 to 2.36.1
@@ -0,0 +1,11 @@
1
+ # Changelog: 2.37.1
2
+
3
+ A fix release: `sdk.static.regions.getRegions` reads v10 region trees again.
4
+
5
+ ## Fixed
6
+
7
+ - v10: `sdk.static.regions.getRegions` rejected every tree that holds regions with
8
+ `The website regions response did not match the region tree contract`, caused by
9
+ `Region <key> has no name`. The API gateway sends region names as JSON text, and 2.37.0
10
+ only read an object. Site builds that read a v10 region tree pass again. Empty trees and
11
+ v9 were not affected.
@@ -0,0 +1,10 @@
1
+ # Migration: 2.37.0 to 2.37.1
2
+
3
+ No changes required. A v10 site that reads `sdk.static.regions.getRegions` needs this version
4
+ for its build to pass once its website has regions.
5
+
6
+ ## 1. Upgrade
7
+
8
+ ```sh
9
+ pnpm add @v-office/website-sdk@2.37.1
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.37.0",
3
+ "version": "2.37.1",
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.28.0",
51
+ "@v-office/sdk-core": "1.28.1",
52
52
  "effect": "4.0.0-rc.115",
53
53
  "graphql": "17.0.2",
54
54
  "yaml": "^2.9.0"