Change8

gradio@6.1.0

📦 gradioView on GitHub →
3 features🐛 9 fixes🔧 9 symbols

Summary

This release adds playback position support to audio/video components, a new link_target option for buttons, restores deprecated Blocks arguments, and includes numerous bug fixes across plotting, event handling, settings, CSV sanitization, and UI components.

✨ New Features

  • Added `playback_position` property to `gr.Audio` and `gr.Video`, allowing read and update of playback position.
  • Added `link_target` parameter to `Button` component.
  • Restored deprecated Blocks constructor arguments (e.g., `theme`, `css`) that were removed in version 6.0.

🐛 Bug Fixes

  • Fixed plot rendering and visibility bug.
  • Fixed error UI when cancelling events.
  • Fixed Settings component behavior.
  • Fixed JavaScript unit test failures.
  • Ensured visible components load correctly in version 6.0.
  • Fixed handling of custom `js` parameter.
  • Enabled definition of custom HTML components within Jupyter notebooks.
  • Prevented corruption of JSON-like values during CSV sanitization.
  • Fixed copy button functionality in `gr.Textbox`.

🔧 Affected Symbols

gr.Audiogr.VideoButtonBlocksgr.Plotgr.Settingsgr.Textboxgr.HTMLCSV sanitization logic