Skip to content

feat: prepare for gradio 6.28 compatibility - #127

Merged
Col0ring merged 4 commits into
mainfrom
feat/gradio-6.28
Sep 21, 2026
Merged

Col0ring merged 4 commits into
mainfrom
feat/gradio-6.28

Conversation

@Col0ring

Copy link
Copy Markdown
Collaborator

No description provided.

Gradio >= 6.9 mounts every custom component as its own Svelte root, which
broke context propagation across custom component boundaries. The fix landed
upstream in gradio 6.28 (gradio-app/gradio#13817), and it needs the vendored
preview runtime to expose `getAllContexts` so gradio can hand the ancestor
custom component context down to nested mounts.

- expose `getAllContexts` from the vendored preview svelte runtime entry
- require gradio >= 6.28.0 and bump @gradio/{client,statustracker,utils}
- omit `i18n_store` from the props forwarded to React components, the key in
  the omit list never matched the actual prop name
- ignore the iframeResizer sourcemap warning in `gradio cc dev` output

WIP: dependency version updates and the related user docs are not included
yet, they will follow in later commits.
@changeset-bot

changeset-bot Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 426de2b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@modelscope-studio/antd Minor
@modelscope-studio/antdx Minor
@modelscope-studio/base Minor
@modelscope-studio/pro Minor
@modelscope-studio/frontend Minor
modelscope_studio Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Col0ring Col0ring changed the title [WIP] feat: prepare for gradio 6.28 compatibility feat: prepare for gradio 6.28 compatibility Sep 21, 2026
@Col0ring
Col0ring merged commit e1c2508 into main Sep 21, 2026
2 checks passed
@Col0ring
Col0ring deleted the feat/gradio-6.28 branch September 21, 2026 07:36
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.

1 participant