@contentful/experiences-live-preview 0.7.1 → 0.7.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/CHANGELOG.md +10 -0
- package/README.md +11 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 0.7.2 (2026-10-22)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- add runtime Experience parameters [ARC-2668] ([#235](https://github.com/contentful/experiences/pull/235))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated client to 0.10.2
|
|
10
|
+
|
|
1
11
|
## 0.7.1 (2026-10-22)
|
|
2
12
|
|
|
3
13
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Optional live preview for Contentful Experiences.
|
|
4
4
|
|
|
5
|
+
## Runtime parameters and Session updates
|
|
6
|
+
|
|
7
|
+
Direct by-ID `fetchExperience` accepts per-call `parameters`; see the
|
|
8
|
+
[runtime parameters guide](../../README.md#runtime-experience-parameters).
|
|
9
|
+
Preview Sessions retain their existing unprefixed `context.parameters` map
|
|
10
|
+
(for example `{ productId: 'foo123' }`), with values supported by the Session
|
|
11
|
+
contract. The Contentful editor owns Session context changes. `fetchPreviewSession`
|
|
12
|
+
loads the current hydrated snapshot; `createLivePreviewClient` consumes subsequent
|
|
13
|
+
WebSocket snapshots. Replace the rendered plan from each update as usual.
|
|
14
|
+
These APIs do not mutate Session parameters or encode `parameter.*` query keys.
|
|
15
|
+
|
|
5
16
|
## API
|
|
6
17
|
|
|
7
18
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experiences-live-preview",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Optional live preview for Contentful Experiences",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"directory": "packages/live-preview"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@contentful/experiences-client": "0.10.
|
|
33
|
+
"@contentful/experiences-client": "0.10.2",
|
|
34
34
|
"@contentful/experiences-sdk-core": "0.13.1"
|
|
35
35
|
}
|
|
36
36
|
}
|