Commit 12df18d
PROD-3331: bump example apps to app-sdk 4.68.1 for ExO rename (#11260)
Bump @contentful/app-sdk to ^4.68.1 in examples/experience-toolbar and
examples/experience-auditor. 4.68.1 is the latest published release and
ships the ExO M2 terminology rename: ExperienceNodeType and
ExperienceContext.type are now supersets that accept both legacy
(Fragment/InlineFragment) and canonical (ExperienceFragment/
InlineExperienceFragment, experienceFragment) vocabulary, and
ExperienceSnapshot gains an ExperienceFragment arm.
Both apps consume the rename transitively via the typed sdk.experiences.*
surface (no hardcoded CMA routes or entity-type-string comparisons), so
no source changes were required:
- context.type === 'experience' comparison in experience-toolbar still
type-checks against the widened union; experienceFragment groups with
fragment on the secondary badge, which is correct.
- node.nodeType / ExperienceNodeType usages resolve against the widened
union with no changes.
Verified against 4.68.1: both apps typecheck (tsc --noEmit, exit 0),
build (vite build), and pass their full test suites (toolbar 11/11,
auditor 38/38). No behavioral regression.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 743e18f commit 12df18d
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments