gradio breaking changes
Updated December 4, 2026
On this page
Latest version 6.33.0, released December 1, 2026. Source repository
Its 5.0.0 release drops Python 3.8 and 3.9. Python end of life dates.
- From 5.0.0 to 6.33.0: 1,008 breaking changes in 17 versions.
- From 4.0.0 to 6.33.0: 1,085 breaking changes in 18 versions.
gradio 6.33.0 breaking changes
- Behavior changed
Requests coming from other sites' pages are now treated as logged out. Add the sites you trust to trusted_origins if they must stay logged in. github.com - Behavior changed
gr.DateTime
Values set to "now" in gr.DateTime now use the configured timezone, so their results can differ from before. github.com - Behavior changed
mount_gradio_app
Apps mounted with mount_gradio_app now apply file-access checks and path environment variables, which may block file access that worked before. github.com - Signature changed
gradio.blocks.App.create_app
Was @staticmethod def create_app(blocks: gradio.Blocks, app: App | None = None, app_kwargs: dict[str, Any] | None = None, auth_dependency: Callable[[fastapi.Request], str | None | Awaitable[str | None]] | None = None, strict_cors: bool =... pypi.org - Signature changed
gradio.blocks.Blocks.launch
Was def launch(self, inline: bool | None = None, inbrowser: bool = False, share: bool | None = None, debug: bool = False, max_threads: int = 40, auth: Callable[[str, str], bool] | tuple[str, str] | list[tuple[str, str]] | None = None... pypi.org - Signature changed
gradio.Blocks.launch
Was def launch(self, inline: bool | None = None, inbrowser: bool = False, share: bool | None = None, debug: bool = False, max_threads: int = 40, auth: Callable[[str, str], bool] | tuple[str, str] | list[tuple[str, str]] | None = None... pypi.org - Signature changed
gradio.mount_gradio_app
Was def mount_gradio_app(app: fastapi.FastAPI, blocks: gradio.Blocks, path: str, server_name: str = '0.0.0.0', server_port: int = 7860, footer_links: list[Literal['api', 'gradio', 'settings', 'runs'] | dict[str, str]] | None = None... pypi.org - Signature changed
gradio.route_utils.GradioMultiPartParser.__init__
Was def __init__(self, headers: Headers, stream: AsyncGenerator[bytes, None], *, max_files: Union[int, float] = 1000, max_fields: Union[int, float] = 1000, upload_dir: str | Path | None = None, upload_id: str | None = None... pypi.org - Signature changed
gradio.route_utils.record_run_history
Was def record_run_history(app: App, *, fn: BlockFunction, gr_request: Union[Request, list[Request]], inputs: Any, outputs: Any, started_at: str, fns: dict[int, BlockFunction], trigger_id: int | None, is_final: bool = True, batched: bool =... pypi.org - Signature changed
gradio.routes.App.create_app
Was @staticmethod def create_app(blocks: gradio.Blocks, app: App | None = None, app_kwargs: dict[str, Any] | None = None, auth_dependency: Callable[[fastapi.Request], str | None | Awaitable[str | None]] | None = None, strict_cors: bool =... pypi.org - Signature changed
gradio.routes.GradioMultiPartParser.__init__
Was def __init__(self, headers: Headers, stream: AsyncGenerator[bytes, None], *, max_files: Union[int, float] = 1000, max_fields: Union[int, float] = 1000, upload_dir: str | Path | None = None, upload_id: str | None = None... pypi.org - Signature changed
gradio.routes.mount_gradio_app
Was def mount_gradio_app(app: fastapi.FastAPI, blocks: gradio.Blocks, path: str, server_name: str = '0.0.0.0', server_port: int = 7860, footer_links: list[Literal['api', 'gradio', 'settings', 'runs'] | dict[str, str]] | None = None... pypi.org - Signature changed
gradio.Server.launch
Was def launch(self, inline: bool | None = None, inbrowser: bool = False, share: bool | None = None, debug: bool = False, max_threads: int = 40, auth: Callable[[str, str], bool] | tuple[str, str] | list[tuple[str, str]] | None = None... pypi.org - Signature changed
gradio.server.Server.launch
Was def launch(self, inline: bool | None = None, inbrowser: bool = False, share: bool | None = None, debug: bool = False, max_threads: int = 40, auth: Callable[[str, str], bool] | tuple[str, str] | list[tuple[str, str]] | None = None... pypi.org
gradio 6.32.0 breaking changes
- Behavior changed
When an app uses auth, the MCP server now requires login. Clients that called it without logging in must now authenticate. github.com - Behavior changed
Run history buckets now use the visitor's own Hugging Face token instead of the app's token. Code relying on the previous token may see different access. github.com - Signature changed
gradio.blocks.GradioMCPServer.launch_mcp_on_sse
Was def launch_mcp_on_sse(self, app: Starlette, subpath: str, root_path: str) -> None; now def launch_mcp_on_sse(self, app: App, subpath: str, root_path: str) -> None. pypi.org - Signature changed
gradio.history.resolve_token
Was def resolve_token(request) -> str | None; now def resolve_token(request, app=None) -> str | None. pypi.org - Signature changed
gradio.mcp.GradioMCPServer.launch_mcp_on_sse
Was def launch_mcp_on_sse(self, app: Starlette, subpath: str, root_path: str) -> None; now def launch_mcp_on_sse(self, app: App, subpath: str, root_path: str) -> None. pypi.org - Signature changed
gradio.workflow_api.port_to_component
Was def port_to_component(port_type: str, label: str, value: Any = None, *, output: bool = False); now def port_to_component(port_type: str, label: str, value: Any = None, *, output: bool = False, text_type: str = 'text'). pypi.org
gradio 6.31.0 breaking changes
- Behavior changed
Each user's run from a batched event is now recorded in that user's own run history bucket instead of a shared one. github.com - Behavior changed
A .stream() input event is now saved to run history once, with its last output, instead of per chunk. github.com - Behavior changed
Runs started by a Timer tick or a page load are no longer saved to run history, so code that reads run history will see fewer entries. github.com - Configuration changed
The package now requires brotli>=1.2.1, so environments pinned to an older brotli must upgrade it. github.com - Signature changed
gradio.route_utils.call_process_api
Was async def call_process_api(app: App, body: PredictBodyInternal, gr_request: Union[Request, list[Request]], fn: BlockFunction, root_path: str); now async def call_process_api(app: App, body: PredictBodyInternal, gr_request... pypi.org - Signature changed
gradio.workflow.call_space
Was def call_space(data, request: Optional[Request] = None, token: Optional[OAuthToken] = None) -> str; now def call_space(data, request: Optional[Request] = None, token: Optional[OAuthToken] = None, on_log: Callable[[str, str], None] |... pypi.org
gradio 6.30.0 breaking changes
- Signature changed
gradio.components.image_editor.ImageEditor.convert_and_format_image
Was def convert_and_format_image(self, file: FileData | None | bytes) -> np.ndarray | PIL.Image.Image | str | None; now def convert_and_format_image(self, file: FileData | None | bytes, flatten_on_white: bool = False) -> np.ndarray |... pypi.org - Signature changed
gradio.components.workflowcanvas.WorkflowCanvas.__init__
Was def __init__(self, value: str | Callable[..., str | None] | None = None, *, label: str | I18nData | None = None, every: Timer | float | None = None, inputs: Component | Sequence[Component] | set[Component] | None = None, show_label... pypi.org - Signature changed
gradio.ImageEditor.convert_and_format_image
Was def convert_and_format_image(self, file: FileData | None | bytes) -> np.ndarray | PIL.Image.Image | str | None; now def convert_and_format_image(self, file: FileData | None | bytes, flatten_on_white: bool = False) -> np.ndarray |... pypi.org - Signature changed
gradio.workflow_api.port_to_component
Was def port_to_component(port_type: str, label: str); now def port_to_component(port_type: str, label: str, value: Any = None, *, output: bool = False). pypi.org - Signature changed
gradio.workflow_api.register_workflow_endpoints
Was def register_workflow_endpoints(blocks, get_graph: Callable[[], Optional[WorkflowGraph]], callers: dict[str, Callable]) -> WorkflowEndpointManager; now def register_workflow_endpoints(blocks, get_graph: Callable[[]... pypi.org - Signature changed
gradio.workflow_api.WorkflowEndpointManager.__init__
Was def __init__(self, blocks, get_graph: Callable[[], Optional[WorkflowGraph]], callers: dict[str, Callable]); now def __init__(self, blocks, get_graph: Callable[[], Optional[WorkflowGraph]], callers: dict[str, Callable], app_root). pypi.org - Signature changed
gradio.workflow.WorkflowEndpointManager.__init__
Was def __init__(self, blocks, get_graph: Callable[[], Optional[WorkflowGraph]], callers: dict[str, Callable]); now def __init__(self, blocks, get_graph: Callable[[], Optional[WorkflowGraph]], callers: dict[str, Callable], app_root). pypi.org - Signature changed
gradio.WorkflowCanvas.__init__
Was def __init__(self, value: str | Callable[..., str | None] | None = None, *, label: str | I18nData | None = None, every: Timer | float | None = None, inputs: Component | Sequence[Component] | set[Component] | None = None, show_label... pypi.org
gradio 6.29.0 breaking changes
- Behavior changed
gr.Interface
The examples table of gr.Interface no longer shows the additional_inputs columns by default, although their values are still loaded when an example is selected. Code relying on those columns being visible must enable the new display... github.com - Signature changed
gradio.Accordion.__init__
Was def __init__(self, label: str | I18nData | None = None, *, open: bool = True, visible: bool | Literal['hidden'] = True, elem_id: str | None = None, elem_classes: list[str] | str | None = None, render: bool = True, key: int | str |... pypi.org - Signature changed
gradio.block_function.BlockFunction.__init__
Was def __init__(self, fn: Callable | None, inputs: Sequence[Component | BlockContext], outputs: Sequence[Component | BlockContext], preprocess: bool, postprocess: bool, inputs_as_dict: bool, targets: list[tuple[int | None, str]], _id... pypi.org - Signature changed
gradio.blocks.BlockFunction.__init__
Was def __init__(self, fn: Callable | None, inputs: Sequence[Component | BlockContext], outputs: Sequence[Component | BlockContext], preprocess: bool, postprocess: bool, inputs_as_dict: bool, targets: list[tuple[int | None, str]], _id... pypi.org - Signature changed
gradio.chat_interface.ChatInterface.__init__
Was def __init__(self, fn: Callable, *, multimodal: bool = False, chatbot: Chatbot | None = None, textbox: Textbox | MultimodalTextbox | None = None, additional_inputs: str | Component | list[str | Component] | None = None... pypi.org - Signature changed
gradio.ChatInterface.__init__
Was def __init__(self, fn: Callable, *, multimodal: bool = False, chatbot: Chatbot | None = None, textbox: Textbox | MultimodalTextbox | None = None, additional_inputs: str | Component | list[str | Component] | None = None... pypi.org - Signature changed
gradio.Examples
Was def create_examples(examples: list[Any] | list[list[Any]] | str, inputs: Component | Sequence[Component], outputs: Component | Sequence[Component] | None = None, fn: Callable | None = None, cache_examples: bool | None = None... pypi.org - Signature changed
gradio.helpers.create_examples
Was def create_examples(examples: list[Any] | list[list[Any]] | str, inputs: Component | Sequence[Component], outputs: Component | Sequence[Component] | None = None, fn: Callable | None = None, cache_examples: bool | None = None... pypi.org - Signature changed
gradio.helpers.Examples.__init__
Was def __init__(self, examples: list[Any] | list[list[Any]] | str, inputs: Component | Sequence[Component], outputs: Component | Sequence[Component] | None = None, fn: Callable | None = None, cache_examples: bool | None = None... pypi.org - Signature changed
gradio.layouts.accordion.Accordion.__init__
Was def __init__(self, label: str | I18nData | None = None, *, open: bool = True, visible: bool | Literal['hidden'] = True, elem_id: str | None = None, elem_classes: list[str] | str | None = None, render: bool = True, key: int | str |... pypi.org
And 2 more in this version. Sign up to see every change
gradio 6.28.0 breaking changes
- Removed
gradio.components.video.Video.async_convert_mp4_to_ts
Video.async_convert_mp4_to_ts was removed in gradio 6.28.0 pypi.org - Removed
gradio.components.video.Video.get_video_duration_ffprobe
Video.get_video_duration_ffprobe was removed in gradio 6.28.0 pypi.org - Removed
gradio.Video.async_convert_mp4_to_ts
Video.async_convert_mp4_to_ts was removed in gradio 6.28.0 pypi.org - Removed
gradio.Video.get_video_duration_ffprobe
Video.get_video_duration_ffprobe was removed in gradio 6.28.0 pypi.org - Behavior changed
gr.ImageSlider.slider_position
A handler parameter annotated with gr.ImageSlider now receives the slider position the user currently sees, not the value set in code. Backend code can still set the divider. github.com - Behavior changed
gr.Model3D.camera_position
A handler parameter annotated with gr.Model3D now receives the camera view the user currently sees, not the value set in code. Backend code can still set the camera. github.com - Signature changed
gradio.Accordion.collapse
Was def collapse(self, fn: Callable[..., Any] | None = None, inputs: Block | Sequence[Block] | set[Block] | None = None, outputs: Block | Sequence[Block] | None = None, api_name: str | None = None, scroll_to_output: bool = False... pypi.org - Signature changed
gradio.Accordion.expand
Was def expand(self, fn: Callable[..., Any] | None = None, inputs: Block | Sequence[Block] | set[Block] | None = None, outputs: Block | Sequence[Block] | None = None, api_name: str | None = None, scroll_to_output: bool = False... pypi.org - Signature changed
gradio.AnnotatedImage.change
Was def change(self, fn: Callable[..., Any] | None = None, inputs: Block | Sequence[Block] | set[Block] | None = None, outputs: Block | Sequence[Block] | None = None, api_name: str | None = None, scroll_to_output: bool = False... pypi.org - Signature changed
gradio.AnnotatedImage.select
Was def select(self, fn: Callable[..., Any] | None = None, inputs: Block | Sequence[Block] | set[Block] | None = None, outputs: Block | Sequence[Block] | None = None, api_name: str | None = None, scroll_to_output: bool = False... pypi.org
And 420 more in this version. Sign up to see every change
Older versions
13 older versions, each with its first changes. Sign up to see every change
Show 13 older versions
gradio 6.27.0 breaking changes
- Removed
gradio.Audio.covert_to_adts
Audio.covert_to_adts was removed in gradio 6.27.0 pypi.org - Removed
gradio.blocks.MediaStream.playlist
MediaStream.playlist was removed in gradio 6.27.0 pypi.org
And 20 more in this version.
gradio 6.25.0 breaking changes
- Removed
gradio.renderable.Context
gradio.renderable.Context was removed in gradio 6.25.0 pypi.org - Signature changed
gradio.blocks.App.create_app
Was @staticmethod def create_app(blocks: gradio.Blocks, app: App | None = None, app_kwargs: dict[str, Any] | None = None, auth_dependency: Callable[[fastapi.Request], str | None | Awaitable[str | None]] | None = None, strict_cors: bool =... pypi.org
And 4 more in this version.
gradio 6.24.0 breaking changes
- Signature changed
gradio.blocks.App.__init__
Was def __init__(self, auth_dependency: Callable[[fastapi.Request], str | None] | None = None, **kwargs); now def __init__(self, auth_dependency: Callable[[fastapi.Request], str | None | Awaitable[str | None]] | None = None, **kwargs). pypi.org - Signature changed
gradio.blocks.App.create_app
Was @staticmethod def create_app(blocks: gradio.Blocks, app: App | None = None, app_kwargs: dict[str, Any] | None = None, auth_dependency: Callable[[fastapi.Request], str | None] | None = None, strict_cors: bool = True, mcp_server: bool |... pypi.org
And 8 more in this version.
gradio 6.23.1 breaking changes
- Removed
gradio.node_server.handle_sigterm
gradio.node_server.handle_sigterm was removed in gradio 6.23.1 pypi.org - Signature changed
gradio.blocks.start_node_server
Was def start_node_server(server_name: str | None = None, server_port: int | None = None, node_path: str | None = None, python_port: int | None = None, python_host: str | None = None, static_worker_ports: list[int] | None = None, debug... pypi.org
And 4 more in this version.
gradio 6.22.0 breaking changes
- Removed
Authentication and file redirect handling were tightened; code relying on previous looser behavior may be affected. github.com
gradio 6.21.0 breaking changes
- Behavior changed
The frontend HTML sanitizer now removes <style> and <link> elements, so HTML content that relied on them may render differently. Review HTML output that depends on inline styles or linked stylesheets. github.com - Signature changed
gradio.blocks.Blocks.call_function
Was async def call_function(self, block_fn: BlockFunction | int, processed_input: list[Any], iterator: AsyncIterator[Any] | None = None, requests: Request | list[Request] | None = None, event_id: str | None = None, event_data: EventData |... pypi.org
And 5 more in this version.
gradio 6.20.0 breaking changes
- Removed
gradio.Accordion.Block
gradio.Accordion.Block was removed in gradio 6.20.0 pypi.org - Removed
gradio.Accordion.collapse
Accordion.collapse was removed in gradio 6.20.0 pypi.org
And 413 more in this version.
gradio 6.19.0 breaking changes
- Removed
gradio.workflow.VALID_SPACE_CATEGORIES
gradio.workflow.VALID_SPACE_CATEGORIES was removed in gradio 6.19.0 pypi.org - Signature changed
gradio.CheckboxGroup.__init__
Was def __init__(self, choices: Sequence[str | int | float | tuple[str, str | int | float]] | None = None, *, value: Sequence[str | float | int] | str | float | int | Callable | None = None, type: Literal['value', 'index'] = 'value'... pypi.org
And 7 more in this version.
gradio 6.18.0 breaking changes
- Behavior changed
Events created with api_name=False no longer appear as public endpoints in API info. github.com - Behavior changed
An expired OAuth session is now treated as a logged out user rather than as a logged in one. github.com
And 10 more in this version.
gradio 6.17.3 breaking changes
- Signature changed
gradio.components.html.HTML.__init__
Was def __init__(self, value: Any | Callable | None = None, *, label: str | I18nData | None = None, html_template: str = '${value}', css_template: str = '', js_on_load: str | None = "element.addEventListener('click', function()... pypi.org - Signature changed
gradio.components.markdown.Markdown.__init__
Was def __init__(self, value: str | I18nData | Callable | None = None, *, label: str | I18nData | None = None, every: Timer | float | None = None, inputs: Component | Sequence[Component] | set[Component] | None = None, show_label: bool |... pypi.org
And 23 more in this version.
gradio 6.0.0 breaking changes
- Removed
Deprecated parameters of the native plot components were removed, so code passing them must be updated. github.com - Removed
The tuples message format was removed from the chatbot, so code using it must switch to the messages format. github.com
And 17 more in this version.
gradio 5.0.0 breaking changes
- Removed
This release no longer supports Python 3.8 and 3.9. Users on those versions must upgrade Python before installing this release. github.com - Removed
gr.make_waveform
The release proposes removing gr.make_waveform and the matplotlib dependency. Code calling gr.make_waveform may break if the proposal is adopted. github.com
And 75 more in this version.
gradio 4.0.0 breaking changes
- Removed
Deprecated arguments and parameters were removed; code passing them must be updated. github.com - Removed
Interpretation support was removed entirely; code relying on it will no longer work. github.com
And 1,050 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.