You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Features
#136010ee5cc8 - Preserve browser-visible proxy origins for frontend assets and API requests, and retain app-level FastAPI root paths. Thanks @abidlabs!
#13657a10b1d7 - Fix private Space connections and error handling in the JS client: accept the deprecated hf_token option as an alias for token, raise clear errors when a Space is private or missing, tolerate malformed /info payloads instead of crashing with "Cannot read properties of undefined (reading 'map')", and make predict() reject with real Error objects instead of plain status objects that surface as unhandled promise rejections. Thanks @abidlabs!
#136205200235 - Fix chained events after cancellation and while the browser tab is hidden. Thanks @abidlabs!
#136672d753d0 - oauth: let API callers supply a token for endpoints that take a gr.OAuthToken, via oauth_token on the Python and JS clients — sent only to endpoints that declare they need one. Thanks @abidlabs!
Fixes
#136567205856 - Preserve original filenames and MIME types when uploading File/Blob objects via the JS client, and use handle_file in the auto-generated JavaScript API snippets. Thanks @abidlabs!
#13655e29c824 - Ship a real browser bundle for the documented CDN path (dist/index.min.js) and a CommonJS entry (dist/index.cjs via the require exports condition) for @gradio/client. Thanks @abidlabs!
#136273b12faa - Keep in-flight events and generators working when an app is hot-reloaded (gradio app.py). Thanks @abidlabs!