@contentful/experiences-client 0.10.5 → 0.10.6

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +13 -0
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.10.6 (2026-10-26)
2
+
3
+ ### 🚀 Features
4
+
5
+ - improve Node/Web handoffs, event APIs, and diagnostics ([#264](https://github.com/contentful/experiences/pull/264))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated core to 0.13.5
10
+
1
11
  ## 0.10.5 (2026-10-24)
2
12
 
3
13
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -66,6 +66,19 @@ const plan = await fetchExperience(
66
66
 
67
67
  Returns `PortableRenderPlan`. An empty-nodes payload (draft / unpublished / empty locale) resolves to a valid plan with `nodes: []` — it is not a 404. For the missing-experience case, catch `NotFoundError` (re-exported below).
68
68
 
69
+ Successful responses can carry upstream field-resolution errors alongside useful
70
+ content. Core projects recognized errors into optional `plan.deliveryDiagnostics`
71
+ records with string `fieldPath` and `message`, preserving order and omitting
72
+ `originalError` and unknown fields. Client retains the payload errors through
73
+ by-ID GET/POST and destination conversion; generated-schema compatibility remains
74
+ Client-owned, with a single normalization point in Core.
75
+
76
+ Destination errors may have broader shapes, so this projection does not promise
77
+ complete coverage. An absent field does not prove personalization success or the
78
+ absence of other upstream errors. Existing `diagnostics: Error[]`, exceptions,
79
+ 404 handling, and profile behavior are unchanged. See the [delivery diagnostic
80
+ guidance](../../README.md#delivery-diagnostics) for safe presentation and disclosure.
81
+
69
82
  #### Preview mode
70
83
 
71
84
  Configure both tokens up front and flip `preview: true` per call to hit the preview API.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experiences-client",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "description": "Delivery client + fetchExperience for Contentful Experiences",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,6 +36,6 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@contentful/experience-delivery": "1.0.0-dev.10",
39
- "@contentful/experiences-sdk-core": "0.13.4"
39
+ "@contentful/experiences-sdk-core": "0.13.5"
40
40
  }
41
41
  }