Change8

@gradio/client@2.3.1

📦 gradioView on GitHub →
🐛 3 fixes🔧 1 symbols

Summary

This release focuses on bug fixes, including ensuring state changes fire correctly during streaming and restoring cross-origin embedding functionality by adjusting credential handling.

🐛 Bug Fixes

  • Fired `state.change()` for streaming (`.stream()`) events.
  • Used same-origin credentials in the JS client to restore functionality for cross-origin embeds.
  • Made `Client.predict()` reject its returned promise on unknown endpoints, ensuring errors are catchable.

Affected Symbols