Repository navigation
studio: sync with Studio SDK 2.0, fix end-to-end audit issues, add CSR/SSR and 404 guides (0.3.1) - #29
Merged
timbenniks-contentstack merged 4 commits intoNov 2, 2026
Conversation
…gent-skills into studio/sync-sdk-2.0 Resolve version conflicts: ship Studio SDK 2.0 changes as 0.3.1 on top of released 0.3.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix all 39 issues from the Studio skill audit (Next.js 16, studio-react 2.0.1): primitive-library plan step, one Section-per-region rule, preview hash reset in resolveComposition, field projection and image bindings, Section Slot node shape, SDK 2.0.1 registration snippets, catch-all and no-Delivery-SDK install paths, canonical list recipe, wire-shape table, compositions CT as JSON, MCP snapshot/scope, and consistency fixes. Add two guides: csr-and-ssr-requirements and handle-404-pages, routed from skills-index. Snippets typechecked against studio-react 2.0.1 and live-preview-utils 4.5.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
upgrade-studio-sdk: separate what 2.0 actually changed (verified by installing 1.9.0 and 2.0.1 side by side) from older rules that behave the same on both, and stop pointing at CHANGELOG files the npm packages don't ship. wire-studio-state: state APIs need studio-react 1.8.0+. discover-sections-from-ct: built-in type name `text`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
timbenniks-contentstack
approved these changes
Nov 2, 2026
timbenniks-contentstack
merged commit Nov 2, 2026
aa7ea39
into
contentstack:next
5 of 7 checks passed
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the
studioskill in line with@contentstack/studio-react2.0.1 (the current npm release) and releases it as 0.3.1 on top of 0.3.0.COMPONENT_NOT_REGISTERED,STACK_NOT_FOUND_ON_HOSTandURL_MATCHED_NO_ENTRY, SSR styles, RSC entry, and router triggers.resolveComposition, so drafts don't leak to visitors..urlimage bindings.registerLazyComponent.items/properties.stylesgroup object.isStudioEditorMode/isCompositionNotFoundimported fromstudio-react.proxy.ts/ Turbopack, Tailwind v4@theme, interactive rich-text embeds, caching, and the canvas layout and headers.--scopeand the hosted connector.csdxtoken export.csr-and-ssr-requirementscovers what a CSR or SSR page needs in Live Preview, Visual Editor and the canvas.handle-404-pagescovers the 404 branch on Next.js App / Pages Router, Remix and React Router, decided byisCompositionNotFoundonly.upgrade-studio-sdk. It was checked by installing 1.9.0 and 2.0.1 side by side, and separates what 2.0 actually changed from older rules that behave the same in both.Versions are bumped to 0.3.1 in all five manifests, with a
CHANGELOG.mdentry.Verification
node scripts/validate.mjspasses (24 skills, 7 manifests).skills/studio/resolves.tsc --noEmit, strict) againststudio-react2.0.1,delivery-sdk5.6.1 andlive-preview-utils4.5.3. Next.js / Remix imports used small stubs.studioSdk.initoptions and the 14 prop types match 2.0.1.Not covered
install-live-preview'sstackSdk: stack(vsstack.config) breaks CSR draft refetches.numberstatic values as text, while the SDK types expect numbers. Changing it is a schema decision.🤖 Generated with Claude Code