@contentful/experiences-sdk-core 0.8.5 → 0.8.7

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 CHANGED
@@ -1,3 +1,18 @@
1
+ ## 0.8.7 (2026-09-28)
2
+
3
+ ### 🚀 Features
4
+
5
+ - add shared Experiences client runtime ([#206](https://github.com/contentful/experiences/pull/206))
6
+ - add ExO event builder ([caf2772](https://github.com/contentful/experiences/commit/caf2772))
7
+
8
+ ### 🩹 Fixes
9
+
10
+ - allow unattributed ExO events ([eea817a](https://github.com/contentful/experiences/commit/eea817a))
11
+
12
+ ## 0.8.6 (2026-09-22)
13
+
14
+ This was a version bump only for core to align it with other projects, there were no code changes.
15
+
1
16
  ## 0.8.5 (2026-09-22)
2
17
 
3
18
  ### 🩹 Fixes
package/README.md CHANGED
@@ -2,12 +2,18 @@
2
2
 
3
3
  > ⚠️ **Internal package.** You don't install this directly — the framework adapter (e.g. [`@contentful/experiences-react`](../adapter-react/)) re-exports everything you need.
4
4
 
5
- Runtime-neutral primitives shared across all framework adapters.
5
+ Dependency-free, runtime-neutral primitives shared across all framework
6
+ adapters. This package has no runtime dependencies.
6
7
 
7
8
  ## What lives here
8
9
 
9
10
  - **Types** — `PortableRenderPlan`, `PortableRenderNode`, `PortableRegistration`, `ExperiencePayload`, `ExperienceNode`, the discriminated `DesignPropValue` union (`ManualDesignValue` / `DesignToken` / `ValuesByViewport`), `ViewportDef`, `ExperienceContext`, `ResolveContext`.
10
11
  - **`resolveExperience(payload, config, opts)`** — single async entry that walks an XDA payload, classifies content vs. design properties, captures slots, runs any component-declared `resolveData` hooks in parallel, and emits a runtime-neutral `PortableRenderPlan` ready for any framework adapter to render. Every node in the payload becomes a `PortableRenderNode`; `registration.kind` records whether the adapter should resolve its id against `config.components` or `config.experienceTemplates`. A coded Experience Template is an ordinary node — `payload.sys.experienceTemplate` is never read.
12
+ - **Diagnostics and design support** — `createDebugLogger`, plus the viewport and design-resolution helpers (`applyTokenResolver`, `getValueForViewport`, `getViewportIndex`, and `resolveDesignProperties`).
13
+
14
+ Delivery transport and event construction do not belong here. They are owned by
15
+ Client, keeping this package usable in any runtime without pulling in a delivery
16
+ client or framework.
11
17
 
12
18
  ## Why a separate package?
13
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experiences-sdk-core",
3
- "version": "0.8.5",
3
+ "version": "0.8.7",
4
4
  "description": "Runtime-neutral types + experience resolution for Contentful Experiences",
5
5
  "license": "MIT",
6
6
  "type": "module",