mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-03 01:50:59 +08:00
d8636bb050
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
297 lines
11 KiB
Markdown
297 lines
11 KiB
Markdown
# @gradio/button
|
|
|
|
## 0.2.24
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`8181695`](https://github.com/gradio-app/gradio/commit/8181695e70187e8bc2bf7518697098c8d1b9843d)]:
|
|
- @gradio/upload@0.7.6
|
|
|
|
## 0.2.23
|
|
|
|
### Features
|
|
|
|
- [#7528](https://github.com/gradio-app/gradio/pull/7528) [`eda33b3`](https://github.com/gradio-app/gradio/commit/eda33b3763897a542acf298e523fa493dc655aee) - Refactors `get_fetchable_url_or_file()` to remove it from the frontend. Thanks [@abidlabs](https://github.com/abidlabs)!
|
|
|
|
## 0.2.22
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies []:
|
|
- @gradio/upload@0.7.4
|
|
|
|
## 0.2.21
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`065c5b1`](https://github.com/gradio-app/gradio/commit/065c5b163c4badb9d9cbd06d627fb4ba086003e7), [`32b317f`](https://github.com/gradio-app/gradio/commit/32b317f24e3d43f26684bb9f3964f31efd0ea556)]:
|
|
- @gradio/utils@0.3.0
|
|
- @gradio/client@0.12.1
|
|
- @gradio/upload@0.7.3
|
|
|
|
## 0.2.20
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`49d9c48`](https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6)]:
|
|
- @gradio/client@0.12.0
|
|
- @gradio/upload@0.7.2
|
|
|
|
## 0.2.19
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`572e360`](https://github.com/gradio-app/gradio/commit/572e360fff4a03c335b86e1a7517a44cb6af2bcd), [`68a54a7`](https://github.com/gradio-app/gradio/commit/68a54a7a310d8d7072fdae930bf1cfdf12c45a7f), [`fdd1521`](https://github.com/gradio-app/gradio/commit/fdd15213c24b9cbc58bbc1b6beb4af7c18f48557), [`c3e61e4`](https://github.com/gradio-app/gradio/commit/c3e61e4f70696a71aede67b65d28447eb67daf16)]:
|
|
- @gradio/upload@0.7.1
|
|
- @gradio/client@0.11.0
|
|
- @gradio/utils@0.2.2
|
|
|
|
## 0.2.18
|
|
|
|
### Fixes
|
|
|
|
- [#7126](https://github.com/gradio-app/gradio/pull/7126) [`5727b92`](https://github.com/gradio-app/gradio/commit/5727b92abc8a00a675bfc0a921b38de771af947b) - Allow buttons to take null value. Thanks [@abidlabs](https://github.com/abidlabs)!
|
|
|
|
## 0.2.17
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`3c3cf86`](https://github.com/gradio-app/gradio/commit/3c3cf8618a8cad1ef66a7f96664923d2c9f5e0e2), [`3f139c7`](https://github.com/gradio-app/gradio/commit/3f139c7c995f749562bb007d2a567bb167669de9)]:
|
|
- @gradio/client@0.10.1
|
|
- @gradio/upload@0.6.1
|
|
|
|
## 0.2.16
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`793bf8f`](https://github.com/gradio-app/gradio/commit/793bf8f7b1943f265c5d016c1a0c682ee549232a), [`5d00dd3`](https://github.com/gradio-app/gradio/commit/5d00dd37ca14bbfef2ceac550b29dbe05ba8cab0)]:
|
|
- @gradio/upload@0.6.0
|
|
|
|
## 0.2.15
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`6c863af`](https://github.com/gradio-app/gradio/commit/6c863af92fa9ceb5c638857eb22cc5ddb718d549), [`649cd4d`](https://github.com/gradio-app/gradio/commit/649cd4d68041d11fcbe31f8efa455345ac49fc74)]:
|
|
- @gradio/client@0.10.0
|
|
- @gradio/upload@0.5.8
|
|
|
|
## 0.2.14
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`d406855`](https://github.com/gradio-app/gradio/commit/d4068557953746662235d595ec435c42ceb24414)]:
|
|
- @gradio/client@0.9.4
|
|
- @gradio/upload@0.5.7
|
|
|
|
## 0.2.13
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`828fb9e`](https://github.com/gradio-app/gradio/commit/828fb9e6ce15b6ea08318675a2361117596a1b5d), [`73268ee`](https://github.com/gradio-app/gradio/commit/73268ee2e39f23ebdd1e927cb49b8d79c4b9a144)]:
|
|
- @gradio/client@0.9.3
|
|
- @gradio/upload@0.5.6
|
|
|
|
## 0.2.12
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`245d58e`](https://github.com/gradio-app/gradio/commit/245d58eff788e8d44a59d37a2d9b26d0f08a62b4)]:
|
|
- @gradio/client@0.9.2
|
|
- @gradio/upload@0.5.5
|
|
|
|
## 0.2.11
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`5d51fbc`](https://github.com/gradio-app/gradio/commit/5d51fbce7826da840a2fd4940feb5d9ad6f1bc5a), [`34f9431`](https://github.com/gradio-app/gradio/commit/34f943101bf7dd6b8a8974a6131c1ed7c4a0dac0)]:
|
|
- @gradio/upload@0.5.4
|
|
- @gradio/client@0.9.1
|
|
|
|
## 0.2.10
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`6a9151d`](https://github.com/gradio-app/gradio/commit/6a9151d5c9432c724098da7d88a539aaaf5ffe88), [`d76bcaa`](https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70), [`67ddd40`](https://github.com/gradio-app/gradio/commit/67ddd40b4b70d3a37cb1637c33620f8d197dbee0)]:
|
|
- @gradio/upload@0.5.3
|
|
- @gradio/client@0.9.0
|
|
|
|
## 0.2.9
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies []:
|
|
- @gradio/upload@0.5.2
|
|
|
|
## 0.2.8
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`71f1a1f99`](https://github.com/gradio-app/gradio/commit/71f1a1f9931489d465c2c1302a5c8d768a3cd23a)]:
|
|
- @gradio/client@0.8.2
|
|
- @gradio/upload@0.5.1
|
|
|
|
## 0.2.7
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`9caddc17b`](https://github.com/gradio-app/gradio/commit/9caddc17b1dea8da1af8ba724c6a5eab04ce0ed8)]:
|
|
- @gradio/upload@0.5.0
|
|
|
|
## 0.2.6
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`2f805a7dd`](https://github.com/gradio-app/gradio/commit/2f805a7dd3d2b64b098f659dadd5d01258290521)]:
|
|
- @gradio/upload@0.4.2
|
|
|
|
## 0.2.5
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`324867f63`](https://github.com/gradio-app/gradio/commit/324867f63c920113d89a565892aa596cf8b1e486)]:
|
|
- @gradio/client@0.8.1
|
|
- @gradio/upload@0.4.1
|
|
|
|
## 0.2.4
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`854b482f5`](https://github.com/gradio-app/gradio/commit/854b482f598e0dc47673846631643c079576da9c), [`f1409f95e`](https://github.com/gradio-app/gradio/commit/f1409f95ed39c5565bed6a601e41f94e30196a57)]:
|
|
- @gradio/upload@0.4.0
|
|
- @gradio/client@0.8.0
|
|
|
|
## 0.2.3
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`bca6c2c80`](https://github.com/gradio-app/gradio/commit/bca6c2c80f7e5062427019de45c282238388af95), [`3cdeabc68`](https://github.com/gradio-app/gradio/commit/3cdeabc6843000310e1a9e1d17190ecbf3bbc780)]:
|
|
- @gradio/client@0.7.2
|
|
- @gradio/upload@0.3.3
|
|
|
|
## 0.2.2
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`aaa55ce85`](https://github.com/gradio-app/gradio/commit/aaa55ce85e12f95aba9299445e9c5e59824da18e)]:
|
|
- @gradio/upload@0.3.2
|
|
|
|
## 0.2.1
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`2ba14b284`](https://github.com/gradio-app/gradio/commit/2ba14b284f908aa13859f4337167a157075a68eb)]:
|
|
- @gradio/client@0.7.1
|
|
- @gradio/upload@0.3.1
|
|
|
|
## 0.2.0
|
|
|
|
### Features
|
|
|
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Clean root url. Thanks [@pngwn](https://github.com/pngwn)!
|
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Publish all components to npm. Thanks [@pngwn](https://github.com/pngwn)!
|
|
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Custom components. Thanks [@pngwn](https://github.com/pngwn)!
|
|
|
|
## 0.2.0-beta.7
|
|
|
|
### Features
|
|
|
|
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
|
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
|
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend. Thanks [@pngwn](https://github.com/pngwn)!
|
|
|
|
## 0.2.0-beta.6
|
|
|
|
### Fixes
|
|
|
|
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests. Thanks [@pngwn](https://github.com/pngwn)!
|
|
|
|
## 0.2.0-beta.5
|
|
|
|
### Features
|
|
|
|
- [#5960](https://github.com/gradio-app/gradio/pull/5960) [`319c30f3f`](https://github.com/gradio-app/gradio/commit/319c30f3fccf23bfe1da6c9b132a6a99d59652f7) - rererefactor frontend files. Thanks [@pngwn](https://github.com/pngwn)!
|
|
- [#5938](https://github.com/gradio-app/gradio/pull/5938) [`13ed8a485`](https://github.com/gradio-app/gradio/commit/13ed8a485d5e31d7d75af87fe8654b661edcca93) - V4: Use beta release versions for '@gradio' packages. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
|
|
|
## 0.2.3
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies []:
|
|
- @gradio/upload@0.3.3
|
|
|
|
## 0.2.2
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies []:
|
|
- @gradio/utils@0.1.2
|
|
- @gradio/upload@0.3.2
|
|
|
|
## 0.2.1
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies []:
|
|
- @gradio/upload@0.3.1
|
|
|
|
## 0.2.0
|
|
|
|
### Features
|
|
|
|
- [#5554](https://github.com/gradio-app/gradio/pull/5554) [`75ddeb390`](https://github.com/gradio-app/gradio/commit/75ddeb390d665d4484667390a97442081b49a423) - Accessibility Improvements. Thanks [@hannahblair](https://github.com/hannahblair)!
|
|
|
|
## 0.1.3
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies []:
|
|
- @gradio/utils@0.1.1
|
|
- @gradio/upload@0.2.1
|
|
|
|
## 0.1.2
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [[`abf1c57d`](https://github.com/gradio-app/gradio/commit/abf1c57d7d85de0df233ee3b38aeb38b638477db), [`79d8f9d8`](https://github.com/gradio-app/gradio/commit/79d8f9d891901683c5a1b7486efb44eab2478c96)]:
|
|
- @gradio/utils@0.1.0
|
|
- @gradio/upload@0.2.0
|
|
|
|
## 0.1.1
|
|
|
|
### Highlights
|
|
|
|
#### Improve startup performance and markdown support ([#5279](https://github.com/gradio-app/gradio/pull/5279) [`fe057300`](https://github.com/gradio-app/gradio/commit/fe057300f0672c62dab9d9b4501054ac5d45a4ec))
|
|
|
|
##### Improved markdown support
|
|
|
|
We now have better support for markdown in `gr.Markdown` and `gr.Dataframe`. Including syntax highlighting and Github Flavoured Markdown. We also have more consistent markdown behaviour and styling.
|
|
|
|
##### Various performance improvements
|
|
|
|
These improvements will be particularly beneficial to large applications.
|
|
|
|
- Rather than attaching events manually, they are now delegated, leading to a significant performance improvement and addressing a performance regression introduced in a recent version of Gradio. App startup for large applications is now around twice as fast.
|
|
- Optimised the mounting of individual components, leading to a modest performance improvement during startup (~30%).
|
|
- Corrected an issue that was causing markdown to re-render infinitely.
|
|
- Ensured that the `gr.3DModel` does re-render prematurely.
|
|
|
|
Thanks [@pngwn](https://github.com/pngwn)!
|
|
|
|
### Fixes
|
|
|
|
- [#5285](https://github.com/gradio-app/gradio/pull/5285) [`cdfd4217`](https://github.com/gradio-app/gradio/commit/cdfd42174a9c777eaee9c1209bf8e90d8c7791f2) - Tweaks to `icon` parameter in `gr.Button()`. Thanks [@abidlabs](https://github.com/abidlabs)!
|
|
|
|
## 0.1.0
|
|
|
|
### Features
|
|
|
|
- [#5080](https://github.com/gradio-app/gradio/pull/5080) [`37caa2e0`](https://github.com/gradio-app/gradio/commit/37caa2e0fe95d6cab8beb174580fb557904f137f) - Add icon and link params to `gr.Button`. Thanks [@hannahblair](https://github.com/hannahblair)!
|
|
|
|
## 0.0.2
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies []:
|
|
- @gradio/utils@0.0.2
|