Skip to content

refactor: bump experience example apps to app-sdk 4.68.1 (ExO rename) [PROD-3331] - #11260

Merged
Joe Bingham (jshmo) merged 1 commit into
masterfrom
worktree-prod-3331-exo-rename
Aug 5, 2026
Merged

refactor: bump experience example apps to app-sdk 4.68.1 (ExO rename) [PROD-3331]#11260
Joe Bingham (jshmo) merged 1 commit into
masterfrom
worktree-prod-3331-exo-rename

Conversation

@jshmo

@jshmo Joe Bingham (jshmo) commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What

Bumps @contentful/app-sdk to ^4.68.1 (latest published; 5.0.0 is alpha-only) in the two Experiences example apps:

  • examples/experience-toolbar
  • examples/experience-auditor

Resolves PROD-3331.

Why

4.68.1 ships the ExO M2 Terminology Update rename. The relevant public types widened to accept both legacy and canonical vocabulary:

  • ExperienceNodeType'Component' | 'Fragment' | 'ExperienceFragment' | 'InlineFragment' | 'InlineExperienceFragment' | 'Slot'
  • ExperienceContext.type'experience' | 'fragment' | 'experienceFragment'
  • ExperienceSnapshot gains an ExperienceFragment arm (sys.component / Contentful:Component)

Both apps consume the product exclusively through the typed sdk.experiences.* surface — no hardcoded CMA routes, no entity-type-string comparisons against removed values — so they're only affected transitively. No source changes were required.

AC verification

  • @contentful/app-sdk bumped to the rename version in both apps (resolves to 4.68.1).
  • ✅ Both apps typecheck (tsc --noEmit, exit 0), build (vite build), and pass their existing suites — toolbar 11/11, auditor 38/38.
  • context.type === 'experience' comparison in ExperienceToolbar.tsx verified against the widened public union: it still type-checks; the new experienceFragment value groups with fragment on the secondary badge, which is the correct behavior. Left unchanged per the "update only if the SDK changed that contract" guidance.
  • node.nodeType / ExperienceNodeType usages resolve against the widened union unchanged.
  • ✅ No behavioral regression.

Out of scope

No changes to shipped first-party/partner apps or marketplace-listing-api; not owning the SDK rename itself.

🤖 Generated with Claude Code

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>
@jshmo Joe Bingham (jshmo) changed the title PROD-3331: bump experience example apps to app-sdk 4.68.1 (ExO rename) refactor: bump experience example apps to app-sdk 4.68.1 (ExO rename) [PROD-3331] Aug 4, 2026
@jshmo
Joe Bingham (jshmo) marked this pull request as ready for review August 5, 2026 07:44
@jshmo
Joe Bingham (jshmo) merged commit 12df18d into master Aug 5, 2026
15 of 17 checks passed
@jshmo
Joe Bingham (jshmo) deleted the worktree-prod-3331-exo-rename branch August 5, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants