diff --git a/.changeset/clever-windows-swim.md b/.changeset/clever-windows-swim.md deleted file mode 100644 index 3c9ec3ef8f9a6..0000000000000 --- a/.changeset/clever-windows-swim.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/client": patch -"gradio": patch ---- - -fix:Fix js client bundle diff --git a/.changeset/deep-weeks-show.md b/.changeset/deep-weeks-show.md deleted file mode 100644 index 1e3078baf0923..0000000000000 --- a/.changeset/deep-weeks-show.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@gradio/app": patch -"@gradio/client": patch -"gradio": patch ---- - -feat:Refactor Cancelling Logic To Use /cancel diff --git a/.changeset/early-files-allow.md b/.changeset/early-files-allow.md deleted file mode 100644 index ec8dc600d1803..0000000000000 --- a/.changeset/early-files-allow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"website": patch ---- - -feat:Tweak meta titles and descriptions for clients diff --git a/.changeset/empty-flies-join.md b/.changeset/empty-flies-join.md deleted file mode 100644 index c943bf0c826f7..0000000000000 --- a/.changeset/empty-flies-join.md +++ /dev/null @@ -1,177 +0,0 @@ ---- -"@gradio/client": major -"gradio_client": major ---- - -highlight: - -#### Clients 1.0 Launch! - -We're excited to unveil the first major release of the Gradio clients. -We've made it even easier to turn any Gradio application into a production endpoint thanks to the clients' **ergonomic**, **transparent**, and **portable** design. - -#### Ergonomic API πŸ’† - -**Stream From a Gradio app in 5 lines** - -Use the `submit` method to get a job you can iterate over: - -```python -from gradio_client import Client - -client = Client("gradio/llm_stream") - -for result in client.submit("What's the best UI framework in Python?"): - print(result) -``` - -```ts -import { Client } from "@gradio/client"; - -const client = await Client.connect("gradio/llm_stream") -const job = client.submit("/predict", {"text": "What's the best UI framework in Python?"}) - -for await (const msg of job) console.log(msg.data) -``` - -**Use the same keyword arguments as the app** - - -```python -from gradio_client import Client - -client = Client("http://127.0.0.1:7860/") -result = client.predict( - message="Hello!!", - system_prompt="You are helpful AI.", - tokens=10, - api_name="/chat" -) -print(result) -``` - -```ts -import { Client } from "@gradio/client"; - -const client = await Client.connect("http://127.0.0.1:7860/"); -const result = await client.predict("/chat", { - message: "Hello!!", - system_prompt: "Hello!!", - tokens: 10, -}); - -console.log(result.data); -``` - -**Better Error Messages** - -If something goes wrong in the upstream app, the client will raise the same exception as the app provided that `show_error=True` in the original app's `launch()` function, or it's a `gr.Error` exception. - -#### Transparent Design πŸͺŸ - -Anything you can do in the UI, you can do with the client: -* πŸ”’ Authentication -* πŸ›‘ Job Cancelling -* ℹ️ Access Queue Position and API -* πŸ“• View the API information - -Here's an example showing how to display the queue position of a pending job: - -```python -from gradio_client import Client - -client = Client("gradio/diffusion_model") - -job = client.submit("A cute cat") -while not job.done(): - status = job.status() - print(f"Current in position {status.rank} out of {status.queue_size}") -``` - -#### Portable Design ⛺️ - -The client can run from pretty much any python and javascript environment (node, deno, the browser, Service Workers). - -Here's an example using the client from a Flask server using gevent: - -```python -from gevent import monkey -monkey.patch_all() - -from gradio_client import Client -from flask import Flask, send_file -import time - -app = Flask(__name__) - -imageclient = Client("gradio/diffusion_model") - -@app.route("/gen") -def gen(): - result = imageclient.predict( - "A cute cat", - api_name="/predict" - ) - return send_file(result) - -if __name__ == "__main__": - app.run(host="0.0.0.0", port=5000) -``` - -#### 1.0 Migration Guide and Breaking Changes - -**Python** -- The `serialize` argument of the `Client` class was removed. Has no effect. -- The `upload_files` argument of the `Client` was removed. -- All filepaths must be wrapped in the `handle_file` method. Example: -```python -from gradio_client import Client, handle_file - -client = Client("gradio/image_captioner") -client.predict(handle_file("cute_cat.jpg")) -``` -- The `output_dir` argument was removed. It is not specified in the `download_files` argument. - - -**Javascript** -The client has been redesigned entirely. It was refactored from a function into a class. An instance can now be constructed by awaiting the `connect` method. - -```js -const app = await Client.connect("gradio/whisper") -``` -The app variable has the same methods as the python class (`submit`, `predict`, `view_api`, `duplicate`). - - - -#### Additional Changes - -- [#8243](https://github.com/gradio-app/gradio/pull/8243) - Set orig_name in python client file uploads. -- [#8264](https://github.com/gradio-app/gradio/pull/8264) - Make exceptions in the Client more specific. -- [#8247](https://github.com/gradio-app/gradio/pull/8247) - Fix api recorder. -- [#8276](https://github.com/gradio-app/gradio/pull/8276) - Fix bug where client could not connect to apps that had self signed certificates. -- [#8245](https://github.com/gradio-app/gradio/pull/8245) - Cancel server progress from the python client. -- [#8200](https://github.com/gradio-app/gradio/pull/8200) - Support custom components in gr.load -- [#8182](https://github.com/gradio-app/gradio/pull/8182) - Convert sse calls in client from async to sync. -- [#7732](https://github.com/gradio-app/gradio/pull/7732) - Adds support for kwargs and default arguments in the python client, and improves how parameter information is displayed in the "view API" page. -- [#7888](https://github.com/gradio-app/gradio/pull/7888) - Cache view_api info in server and python client. -- [#7575](https://github.com/gradio-app/gradio/pull/7575) - Files should now be supplied as `file(...)` in the Client, and some fixes to `gr.load()` as well. -- [#8401](https://github.com/gradio-app/gradio/pull/8401) - Add CDN installation to JS docs. -- [#8299](https://github.com/gradio-app/gradio/pull/8299) - Allow JS Client to work with authenticated spaces πŸͺ. -- [#8408](https://github.com/gradio-app/gradio/pull/8408) - Connect heartbeat if state created in render. Also fix config cleanup bug #8407. -- [#8258](https://github.com/gradio-app/gradio/pull/8258) - Improve URL handling in JS Client. -- [#8322](https://github.com/gradio-app/gradio/pull/8322) - ensure the client correctly handles all binary data. -- [#8296](https://github.com/gradio-app/gradio/pull/8296) - always create a jwt when connecting to a space if a hf_token is present. -- [#8285](https://github.com/gradio-app/gradio/pull/8285) - use the correct query param to pass the jwt to the heartbeat event. -- [#8272](https://github.com/gradio-app/gradio/pull/8272) - ensure client works for private spaces. -- [#8197](https://github.com/gradio-app/gradio/pull/8197) - Add support for passing keyword args to `data` in JS client. -- [#8252](https://github.com/gradio-app/gradio/pull/8252) - Client node fix. -- [#8209](https://github.com/gradio-app/gradio/pull/8209) - Rename `eventSource_Factory` and `fetch_implementation`. -- [#8109](https://github.com/gradio-app/gradio/pull/8109) - Implement JS Client tests. -- [#8211](https://github.com/gradio-app/gradio/pull/8211) - remove redundant event source logic. -- [#8179](https://github.com/gradio-app/gradio/pull/8179) - rework upload to be a class method + pass client into each component. -- [#8181](https://github.com/gradio-app/gradio/pull/8181) - Ensure connectivity to private HF spaces with SSE protocol. -- [#8169](https://github.com/gradio-app/gradio/pull/8169) - Only connect to heartbeat if needed. -- [#8118](https://github.com/gradio-app/gradio/pull/8118) - Add eventsource polyfill for Node.js and browser environments. -- [#7646](https://github.com/gradio-app/gradio/pull/7646) - Refactor JS Client. -- [#7974](https://github.com/gradio-app/gradio/pull/7974) - Fix heartbeat in the js client to be Lite compatible. -- [#7926](https://github.com/gradio-app/gradio/pull/7926) - Fixes streaming event race condition. \ No newline at end of file diff --git a/.changeset/empty-moons-stick.md b/.changeset/empty-moons-stick.md deleted file mode 100644 index 586026c0b0907..0000000000000 --- a/.changeset/empty-moons-stick.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/app": patch -"gradio": patch ---- - -feat:Support Bash in Api Recorder diff --git a/.changeset/full-flies-join.md b/.changeset/full-flies-join.md deleted file mode 100644 index 78163117b8a5d..0000000000000 --- a/.changeset/full-flies-join.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@gradio/file": minor -"@gradio/tootils": minor -"@gradio/upload": minor -"gradio": minor ---- - -feat:add delete event to `File` component diff --git a/.changeset/neat-trains-repair.md b/.changeset/neat-trains-repair.md deleted file mode 100644 index 38c2d2b5b45c3..0000000000000 --- a/.changeset/neat-trains-repair.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@gradio/app": minor -"gradio": minor -"gradio_client": minor ---- - -feat:Remove deprecated parameters from Python Client diff --git a/.changeset/pink-bananas-sleep.md b/.changeset/pink-bananas-sleep.md deleted file mode 100644 index f2f60c201addf..0000000000000 --- a/.changeset/pink-bananas-sleep.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/app": patch -"gradio": patch ---- - -feat:Improve design of api recorder diff --git a/.changeset/quick-melons-remain.md b/.changeset/quick-melons-remain.md deleted file mode 100644 index bfeb98bafa432..0000000000000 --- a/.changeset/quick-melons-remain.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@gradio/app": patch -"@gradio/client": patch -"@gradio/file": patch -"gradio": patch ---- - -fix:Change client submit API to be an AsyncIterable and support more platforms diff --git a/.changeset/ripe-tires-nail.md b/.changeset/ripe-tires-nail.md deleted file mode 100644 index e4098a2df7d9f..0000000000000 --- a/.changeset/ripe-tires-nail.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/app": patch -"gradio": patch ---- - -feat:Add cURL to view API Page and add a dedicated Guide diff --git a/.changeset/violet-pans-doubt.md b/.changeset/violet-pans-doubt.md deleted file mode 100644 index 89b17d1af4ac0..0000000000000 --- a/.changeset/violet-pans-doubt.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/client": patch -"gradio": patch ---- - -fix:Improve file handling in JS Client diff --git a/.changeset/young-poets-change.md b/.changeset/young-poets-change.md deleted file mode 100644 index 41ff2c264b836..0000000000000 --- a/.changeset/young-poets-change.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@gradio/app": patch -"@gradio/client": patch -"@gradio/preview": patch -"gradio": patch ---- - -fix:Handle gradio apps using `state` in the JS Client diff --git a/CHANGELOG.md b/CHANGELOG.md index f1655bbeb6fe5..518c129340085 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # gradio +## 4.34.0 + +### Features + +- [#8370](https://github.com/gradio-app/gradio/pull/8370) [`48eeea4`](https://github.com/gradio-app/gradio/commit/48eeea4eaab7e24168688e3c3fbafb30e4e78d51) - Refactor Cancelling Logic To Use /cancel. Thanks @freddyaboulton! +- [#8460](https://github.com/gradio-app/gradio/pull/8460) [`8628899`](https://github.com/gradio-app/gradio/commit/86288993d9589ceb7bcc3e4d10f0adb6419d4ac5) - Support Bash in Api Recorder. Thanks @aliabd! +- [#8417](https://github.com/gradio-app/gradio/pull/8417) [`96d8de2`](https://github.com/gradio-app/gradio/commit/96d8de231270321da5f310768643363276df3204) - add delete event to `File` component. Thanks @pngwn! +- [#8444](https://github.com/gradio-app/gradio/pull/8444) [`2cd02ff`](https://github.com/gradio-app/gradio/commit/2cd02ff3b7c57cd69635d111ff25643eba30b9b0) - Remove deprecated parameters from Python Client. Thanks @abidlabs! +- [#8473](https://github.com/gradio-app/gradio/pull/8473) [`8ca93d4`](https://github.com/gradio-app/gradio/commit/8ca93d45dd9f8948cfe87fe16ef5943139e756a7) - Improve design of api recorder. Thanks @aliabd! +- [#8445](https://github.com/gradio-app/gradio/pull/8445) [`5c8915b`](https://github.com/gradio-app/gradio/commit/5c8915b11308756c3b7279864d240ea85f5a0b4a) - Add cURL to view API Page and add a dedicated Guide. Thanks @abidlabs! + +### Fixes + +- [#8477](https://github.com/gradio-app/gradio/pull/8477) [`d5a9604`](https://github.com/gradio-app/gradio/commit/d5a960493017a4890685af61d78ce7d3b3b12e6b) - Fix js client bundle. Thanks @pngwn! +- [#8451](https://github.com/gradio-app/gradio/pull/8451) [`9d2d605`](https://github.com/gradio-app/gradio/commit/9d2d6051caed5c8749a26a6fa7480a5ae6e6c4f3) - Change client submit API to be an AsyncIterable and support more platforms. Thanks @pngwn! +- [#8462](https://github.com/gradio-app/gradio/pull/8462) [`6447dfa`](https://github.com/gradio-app/gradio/commit/6447dface4d46db1c69460e8325a1928d0476a46) - Improve file handling in JS Client. Thanks @hannahblair! +- [#8439](https://github.com/gradio-app/gradio/pull/8439) [`63d36fb`](https://github.com/gradio-app/gradio/commit/63d36fbbf4bf6dc909be9a0ffc7b6bf6621d83e8) - Handle gradio apps using `state` in the JS Client. Thanks @hannahblair! + ## 4.33.0 ### Features diff --git a/client/js/CHANGELOG.md b/client/js/CHANGELOG.md index d6703754815a6..0d8aa88fc1959 100644 --- a/client/js/CHANGELOG.md +++ b/client/js/CHANGELOG.md @@ -1,5 +1,193 @@ # @gradio/client +## 1.0.0 + +### Highlights + +#### Clients 1.0 Launch! ([#8468](https://github.com/gradio-app/gradio/pull/8468) [`7cc0a0c`](https://github.com/gradio-app/gradio/commit/7cc0a0c1abea585c3f50ffb1ff78d2b08ddbdd92)) + +We're excited to unveil the first major release of the Gradio clients. +We've made it even easier to turn any Gradio application into a production endpoint thanks to the clients' **ergonomic**, **transparent**, and **portable** design. + +#### Ergonomic API πŸ’† + +**Stream From a Gradio app in 5 lines** + +Use the `submit` method to get a job you can iterate over: + +```python +from gradio_client import Client + +client = Client("gradio/llm_stream") + +for result in client.submit("What's the best UI framework in Python?"): + print(result) +``` + +```ts +import { Client } from "@gradio/client"; + +const client = await Client.connect("gradio/llm_stream") +const job = client.submit("/predict", {"text": "What's the best UI framework in Python?"}) + +for await (const msg of job) console.log(msg.data) +``` + +**Use the same keyword arguments as the app** + + +```python +from gradio_client import Client + +client = Client("http://127.0.0.1:7860/") +result = client.predict( + message="Hello!!", + system_prompt="You are helpful AI.", + tokens=10, + api_name="/chat" +) +print(result) +``` + +```ts +import { Client } from "@gradio/client"; + +const client = await Client.connect("http://127.0.0.1:7860/"); +const result = await client.predict("/chat", { + message: "Hello!!", + system_prompt: "Hello!!", + tokens: 10, +}); + +console.log(result.data); +``` + +**Better Error Messages** + +If something goes wrong in the upstream app, the client will raise the same exception as the app provided that `show_error=True` in the original app's `launch()` function, or it's a `gr.Error` exception. + +#### Transparent Design πŸͺŸ + +Anything you can do in the UI, you can do with the client: +* πŸ”’ Authentication +* πŸ›‘ Job Cancelling +* ℹ️ Access Queue Position and API +* πŸ“• View the API information + +Here's an example showing how to display the queue position of a pending job: + +```python +from gradio_client import Client + +client = Client("gradio/diffusion_model") + +job = client.submit("A cute cat") +while not job.done(): + status = job.status() + print(f"Current in position {status.rank} out of {status.queue_size}") +``` + +#### Portable Design ⛺️ + +The client can run from pretty much any python and javascript environment (node, deno, the browser, Service Workers). + +Here's an example using the client from a Flask server using gevent: + +```python +from gevent import monkey +monkey.patch_all() + +from gradio_client import Client +from flask import Flask, send_file +import time + +app = Flask(__name__) + +imageclient = Client("gradio/diffusion_model") + +@app.route("/gen") +def gen(): + result = imageclient.predict( + "A cute cat", + api_name="/predict" + ) + return send_file(result) + +if __name__ == "__main__": + app.run(host="0.0.0.0", port=5000) +``` + +#### 1.0 Migration Guide and Breaking Changes + +**Python** +- The `serialize` argument of the `Client` class was removed. Has no effect. +- The `upload_files` argument of the `Client` was removed. +- All filepaths must be wrapped in the `handle_file` method. Example: +```python +from gradio_client import Client, handle_file + +client = Client("gradio/image_captioner") +client.predict(handle_file("cute_cat.jpg")) +``` +- The `output_dir` argument was removed. It is not specified in the `download_files` argument. + + +**Javascript** +The client has been redesigned entirely. It was refactored from a function into a class. An instance can now be constructed by awaiting the `connect` method. + +```js +const app = await Client.connect("gradio/whisper") +``` +The app variable has the same methods as the python class (`submit`, `predict`, `view_api`, `duplicate`). + + + +#### Additional Changes + +- [#8243](https://github.com/gradio-app/gradio/pull/8243) - Set orig_name in python client file uploads. +- [#8264](https://github.com/gradio-app/gradio/pull/8264) - Make exceptions in the Client more specific. +- [#8247](https://github.com/gradio-app/gradio/pull/8247) - Fix api recorder. +- [#8276](https://github.com/gradio-app/gradio/pull/8276) - Fix bug where client could not connect to apps that had self signed certificates. +- [#8245](https://github.com/gradio-app/gradio/pull/8245) - Cancel server progress from the python client. +- [#8200](https://github.com/gradio-app/gradio/pull/8200) - Support custom components in gr.load +- [#8182](https://github.com/gradio-app/gradio/pull/8182) - Convert sse calls in client from async to sync. +- [#7732](https://github.com/gradio-app/gradio/pull/7732) - Adds support for kwargs and default arguments in the python client, and improves how parameter information is displayed in the "view API" page. +- [#7888](https://github.com/gradio-app/gradio/pull/7888) - Cache view_api info in server and python client. +- [#7575](https://github.com/gradio-app/gradio/pull/7575) - Files should now be supplied as `file(...)` in the Client, and some fixes to `gr.load()` as well. +- [#8401](https://github.com/gradio-app/gradio/pull/8401) - Add CDN installation to JS docs. +- [#8299](https://github.com/gradio-app/gradio/pull/8299) - Allow JS Client to work with authenticated spaces πŸͺ. +- [#8408](https://github.com/gradio-app/gradio/pull/8408) - Connect heartbeat if state created in render. Also fix config cleanup bug #8407. +- [#8258](https://github.com/gradio-app/gradio/pull/8258) - Improve URL handling in JS Client. +- [#8322](https://github.com/gradio-app/gradio/pull/8322) - ensure the client correctly handles all binary data. +- [#8296](https://github.com/gradio-app/gradio/pull/8296) - always create a jwt when connecting to a space if a hf_token is present. +- [#8285](https://github.com/gradio-app/gradio/pull/8285) - use the correct query param to pass the jwt to the heartbeat event. +- [#8272](https://github.com/gradio-app/gradio/pull/8272) - ensure client works for private spaces. +- [#8197](https://github.com/gradio-app/gradio/pull/8197) - Add support for passing keyword args to `data` in JS client. +- [#8252](https://github.com/gradio-app/gradio/pull/8252) - Client node fix. +- [#8209](https://github.com/gradio-app/gradio/pull/8209) - Rename `eventSource_Factory` and `fetch_implementation`. +- [#8109](https://github.com/gradio-app/gradio/pull/8109) - Implement JS Client tests. +- [#8211](https://github.com/gradio-app/gradio/pull/8211) - remove redundant event source logic. +- [#8179](https://github.com/gradio-app/gradio/pull/8179) - rework upload to be a class method + pass client into each component. +- [#8181](https://github.com/gradio-app/gradio/pull/8181) - Ensure connectivity to private HF spaces with SSE protocol. +- [#8169](https://github.com/gradio-app/gradio/pull/8169) - Only connect to heartbeat if needed. +- [#8118](https://github.com/gradio-app/gradio/pull/8118) - Add eventsource polyfill for Node.js and browser environments. +- [#7646](https://github.com/gradio-app/gradio/pull/7646) - Refactor JS Client. +- [#7974](https://github.com/gradio-app/gradio/pull/7974) - Fix heartbeat in the js client to be Lite compatible. +- [#7926](https://github.com/gradio-app/gradio/pull/7926) - Fixes streaming event race condition. + + Thanks @freddyaboulton! + +### Features + +- [#8370](https://github.com/gradio-app/gradio/pull/8370) [`48eeea4`](https://github.com/gradio-app/gradio/commit/48eeea4eaab7e24168688e3c3fbafb30e4e78d51) - Refactor Cancelling Logic To Use /cancel. Thanks @freddyaboulton! + +### Fixes + +- [#8477](https://github.com/gradio-app/gradio/pull/8477) [`d5a9604`](https://github.com/gradio-app/gradio/commit/d5a960493017a4890685af61d78ce7d3b3b12e6b) - Fix js client bundle. Thanks @pngwn! +- [#8451](https://github.com/gradio-app/gradio/pull/8451) [`9d2d605`](https://github.com/gradio-app/gradio/commit/9d2d6051caed5c8749a26a6fa7480a5ae6e6c4f3) - Change client submit API to be an AsyncIterable and support more platforms. Thanks @pngwn! +- [#8462](https://github.com/gradio-app/gradio/pull/8462) [`6447dfa`](https://github.com/gradio-app/gradio/commit/6447dface4d46db1c69460e8325a1928d0476a46) - Improve file handling in JS Client. Thanks @hannahblair! +- [#8439](https://github.com/gradio-app/gradio/pull/8439) [`63d36fb`](https://github.com/gradio-app/gradio/commit/63d36fbbf4bf6dc909be9a0ffc7b6bf6621d83e8) - Handle gradio apps using `state` in the JS Client. Thanks @hannahblair! + ## 0.20.1 ### Features diff --git a/client/js/package.json b/client/js/package.json index 043bf7ed5491e..1cbb3594d4766 100644 --- a/client/js/package.json +++ b/client/js/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/client", - "version": "0.20.1", + "version": "1.0.0", "description": "Gradio API client", "type": "module", "main": "dist/index.js", diff --git a/client/python/CHANGELOG.md b/client/python/CHANGELOG.md index 915e614661568..99ec0f0c625aa 100644 --- a/client/python/CHANGELOG.md +++ b/client/python/CHANGELOG.md @@ -1,5 +1,186 @@ # gradio_client +## 1.0.0 + +### Highlights + +#### Clients 1.0 Launch! ([#8468](https://github.com/gradio-app/gradio/pull/8468) [`7cc0a0c`](https://github.com/gradio-app/gradio/commit/7cc0a0c1abea585c3f50ffb1ff78d2b08ddbdd92)) + +We're excited to unveil the first major release of the Gradio clients. +We've made it even easier to turn any Gradio application into a production endpoint thanks to the clients' **ergonomic**, **transparent**, and **portable** design. + +#### Ergonomic API πŸ’† + +**Stream From a Gradio app in 5 lines** + +Use the `submit` method to get a job you can iterate over: + +```python +from gradio_client import Client + +client = Client("gradio/llm_stream") + +for result in client.submit("What's the best UI framework in Python?"): + print(result) +``` + +```ts +import { Client } from "@gradio/client"; + +const client = await Client.connect("gradio/llm_stream") +const job = client.submit("/predict", {"text": "What's the best UI framework in Python?"}) + +for await (const msg of job) console.log(msg.data) +``` + +**Use the same keyword arguments as the app** + + +```python +from gradio_client import Client + +client = Client("http://127.0.0.1:7860/") +result = client.predict( + message="Hello!!", + system_prompt="You are helpful AI.", + tokens=10, + api_name="/chat" +) +print(result) +``` + +```ts +import { Client } from "@gradio/client"; + +const client = await Client.connect("http://127.0.0.1:7860/"); +const result = await client.predict("/chat", { + message: "Hello!!", + system_prompt: "Hello!!", + tokens: 10, +}); + +console.log(result.data); +``` + +**Better Error Messages** + +If something goes wrong in the upstream app, the client will raise the same exception as the app provided that `show_error=True` in the original app's `launch()` function, or it's a `gr.Error` exception. + +#### Transparent Design πŸͺŸ + +Anything you can do in the UI, you can do with the client: +* πŸ”’ Authentication +* πŸ›‘ Job Cancelling +* ℹ️ Access Queue Position and API +* πŸ“• View the API information + +Here's an example showing how to display the queue position of a pending job: + +```python +from gradio_client import Client + +client = Client("gradio/diffusion_model") + +job = client.submit("A cute cat") +while not job.done(): + status = job.status() + print(f"Current in position {status.rank} out of {status.queue_size}") +``` + +#### Portable Design ⛺️ + +The client can run from pretty much any python and javascript environment (node, deno, the browser, Service Workers). + +Here's an example using the client from a Flask server using gevent: + +```python +from gevent import monkey +monkey.patch_all() + +from gradio_client import Client +from flask import Flask, send_file +import time + +app = Flask(__name__) + +imageclient = Client("gradio/diffusion_model") + +@app.route("/gen") +def gen(): + result = imageclient.predict( + "A cute cat", + api_name="/predict" + ) + return send_file(result) + +if __name__ == "__main__": + app.run(host="0.0.0.0", port=5000) +``` + +#### 1.0 Migration Guide and Breaking Changes + +**Python** +- The `serialize` argument of the `Client` class was removed. Has no effect. +- The `upload_files` argument of the `Client` was removed. +- All filepaths must be wrapped in the `handle_file` method. Example: +```python +from gradio_client import Client, handle_file + +client = Client("gradio/image_captioner") +client.predict(handle_file("cute_cat.jpg")) +``` +- The `output_dir` argument was removed. It is not specified in the `download_files` argument. + + +**Javascript** +The client has been redesigned entirely. It was refactored from a function into a class. An instance can now be constructed by awaiting the `connect` method. + +```js +const app = await Client.connect("gradio/whisper") +``` +The app variable has the same methods as the python class (`submit`, `predict`, `view_api`, `duplicate`). + + + +#### Additional Changes + +- [#8243](https://github.com/gradio-app/gradio/pull/8243) - Set orig_name in python client file uploads. +- [#8264](https://github.com/gradio-app/gradio/pull/8264) - Make exceptions in the Client more specific. +- [#8247](https://github.com/gradio-app/gradio/pull/8247) - Fix api recorder. +- [#8276](https://github.com/gradio-app/gradio/pull/8276) - Fix bug where client could not connect to apps that had self signed certificates. +- [#8245](https://github.com/gradio-app/gradio/pull/8245) - Cancel server progress from the python client. +- [#8200](https://github.com/gradio-app/gradio/pull/8200) - Support custom components in gr.load +- [#8182](https://github.com/gradio-app/gradio/pull/8182) - Convert sse calls in client from async to sync. +- [#7732](https://github.com/gradio-app/gradio/pull/7732) - Adds support for kwargs and default arguments in the python client, and improves how parameter information is displayed in the "view API" page. +- [#7888](https://github.com/gradio-app/gradio/pull/7888) - Cache view_api info in server and python client. +- [#7575](https://github.com/gradio-app/gradio/pull/7575) - Files should now be supplied as `file(...)` in the Client, and some fixes to `gr.load()` as well. +- [#8401](https://github.com/gradio-app/gradio/pull/8401) - Add CDN installation to JS docs. +- [#8299](https://github.com/gradio-app/gradio/pull/8299) - Allow JS Client to work with authenticated spaces πŸͺ. +- [#8408](https://github.com/gradio-app/gradio/pull/8408) - Connect heartbeat if state created in render. Also fix config cleanup bug #8407. +- [#8258](https://github.com/gradio-app/gradio/pull/8258) - Improve URL handling in JS Client. +- [#8322](https://github.com/gradio-app/gradio/pull/8322) - ensure the client correctly handles all binary data. +- [#8296](https://github.com/gradio-app/gradio/pull/8296) - always create a jwt when connecting to a space if a hf_token is present. +- [#8285](https://github.com/gradio-app/gradio/pull/8285) - use the correct query param to pass the jwt to the heartbeat event. +- [#8272](https://github.com/gradio-app/gradio/pull/8272) - ensure client works for private spaces. +- [#8197](https://github.com/gradio-app/gradio/pull/8197) - Add support for passing keyword args to `data` in JS client. +- [#8252](https://github.com/gradio-app/gradio/pull/8252) - Client node fix. +- [#8209](https://github.com/gradio-app/gradio/pull/8209) - Rename `eventSource_Factory` and `fetch_implementation`. +- [#8109](https://github.com/gradio-app/gradio/pull/8109) - Implement JS Client tests. +- [#8211](https://github.com/gradio-app/gradio/pull/8211) - remove redundant event source logic. +- [#8179](https://github.com/gradio-app/gradio/pull/8179) - rework upload to be a class method + pass client into each component. +- [#8181](https://github.com/gradio-app/gradio/pull/8181) - Ensure connectivity to private HF spaces with SSE protocol. +- [#8169](https://github.com/gradio-app/gradio/pull/8169) - Only connect to heartbeat if needed. +- [#8118](https://github.com/gradio-app/gradio/pull/8118) - Add eventsource polyfill for Node.js and browser environments. +- [#7646](https://github.com/gradio-app/gradio/pull/7646) - Refactor JS Client. +- [#7974](https://github.com/gradio-app/gradio/pull/7974) - Fix heartbeat in the js client to be Lite compatible. +- [#7926](https://github.com/gradio-app/gradio/pull/7926) - Fixes streaming event race condition. + + Thanks @freddyaboulton! + +### Features + +- [#8444](https://github.com/gradio-app/gradio/pull/8444) [`2cd02ff`](https://github.com/gradio-app/gradio/commit/2cd02ff3b7c57cd69635d111ff25643eba30b9b0) - Remove deprecated parameters from Python Client. Thanks @abidlabs! + ## 0.17.0 ### Features diff --git a/client/python/gradio_client/CHANGELOG.md b/client/python/gradio_client/CHANGELOG.md index 915e614661568..99ec0f0c625aa 100644 --- a/client/python/gradio_client/CHANGELOG.md +++ b/client/python/gradio_client/CHANGELOG.md @@ -1,5 +1,186 @@ # gradio_client +## 1.0.0 + +### Highlights + +#### Clients 1.0 Launch! ([#8468](https://github.com/gradio-app/gradio/pull/8468) [`7cc0a0c`](https://github.com/gradio-app/gradio/commit/7cc0a0c1abea585c3f50ffb1ff78d2b08ddbdd92)) + +We're excited to unveil the first major release of the Gradio clients. +We've made it even easier to turn any Gradio application into a production endpoint thanks to the clients' **ergonomic**, **transparent**, and **portable** design. + +#### Ergonomic API πŸ’† + +**Stream From a Gradio app in 5 lines** + +Use the `submit` method to get a job you can iterate over: + +```python +from gradio_client import Client + +client = Client("gradio/llm_stream") + +for result in client.submit("What's the best UI framework in Python?"): + print(result) +``` + +```ts +import { Client } from "@gradio/client"; + +const client = await Client.connect("gradio/llm_stream") +const job = client.submit("/predict", {"text": "What's the best UI framework in Python?"}) + +for await (const msg of job) console.log(msg.data) +``` + +**Use the same keyword arguments as the app** + + +```python +from gradio_client import Client + +client = Client("http://127.0.0.1:7860/") +result = client.predict( + message="Hello!!", + system_prompt="You are helpful AI.", + tokens=10, + api_name="/chat" +) +print(result) +``` + +```ts +import { Client } from "@gradio/client"; + +const client = await Client.connect("http://127.0.0.1:7860/"); +const result = await client.predict("/chat", { + message: "Hello!!", + system_prompt: "Hello!!", + tokens: 10, +}); + +console.log(result.data); +``` + +**Better Error Messages** + +If something goes wrong in the upstream app, the client will raise the same exception as the app provided that `show_error=True` in the original app's `launch()` function, or it's a `gr.Error` exception. + +#### Transparent Design πŸͺŸ + +Anything you can do in the UI, you can do with the client: +* πŸ”’ Authentication +* πŸ›‘ Job Cancelling +* ℹ️ Access Queue Position and API +* πŸ“• View the API information + +Here's an example showing how to display the queue position of a pending job: + +```python +from gradio_client import Client + +client = Client("gradio/diffusion_model") + +job = client.submit("A cute cat") +while not job.done(): + status = job.status() + print(f"Current in position {status.rank} out of {status.queue_size}") +``` + +#### Portable Design ⛺️ + +The client can run from pretty much any python and javascript environment (node, deno, the browser, Service Workers). + +Here's an example using the client from a Flask server using gevent: + +```python +from gevent import monkey +monkey.patch_all() + +from gradio_client import Client +from flask import Flask, send_file +import time + +app = Flask(__name__) + +imageclient = Client("gradio/diffusion_model") + +@app.route("/gen") +def gen(): + result = imageclient.predict( + "A cute cat", + api_name="/predict" + ) + return send_file(result) + +if __name__ == "__main__": + app.run(host="0.0.0.0", port=5000) +``` + +#### 1.0 Migration Guide and Breaking Changes + +**Python** +- The `serialize` argument of the `Client` class was removed. Has no effect. +- The `upload_files` argument of the `Client` was removed. +- All filepaths must be wrapped in the `handle_file` method. Example: +```python +from gradio_client import Client, handle_file + +client = Client("gradio/image_captioner") +client.predict(handle_file("cute_cat.jpg")) +``` +- The `output_dir` argument was removed. It is not specified in the `download_files` argument. + + +**Javascript** +The client has been redesigned entirely. It was refactored from a function into a class. An instance can now be constructed by awaiting the `connect` method. + +```js +const app = await Client.connect("gradio/whisper") +``` +The app variable has the same methods as the python class (`submit`, `predict`, `view_api`, `duplicate`). + + + +#### Additional Changes + +- [#8243](https://github.com/gradio-app/gradio/pull/8243) - Set orig_name in python client file uploads. +- [#8264](https://github.com/gradio-app/gradio/pull/8264) - Make exceptions in the Client more specific. +- [#8247](https://github.com/gradio-app/gradio/pull/8247) - Fix api recorder. +- [#8276](https://github.com/gradio-app/gradio/pull/8276) - Fix bug where client could not connect to apps that had self signed certificates. +- [#8245](https://github.com/gradio-app/gradio/pull/8245) - Cancel server progress from the python client. +- [#8200](https://github.com/gradio-app/gradio/pull/8200) - Support custom components in gr.load +- [#8182](https://github.com/gradio-app/gradio/pull/8182) - Convert sse calls in client from async to sync. +- [#7732](https://github.com/gradio-app/gradio/pull/7732) - Adds support for kwargs and default arguments in the python client, and improves how parameter information is displayed in the "view API" page. +- [#7888](https://github.com/gradio-app/gradio/pull/7888) - Cache view_api info in server and python client. +- [#7575](https://github.com/gradio-app/gradio/pull/7575) - Files should now be supplied as `file(...)` in the Client, and some fixes to `gr.load()` as well. +- [#8401](https://github.com/gradio-app/gradio/pull/8401) - Add CDN installation to JS docs. +- [#8299](https://github.com/gradio-app/gradio/pull/8299) - Allow JS Client to work with authenticated spaces πŸͺ. +- [#8408](https://github.com/gradio-app/gradio/pull/8408) - Connect heartbeat if state created in render. Also fix config cleanup bug #8407. +- [#8258](https://github.com/gradio-app/gradio/pull/8258) - Improve URL handling in JS Client. +- [#8322](https://github.com/gradio-app/gradio/pull/8322) - ensure the client correctly handles all binary data. +- [#8296](https://github.com/gradio-app/gradio/pull/8296) - always create a jwt when connecting to a space if a hf_token is present. +- [#8285](https://github.com/gradio-app/gradio/pull/8285) - use the correct query param to pass the jwt to the heartbeat event. +- [#8272](https://github.com/gradio-app/gradio/pull/8272) - ensure client works for private spaces. +- [#8197](https://github.com/gradio-app/gradio/pull/8197) - Add support for passing keyword args to `data` in JS client. +- [#8252](https://github.com/gradio-app/gradio/pull/8252) - Client node fix. +- [#8209](https://github.com/gradio-app/gradio/pull/8209) - Rename `eventSource_Factory` and `fetch_implementation`. +- [#8109](https://github.com/gradio-app/gradio/pull/8109) - Implement JS Client tests. +- [#8211](https://github.com/gradio-app/gradio/pull/8211) - remove redundant event source logic. +- [#8179](https://github.com/gradio-app/gradio/pull/8179) - rework upload to be a class method + pass client into each component. +- [#8181](https://github.com/gradio-app/gradio/pull/8181) - Ensure connectivity to private HF spaces with SSE protocol. +- [#8169](https://github.com/gradio-app/gradio/pull/8169) - Only connect to heartbeat if needed. +- [#8118](https://github.com/gradio-app/gradio/pull/8118) - Add eventsource polyfill for Node.js and browser environments. +- [#7646](https://github.com/gradio-app/gradio/pull/7646) - Refactor JS Client. +- [#7974](https://github.com/gradio-app/gradio/pull/7974) - Fix heartbeat in the js client to be Lite compatible. +- [#7926](https://github.com/gradio-app/gradio/pull/7926) - Fixes streaming event race condition. + + Thanks @freddyaboulton! + +### Features + +- [#8444](https://github.com/gradio-app/gradio/pull/8444) [`2cd02ff`](https://github.com/gradio-app/gradio/commit/2cd02ff3b7c57cd69635d111ff25643eba30b9b0) - Remove deprecated parameters from Python Client. Thanks @abidlabs! + ## 0.17.0 ### Features diff --git a/client/python/gradio_client/package.json b/client/python/gradio_client/package.json index ec4396529fb5e..9563f5a5c349f 100644 --- a/client/python/gradio_client/package.json +++ b/client/python/gradio_client/package.json @@ -1,6 +1,6 @@ { "name": "gradio_client", - "version": "0.17.0", + "version": "1.0.0", "description": "", "python": "true", "main_changeset": true diff --git a/gradio/CHANGELOG.md b/gradio/CHANGELOG.md index f1655bbeb6fe5..518c129340085 100644 --- a/gradio/CHANGELOG.md +++ b/gradio/CHANGELOG.md @@ -1,5 +1,23 @@ # gradio +## 4.34.0 + +### Features + +- [#8370](https://github.com/gradio-app/gradio/pull/8370) [`48eeea4`](https://github.com/gradio-app/gradio/commit/48eeea4eaab7e24168688e3c3fbafb30e4e78d51) - Refactor Cancelling Logic To Use /cancel. Thanks @freddyaboulton! +- [#8460](https://github.com/gradio-app/gradio/pull/8460) [`8628899`](https://github.com/gradio-app/gradio/commit/86288993d9589ceb7bcc3e4d10f0adb6419d4ac5) - Support Bash in Api Recorder. Thanks @aliabd! +- [#8417](https://github.com/gradio-app/gradio/pull/8417) [`96d8de2`](https://github.com/gradio-app/gradio/commit/96d8de231270321da5f310768643363276df3204) - add delete event to `File` component. Thanks @pngwn! +- [#8444](https://github.com/gradio-app/gradio/pull/8444) [`2cd02ff`](https://github.com/gradio-app/gradio/commit/2cd02ff3b7c57cd69635d111ff25643eba30b9b0) - Remove deprecated parameters from Python Client. Thanks @abidlabs! +- [#8473](https://github.com/gradio-app/gradio/pull/8473) [`8ca93d4`](https://github.com/gradio-app/gradio/commit/8ca93d45dd9f8948cfe87fe16ef5943139e756a7) - Improve design of api recorder. Thanks @aliabd! +- [#8445](https://github.com/gradio-app/gradio/pull/8445) [`5c8915b`](https://github.com/gradio-app/gradio/commit/5c8915b11308756c3b7279864d240ea85f5a0b4a) - Add cURL to view API Page and add a dedicated Guide. Thanks @abidlabs! + +### Fixes + +- [#8477](https://github.com/gradio-app/gradio/pull/8477) [`d5a9604`](https://github.com/gradio-app/gradio/commit/d5a960493017a4890685af61d78ce7d3b3b12e6b) - Fix js client bundle. Thanks @pngwn! +- [#8451](https://github.com/gradio-app/gradio/pull/8451) [`9d2d605`](https://github.com/gradio-app/gradio/commit/9d2d6051caed5c8749a26a6fa7480a5ae6e6c4f3) - Change client submit API to be an AsyncIterable and support more platforms. Thanks @pngwn! +- [#8462](https://github.com/gradio-app/gradio/pull/8462) [`6447dfa`](https://github.com/gradio-app/gradio/commit/6447dface4d46db1c69460e8325a1928d0476a46) - Improve file handling in JS Client. Thanks @hannahblair! +- [#8439](https://github.com/gradio-app/gradio/pull/8439) [`63d36fb`](https://github.com/gradio-app/gradio/commit/63d36fbbf4bf6dc909be9a0ffc7b6bf6621d83e8) - Handle gradio apps using `state` in the JS Client. Thanks @hannahblair! + ## 4.33.0 ### Features diff --git a/gradio/package.json b/gradio/package.json index 5bb9a60fc1cbc..58e275254dfbd 100644 --- a/gradio/package.json +++ b/gradio/package.json @@ -1,6 +1,6 @@ { "name": "gradio", - "version": "4.33.0", + "version": "4.34.0", "description": "", "python": "true" } diff --git a/js/_spaces-test/CHANGELOG.md b/js/_spaces-test/CHANGELOG.md index 38a251c523ecc..e455d530bab83 100644 --- a/js/_spaces-test/CHANGELOG.md +++ b/js/_spaces-test/CHANGELOG.md @@ -4,6 +4,13 @@ ### Dependency updates +- @gradio/client@1.0.0 +- @gradio/form@0.1.18 + +## 0.0.1 + +### Dependency updates + - @gradio/client@0.20.1 ## 0.0.1 diff --git a/js/_website/CHANGELOG.md b/js/_website/CHANGELOG.md index 2f0b503f2e273..2f684eabea2d0 100644 --- a/js/_website/CHANGELOG.md +++ b/js/_website/CHANGELOG.md @@ -1,5 +1,15 @@ # website +## 0.31.3 + +### Features + +- [#8471](https://github.com/gradio-app/gradio/pull/8471) [`a9e6595`](https://github.com/gradio-app/gradio/commit/a9e6595817b741c3dcf1eaedf58ee4f901784e57) - Tweak meta titles and descriptions for clients. Thanks @aliabd! + +### Dependency updates + +- @gradio/code@0.6.9 + ## 0.31.2 ### Features diff --git a/js/_website/package.json b/js/_website/package.json index f723108a6b580..56d86d2e85cd5 100644 --- a/js/_website/package.json +++ b/js/_website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "0.31.2", + "version": "0.31.3", "private": true, "scripts": { "dev": "pip install boto3 && python generate_jsons/generate.py && vite dev", diff --git a/js/accordion/CHANGELOG.md b/js/accordion/CHANGELOG.md index 6dd1d75f10323..53c0a7abd2e21 100644 --- a/js/accordion/CHANGELOG.md +++ b/js/accordion/CHANGELOG.md @@ -2,6 +2,13 @@ ## 0.3.16 +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/column@0.1.2 + +## 0.3.16 + ### Fixes - [#8284](https://github.com/gradio-app/gradio/pull/8284) [`2d705bc`](https://github.com/gradio-app/gradio/commit/2d705bcf7475eb46822358fed21dc081a800a73d) - Add body color to `gr.Accordion`. Thanks @hannahblair! diff --git a/js/annotatedimage/CHANGELOG.md b/js/annotatedimage/CHANGELOG.md index 2fed887453032..25475bc69e0df 100644 --- a/js/annotatedimage/CHANGELOG.md +++ b/js/annotatedimage/CHANGELOG.md @@ -1,5 +1,13 @@ # @gradio/annotatedimage +## 0.6.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 + ## 0.6.7 ### Dependency updates diff --git a/js/annotatedimage/package.json b/js/annotatedimage/package.json index 946bd1ad62427..39edc5c18a2ab 100644 --- a/js/annotatedimage/package.json +++ b/js/annotatedimage/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/annotatedimage", - "version": "0.6.7", + "version": "0.6.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/app/CHANGELOG.md b/js/app/CHANGELOG.md index 55fddb9bb9ae8..d76cec6041d9f 100644 --- a/js/app/CHANGELOG.md +++ b/js/app/CHANGELOG.md @@ -1,5 +1,69 @@ # @gradio/app +## 1.36.0 + +### Features + +- [#8370](https://github.com/gradio-app/gradio/pull/8370) [`48eeea4`](https://github.com/gradio-app/gradio/commit/48eeea4eaab7e24168688e3c3fbafb30e4e78d51) - Refactor Cancelling Logic To Use /cancel. Thanks @freddyaboulton! +- [#8460](https://github.com/gradio-app/gradio/pull/8460) [`8628899`](https://github.com/gradio-app/gradio/commit/86288993d9589ceb7bcc3e4d10f0adb6419d4ac5) - Support Bash in Api Recorder. Thanks @aliabd! +- [#8444](https://github.com/gradio-app/gradio/pull/8444) [`2cd02ff`](https://github.com/gradio-app/gradio/commit/2cd02ff3b7c57cd69635d111ff25643eba30b9b0) - Remove deprecated parameters from Python Client. Thanks @abidlabs! +- [#8473](https://github.com/gradio-app/gradio/pull/8473) [`8ca93d4`](https://github.com/gradio-app/gradio/commit/8ca93d45dd9f8948cfe87fe16ef5943139e756a7) - Improve design of api recorder. Thanks @aliabd! +- [#8445](https://github.com/gradio-app/gradio/pull/8445) [`5c8915b`](https://github.com/gradio-app/gradio/commit/5c8915b11308756c3b7279864d240ea85f5a0b4a) - Add cURL to view API Page and add a dedicated Guide. Thanks @abidlabs! + +### Fixes + +- [#8451](https://github.com/gradio-app/gradio/pull/8451) [`9d2d605`](https://github.com/gradio-app/gradio/commit/9d2d6051caed5c8749a26a6fa7480a5ae6e6c4f3) - Change client submit API to be an AsyncIterable and support more platforms. Thanks @pngwn! +- [#8439](https://github.com/gradio-app/gradio/pull/8439) [`63d36fb`](https://github.com/gradio-app/gradio/commit/63d36fbbf4bf6dc909be9a0ffc7b6bf6621d83e8) - Handle gradio apps using `state` in the JS Client. Thanks @hannahblair! + +### Dependency updates + +- @gradio/code@0.6.9 +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/file@0.8.0 +- @gradio/upload@0.11.0 +- @gradio/annotatedimage@0.6.8 +- @gradio/audio@0.11.8 +- @gradio/button@0.2.41 +- @gradio/chatbot@0.10.9 +- @gradio/dataframe@0.8.8 +- @gradio/dataset@0.1.41 +- @gradio/downloadbutton@0.1.18 +- @gradio/fileexplorer@0.4.9 +- @gradio/gallery@0.10.8 +- @gradio/image@0.11.8 +- @gradio/imageeditor@0.7.8 +- @gradio/model3d@0.10.8 +- @gradio/multimodaltextbox@0.4.9 +- @gradio/simpleimage@0.5.8 +- @gradio/uploadbutton@0.6.9 +- @gradio/video@0.8.8 +- @gradio/accordion@0.3.16 +- @gradio/checkbox@0.3.6 +- @gradio/checkboxgroup@0.5.6 +- @gradio/colorpicker@0.3.6 +- @gradio/column@0.1.2 +- @gradio/dropdown@0.7.6 +- @gradio/fallback@0.3.6 +- @gradio/form@0.1.18 +- @gradio/group@0.1.1 +- @gradio/highlightedtext@0.7.0 +- @gradio/html@0.2.6 +- @gradio/json@0.2.6 +- @gradio/label@0.3.6 +- @gradio/markdown@0.7.6 +- @gradio/number@0.4.6 +- @gradio/paramviewer@0.4.15 +- @gradio/plot@0.4.6 +- @gradio/radio@0.5.6 +- @gradio/row@0.1.3 +- @gradio/simpledropdown@0.2.6 +- @gradio/simpletextbox@0.2.6 +- @gradio/slider@0.4.6 +- @gradio/tabitem@0.2.10 +- @gradio/tabs@0.2.9 +- @gradio/textbox@0.6.5 + ## 1.35.9 ### Dependency updates diff --git a/js/app/package.json b/js/app/package.json index 8222dd81db487..584643e99faae 100644 --- a/js/app/package.json +++ b/js/app/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/app", - "version": "1.35.9", + "version": "1.36.0", "private": true, "type": "module", "scripts": { diff --git a/js/audio/CHANGELOG.md b/js/audio/CHANGELOG.md index 43925c056f5fe..b0faf71374590 100644 --- a/js/audio/CHANGELOG.md +++ b/js/audio/CHANGELOG.md @@ -1,5 +1,14 @@ # @gradio/audio +## 0.11.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 +- @gradio/button@0.2.41 + ## 0.11.7 ### Dependency updates diff --git a/js/audio/package.json b/js/audio/package.json index 13f7fa3be73a2..837e872443d81 100644 --- a/js/audio/package.json +++ b/js/audio/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/audio", - "version": "0.11.7", + "version": "0.11.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/button/CHANGELOG.md b/js/button/CHANGELOG.md index 3a32c17966cc8..50f850151323f 100644 --- a/js/button/CHANGELOG.md +++ b/js/button/CHANGELOG.md @@ -1,5 +1,12 @@ # @gradio/button +## 0.2.41 + +### Dependency updates + +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 + ## 0.2.40 ### Dependency updates diff --git a/js/button/package.json b/js/button/package.json index bb8e76fb5949f..9fa7115faa855 100644 --- a/js/button/package.json +++ b/js/button/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/button", - "version": "0.2.40", + "version": "0.2.41", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/chatbot/CHANGELOG.md b/js/chatbot/CHANGELOG.md index 24b2df835263d..0407069de4d2a 100644 --- a/js/chatbot/CHANGELOG.md +++ b/js/chatbot/CHANGELOG.md @@ -1,5 +1,17 @@ # @gradio/chatbot +## 0.10.9 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 +- @gradio/audio@0.11.8 +- @gradio/image@0.11.8 +- @gradio/video@0.8.8 +- @gradio/markdown@0.7.6 + ## 0.10.8 ### Features diff --git a/js/chatbot/package.json b/js/chatbot/package.json index 454fa5cdd22a5..64b9e6cb4878d 100644 --- a/js/chatbot/package.json +++ b/js/chatbot/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/chatbot", - "version": "0.10.8", + "version": "0.10.9", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/checkbox/CHANGELOG.md b/js/checkbox/CHANGELOG.md index c49b6d12cedf3..0bcb530427cf3 100644 --- a/js/checkbox/CHANGELOG.md +++ b/js/checkbox/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.3.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.3.5 ### Dependency updates diff --git a/js/checkboxgroup/CHANGELOG.md b/js/checkboxgroup/CHANGELOG.md index 2da856fff56ca..92b8eeb838bda 100644 --- a/js/checkboxgroup/CHANGELOG.md +++ b/js/checkboxgroup/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.5.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.5.5 ### Dependency updates diff --git a/js/code/CHANGELOG.md b/js/code/CHANGELOG.md index 57999d2e82273..bce02b710f7b0 100644 --- a/js/code/CHANGELOG.md +++ b/js/code/CHANGELOG.md @@ -1,5 +1,12 @@ # @gradio/code +## 0.6.9 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/upload@0.11.0 + ## 0.6.8 ### Dependency updates diff --git a/js/code/package.json b/js/code/package.json index df49acad39506..304ef3ed65754 100644 --- a/js/code/package.json +++ b/js/code/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/code", - "version": "0.6.8", + "version": "0.6.9", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/colorpicker/CHANGELOG.md b/js/colorpicker/CHANGELOG.md index d5ba6151eaf9f..f6f0a8d9b2a70 100644 --- a/js/colorpicker/CHANGELOG.md +++ b/js/colorpicker/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.3.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.3.5 ### Dependency updates diff --git a/js/column/CHANGELOG.md b/js/column/CHANGELOG.md index 1832c8d04e60b..84243895d2a44 100644 --- a/js/column/CHANGELOG.md +++ b/js/column/CHANGELOG.md @@ -2,6 +2,12 @@ ## 0.1.2 +### Dependency updates + +- @gradio/statustracker@0.6.0 + +## 0.1.2 + ### Features - [#8398](https://github.com/gradio-app/gradio/pull/8398) [`945ac83`](https://github.com/gradio-app/gradio/commit/945ac837e779b120790814ea6f6f81bd2712f5f8) - Improve rendering. Thanks @aliabid94! diff --git a/js/dataframe/CHANGELOG.md b/js/dataframe/CHANGELOG.md index e70e45127c209..a0580a221886a 100644 --- a/js/dataframe/CHANGELOG.md +++ b/js/dataframe/CHANGELOG.md @@ -1,5 +1,15 @@ # @gradio/dataframe +## 0.8.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 +- @gradio/button@0.2.41 +- @gradio/markdown@0.7.6 + ## 0.8.7 ### Dependency updates diff --git a/js/dataframe/package.json b/js/dataframe/package.json index 88396c70c353b..215ed3db982f5 100644 --- a/js/dataframe/package.json +++ b/js/dataframe/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/dataframe", - "version": "0.8.7", + "version": "0.8.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/dataset/CHANGELOG.md b/js/dataset/CHANGELOG.md index 07ad66b11d9ea..823471840b9dc 100644 --- a/js/dataset/CHANGELOG.md +++ b/js/dataset/CHANGELOG.md @@ -1,5 +1,12 @@ # @gradio/dataset +## 0.1.41 + +### Dependency updates + +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 + ## 0.1.40 ### Dependency updates diff --git a/js/dataset/package.json b/js/dataset/package.json index 107dfbab39ed7..43259f02b7250 100644 --- a/js/dataset/package.json +++ b/js/dataset/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/dataset", - "version": "0.1.40", + "version": "0.1.41", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/downloadbutton/CHANGELOG.md b/js/downloadbutton/CHANGELOG.md index 32157f5ec393f..e454102f4d0ad 100644 --- a/js/downloadbutton/CHANGELOG.md +++ b/js/downloadbutton/CHANGELOG.md @@ -1,5 +1,12 @@ # @gradio/downloadbutton +## 0.1.18 + +### Dependency updates + +- @gradio/client@1.0.0 +- @gradio/button@0.2.41 + ## 0.1.17 ### Dependency updates diff --git a/js/downloadbutton/package.json b/js/downloadbutton/package.json index dcbc87cda3759..a31c87c3d9e8a 100644 --- a/js/downloadbutton/package.json +++ b/js/downloadbutton/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/downloadbutton", - "version": "0.1.17", + "version": "0.1.18", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/dropdown/CHANGELOG.md b/js/dropdown/CHANGELOG.md index 03c0d96ef9f1f..5877f8c6350be 100644 --- a/js/dropdown/CHANGELOG.md +++ b/js/dropdown/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.7.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.7.5 ### Dependency updates diff --git a/js/fallback/CHANGELOG.md b/js/fallback/CHANGELOG.md index 5340e5a711e9a..54d994dd7ca10 100644 --- a/js/fallback/CHANGELOG.md +++ b/js/fallback/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.3.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.3.5 ### Dependency updates diff --git a/js/file/CHANGELOG.md b/js/file/CHANGELOG.md index 062e14e841b33..d64359b93fe3c 100644 --- a/js/file/CHANGELOG.md +++ b/js/file/CHANGELOG.md @@ -1,5 +1,21 @@ # @gradio/file +## 0.8.0 + +### Features + +- [#8417](https://github.com/gradio-app/gradio/pull/8417) [`96d8de2`](https://github.com/gradio-app/gradio/commit/96d8de231270321da5f310768643363276df3204) - add delete event to `File` component. Thanks @pngwn! + +### Fixes + +- [#8451](https://github.com/gradio-app/gradio/pull/8451) [`9d2d605`](https://github.com/gradio-app/gradio/commit/9d2d6051caed5c8749a26a6fa7480a5ae6e6c4f3) - Change client submit API to be an AsyncIterable and support more platforms. Thanks @pngwn! + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 + ## 0.7.7 ### Dependency updates diff --git a/js/file/package.json b/js/file/package.json index 3cbee57e51c68..011ea88b6ef62 100644 --- a/js/file/package.json +++ b/js/file/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/file", - "version": "0.7.7", + "version": "0.8.0", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/fileexplorer/CHANGELOG.md b/js/fileexplorer/CHANGELOG.md index 6d3b1f5e2ab1a..f3cafe32fdcd9 100644 --- a/js/fileexplorer/CHANGELOG.md +++ b/js/fileexplorer/CHANGELOG.md @@ -1,5 +1,15 @@ # @gradio/fileexplorer +## 0.4.9 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/file@0.8.0 +- @gradio/upload@0.11.0 +- @gradio/checkbox@0.3.6 + ## 0.4.8 ### Dependency updates diff --git a/js/fileexplorer/package.json b/js/fileexplorer/package.json index 7217ec61c5197..b6fdc264ee786 100644 --- a/js/fileexplorer/package.json +++ b/js/fileexplorer/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/fileexplorer", - "version": "0.4.8", + "version": "0.4.9", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/gallery/CHANGELOG.md b/js/gallery/CHANGELOG.md index fe8600cda9e25..108d5d63fb02c 100644 --- a/js/gallery/CHANGELOG.md +++ b/js/gallery/CHANGELOG.md @@ -1,5 +1,15 @@ # @gradio/gallery +## 0.10.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/file@0.8.0 +- @gradio/upload@0.11.0 +- @gradio/image@0.11.8 + ## 0.10.7 ### Dependency updates diff --git a/js/gallery/package.json b/js/gallery/package.json index 5c2d1c761dd86..5335ba5b5174f 100644 --- a/js/gallery/package.json +++ b/js/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/gallery", - "version": "0.10.7", + "version": "0.10.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/highlightedtext/CHANGELOG.md b/js/highlightedtext/CHANGELOG.md index 7e72669f8e424..91ec517623699 100644 --- a/js/highlightedtext/CHANGELOG.md +++ b/js/highlightedtext/CHANGELOG.md @@ -2,6 +2,12 @@ ## 0.7.0 +### Dependency updates + +- @gradio/statustracker@0.6.0 + +## 0.7.0 + ### Features - [#8355](https://github.com/gradio-app/gradio/pull/8355) [`33e8bab`](https://github.com/gradio-app/gradio/commit/33e8babb17b2094327860bc1996ab855d6c22d46) - Enable hiding the inline category in HighlightedText with a `show_inline_category` argument. Thanks @xu-song! diff --git a/js/html/CHANGELOG.md b/js/html/CHANGELOG.md index 1435b42be56a6..d193f52bd4ba8 100644 --- a/js/html/CHANGELOG.md +++ b/js/html/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.2.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.2.5 ### Dependency updates diff --git a/js/image/CHANGELOG.md b/js/image/CHANGELOG.md index 8bbb998e8e6e7..d2c25d27b0e81 100644 --- a/js/image/CHANGELOG.md +++ b/js/image/CHANGELOG.md @@ -1,5 +1,13 @@ # @gradio/image +## 0.11.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 + ## 0.11.7 ### Dependency updates diff --git a/js/image/package.json b/js/image/package.json index fe90b8bc7870e..33ea4d2581307 100644 --- a/js/image/package.json +++ b/js/image/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/image", - "version": "0.11.7", + "version": "0.11.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/imageeditor/CHANGELOG.md b/js/imageeditor/CHANGELOG.md index 4683e5a2ddf25..25b13f7c1598e 100644 --- a/js/imageeditor/CHANGELOG.md +++ b/js/imageeditor/CHANGELOG.md @@ -1,5 +1,14 @@ # @gradio/imageeditor +## 0.7.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 +- @gradio/image@0.11.8 + ## 0.7.7 ### Dependency updates diff --git a/js/imageeditor/package.json b/js/imageeditor/package.json index 3e5309292e36f..8585e89a4a942 100644 --- a/js/imageeditor/package.json +++ b/js/imageeditor/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/imageeditor", - "version": "0.7.7", + "version": "0.7.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/json/CHANGELOG.md b/js/json/CHANGELOG.md index b752567dff154..65a732a58b9a2 100644 --- a/js/json/CHANGELOG.md +++ b/js/json/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.2.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.2.5 ### Dependency updates diff --git a/js/label/CHANGELOG.md b/js/label/CHANGELOG.md index 7ea358e64a368..fed7f0b8f9b8a 100644 --- a/js/label/CHANGELOG.md +++ b/js/label/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.3.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.3.5 ### Dependency updates diff --git a/js/lite/CHANGELOG.md b/js/lite/CHANGELOG.md index b1481d1873459..149925b2c78a6 100644 --- a/js/lite/CHANGELOG.md +++ b/js/lite/CHANGELOG.md @@ -1,5 +1,11 @@ # @gradio/lite +## 4.34.0 + +### Dependency updates + +- gradio@4.34.0 + ## 4.33.0 ### Dependency updates diff --git a/js/lite/package.json b/js/lite/package.json index 3a153fa083def..262af07704549 100644 --- a/js/lite/package.json +++ b/js/lite/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/lite", - "version": "4.33.0", + "version": "4.34.0", "description": "Serverless Gradio", "type": "module", "main": "dist/lite.js", diff --git a/js/markdown/CHANGELOG.md b/js/markdown/CHANGELOG.md index 5055a7e3b9372..2f81628cbe921 100644 --- a/js/markdown/CHANGELOG.md +++ b/js/markdown/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.7.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.7.5 ### Features diff --git a/js/model3D/CHANGELOG.md b/js/model3D/CHANGELOG.md index e680f55f17c1a..a933b9e512edb 100644 --- a/js/model3D/CHANGELOG.md +++ b/js/model3D/CHANGELOG.md @@ -1,5 +1,13 @@ # @gradio/model3d +## 0.10.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 + ## 0.10.7 ### Dependency updates diff --git a/js/model3D/package.json b/js/model3D/package.json index 6b0a5548ae0c1..dac2e40622557 100644 --- a/js/model3D/package.json +++ b/js/model3D/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/model3d", - "version": "0.10.7", + "version": "0.10.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/multimodaltextbox/CHANGELOG.md b/js/multimodaltextbox/CHANGELOG.md index f1564ff80b20b..319807ba6dfeb 100644 --- a/js/multimodaltextbox/CHANGELOG.md +++ b/js/multimodaltextbox/CHANGELOG.md @@ -1,5 +1,14 @@ # @gradio/multimodaltextbox +## 0.4.9 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 +- @gradio/image@0.11.8 + ## 0.4.8 ### Features diff --git a/js/multimodaltextbox/package.json b/js/multimodaltextbox/package.json index d4ab34f12f3b7..b81ba925fbcf8 100644 --- a/js/multimodaltextbox/package.json +++ b/js/multimodaltextbox/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/multimodaltextbox", - "version": "0.4.8", + "version": "0.4.9", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/number/CHANGELOG.md b/js/number/CHANGELOG.md index 070e5866a0e72..cf7d205368f22 100644 --- a/js/number/CHANGELOG.md +++ b/js/number/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.4.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.4.5 ### Dependency updates diff --git a/js/paramviewer/CHANGELOG.md b/js/paramviewer/CHANGELOG.md index 898961468c3d8..a42c198b1e56c 100644 --- a/js/paramviewer/CHANGELOG.md +++ b/js/paramviewer/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.4.15 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.4.14 ### Dependency updates diff --git a/js/plot/CHANGELOG.md b/js/plot/CHANGELOG.md index f813415b22531..e4980ae7a7e72 100644 --- a/js/plot/CHANGELOG.md +++ b/js/plot/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.4.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.4.5 ### Dependency updates diff --git a/js/preview/CHANGELOG.md b/js/preview/CHANGELOG.md index a090afc1f3d89..95671bd71a4e0 100644 --- a/js/preview/CHANGELOG.md +++ b/js/preview/CHANGELOG.md @@ -1,5 +1,11 @@ # @gradio/preview +## 0.9.1 + +### Fixes + +- [#8439](https://github.com/gradio-app/gradio/pull/8439) [`63d36fb`](https://github.com/gradio-app/gradio/commit/63d36fbbf4bf6dc909be9a0ffc7b6bf6621d83e8) - Handle gradio apps using `state` in the JS Client. Thanks @hannahblair! + ## 0.9.0 ### Features diff --git a/js/preview/package.json b/js/preview/package.json index 12ad80153f541..bbf2af7c77711 100644 --- a/js/preview/package.json +++ b/js/preview/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/preview", - "version": "0.9.0", + "version": "0.9.1", "description": "Gradio UI packages", "type": "module", "main": "dist/index.js", diff --git a/js/radio/CHANGELOG.md b/js/radio/CHANGELOG.md index 918bfffe25c4c..84a0ed96be1c7 100644 --- a/js/radio/CHANGELOG.md +++ b/js/radio/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.5.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.5.5 ### Dependency updates diff --git a/js/row/CHANGELOG.md b/js/row/CHANGELOG.md index 3d8e3ceeaafd2..26f847da9b2b9 100644 --- a/js/row/CHANGELOG.md +++ b/js/row/CHANGELOG.md @@ -2,6 +2,12 @@ ## 0.1.3 +### Dependency updates + +- @gradio/statustracker@0.6.0 + +## 0.1.3 + ### Features - [#8398](https://github.com/gradio-app/gradio/pull/8398) [`945ac83`](https://github.com/gradio-app/gradio/commit/945ac837e779b120790814ea6f6f81bd2712f5f8) - Improve rendering. Thanks @aliabid94! diff --git a/js/simpledropdown/CHANGELOG.md b/js/simpledropdown/CHANGELOG.md index d86572d20e911..966d29b3211f5 100644 --- a/js/simpledropdown/CHANGELOG.md +++ b/js/simpledropdown/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.2.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.2.5 ### Dependency updates diff --git a/js/simpleimage/CHANGELOG.md b/js/simpleimage/CHANGELOG.md index f9ed40ed32285..54be3af0acca8 100644 --- a/js/simpleimage/CHANGELOG.md +++ b/js/simpleimage/CHANGELOG.md @@ -1,5 +1,13 @@ # @gradio/simpleimage +## 0.5.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 + ## 0.5.7 ### Dependency updates diff --git a/js/simpleimage/package.json b/js/simpleimage/package.json index 6f98c9eebc2e0..87eb7cf500ffa 100644 --- a/js/simpleimage/package.json +++ b/js/simpleimage/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/simpleimage", - "version": "0.5.7", + "version": "0.5.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/simpletextbox/CHANGELOG.md b/js/simpletextbox/CHANGELOG.md index 17a16862c1b15..925637938a936 100644 --- a/js/simpletextbox/CHANGELOG.md +++ b/js/simpletextbox/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.2.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.2.5 ### Dependency updates diff --git a/js/slider/CHANGELOG.md b/js/slider/CHANGELOG.md index 8284ccaca179c..04fbeaa3a818a 100644 --- a/js/slider/CHANGELOG.md +++ b/js/slider/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.4.6 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.4.5 ### Dependency updates diff --git a/js/tabitem/CHANGELOG.md b/js/tabitem/CHANGELOG.md index 838deb49402b6..ec88657b79a76 100644 --- a/js/tabitem/CHANGELOG.md +++ b/js/tabitem/CHANGELOG.md @@ -4,6 +4,13 @@ ### Dependency updates +- @gradio/column@0.1.2 +- @gradio/tabs@0.2.9 + +## 0.2.10 + +### Dependency updates + - @gradio/column@0.1.2 ## 0.2.9 diff --git a/js/textbox/CHANGELOG.md b/js/textbox/CHANGELOG.md index 6518760dda027..e983c21c5ad12 100644 --- a/js/textbox/CHANGELOG.md +++ b/js/textbox/CHANGELOG.md @@ -6,6 +6,12 @@ - @gradio/statustracker@0.6.0 +## 0.6.5 + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.6.4 ### Dependency updates diff --git a/js/tootils/CHANGELOG.md b/js/tootils/CHANGELOG.md index 1744126360451..a7a7551268d62 100644 --- a/js/tootils/CHANGELOG.md +++ b/js/tootils/CHANGELOG.md @@ -1,5 +1,15 @@ # @gradio/tootils +## 0.5.0 + +### Features + +- [#8417](https://github.com/gradio-app/gradio/pull/8417) [`96d8de2`](https://github.com/gradio-app/gradio/commit/96d8de231270321da5f310768643363276df3204) - add delete event to `File` component. Thanks @pngwn! + +### Dependency updates + +- @gradio/statustracker@0.6.0 + ## 0.4.5 ### Dependency updates diff --git a/js/tootils/package.json b/js/tootils/package.json index b5dffca67fcff..80583c5f53340 100644 --- a/js/tootils/package.json +++ b/js/tootils/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/tootils", - "version": "0.4.5", + "version": "0.5.0", "description": "Internal test utilities", "type": "module", "main": "src/index.ts", diff --git a/js/upload/CHANGELOG.md b/js/upload/CHANGELOG.md index 735a73ecfe9c7..4dcf414cd575b 100644 --- a/js/upload/CHANGELOG.md +++ b/js/upload/CHANGELOG.md @@ -1,5 +1,16 @@ # @gradio/upload +## 0.11.0 + +### Features + +- [#8417](https://github.com/gradio-app/gradio/pull/8417) [`96d8de2`](https://github.com/gradio-app/gradio/commit/96d8de231270321da5f310768643363276df3204) - add delete event to `File` component. Thanks @pngwn! + +### Dependency updates + +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 + ## 0.10.7 ### Dependency updates diff --git a/js/upload/package.json b/js/upload/package.json index 8d638f836b7bd..4647f7c7cc40d 100644 --- a/js/upload/package.json +++ b/js/upload/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/upload", - "version": "0.10.7", + "version": "0.11.0", "description": "Gradio UI packages", "type": "module", "main": "src/index.ts", diff --git a/js/uploadbutton/CHANGELOG.md b/js/uploadbutton/CHANGELOG.md index 773d6017f5bed..2fd32528023a5 100644 --- a/js/uploadbutton/CHANGELOG.md +++ b/js/uploadbutton/CHANGELOG.md @@ -1,5 +1,13 @@ # @gradio/uploadbutton +## 0.6.9 + +### Dependency updates + +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 +- @gradio/button@0.2.41 + ## 0.6.8 ### Dependency updates diff --git a/js/uploadbutton/package.json b/js/uploadbutton/package.json index 369360f9b7bbc..f23597672f56c 100644 --- a/js/uploadbutton/package.json +++ b/js/uploadbutton/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/uploadbutton", - "version": "0.6.8", + "version": "0.6.9", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/js/video/CHANGELOG.md b/js/video/CHANGELOG.md index 010435a0f9528..a9acf8eb2c9b6 100644 --- a/js/video/CHANGELOG.md +++ b/js/video/CHANGELOG.md @@ -1,5 +1,14 @@ # @gradio/video +## 0.8.8 + +### Dependency updates + +- @gradio/statustracker@0.6.0 +- @gradio/client@1.0.0 +- @gradio/upload@0.11.0 +- @gradio/image@0.11.8 + ## 0.8.7 ### Dependency updates diff --git a/js/video/package.json b/js/video/package.json index b51ca9bcd0474..b68ea3a189c92 100644 --- a/js/video/package.json +++ b/js/video/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/video", - "version": "0.8.7", + "version": "0.8.8", "description": "Gradio UI packages", "type": "module", "author": "", diff --git a/requirements.txt b/requirements.txt index 2f6c6d2c746f6..6e2da46076e12 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ aiofiles>=22.0,<24.0 altair>=4.2.0,<6.0 fastapi ffmpy -gradio_client==0.17.0 +gradio_client==1.0.0 httpx>=0.24.1 huggingface_hub>=0.19.3 importlib_resources>=1.3,<7.0