Gradio 6.20.0

6.20.0
Added 5
  • Gallery Download All
  • Workflow: show downstream output on subgraph run
  • Workflow: auto add node on port click
  • Workflow: validate model before invoking inference client
  • Workflow: inject token into fn functions
Changed 3
  • Workflow: update input change handling
  • Migrate Image components to Svelte 5
  • Replace deprecated Starlette 422 status constant in queue validator error path
Fixed 11
  • Fix JSONDecodeError when loading cached examples with negative number outputs
  • Workflow: forward _token to bound fn when no request session
  • Fix gr.Plot collapsing to zero height for autosize Plotly figures
  • Fix embedded Gradio apps growing infinitely tall on HF Spaces when using vh/% heights or fill_height
  • Enforce max_file_size for multipart uploads to the /component_server route
  • Fix gr.ImageEditor high CPU usage when idle by sleeping the render loop when nothing is changing
Security 1
  • Serve /gradio_api/file=<url> via an SSRF-safe streaming proxy instead of an open redirect
Features
  • #13566 79b9171 - Gallery Download All. Thanks @dawoodkhan82!
  • #13544 784eb53 - workflow: show downstream output on subgraph run. Thanks @hannahblair!
  • #13582 59968e8 - workflow: update input change handling. Thanks @hannahblair!
  • #13543 0533483 - Migrate Image components to Svelte 5. Thanks @dawoodkhan82!
  • #13557 55241c8 - workflow: auto add node on port click. Thanks @hannahblair!
  • #13549 ec64242 - workflow: validate model before invoking inference client. Thanks @hannahblair!
  • #13555 f7b872e - Replace deprecated Starlette 422 status constant in queue validator error path. Thanks @copilot-swe-agent!
  • #13574 75c5d1e - workflow: inject token into fn functions. Thanks @hannahblair!
Fixes
  • #13592 876d333 - Fix JSONDecodeError when loading cached examples with negative number outputs. Thanks @hysts!
  • #13596 1c5c538 - Security: serve /gradio_api/file=<url> via an SSRF-safe streaming proxy instead of an open redirect. Thanks @abidlabs!
  • #13595 4e72cd1 - workflow: forward _token to bound fn when no request session. Thanks @hannahblair!
  • #13540 98de45e - Fix gr.Plot collapsing to zero height for autosize Plotly figures. Thanks @hysts!
  • #13563 46d391b - Fix embedded Gradio apps growing infinitely tall on HF Spaces when using vh/% heights or fill_height. Thanks @abidlabs!
  • #13580 63609f1 - Enforce max_file_size for multipart uploads to the /component_server route. Thanks @abidlabs!
  • #13571 c576675 - Fix gr.ImageEditor high CPU usage when idle by sleeping the render loop when nothing is changing. Thanks @abidlabs!
  • dcc654d - Fix ImageEditor transform tools and hidden cleanup. Thanks @dawoodkhan82!
  • #13588 2e80558 - Fire state.change() for streaming (.stream()) events. Thanks @hysts!
  • #13597 7a595cb - Fix ImageEditor brush texture resets. Thanks @dawoodkhan82!
  • #13581 461d82d - Use same-origin credentials in the JS client so cross-origin embeds work again. Thanks @hysts!
  • #13560 745f20c - Fix gr.Tabs.select() event not firing when switching tabs. Thanks @abidlabs!
  • #13529 6438369 - Wait for in-flight head scripts before running js_on_load in gr.HTML. Thanks @hysts!
  • #13553 9a72d0c - Fix Column staying hidden after a multi-yield visibility update. Thanks @hysts!
  • #13561 882df35 - Fix TypeError: this.app.$destroy is not a function when embedding a Gradio app with the <gradio-app> web component. Thanks @abidlabs!
View original

Upgraded? How did it go?

Discussion