From ba4c6d9e65138c97062d1757d2a588c4fc449daa Mon Sep 17 00:00:00 2001 From: pngwn Date: Wed, 23 Aug 2023 23:41:08 +0100 Subject: [PATCH] chore: update versions (#5177) Co-authored-by: github-actions[bot] --- .changeset/afraid-jeans-shine.md | 7 -- .changeset/bumpy-toes-relate.md | 6 -- .changeset/chilly-chefs-hug.md | 56 ------------- .changeset/chilly-fans-make.md | 30 ------- .changeset/cold-steaks-cover.md | 7 -- .changeset/curly-hands-carry.md | 6 -- .changeset/dirty-snails-love.md | 6 -- .changeset/early-guests-visit.md | 5 -- .changeset/eight-things-travel.md | 5 -- .changeset/fair-shirts-show.md | 5 -- .changeset/fast-eyes-return.md | 6 -- .changeset/forty-cases-cough.md | 33 -------- .changeset/full-melons-pick.md | 6 -- .changeset/funny-months-deny.md | 9 -- .changeset/hip-queens-grin.md | 5 -- .changeset/hot-worms-type.md | 5 -- .changeset/itchy-birds-burn.md | 6 -- .changeset/khaki-otters-wear.md | 6 -- .changeset/kind-webs-watch.md | 6 -- .changeset/large-bats-say.md | 6 -- .changeset/legal-donuts-burn.md | 6 -- .changeset/lemon-memes-clean.md | 5 -- .changeset/light-mice-bake.md | 5 -- .changeset/lovely-bikes-thank.md | 6 -- .changeset/mean-dragons-move.md | 5 -- .changeset/pink-rockets-start.md | 6 -- .changeset/poor-papayas-behave.md | 5 -- .changeset/rare-words-occur.md | 5 -- .changeset/red-trains-wonder.md | 6 -- .changeset/salty-toys-rest.md | 5 -- .changeset/seven-cobras-brush.md | 27 ------ .changeset/silver-clowns-brush.md | 8 -- .changeset/smart-comics-attend.md | 8 -- .changeset/stale-houses-grin.md | 20 ----- .changeset/warm-nails-brush.md | 6 -- .changeset/whole-buttons-drive.md | 5 -- .changeset/wide-worlds-yawn.md | 6 -- .changeset/young-olives-yell.md | 5 -- .changeset/young-plums-swim.md | 6 -- .changeset/young-poets-kneel.md | 5 -- CHANGELOG.md | 101 +++++++++++++++++++++++ client/js/CHANGELOG.md | 6 ++ client/js/package.json | 2 +- client/python/CHANGELOG.md | 32 +++++++ client/python/gradio_client/CHANGELOG.md | 32 +++++++ client/python/gradio_client/package.json | 2 +- client/python/gradio_client/version.txt | 2 +- gradio/CHANGELOG.md | 101 +++++++++++++++++++++++ gradio/package.json | 2 +- gradio/version.txt | 2 +- js/_website/CHANGELOG.md | 27 ++++++ js/_website/package.json | 2 +- js/accordion/CHANGELOG.md | 7 ++ js/accordion/package.json | 2 +- js/annotatedimage/CHANGELOG.md | 28 ++++++- js/annotatedimage/package.json | 2 +- js/app/CHANGELOG.md | 50 +++++++++++ js/app/package.json | 2 +- js/atoms/CHANGELOG.md | 27 +++++- js/atoms/package.json | 2 +- js/audio/CHANGELOG.md | 27 ++++++ js/audio/package.json | 2 +- js/box/CHANGELOG.md | 7 ++ js/box/package.json | 2 +- js/button/CHANGELOG.md | 25 ++++++ js/button/package.json | 2 +- js/chatbot/CHANGELOG.md | 33 ++++++++ js/chatbot/package.json | 2 +- js/checkbox/CHANGELOG.md | 27 ++++++ js/checkbox/package.json | 2 +- js/checkboxgroup/CHANGELOG.md | 28 +++++++ js/checkboxgroup/package.json | 2 +- js/code/CHANGELOG.md | 28 ++++++- js/code/package.json | 2 +- js/colorpicker/CHANGELOG.md | 26 ++++++ js/colorpicker/package.json | 2 +- js/dataframe/CHANGELOG.md | 34 +++++++- js/dataframe/package.json | 2 +- js/dropdown/CHANGELOG.md | 26 ++++++ js/dropdown/package.json | 2 +- js/file/CHANGELOG.md | 36 +++++++- js/file/package.json | 2 +- js/form/CHANGELOG.md | 8 ++ js/form/package.json | 2 +- js/gallery/CHANGELOG.md | 26 ++++++ js/gallery/package.json | 2 +- js/highlightedtext/CHANGELOG.md | 26 ++++++ js/highlightedtext/package.json | 2 +- js/html/CHANGELOG.md | 26 ++++++ js/html/package.json | 2 +- js/image/CHANGELOG.md | 28 ++++++- js/image/package.json | 2 +- js/json/CHANGELOG.md | 27 +++++- js/json/package.json | 2 +- js/label/CHANGELOG.md | 28 ++++++- js/label/package.json | 2 +- js/lite/CHANGELOG.md | 8 +- js/lite/package.json | 2 +- js/markdown/CHANGELOG.md | 27 ++++++ js/markdown/package.json | 2 +- js/model3D/CHANGELOG.md | 30 ++++++- js/model3D/package.json | 2 +- js/number/CHANGELOG.md | 26 ++++++ js/number/package.json | 2 +- js/plot/CHANGELOG.md | 28 ++++++- js/plot/package.json | 2 +- js/radio/CHANGELOG.md | 28 +++++++ js/radio/package.json | 2 +- js/slider/CHANGELOG.md | 27 ++++++ js/slider/package.json | 2 +- js/statustracker/CHANGELOG.md | 8 ++ js/statustracker/package.json | 2 +- js/tabitem/CHANGELOG.md | 22 +++++ js/tabitem/package.json | 2 +- js/tabs/CHANGELOG.md | 23 +++++- js/tabs/package.json | 2 +- js/textbox/CHANGELOG.md | 21 +++++ js/textbox/package.json | 2 +- js/theme/CHANGELOG.md | 23 +++++- js/theme/package.json | 2 +- js/timeseries/CHANGELOG.md | 27 +++++- js/timeseries/package.json | 2 +- js/tootils/CHANGELOG.md | 22 +++++ js/tootils/package.json | 2 +- js/upload/CHANGELOG.md | 29 +++++++ js/upload/package.json | 2 +- js/uploadbutton/CHANGELOG.md | 23 +++++- js/uploadbutton/package.json | 2 +- js/utils/CHANGELOG.md | 23 +++++- js/utils/package.json | 2 +- js/video/CHANGELOG.md | 25 ++++++ js/video/package.json | 2 +- requirements.txt | 2 +- 133 files changed, 1328 insertions(+), 434 deletions(-) delete mode 100644 .changeset/afraid-jeans-shine.md delete mode 100644 .changeset/bumpy-toes-relate.md delete mode 100644 .changeset/chilly-chefs-hug.md delete mode 100644 .changeset/chilly-fans-make.md delete mode 100644 .changeset/cold-steaks-cover.md delete mode 100644 .changeset/curly-hands-carry.md delete mode 100644 .changeset/dirty-snails-love.md delete mode 100644 .changeset/early-guests-visit.md delete mode 100644 .changeset/eight-things-travel.md delete mode 100644 .changeset/fair-shirts-show.md delete mode 100644 .changeset/fast-eyes-return.md delete mode 100644 .changeset/forty-cases-cough.md delete mode 100644 .changeset/full-melons-pick.md delete mode 100644 .changeset/funny-months-deny.md delete mode 100644 .changeset/hip-queens-grin.md delete mode 100644 .changeset/hot-worms-type.md delete mode 100644 .changeset/itchy-birds-burn.md delete mode 100644 .changeset/khaki-otters-wear.md delete mode 100644 .changeset/kind-webs-watch.md delete mode 100644 .changeset/large-bats-say.md delete mode 100644 .changeset/legal-donuts-burn.md delete mode 100644 .changeset/lemon-memes-clean.md delete mode 100644 .changeset/light-mice-bake.md delete mode 100644 .changeset/lovely-bikes-thank.md delete mode 100644 .changeset/mean-dragons-move.md delete mode 100644 .changeset/pink-rockets-start.md delete mode 100644 .changeset/poor-papayas-behave.md delete mode 100644 .changeset/rare-words-occur.md delete mode 100644 .changeset/red-trains-wonder.md delete mode 100644 .changeset/salty-toys-rest.md delete mode 100644 .changeset/seven-cobras-brush.md delete mode 100644 .changeset/silver-clowns-brush.md delete mode 100644 .changeset/smart-comics-attend.md delete mode 100644 .changeset/stale-houses-grin.md delete mode 100644 .changeset/warm-nails-brush.md delete mode 100644 .changeset/whole-buttons-drive.md delete mode 100644 .changeset/wide-worlds-yawn.md delete mode 100644 .changeset/young-olives-yell.md delete mode 100644 .changeset/young-plums-swim.md delete mode 100644 .changeset/young-poets-kneel.md create mode 100644 js/accordion/CHANGELOG.md create mode 100644 js/box/CHANGELOG.md create mode 100644 js/checkbox/CHANGELOG.md create mode 100644 js/checkboxgroup/CHANGELOG.md create mode 100644 js/html/CHANGELOG.md create mode 100644 js/markdown/CHANGELOG.md create mode 100644 js/radio/CHANGELOG.md create mode 100644 js/slider/CHANGELOG.md create mode 100644 js/statustracker/CHANGELOG.md create mode 100644 js/tabitem/CHANGELOG.md create mode 100644 js/tootils/CHANGELOG.md diff --git a/.changeset/afraid-jeans-shine.md b/.changeset/afraid-jeans-shine.md deleted file mode 100644 index 14e9044485..0000000000 --- a/.changeset/afraid-jeans-shine.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@gradio/dataframe": minor -"@gradio/markdown": minor -"gradio": minor ---- - -feat:Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components diff --git a/.changeset/bumpy-toes-relate.md b/.changeset/bumpy-toes-relate.md deleted file mode 100644 index c6796bca62..0000000000 --- a/.changeset/bumpy-toes-relate.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/chatbot": patch -"gradio": patch ---- - -fix:Fix message text overflow onto copy button in `gr.Chatbot` diff --git a/.changeset/chilly-chefs-hug.md b/.changeset/chilly-chefs-hug.md deleted file mode 100644 index 4117d910bf..0000000000 --- a/.changeset/chilly-chefs-hug.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -"@gradio/annotatedimage": patch -"@gradio/app": patch -"@gradio/atoms": patch -"@gradio/audio": patch -"@gradio/button": patch -"@gradio/chatbot": patch -"@gradio/checkbox": patch -"@gradio/checkboxgroup": patch -"@gradio/code": patch -"@gradio/colorpicker": patch -"@gradio/dataframe": patch -"@gradio/dropdown": patch -"@gradio/file": patch -"@gradio/gallery": patch -"@gradio/highlightedtext": patch -"@gradio/html": patch -"@gradio/image": patch -"@gradio/json": patch -"@gradio/label": patch -"@gradio/markdown": patch -"@gradio/model3d": patch -"@gradio/number": patch -"@gradio/plot": patch -"@gradio/radio": patch -"@gradio/slider": patch -"@gradio/tabitem": patch -"@gradio/tabs": patch -"@gradio/textbox": patch -"@gradio/theme": patch -"@gradio/timeseries": patch -"@gradio/tootils": patch -"@gradio/upload": patch -"@gradio/uploadbutton": patch -"@gradio/utils": patch -"@gradio/video": patch -"gradio": patch -"website": patch ---- - -highlight: - -#### Improve startup performance and markdown support - -##### 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. diff --git a/.changeset/chilly-fans-make.md b/.changeset/chilly-fans-make.md deleted file mode 100644 index 7eb46be563..0000000000 --- a/.changeset/chilly-fans-make.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -"gradio": minor -"gradio_client": minor ---- - -highlight: - -#### Enable streaming audio in python client - -The `gradio_client` now supports streaming file outputs 🌊 - -No new syntax! Connect to a gradio demo that supports streaming file outputs and call `predict` or `submit` as you normally would. - -```python -import gradio_client as grc -client = grc.Client("gradio/stream_audio_out") - -# Get the entire generated audio as a local file -client.predict("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") - -job = client.submit("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") - -# Get the entire generated audio as a local file -job.result() - -# Each individual chunk -job.outputs() -``` - - diff --git a/.changeset/cold-steaks-cover.md b/.changeset/cold-steaks-cover.md deleted file mode 100644 index b8e104d1f9..0000000000 --- a/.changeset/cold-steaks-cover.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@gradio/checkboxgroup": minor -"@gradio/radio": minor -"gradio": minor ---- - -feat:`gr.Radio` and `gr.CheckboxGroup` can now accept different names and values diff --git a/.changeset/curly-hands-carry.md b/.changeset/curly-hands-carry.md deleted file mode 100644 index 26834ededf..0000000000 --- a/.changeset/curly-hands-carry.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/file": minor -"gradio": minor ---- - -fix:Ensure File component uploads files to the server. diff --git a/.changeset/dirty-snails-love.md b/.changeset/dirty-snails-love.md deleted file mode 100644 index a4828b651a..0000000000 --- a/.changeset/dirty-snails-love.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/app": minor -"gradio": minor ---- - -feat:Add `api_name` parameter to `gr.Interface`. Additionally, completely hide api page if show_api=False diff --git a/.changeset/early-guests-visit.md b/.changeset/early-guests-visit.md deleted file mode 100644 index 53d9adf133..0000000000 --- a/.changeset/early-guests-visit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gradio/lite": patch ---- - -feat:add gradio as a devdep of @gradio/lite diff --git a/.changeset/eight-things-travel.md b/.changeset/eight-things-travel.md deleted file mode 100644 index f2a56c3599..0000000000 --- a/.changeset/eight-things-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": minor ---- - -feat:Allow updating the label of `gr.UpdateButton` diff --git a/.changeset/fair-shirts-show.md b/.changeset/fair-shirts-show.md deleted file mode 100644 index 46ee007666..0000000000 --- a/.changeset/fair-shirts-show.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": patch ---- - -fix:Fixes audio streaming issues diff --git a/.changeset/fast-eyes-return.md b/.changeset/fast-eyes-return.md deleted file mode 100644 index ef85822466..0000000000 --- a/.changeset/fast-eyes-return.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/chatbot": minor -"gradio": minor ---- - -feat:chore(deps): update dependency marked to v7 diff --git a/.changeset/forty-cases-cough.md b/.changeset/forty-cases-cough.md deleted file mode 100644 index 0895286052..0000000000 --- a/.changeset/forty-cases-cough.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -"@gradio/accordion": patch -"@gradio/annotatedimage": patch -"@gradio/app": patch -"@gradio/audio": patch -"@gradio/box": patch -"@gradio/chatbot": patch -"@gradio/checkbox": patch -"@gradio/checkboxgroup": patch -"@gradio/code": patch -"@gradio/colorpicker": patch -"@gradio/dataframe": patch -"@gradio/dropdown": patch -"@gradio/file": patch -"@gradio/gallery": patch -"@gradio/highlightedtext": patch -"@gradio/html": patch -"@gradio/image": patch -"@gradio/json": patch -"@gradio/label": patch -"@gradio/markdown": patch -"@gradio/model3d": patch -"@gradio/number": patch -"@gradio/plot": patch -"@gradio/radio": patch -"@gradio/slider": patch -"@gradio/statustracker": patch -"@gradio/timeseries": patch -"@gradio/video": patch -"gradio": patch ---- - -feat:Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. diff --git a/.changeset/full-melons-pick.md b/.changeset/full-melons-pick.md deleted file mode 100644 index 4c761c670c..0000000000 --- a/.changeset/full-melons-pick.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"gradio": minor -"gradio_client": minor ---- - -fix:Allow caching examples with streamed output diff --git a/.changeset/funny-months-deny.md b/.changeset/funny-months-deny.md deleted file mode 100644 index 284b419961..0000000000 --- a/.changeset/funny-months-deny.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@gradio/app": patch -"@gradio/button": patch -"@gradio/chatbot": patch -"@gradio/upload": patch -"gradio": patch ---- - -fix:Tweaks to `icon` parameter in `gr.Button()` diff --git a/.changeset/hip-queens-grin.md b/.changeset/hip-queens-grin.md deleted file mode 100644 index 4a8418cc96..0000000000 --- a/.changeset/hip-queens-grin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": minor ---- - -feat:Stop passing inputs and preprocessing on iterators diff --git a/.changeset/hot-worms-type.md b/.changeset/hot-worms-type.md deleted file mode 100644 index 5b8849ac7c..0000000000 --- a/.changeset/hot-worms-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": minor ---- - -feat:Sign in with Hugging Face (OAuth support) diff --git a/.changeset/itchy-birds-burn.md b/.changeset/itchy-birds-burn.md deleted file mode 100644 index 7c7fefc1b5..0000000000 --- a/.changeset/itchy-birds-burn.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"gradio": minor -"website": minor ---- - -feat:Create event listener table for components on docs diff --git a/.changeset/khaki-otters-wear.md b/.changeset/khaki-otters-wear.md deleted file mode 100644 index 9043a54965..0000000000 --- a/.changeset/khaki-otters-wear.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/dataframe": patch -"gradio": patch ---- - -fix:Better handling of empty dataframe in `gr.DataFrame` diff --git a/.changeset/kind-webs-watch.md b/.changeset/kind-webs-watch.md deleted file mode 100644 index b37a23f04f..0000000000 --- a/.changeset/kind-webs-watch.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/chatbot": patch -"gradio": patch ---- - -fix:Allows code block in chatbot to scroll horizontally diff --git a/.changeset/large-bats-say.md b/.changeset/large-bats-say.md deleted file mode 100644 index 49b297ea1e..0000000000 --- a/.changeset/large-bats-say.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/app": patch -"gradio": patch ---- - -fix:only start listening for events after the components are mounted diff --git a/.changeset/legal-donuts-burn.md b/.changeset/legal-donuts-burn.md deleted file mode 100644 index 59fc1d3faa..0000000000 --- a/.changeset/legal-donuts-burn.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/client": patch -"gradio": patch ---- - -feat:Ensure gradio client works as expected for functions that return nothing. diff --git a/.changeset/lemon-memes-clean.md b/.changeset/lemon-memes-clean.md deleted file mode 100644 index 04942eb7ac..0000000000 --- a/.changeset/lemon-memes-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": patch ---- - -fix:Fix `.update()` for `gr.Radio()` and `gr.CheckboxGroup()` diff --git a/.changeset/light-mice-bake.md b/.changeset/light-mice-bake.md deleted file mode 100644 index a5358fbabf..0000000000 --- a/.changeset/light-mice-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": patch ---- - -feat:Fix the images in the theme builder to use permanent URI diff --git a/.changeset/lovely-bikes-thank.md b/.changeset/lovely-bikes-thank.md deleted file mode 100644 index 41c9c18cf4..0000000000 --- a/.changeset/lovely-bikes-thank.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/file": minor -"gradio": minor ---- - -feat:Allows setting a height to `gr.File` and improves the UI of the component diff --git a/.changeset/mean-dragons-move.md b/.changeset/mean-dragons-move.md deleted file mode 100644 index b51a713090..0000000000 --- a/.changeset/mean-dragons-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"website": minor ---- - -feat:generate docs json in ci, reimplement main vs release diff --git a/.changeset/pink-rockets-start.md b/.changeset/pink-rockets-start.md deleted file mode 100644 index dc62ef169b..0000000000 --- a/.changeset/pink-rockets-start.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/file": patch -"gradio": patch ---- - -feat:Removes scrollbar from File preview when not needed diff --git a/.changeset/poor-papayas-behave.md b/.changeset/poor-papayas-behave.md deleted file mode 100644 index b31a0fe7d9..0000000000 --- a/.changeset/poor-papayas-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": patch ---- - -fix:Allow `gr.Interface.from_pipeline()` and `gr.load()` to work within `gr.Blocks()` diff --git a/.changeset/rare-words-occur.md b/.changeset/rare-words-occur.md deleted file mode 100644 index fd6bbfca97..0000000000 --- a/.changeset/rare-words-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": minor ---- - -feat:Rotate axes labels on LinePlot, BarPlot, and ScatterPlot diff --git a/.changeset/red-trains-wonder.md b/.changeset/red-trains-wonder.md deleted file mode 100644 index 28f4fd052e..0000000000 --- a/.changeset/red-trains-wonder.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/chatbot": minor -"gradio": minor ---- - -feat:Chatbot Avatar Images diff --git a/.changeset/salty-toys-rest.md b/.changeset/salty-toys-rest.md deleted file mode 100644 index aca76ac724..0000000000 --- a/.changeset/salty-toys-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": patch ---- - -feat:Remove aiohttp dependency diff --git a/.changeset/seven-cobras-brush.md b/.changeset/seven-cobras-brush.md deleted file mode 100644 index eaf44bb2ec..0000000000 --- a/.changeset/seven-cobras-brush.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -"@gradio/annotatedimage": minor -"@gradio/app": minor -"@gradio/atoms": minor -"@gradio/audio": minor -"@gradio/checkbox": minor -"@gradio/checkboxgroup": minor -"@gradio/code": minor -"@gradio/colorpicker": minor -"@gradio/dataframe": minor -"@gradio/dropdown": minor -"@gradio/file": minor -"@gradio/gallery": minor -"@gradio/highlightedtext": minor -"@gradio/image": minor -"@gradio/label": minor -"@gradio/model3d": minor -"@gradio/number": minor -"@gradio/plot": minor -"@gradio/radio": minor -"@gradio/slider": minor -"@gradio/statustracker": minor -"@gradio/upload": minor -"gradio": minor ---- - -feat:Update i18n tokens and locale files diff --git a/.changeset/silver-clowns-brush.md b/.changeset/silver-clowns-brush.md deleted file mode 100644 index 3019b67e76..0000000000 --- a/.changeset/silver-clowns-brush.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"gradio": patch ---- - -fix:Improve audio streaming - -- Proper audio streaming with WAV files. We now do the proper processing to stream out wav files as a single stream of audio without any cracks in the seams. -- Audio streaming with bytes. Stream any audio type by yielding out bytes, and it should work flawlessly. diff --git a/.changeset/smart-comics-attend.md b/.changeset/smart-comics-attend.md deleted file mode 100644 index 398719ef5e..0000000000 --- a/.changeset/smart-comics-attend.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@gradio/app": minor -"@gradio/audio": minor -"@gradio/file": minor -"gradio": minor ---- - -feat:ensure translations for audio work correctly diff --git a/.changeset/stale-houses-grin.md b/.changeset/stale-houses-grin.md deleted file mode 100644 index be58c32a5b..0000000000 --- a/.changeset/stale-houses-grin.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@gradio/app": minor -"gradio": minor ---- - -highlight: - -#### Add `render` function to `` - -We now have an event `render` on the web component, which is triggered once the embedded space has finished rendering. - -```html - -``` diff --git a/.changeset/warm-nails-brush.md b/.changeset/warm-nails-brush.md deleted file mode 100644 index 9fe2c13d48..0000000000 --- a/.changeset/warm-nails-brush.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/file": minor -"gradio": minor ---- - -fix:Restores missing part of bottom border on file component diff --git a/.changeset/whole-buttons-drive.md b/.changeset/whole-buttons-drive.md deleted file mode 100644 index 96f4967408..0000000000 --- a/.changeset/whole-buttons-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": patch ---- - -fix:fix #5229 diff --git a/.changeset/wide-worlds-yawn.md b/.changeset/wide-worlds-yawn.md deleted file mode 100644 index 10a267d738..0000000000 --- a/.changeset/wide-worlds-yawn.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/dataframe": minor -"gradio": minor ---- - -feat:Add height parameter and scrolling to `gr.Dataframe` diff --git a/.changeset/young-olives-yell.md b/.changeset/young-olives-yell.md deleted file mode 100644 index 6882969a8a..0000000000 --- a/.changeset/young-olives-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"website": minor ---- - -feat:homepage demo update diff --git a/.changeset/young-plums-swim.md b/.changeset/young-plums-swim.md deleted file mode 100644 index 8d5fd23475..0000000000 --- a/.changeset/young-plums-swim.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@gradio/app": patch -"gradio": patch ---- - -fix:Ensure `Blocks` translation copy renders correctly diff --git a/.changeset/young-poets-kneel.md b/.changeset/young-poets-kneel.md deleted file mode 100644 index f035949585..0000000000 --- a/.changeset/young-poets-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"gradio": minor ---- - -fix:`make_waveform()` twitter video resolution fix diff --git a/CHANGELOG.md b/CHANGELOG.md index f9d8e0067e..3607415f2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,106 @@ # gradio +## 3.41.0 + +### 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)! + +#### Enable streaming audio in python client ([#5248](https://github.com/gradio-app/gradio/pull/5248) [`390624d8`](https://github.com/gradio-app/gradio/commit/390624d8ad2b1308a5bf8384435fd0db98d8e29e)) + +The `gradio_client` now supports streaming file outputs 🌊 + +No new syntax! Connect to a gradio demo that supports streaming file outputs and call `predict` or `submit` as you normally would. + +```python +import gradio_client as grc +client = grc.Client("gradio/stream_audio_out") + +# Get the entire generated audio as a local file +client.predict("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") + +job = client.submit("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") + +# Get the entire generated audio as a local file +job.result() + +# Each individual chunk +job.outputs() +``` + + Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +#### Add `render` function to `` ([#5158](https://github.com/gradio-app/gradio/pull/5158) [`804fcc05`](https://github.com/gradio-app/gradio/commit/804fcc058e147f283ece67f1f353874e26235535)) + +We now have an event `render` on the web component, which is triggered once the embedded space has finished rendering. + +```html + +``` + + Thanks [@hannahblair](https://github.com/hannahblair)! + +### Features + +- [#5268](https://github.com/gradio-app/gradio/pull/5268) [`f49028cf`](https://github.com/gradio-app/gradio/commit/f49028cfe3e21097001ddbda71c560b3d8b42e1c) - Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5283](https://github.com/gradio-app/gradio/pull/5283) [`a7460557`](https://github.com/gradio-app/gradio/commit/a74605572dd0d6bb41df6b38b120d656370dd67d) - Add height parameter and scrolling to `gr.Dataframe`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5232](https://github.com/gradio-app/gradio/pull/5232) [`c57d4c23`](https://github.com/gradio-app/gradio/commit/c57d4c232a97e03b4671f9e9edc3af456438fe89) - `gr.Radio` and `gr.CheckboxGroup` can now accept different names and values. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5219](https://github.com/gradio-app/gradio/pull/5219) [`e8fd4e4e`](https://github.com/gradio-app/gradio/commit/e8fd4e4ec68a6c974bc8c84b61f4a0ec50a85bc6) - Add `api_name` parameter to `gr.Interface`. Additionally, completely hide api page if show_api=False. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! +- [#5280](https://github.com/gradio-app/gradio/pull/5280) [`a2f42e28`](https://github.com/gradio-app/gradio/commit/a2f42e28bd793bce4bed6d54164bb2a327a46fd5) - Allow updating the label of `gr.UpdateButton`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5112](https://github.com/gradio-app/gradio/pull/5112) [`1cefee7f`](https://github.com/gradio-app/gradio/commit/1cefee7fc05175aca23ba04b3a3fda7b97f49bf0) - chore(deps): update dependency marked to v7. Thanks [@renovate](https://github.com/apps/renovate)! +- [#5260](https://github.com/gradio-app/gradio/pull/5260) [`a773eaf7`](https://github.com/gradio-app/gradio/commit/a773eaf7504abb53b99885b3454dc1e027adbb42) - Stop passing inputs and preprocessing on iterators. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#4943](https://github.com/gradio-app/gradio/pull/4943) [`947d615d`](https://github.com/gradio-app/gradio/commit/947d615db6f76519d0e8bc0d1a0d7edf89df267b) - Sign in with Hugging Face (OAuth support). Thanks [@Wauplin](https://github.com/Wauplin)! +- [#5298](https://github.com/gradio-app/gradio/pull/5298) [`cf167cd1`](https://github.com/gradio-app/gradio/commit/cf167cd1dd4acd9aee225ff1cb6fac0e849806ba) - Create event listener table for components on docs. Thanks [@aliabd](https://github.com/aliabd)! +- [#5173](https://github.com/gradio-app/gradio/pull/5173) [`730f0c1d`](https://github.com/gradio-app/gradio/commit/730f0c1d54792eb11359e40c9f2326e8a6e39203) - Ensure gradio client works as expected for functions that return nothing. Thanks [@raymondtri](https://github.com/raymondtri)! +- [#5188](https://github.com/gradio-app/gradio/pull/5188) [`b22e1888`](https://github.com/gradio-app/gradio/commit/b22e1888fcf0843520525c1e4b7e1fe73fdeb948) - Fix the images in the theme builder to use permanent URI. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5221](https://github.com/gradio-app/gradio/pull/5221) [`f344592a`](https://github.com/gradio-app/gradio/commit/f344592aeb1658013235ded154107f72d86f24e7) - Allows setting a height to `gr.File` and improves the UI of the component. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5265](https://github.com/gradio-app/gradio/pull/5265) [`06982212`](https://github.com/gradio-app/gradio/commit/06982212dfbd613853133d5d0eebd75577967027) - Removes scrollbar from File preview when not needed. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5305](https://github.com/gradio-app/gradio/pull/5305) [`15075241`](https://github.com/gradio-app/gradio/commit/15075241fa7ad3f7fd9ae2a91e54faf8f19a46f9) - Rotate axes labels on LinePlot, BarPlot, and ScatterPlot. Thanks [@Faiga91](https://github.com/Faiga91)! +- [#5258](https://github.com/gradio-app/gradio/pull/5258) [`92282cea`](https://github.com/gradio-app/gradio/commit/92282cea6afdf7e9930ece1046d8a63be34b3cea) - Chatbot Avatar Images. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! +- [#5244](https://github.com/gradio-app/gradio/pull/5244) [`b3e50db9`](https://github.com/gradio-app/gradio/commit/b3e50db92f452f376aa2cc081326d40bb69d6dd7) - Remove aiohttp dependency. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! +- [#5264](https://github.com/gradio-app/gradio/pull/5264) [`46a2b600`](https://github.com/gradio-app/gradio/commit/46a2b600a7ff030a9ea1560b882b3bf3ad266bbc) - ensure translations for audio work correctly. Thanks [@hannahblair](https://github.com/hannahblair)! + +### Fixes + +- [#5256](https://github.com/gradio-app/gradio/pull/5256) [`933db53e`](https://github.com/gradio-app/gradio/commit/933db53e93a1229fdf149556d61da5c4c7e1a331) - Better handling of empty dataframe in `gr.DataFrame`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5242](https://github.com/gradio-app/gradio/pull/5242) [`2b397791`](https://github.com/gradio-app/gradio/commit/2b397791fe2059e4beb72937ff0436f2d4d28b4b) - Fix message text overflow onto copy button in `gr.Chatbot`. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5253](https://github.com/gradio-app/gradio/pull/5253) [`ddac7e4d`](https://github.com/gradio-app/gradio/commit/ddac7e4d0f55c3bdc6c3e9a9e24588b2563e4049) - Ensure File component uploads files to the server. Thanks [@pngwn](https://github.com/pngwn)! +- [#5179](https://github.com/gradio-app/gradio/pull/5179) [`6fb92b48`](https://github.com/gradio-app/gradio/commit/6fb92b48a916104db573602011a448b904d42e5e) - Fixes audio streaming issues. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#5295](https://github.com/gradio-app/gradio/pull/5295) [`7b8fa8aa`](https://github.com/gradio-app/gradio/commit/7b8fa8aa58f95f5046b9add64b40368bd3f1b700) - Allow caching examples with streamed output. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#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)! +- [#5122](https://github.com/gradio-app/gradio/pull/5122) [`3b805346`](https://github.com/gradio-app/gradio/commit/3b8053469aca6c7a86a6731e641e4400fc34d7d3) - Allows code block in chatbot to scroll horizontally. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! +- [#5312](https://github.com/gradio-app/gradio/pull/5312) [`f769cb67`](https://github.com/gradio-app/gradio/commit/f769cb67149d8e209091508f06d87014acaed965) - only start listening for events after the components are mounted. Thanks [@pngwn](https://github.com/pngwn)! +- [#5254](https://github.com/gradio-app/gradio/pull/5254) [`c39f06e1`](https://github.com/gradio-app/gradio/commit/c39f06e16b9feea97984e4822df35a99c807461c) - Fix `.update()` for `gr.Radio()` and `gr.CheckboxGroup()`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5231](https://github.com/gradio-app/gradio/pull/5231) [`87f1c2b4`](https://github.com/gradio-app/gradio/commit/87f1c2b4ac7c685c43477215fa5b96b6cbeffa05) - Allow `gr.Interface.from_pipeline()` and `gr.load()` to work within `gr.Blocks()`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5238](https://github.com/gradio-app/gradio/pull/5238) [`de23e9f7`](https://github.com/gradio-app/gradio/commit/de23e9f7d67e685e791faf48a21f34121f6d094a) - Improve audio streaming. Thanks [@aliabid94](https://github.com/aliabid94)!/n - Proper audio streaming with WAV files. We now do the proper processing to stream out wav files as a single stream of audio without any cracks in the seams./n - Audio streaming with bytes. Stream any audio type by yielding out bytes, and it should work flawlessly. +- [#5313](https://github.com/gradio-app/gradio/pull/5313) [`54bcb724`](https://github.com/gradio-app/gradio/commit/54bcb72417b2781ad9d7500ea0f89aa9d80f7d8f) - Restores missing part of bottom border on file component. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5235](https://github.com/gradio-app/gradio/pull/5235) [`1ecf88ac`](https://github.com/gradio-app/gradio/commit/1ecf88ac5f20bc5a1c91792d1a68559575e6afd7) - fix #5229. Thanks [@breengles](https://github.com/breengles)! +- [#5276](https://github.com/gradio-app/gradio/pull/5276) [`502f1015`](https://github.com/gradio-app/gradio/commit/502f1015bf23b365bc32446dd2e549b0c5d0dc72) - Ensure `Blocks` translation copy renders correctly. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5296](https://github.com/gradio-app/gradio/pull/5296) [`a0f22626`](https://github.com/gradio-app/gradio/commit/a0f22626f2aff297754414bbc83d5c4cfe086ea0) - `make_waveform()` twitter video resolution fix. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! + ## 3.40.0 ### Highlights diff --git a/client/js/CHANGELOG.md b/client/js/CHANGELOG.md index c89f143862..71bd962833 100644 --- a/client/js/CHANGELOG.md +++ b/client/js/CHANGELOG.md @@ -1,5 +1,11 @@ # @gradio/client +## 0.2.1 + +### Features + +- [#5173](https://github.com/gradio-app/gradio/pull/5173) [`730f0c1d`](https://github.com/gradio-app/gradio/commit/730f0c1d54792eb11359e40c9f2326e8a6e39203) - Ensure gradio client works as expected for functions that return nothing. Thanks [@raymondtri](https://github.com/raymondtri)! + ## 0.2.0 ### Features diff --git a/client/js/package.json b/client/js/package.json index 93b7ff7566..46dcfad4d0 100644 --- a/client/js/package.json +++ b/client/js/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/client", - "version": "0.2.0", + "version": "0.2.1", "description": "Gradio API client", "type": "module", "main": "dist/index.js", diff --git a/client/python/CHANGELOG.md b/client/python/CHANGELOG.md index d6647fdc9e..62f741bbfa 100644 --- a/client/python/CHANGELOG.md +++ b/client/python/CHANGELOG.md @@ -1,5 +1,37 @@ # gradio_client +## 0.5.0 + +### Highlights + +#### Enable streaming audio in python client ([#5248](https://github.com/gradio-app/gradio/pull/5248) [`390624d8`](https://github.com/gradio-app/gradio/commit/390624d8ad2b1308a5bf8384435fd0db98d8e29e)) + +The `gradio_client` now supports streaming file outputs 🌊 + +No new syntax! Connect to a gradio demo that supports streaming file outputs and call `predict` or `submit` as you normally would. + +```python +import gradio_client as grc +client = grc.Client("gradio/stream_audio_out") + +# Get the entire generated audio as a local file +client.predict("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") + +job = client.submit("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") + +# Get the entire generated audio as a local file +job.result() + +# Each individual chunk +job.outputs() +``` + + Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +### Fixes + +- [#5295](https://github.com/gradio-app/gradio/pull/5295) [`7b8fa8aa`](https://github.com/gradio-app/gradio/commit/7b8fa8aa58f95f5046b9add64b40368bd3f1b700) - Allow caching examples with streamed output. Thanks [@aliabid94](https://github.com/aliabid94)! + ## 0.4.0 ### Highlights diff --git a/client/python/gradio_client/CHANGELOG.md b/client/python/gradio_client/CHANGELOG.md index d6647fdc9e..62f741bbfa 100644 --- a/client/python/gradio_client/CHANGELOG.md +++ b/client/python/gradio_client/CHANGELOG.md @@ -1,5 +1,37 @@ # gradio_client +## 0.5.0 + +### Highlights + +#### Enable streaming audio in python client ([#5248](https://github.com/gradio-app/gradio/pull/5248) [`390624d8`](https://github.com/gradio-app/gradio/commit/390624d8ad2b1308a5bf8384435fd0db98d8e29e)) + +The `gradio_client` now supports streaming file outputs 🌊 + +No new syntax! Connect to a gradio demo that supports streaming file outputs and call `predict` or `submit` as you normally would. + +```python +import gradio_client as grc +client = grc.Client("gradio/stream_audio_out") + +# Get the entire generated audio as a local file +client.predict("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") + +job = client.submit("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") + +# Get the entire generated audio as a local file +job.result() + +# Each individual chunk +job.outputs() +``` + + Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +### Fixes + +- [#5295](https://github.com/gradio-app/gradio/pull/5295) [`7b8fa8aa`](https://github.com/gradio-app/gradio/commit/7b8fa8aa58f95f5046b9add64b40368bd3f1b700) - Allow caching examples with streamed output. Thanks [@aliabid94](https://github.com/aliabid94)! + ## 0.4.0 ### Highlights diff --git a/client/python/gradio_client/package.json b/client/python/gradio_client/package.json index 35ef728d4a..5fa09f0939 100644 --- a/client/python/gradio_client/package.json +++ b/client/python/gradio_client/package.json @@ -1,6 +1,6 @@ { "name": "gradio_client", - "version": "0.4.0", + "version": "0.5.0", "description": "", "python": "true", "main_changeset": true diff --git a/client/python/gradio_client/version.txt b/client/python/gradio_client/version.txt index 60a2d3e96c..79a2734bbf 100644 --- a/client/python/gradio_client/version.txt +++ b/client/python/gradio_client/version.txt @@ -1 +1 @@ -0.4.0 \ No newline at end of file +0.5.0 \ No newline at end of file diff --git a/gradio/CHANGELOG.md b/gradio/CHANGELOG.md index f9d8e0067e..3607415f2b 100644 --- a/gradio/CHANGELOG.md +++ b/gradio/CHANGELOG.md @@ -1,5 +1,106 @@ # gradio +## 3.41.0 + +### 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)! + +#### Enable streaming audio in python client ([#5248](https://github.com/gradio-app/gradio/pull/5248) [`390624d8`](https://github.com/gradio-app/gradio/commit/390624d8ad2b1308a5bf8384435fd0db98d8e29e)) + +The `gradio_client` now supports streaming file outputs 🌊 + +No new syntax! Connect to a gradio demo that supports streaming file outputs and call `predict` or `submit` as you normally would. + +```python +import gradio_client as grc +client = grc.Client("gradio/stream_audio_out") + +# Get the entire generated audio as a local file +client.predict("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") + +job = client.submit("/Users/freddy/Pictures/bark_demo.mp4", api_name="/predict") + +# Get the entire generated audio as a local file +job.result() + +# Each individual chunk +job.outputs() +``` + + Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +#### Add `render` function to `` ([#5158](https://github.com/gradio-app/gradio/pull/5158) [`804fcc05`](https://github.com/gradio-app/gradio/commit/804fcc058e147f283ece67f1f353874e26235535)) + +We now have an event `render` on the web component, which is triggered once the embedded space has finished rendering. + +```html + +``` + + Thanks [@hannahblair](https://github.com/hannahblair)! + +### Features + +- [#5268](https://github.com/gradio-app/gradio/pull/5268) [`f49028cf`](https://github.com/gradio-app/gradio/commit/f49028cfe3e21097001ddbda71c560b3d8b42e1c) - Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5283](https://github.com/gradio-app/gradio/pull/5283) [`a7460557`](https://github.com/gradio-app/gradio/commit/a74605572dd0d6bb41df6b38b120d656370dd67d) - Add height parameter and scrolling to `gr.Dataframe`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5232](https://github.com/gradio-app/gradio/pull/5232) [`c57d4c23`](https://github.com/gradio-app/gradio/commit/c57d4c232a97e03b4671f9e9edc3af456438fe89) - `gr.Radio` and `gr.CheckboxGroup` can now accept different names and values. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5219](https://github.com/gradio-app/gradio/pull/5219) [`e8fd4e4e`](https://github.com/gradio-app/gradio/commit/e8fd4e4ec68a6c974bc8c84b61f4a0ec50a85bc6) - Add `api_name` parameter to `gr.Interface`. Additionally, completely hide api page if show_api=False. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! +- [#5280](https://github.com/gradio-app/gradio/pull/5280) [`a2f42e28`](https://github.com/gradio-app/gradio/commit/a2f42e28bd793bce4bed6d54164bb2a327a46fd5) - Allow updating the label of `gr.UpdateButton`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5112](https://github.com/gradio-app/gradio/pull/5112) [`1cefee7f`](https://github.com/gradio-app/gradio/commit/1cefee7fc05175aca23ba04b3a3fda7b97f49bf0) - chore(deps): update dependency marked to v7. Thanks [@renovate](https://github.com/apps/renovate)! +- [#5260](https://github.com/gradio-app/gradio/pull/5260) [`a773eaf7`](https://github.com/gradio-app/gradio/commit/a773eaf7504abb53b99885b3454dc1e027adbb42) - Stop passing inputs and preprocessing on iterators. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#4943](https://github.com/gradio-app/gradio/pull/4943) [`947d615d`](https://github.com/gradio-app/gradio/commit/947d615db6f76519d0e8bc0d1a0d7edf89df267b) - Sign in with Hugging Face (OAuth support). Thanks [@Wauplin](https://github.com/Wauplin)! +- [#5298](https://github.com/gradio-app/gradio/pull/5298) [`cf167cd1`](https://github.com/gradio-app/gradio/commit/cf167cd1dd4acd9aee225ff1cb6fac0e849806ba) - Create event listener table for components on docs. Thanks [@aliabd](https://github.com/aliabd)! +- [#5173](https://github.com/gradio-app/gradio/pull/5173) [`730f0c1d`](https://github.com/gradio-app/gradio/commit/730f0c1d54792eb11359e40c9f2326e8a6e39203) - Ensure gradio client works as expected for functions that return nothing. Thanks [@raymondtri](https://github.com/raymondtri)! +- [#5188](https://github.com/gradio-app/gradio/pull/5188) [`b22e1888`](https://github.com/gradio-app/gradio/commit/b22e1888fcf0843520525c1e4b7e1fe73fdeb948) - Fix the images in the theme builder to use permanent URI. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5221](https://github.com/gradio-app/gradio/pull/5221) [`f344592a`](https://github.com/gradio-app/gradio/commit/f344592aeb1658013235ded154107f72d86f24e7) - Allows setting a height to `gr.File` and improves the UI of the component. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5265](https://github.com/gradio-app/gradio/pull/5265) [`06982212`](https://github.com/gradio-app/gradio/commit/06982212dfbd613853133d5d0eebd75577967027) - Removes scrollbar from File preview when not needed. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5305](https://github.com/gradio-app/gradio/pull/5305) [`15075241`](https://github.com/gradio-app/gradio/commit/15075241fa7ad3f7fd9ae2a91e54faf8f19a46f9) - Rotate axes labels on LinePlot, BarPlot, and ScatterPlot. Thanks [@Faiga91](https://github.com/Faiga91)! +- [#5258](https://github.com/gradio-app/gradio/pull/5258) [`92282cea`](https://github.com/gradio-app/gradio/commit/92282cea6afdf7e9930ece1046d8a63be34b3cea) - Chatbot Avatar Images. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! +- [#5244](https://github.com/gradio-app/gradio/pull/5244) [`b3e50db9`](https://github.com/gradio-app/gradio/commit/b3e50db92f452f376aa2cc081326d40bb69d6dd7) - Remove aiohttp dependency. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! +- [#5264](https://github.com/gradio-app/gradio/pull/5264) [`46a2b600`](https://github.com/gradio-app/gradio/commit/46a2b600a7ff030a9ea1560b882b3bf3ad266bbc) - ensure translations for audio work correctly. Thanks [@hannahblair](https://github.com/hannahblair)! + +### Fixes + +- [#5256](https://github.com/gradio-app/gradio/pull/5256) [`933db53e`](https://github.com/gradio-app/gradio/commit/933db53e93a1229fdf149556d61da5c4c7e1a331) - Better handling of empty dataframe in `gr.DataFrame`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5242](https://github.com/gradio-app/gradio/pull/5242) [`2b397791`](https://github.com/gradio-app/gradio/commit/2b397791fe2059e4beb72937ff0436f2d4d28b4b) - Fix message text overflow onto copy button in `gr.Chatbot`. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5253](https://github.com/gradio-app/gradio/pull/5253) [`ddac7e4d`](https://github.com/gradio-app/gradio/commit/ddac7e4d0f55c3bdc6c3e9a9e24588b2563e4049) - Ensure File component uploads files to the server. Thanks [@pngwn](https://github.com/pngwn)! +- [#5179](https://github.com/gradio-app/gradio/pull/5179) [`6fb92b48`](https://github.com/gradio-app/gradio/commit/6fb92b48a916104db573602011a448b904d42e5e) - Fixes audio streaming issues. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#5295](https://github.com/gradio-app/gradio/pull/5295) [`7b8fa8aa`](https://github.com/gradio-app/gradio/commit/7b8fa8aa58f95f5046b9add64b40368bd3f1b700) - Allow caching examples with streamed output. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#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)! +- [#5122](https://github.com/gradio-app/gradio/pull/5122) [`3b805346`](https://github.com/gradio-app/gradio/commit/3b8053469aca6c7a86a6731e641e4400fc34d7d3) - Allows code block in chatbot to scroll horizontally. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! +- [#5312](https://github.com/gradio-app/gradio/pull/5312) [`f769cb67`](https://github.com/gradio-app/gradio/commit/f769cb67149d8e209091508f06d87014acaed965) - only start listening for events after the components are mounted. Thanks [@pngwn](https://github.com/pngwn)! +- [#5254](https://github.com/gradio-app/gradio/pull/5254) [`c39f06e1`](https://github.com/gradio-app/gradio/commit/c39f06e16b9feea97984e4822df35a99c807461c) - Fix `.update()` for `gr.Radio()` and `gr.CheckboxGroup()`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5231](https://github.com/gradio-app/gradio/pull/5231) [`87f1c2b4`](https://github.com/gradio-app/gradio/commit/87f1c2b4ac7c685c43477215fa5b96b6cbeffa05) - Allow `gr.Interface.from_pipeline()` and `gr.load()` to work within `gr.Blocks()`. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5238](https://github.com/gradio-app/gradio/pull/5238) [`de23e9f7`](https://github.com/gradio-app/gradio/commit/de23e9f7d67e685e791faf48a21f34121f6d094a) - Improve audio streaming. Thanks [@aliabid94](https://github.com/aliabid94)!/n - Proper audio streaming with WAV files. We now do the proper processing to stream out wav files as a single stream of audio without any cracks in the seams./n - Audio streaming with bytes. Stream any audio type by yielding out bytes, and it should work flawlessly. +- [#5313](https://github.com/gradio-app/gradio/pull/5313) [`54bcb724`](https://github.com/gradio-app/gradio/commit/54bcb72417b2781ad9d7500ea0f89aa9d80f7d8f) - Restores missing part of bottom border on file component. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5235](https://github.com/gradio-app/gradio/pull/5235) [`1ecf88ac`](https://github.com/gradio-app/gradio/commit/1ecf88ac5f20bc5a1c91792d1a68559575e6afd7) - fix #5229. Thanks [@breengles](https://github.com/breengles)! +- [#5276](https://github.com/gradio-app/gradio/pull/5276) [`502f1015`](https://github.com/gradio-app/gradio/commit/502f1015bf23b365bc32446dd2e549b0c5d0dc72) - Ensure `Blocks` translation copy renders correctly. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5296](https://github.com/gradio-app/gradio/pull/5296) [`a0f22626`](https://github.com/gradio-app/gradio/commit/a0f22626f2aff297754414bbc83d5c4cfe086ea0) - `make_waveform()` twitter video resolution fix. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! + ## 3.40.0 ### Highlights diff --git a/gradio/package.json b/gradio/package.json index eb3c068f7c..08adf74fbd 100644 --- a/gradio/package.json +++ b/gradio/package.json @@ -1,6 +1,6 @@ { "name": "gradio", - "version": "3.40.0", + "version": "3.41.0", "description": "", "python": "true" } diff --git a/gradio/version.txt b/gradio/version.txt index 3e728c8d36..76ef55bc12 100644 --- a/gradio/version.txt +++ b/gradio/version.txt @@ -1 +1 @@ -3.40.1 \ No newline at end of file +3.41.0 \ No newline at end of file diff --git a/js/_website/CHANGELOG.md b/js/_website/CHANGELOG.md index 140def63de..680111f2a9 100644 --- a/js/_website/CHANGELOG.md +++ b/js/_website/CHANGELOG.md @@ -1,5 +1,32 @@ # website +## 0.2.0 + +### 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)! + +### Features + +- [#5298](https://github.com/gradio-app/gradio/pull/5298) [`cf167cd1`](https://github.com/gradio-app/gradio/commit/cf167cd1dd4acd9aee225ff1cb6fac0e849806ba) - Create event listener table for components on docs. Thanks [@aliabd](https://github.com/aliabd)! +- [#5092](https://github.com/gradio-app/gradio/pull/5092) [`643442e1`](https://github.com/gradio-app/gradio/commit/643442e1a5e25fc0c89a15a38b6279b8955643ac) - generate docs json in ci, reimplement main vs release. Thanks [@pngwn](https://github.com/pngwn)! +- [#5186](https://github.com/gradio-app/gradio/pull/5186) [`24b66e1c`](https://github.com/gradio-app/gradio/commit/24b66e1cff0452bce71c71cea1b818913aeb8d51) - homepage demo update. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + ## 0.1.0 ### Features diff --git a/js/_website/package.json b/js/_website/package.json index 651cfe06f4..6b5a78e761 100644 --- a/js/_website/package.json +++ b/js/_website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "0.1.0", + "version": "0.2.0", "private": true, "scripts": { "dev": "python generate_jsons/generate.py && vite dev", diff --git a/js/accordion/CHANGELOG.md b/js/accordion/CHANGELOG.md new file mode 100644 index 0000000000..18106f657d --- /dev/null +++ b/js/accordion/CHANGELOG.md @@ -0,0 +1,7 @@ +# @gradio/accordion + +## 0.0.2 + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! \ No newline at end of file diff --git a/js/accordion/package.json b/js/accordion/package.json index ece7ab938c..bf860f90fe 100644 --- a/js/accordion/package.json +++ b/js/accordion/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/accordion", - "version": "0.0.1", + "version": "0.0.2", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/annotatedimage/CHANGELOG.md b/js/annotatedimage/CHANGELOG.md index f543844223..1118e87bbf 100644 --- a/js/annotatedimage/CHANGELOG.md +++ b/js/annotatedimage/CHANGELOG.md @@ -1,8 +1,34 @@ # @gradio/annotatedimage +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.0.2 ### Patch Changes - Updated dependencies [[`667875b2`](https://github.com/gradio-app/gradio/commit/667875b2441753e74d25bd9d3c8adedd8ede11cd)]: - - @gradio/upload@0.0.3 + - @gradio/upload@0.0.3 \ No newline at end of file diff --git a/js/annotatedimage/package.json b/js/annotatedimage/package.json index bdc1bf9af5..53f8099080 100644 --- a/js/annotatedimage/package.json +++ b/js/annotatedimage/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/annotatedimage", - "version": "0.0.2", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/app/CHANGELOG.md b/js/app/CHANGELOG.md index c34c21320d..bf1b35fa0d 100644 --- a/js/app/CHANGELOG.md +++ b/js/app/CHANGELOG.md @@ -1,5 +1,55 @@ # @gradio/app +## 1.3.0 + +### 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)! + +#### Add `render` function to `` ([#5158](https://github.com/gradio-app/gradio/pull/5158) [`804fcc05`](https://github.com/gradio-app/gradio/commit/804fcc058e147f283ece67f1f353874e26235535)) + +We now have an event `render` on the web component, which is triggered once the embedded space has finished rendering. + +```html + +``` + + Thanks [@hannahblair](https://github.com/hannahblair)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5219](https://github.com/gradio-app/gradio/pull/5219) [`e8fd4e4e`](https://github.com/gradio-app/gradio/commit/e8fd4e4ec68a6c974bc8c84b61f4a0ec50a85bc6) - Add `api_name` parameter to `gr.Interface`. Additionally, completely hide api page if show_api=False. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! +- [#5264](https://github.com/gradio-app/gradio/pull/5264) [`46a2b600`](https://github.com/gradio-app/gradio/commit/46a2b600a7ff030a9ea1560b882b3bf3ad266bbc) - ensure translations for audio work correctly. Thanks [@hannahblair](https://github.com/hannahblair)! + +### 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)! +- [#5312](https://github.com/gradio-app/gradio/pull/5312) [`f769cb67`](https://github.com/gradio-app/gradio/commit/f769cb67149d8e209091508f06d87014acaed965) - only start listening for events after the components are mounted. Thanks [@pngwn](https://github.com/pngwn)! +- [#5276](https://github.com/gradio-app/gradio/pull/5276) [`502f1015`](https://github.com/gradio-app/gradio/commit/502f1015bf23b365bc32446dd2e549b0c5d0dc72) - Ensure `Blocks` translation copy renders correctly. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 1.2.0 ### Highlights diff --git a/js/app/package.json b/js/app/package.json index c451e0c6c2..856ff970d2 100644 --- a/js/app/package.json +++ b/js/app/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/app", - "version": "1.2.0", + "version": "1.3.0", "private": true, "type": "module", "scripts": { diff --git a/js/atoms/CHANGELOG.md b/js/atoms/CHANGELOG.md index fe5adc1e83..b19f77574b 100644 --- a/js/atoms/CHANGELOG.md +++ b/js/atoms/CHANGELOG.md @@ -1,8 +1,33 @@ # @gradio/atoms +## 0.1.0 + +### 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)! + +### Features + +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.0.2 ### Patch Changes - Updated dependencies []: - - @gradio/utils@0.0.2 + - @gradio/utils@0.0.2 \ No newline at end of file diff --git a/js/atoms/package.json b/js/atoms/package.json index 7647ba2531..046339d12c 100644 --- a/js/atoms/package.json +++ b/js/atoms/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/atoms", - "version": "0.0.2", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "src/index.ts", diff --git a/js/audio/CHANGELOG.md b/js/audio/CHANGELOG.md index f251ec275d..32130551de 100644 --- a/js/audio/CHANGELOG.md +++ b/js/audio/CHANGELOG.md @@ -1,5 +1,32 @@ # @gradio/audio +## 0.3.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5264](https://github.com/gradio-app/gradio/pull/5264) [`46a2b600`](https://github.com/gradio-app/gradio/commit/46a2b600a7ff030a9ea1560b882b3bf3ad266bbc) - ensure translations for audio work correctly. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.2.0 ### Features diff --git a/js/audio/package.json b/js/audio/package.json index 6a12d2aa41..c03658d9f9 100644 --- a/js/audio/package.json +++ b/js/audio/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/audio", - "version": "0.2.0", + "version": "0.3.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/box/CHANGELOG.md b/js/box/CHANGELOG.md new file mode 100644 index 0000000000..c004d885d5 --- /dev/null +++ b/js/box/CHANGELOG.md @@ -0,0 +1,7 @@ +# @gradio/box + +## 0.0.2 + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! \ No newline at end of file diff --git a/js/box/package.json b/js/box/package.json index 22d0796614..707822b221 100644 --- a/js/box/package.json +++ b/js/box/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/box", - "version": "0.0.1", + "version": "0.0.2", "description": "Gradio UI packages", "type": "module", "main": "./static/index.svelte", diff --git a/js/button/CHANGELOG.md b/js/button/CHANGELOG.md index cb8e89a560..afc8088b36 100644 --- a/js/button/CHANGELOG.md +++ b/js/button/CHANGELOG.md @@ -1,5 +1,30 @@ # @gradio/button +## 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 diff --git a/js/button/package.json b/js/button/package.json index 437305d27a..482253796d 100644 --- a/js/button/package.json +++ b/js/button/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/button", - "version": "0.1.0", + "version": "0.1.1", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/chatbot/CHANGELOG.md b/js/chatbot/CHANGELOG.md index 9cc2af202b..ce32513853 100644 --- a/js/chatbot/CHANGELOG.md +++ b/js/chatbot/CHANGELOG.md @@ -1,5 +1,38 @@ # @gradio/chatbot +## 0.2.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5112](https://github.com/gradio-app/gradio/pull/5112) [`1cefee7f`](https://github.com/gradio-app/gradio/commit/1cefee7fc05175aca23ba04b3a3fda7b97f49bf0) - chore(deps): update dependency marked to v7. Thanks [@renovate](https://github.com/apps/renovate)! +- [#5258](https://github.com/gradio-app/gradio/pull/5258) [`92282cea`](https://github.com/gradio-app/gradio/commit/92282cea6afdf7e9930ece1046d8a63be34b3cea) - Chatbot Avatar Images. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! + +### Fixes + +- [#5242](https://github.com/gradio-app/gradio/pull/5242) [`2b397791`](https://github.com/gradio-app/gradio/commit/2b397791fe2059e4beb72937ff0436f2d4d28b4b) - Fix message text overflow onto copy button in `gr.Chatbot`. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#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)! +- [#5122](https://github.com/gradio-app/gradio/pull/5122) [`3b805346`](https://github.com/gradio-app/gradio/commit/3b8053469aca6c7a86a6731e641e4400fc34d7d3) - Allows code block in chatbot to scroll horizontally. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! + ## 0.1.0 ### Features diff --git a/js/chatbot/package.json b/js/chatbot/package.json index 9fc72f61b5..a854b7378b 100644 --- a/js/chatbot/package.json +++ b/js/chatbot/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/chatbot", - "version": "0.1.0", + "version": "0.2.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/checkbox/CHANGELOG.md b/js/checkbox/CHANGELOG.md new file mode 100644 index 0000000000..ca066d81a0 --- /dev/null +++ b/js/checkbox/CHANGELOG.md @@ -0,0 +1,27 @@ +# @gradio/checkbox + +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! \ No newline at end of file diff --git a/js/checkbox/package.json b/js/checkbox/package.json index cdb7c26385..a6fb533c1f 100644 --- a/js/checkbox/package.json +++ b/js/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/checkbox", - "version": "0.0.1", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/checkboxgroup/CHANGELOG.md b/js/checkboxgroup/CHANGELOG.md new file mode 100644 index 0000000000..29744cfb58 --- /dev/null +++ b/js/checkboxgroup/CHANGELOG.md @@ -0,0 +1,28 @@ +# @gradio/checkboxgroup + +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5232](https://github.com/gradio-app/gradio/pull/5232) [`c57d4c23`](https://github.com/gradio-app/gradio/commit/c57d4c232a97e03b4671f9e9edc3af456438fe89) - `gr.Radio` and `gr.CheckboxGroup` can now accept different names and values. Thanks [@abidlabs](https://github.com/abidlabs)! \ No newline at end of file diff --git a/js/checkboxgroup/package.json b/js/checkboxgroup/package.json index c8f62d87c8..76c12753d6 100644 --- a/js/checkboxgroup/package.json +++ b/js/checkboxgroup/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/checkboxgroup", - "version": "0.0.1", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "index.svelte", diff --git a/js/code/CHANGELOG.md b/js/code/CHANGELOG.md index 6addbdd9bf..bd4d1802da 100644 --- a/js/code/CHANGELOG.md +++ b/js/code/CHANGELOG.md @@ -1,5 +1,31 @@ # @gradio/code +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.0.3 ### Patch Changes @@ -13,4 +39,4 @@ - Updated dependencies []: - @gradio/atoms@0.0.2 - - @gradio/upload@0.0.2 + - @gradio/upload@0.0.2 \ No newline at end of file diff --git a/js/code/package.json b/js/code/package.json index 796b58d598..560cc90f86 100644 --- a/js/code/package.json +++ b/js/code/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/code", - "version": "0.0.3", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/colorpicker/CHANGELOG.md b/js/colorpicker/CHANGELOG.md index 6c1e2897e0..38f86d9476 100644 --- a/js/colorpicker/CHANGELOG.md +++ b/js/colorpicker/CHANGELOG.md @@ -1,5 +1,31 @@ # @gradio/colorpicker +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.0.2 ### Fixes diff --git a/js/colorpicker/package.json b/js/colorpicker/package.json index 8ce10df2a8..e5a6966802 100644 --- a/js/colorpicker/package.json +++ b/js/colorpicker/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/colorpicker", - "version": "0.0.2", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/dataframe/CHANGELOG.md b/js/dataframe/CHANGELOG.md index fd989668c8..54ffc4d378 100644 --- a/js/dataframe/CHANGELOG.md +++ b/js/dataframe/CHANGELOG.md @@ -1,9 +1,41 @@ # @gradio/dataframe +## 0.1.0 + +### 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)! + +### Features + +- [#5268](https://github.com/gradio-app/gradio/pull/5268) [`f49028cf`](https://github.com/gradio-app/gradio/commit/f49028cfe3e21097001ddbda71c560b3d8b42e1c) - Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5283](https://github.com/gradio-app/gradio/pull/5283) [`a7460557`](https://github.com/gradio-app/gradio/commit/a74605572dd0d6bb41df6b38b120d656370dd67d) - Add height parameter and scrolling to `gr.Dataframe`. Thanks [@abidlabs](https://github.com/abidlabs)! + +### Fixes + +- [#5256](https://github.com/gradio-app/gradio/pull/5256) [`933db53e`](https://github.com/gradio-app/gradio/commit/933db53e93a1229fdf149556d61da5c4c7e1a331) - Better handling of empty dataframe in `gr.DataFrame`. Thanks [@abidlabs](https://github.com/abidlabs)! + ## 0.0.2 ### Patch Changes - Updated dependencies [[`667875b2`](https://github.com/gradio-app/gradio/commit/667875b2441753e74d25bd9d3c8adedd8ede11cd), [`37caa2e0`](https://github.com/gradio-app/gradio/commit/37caa2e0fe95d6cab8beb174580fb557904f137f)]: - @gradio/upload@0.0.3 - - @gradio/button@0.1.0 + - @gradio/button@0.1.0 \ No newline at end of file diff --git a/js/dataframe/package.json b/js/dataframe/package.json index 2ad975c6fe..f437d091d5 100644 --- a/js/dataframe/package.json +++ b/js/dataframe/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/dataframe", - "version": "0.0.2", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/dropdown/CHANGELOG.md b/js/dropdown/CHANGELOG.md index 5b929f5bf9..d8e26635f8 100644 --- a/js/dropdown/CHANGELOG.md +++ b/js/dropdown/CHANGELOG.md @@ -1,5 +1,31 @@ # @gradio/dropdown +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.0.2 ### Fixes diff --git a/js/dropdown/package.json b/js/dropdown/package.json index 58b6139f35..174dfe570a 100644 --- a/js/dropdown/package.json +++ b/js/dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/dropdown", - "version": "0.0.2", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/file/CHANGELOG.md b/js/file/CHANGELOG.md index 95b059295a..8645686253 100644 --- a/js/file/CHANGELOG.md +++ b/js/file/CHANGELOG.md @@ -1,5 +1,39 @@ # @gradio/file +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5221](https://github.com/gradio-app/gradio/pull/5221) [`f344592a`](https://github.com/gradio-app/gradio/commit/f344592aeb1658013235ded154107f72d86f24e7) - Allows setting a height to `gr.File` and improves the UI of the component. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5265](https://github.com/gradio-app/gradio/pull/5265) [`06982212`](https://github.com/gradio-app/gradio/commit/06982212dfbd613853133d5d0eebd75577967027) - Removes scrollbar from File preview when not needed. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5264](https://github.com/gradio-app/gradio/pull/5264) [`46a2b600`](https://github.com/gradio-app/gradio/commit/46a2b600a7ff030a9ea1560b882b3bf3ad266bbc) - ensure translations for audio work correctly. Thanks [@hannahblair](https://github.com/hannahblair)! + +### Fixes + +- [#5253](https://github.com/gradio-app/gradio/pull/5253) [`ddac7e4d`](https://github.com/gradio-app/gradio/commit/ddac7e4d0f55c3bdc6c3e9a9e24588b2563e4049) - Ensure File component uploads files to the server. Thanks [@pngwn](https://github.com/pngwn)! +- [#5313](https://github.com/gradio-app/gradio/pull/5313) [`54bcb724`](https://github.com/gradio-app/gradio/commit/54bcb72417b2781ad9d7500ea0f89aa9d80f7d8f) - Restores missing part of bottom border on file component. Thanks [@abidlabs](https://github.com/abidlabs)! + ## 0.0.3 ### Patch Changes @@ -15,4 +49,4 @@ - Updated dependencies []: - @gradio/utils@0.0.2 - @gradio/atoms@0.0.2 - - @gradio/upload@0.0.2 + - @gradio/upload@0.0.2 \ No newline at end of file diff --git a/js/file/package.json b/js/file/package.json index 61839c9a82..f13f468fe9 100644 --- a/js/file/package.json +++ b/js/file/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/file", - "version": "0.0.3", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/form/CHANGELOG.md b/js/form/CHANGELOG.md index edec6dfd12..d5ce8b826d 100644 --- a/js/form/CHANGELOG.md +++ b/js/form/CHANGELOG.md @@ -1,5 +1,13 @@ # @gradio/form +## 0.0.3 + +### Patch Changes + +- Updated dependencies [[`fe057300`](https://github.com/gradio-app/gradio/commit/fe057300f0672c62dab9d9b4501054ac5d45a4ec), [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8)]: + - @gradio/atoms@0.1.0 + - @gradio/utils@0.0.3 + ## 0.0.2 ### Patch Changes diff --git a/js/form/package.json b/js/form/package.json index 1eefb14824..9db1a622b8 100644 --- a/js/form/package.json +++ b/js/form/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/form", - "version": "0.0.2", + "version": "0.0.3", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/gallery/CHANGELOG.md b/js/gallery/CHANGELOG.md index a993ea0de0..3475a21394 100644 --- a/js/gallery/CHANGELOG.md +++ b/js/gallery/CHANGELOG.md @@ -1,5 +1,31 @@ # @gradio/gallery +## 0.3.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.2.0 ### Features diff --git a/js/gallery/package.json b/js/gallery/package.json index 8ccd6864c8..07d40a5d2d 100644 --- a/js/gallery/package.json +++ b/js/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/gallery", - "version": "0.2.0", + "version": "0.3.0", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/highlightedtext/CHANGELOG.md b/js/highlightedtext/CHANGELOG.md index 59b9f8669f..99d543e228 100644 --- a/js/highlightedtext/CHANGELOG.md +++ b/js/highlightedtext/CHANGELOG.md @@ -1,5 +1,31 @@ # @gradio/highlightedtext +## 0.2.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.1.0 ### Features diff --git a/js/highlightedtext/package.json b/js/highlightedtext/package.json index d68e602006..e65d988eab 100644 --- a/js/highlightedtext/package.json +++ b/js/highlightedtext/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/highlightedtext", - "version": "0.1.0", + "version": "0.2.0", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/html/CHANGELOG.md b/js/html/CHANGELOG.md new file mode 100644 index 0000000000..02a0b27a84 --- /dev/null +++ b/js/html/CHANGELOG.md @@ -0,0 +1,26 @@ +# @gradio/html + +## 0.0.2 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! \ No newline at end of file diff --git a/js/html/package.json b/js/html/package.json index f485aeaec2..a027998ed8 100644 --- a/js/html/package.json +++ b/js/html/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/html", - "version": "0.0.1", + "version": "0.0.2", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/image/CHANGELOG.md b/js/image/CHANGELOG.md index 27fd04231a..ae47bb512f 100644 --- a/js/image/CHANGELOG.md +++ b/js/image/CHANGELOG.md @@ -1,5 +1,31 @@ # @gradio/image +## 0.2.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.1.1 ### Patch Changes @@ -11,4 +37,4 @@ ### Features -- [#4979](https://github.com/gradio-app/gradio/pull/4979) [`44ac8ad0`](https://github.com/gradio-app/gradio/commit/44ac8ad08d82ea12c503dde5c78f999eb0452de2) - Allow setting sketch color default. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#4979](https://github.com/gradio-app/gradio/pull/4979) [`44ac8ad0`](https://github.com/gradio-app/gradio/commit/44ac8ad08d82ea12c503dde5c78f999eb0452de2) - Allow setting sketch color default. Thanks [@aliabid94](https://github.com/aliabid94)! \ No newline at end of file diff --git a/js/image/package.json b/js/image/package.json index 44cc68f4e9..077945f893 100644 --- a/js/image/package.json +++ b/js/image/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/image", - "version": "0.1.1", + "version": "0.2.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/json/CHANGELOG.md b/js/json/CHANGELOG.md index 9190bd3d29..6289a6ef84 100644 --- a/js/json/CHANGELOG.md +++ b/js/json/CHANGELOG.md @@ -1,8 +1,33 @@ # @gradio/json +## 0.0.3 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! + ## 0.0.2 ### Patch Changes - Updated dependencies []: - - @gradio/atoms@0.0.2 + - @gradio/atoms@0.0.2 \ No newline at end of file diff --git a/js/json/package.json b/js/json/package.json index cc8c8308c8..0de8fa6318 100644 --- a/js/json/package.json +++ b/js/json/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/json", - "version": "0.0.2", + "version": "0.0.3", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/label/CHANGELOG.md b/js/label/CHANGELOG.md index 7a326dcef4..bbefacc007 100644 --- a/js/label/CHANGELOG.md +++ b/js/label/CHANGELOG.md @@ -1,8 +1,34 @@ # @gradio/label +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.0.2 ### Patch Changes - Updated dependencies []: - - @gradio/utils@0.0.2 + - @gradio/utils@0.0.2 \ No newline at end of file diff --git a/js/label/package.json b/js/label/package.json index d0fc2788a3..5f6cbe3748 100644 --- a/js/label/package.json +++ b/js/label/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/label", - "version": "0.0.2", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/lite/CHANGELOG.md b/js/lite/CHANGELOG.md index ba78471f26..483cb576e8 100644 --- a/js/lite/CHANGELOG.md +++ b/js/lite/CHANGELOG.md @@ -1,5 +1,11 @@ # @gradio/lite +## 0.3.1 + +### Features + +- [#5226](https://github.com/gradio-app/gradio/pull/5226) [`64039707`](https://github.com/gradio-app/gradio/commit/640397075d17307dd4f0713d063ef3d009a87aa0) - add gradio as a devdep of @gradio/lite. Thanks [@pngwn](https://github.com/pngwn)! + ## 0.3.0 ### Minor Changes @@ -30,4 +36,4 @@ ### Patch Changes -- [#4731](https://github.com/gradio-app/gradio/pull/4731) [`f9171288`](https://github.com/gradio-app/gradio/commit/f9171288d4cf0174952628276385fb553556c38a) Thanks [@whitphx](https://github.com/whitphx)! - Load the worker file from a different origin, e.g. CDN +- [#4731](https://github.com/gradio-app/gradio/pull/4731) [`f9171288`](https://github.com/gradio-app/gradio/commit/f9171288d4cf0174952628276385fb553556c38a) Thanks [@whitphx](https://github.com/whitphx)! - Load the worker file from a different origin, e.g. CDN \ No newline at end of file diff --git a/js/lite/package.json b/js/lite/package.json index 56b9696827..e0ef1f6c32 100644 --- a/js/lite/package.json +++ b/js/lite/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/lite", - "version": "0.3.0", + "version": "0.3.1", "description": "Serverless Gradio", "type": "module", "main": "dist/index.js", diff --git a/js/markdown/CHANGELOG.md b/js/markdown/CHANGELOG.md new file mode 100644 index 0000000000..2437c173d7 --- /dev/null +++ b/js/markdown/CHANGELOG.md @@ -0,0 +1,27 @@ +# @gradio/markdown + +## 0.1.0 + +### 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)! + +### Features + +- [#5268](https://github.com/gradio-app/gradio/pull/5268) [`f49028cf`](https://github.com/gradio-app/gradio/commit/f49028cfe3e21097001ddbda71c560b3d8b42e1c) - Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! \ No newline at end of file diff --git a/js/markdown/package.json b/js/markdown/package.json index 920d42a160..79eed9bba3 100644 --- a/js/markdown/package.json +++ b/js/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/markdown", - "version": "0.0.1", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/model3D/CHANGELOG.md b/js/model3D/CHANGELOG.md index 15b32b0514..26cd64d772 100644 --- a/js/model3D/CHANGELOG.md +++ b/js/model3D/CHANGELOG.md @@ -1,3 +1,31 @@ +# @gradio/model3d + +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + # @gradio/model3D ## 0.0.2 @@ -13,4 +41,4 @@ - Updated dependencies []: - @gradio/atoms@0.0.2 - - @gradio/upload@0.0.2 + - @gradio/upload@0.0.2 \ No newline at end of file diff --git a/js/model3D/package.json b/js/model3D/package.json index cfb685481c..6b73fafec6 100644 --- a/js/model3D/package.json +++ b/js/model3D/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/model3d", - "version": "0.0.2", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/number/CHANGELOG.md b/js/number/CHANGELOG.md index d175d7931b..d733220106 100644 --- a/js/number/CHANGELOG.md +++ b/js/number/CHANGELOG.md @@ -1,5 +1,31 @@ # @gradio/number +## 0.2.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.1.0 ### Features diff --git a/js/number/package.json b/js/number/package.json index b460a6c280..857edb46ad 100644 --- a/js/number/package.json +++ b/js/number/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/number", - "version": "0.1.0", + "version": "0.2.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/plot/CHANGELOG.md b/js/plot/CHANGELOG.md index 2b1cd4da9e..ae2afc7534 100644 --- a/js/plot/CHANGELOG.md +++ b/js/plot/CHANGELOG.md @@ -1,5 +1,31 @@ # @gradio/plot +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + ## 0.0.2 ### Patch Changes @@ -7,4 +33,4 @@ - Updated dependencies [[`41c83070`](https://github.com/gradio-app/gradio/commit/41c83070b01632084e7d29123048a96c1e261407)]: - @gradio/theme@0.0.2 - @gradio/utils@0.0.2 - - @gradio/atoms@0.0.2 + - @gradio/atoms@0.0.2 \ No newline at end of file diff --git a/js/plot/package.json b/js/plot/package.json index 10263b9dd7..b16ea21b1c 100644 --- a/js/plot/package.json +++ b/js/plot/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/plot", - "version": "0.0.2", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/radio/CHANGELOG.md b/js/radio/CHANGELOG.md new file mode 100644 index 0000000000..f4ea516615 --- /dev/null +++ b/js/radio/CHANGELOG.md @@ -0,0 +1,28 @@ +# @gradio/radio + +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! +- [#5232](https://github.com/gradio-app/gradio/pull/5232) [`c57d4c23`](https://github.com/gradio-app/gradio/commit/c57d4c232a97e03b4671f9e9edc3af456438fe89) - `gr.Radio` and `gr.CheckboxGroup` can now accept different names and values. Thanks [@abidlabs](https://github.com/abidlabs)! \ No newline at end of file diff --git a/js/radio/package.json b/js/radio/package.json index 94c1c447cb..c0d09ecad0 100644 --- a/js/radio/package.json +++ b/js/radio/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/radio", - "version": "0.0.1", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/slider/CHANGELOG.md b/js/slider/CHANGELOG.md new file mode 100644 index 0000000000..e35c008add --- /dev/null +++ b/js/slider/CHANGELOG.md @@ -0,0 +1,27 @@ +# @gradio/slider + +## 0.1.0 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! \ No newline at end of file diff --git a/js/slider/package.json b/js/slider/package.json index c067e71de2..08cf7473be 100644 --- a/js/slider/package.json +++ b/js/slider/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/slider", - "version": "0.0.1", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.svelte", diff --git a/js/statustracker/CHANGELOG.md b/js/statustracker/CHANGELOG.md new file mode 100644 index 0000000000..83c464c168 --- /dev/null +++ b/js/statustracker/CHANGELOG.md @@ -0,0 +1,8 @@ +# @gradio/statustracker + +## 0.1.0 + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! \ No newline at end of file diff --git a/js/statustracker/package.json b/js/statustracker/package.json index caa11e9d76..2de38a7fd5 100644 --- a/js/statustracker/package.json +++ b/js/statustracker/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/statustracker", - "version": "0.0.1", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "./index.ts", diff --git a/js/tabitem/CHANGELOG.md b/js/tabitem/CHANGELOG.md new file mode 100644 index 0000000000..d2308a2a3f --- /dev/null +++ b/js/tabitem/CHANGELOG.md @@ -0,0 +1,22 @@ +# @gradio/tabitem + +## 0.0.2 + +### 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)! \ No newline at end of file diff --git a/js/tabitem/package.json b/js/tabitem/package.json index b9e0dab3fe..a8094121c6 100644 --- a/js/tabitem/package.json +++ b/js/tabitem/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/tabitem", - "version": "0.0.1", + "version": "0.0.2", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/tabs/CHANGELOG.md b/js/tabs/CHANGELOG.md index f0e609572f..35cce68e3a 100644 --- a/js/tabs/CHANGELOG.md +++ b/js/tabs/CHANGELOG.md @@ -1,8 +1,29 @@ # @gradio/tabs +## 0.0.3 + +### 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)! + ## 0.0.2 ### Patch Changes - Updated dependencies []: - - @gradio/utils@0.0.2 + - @gradio/utils@0.0.2 \ No newline at end of file diff --git a/js/tabs/package.json b/js/tabs/package.json index b0cdb5d527..0f4697c451 100644 --- a/js/tabs/package.json +++ b/js/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/tabs", - "version": "0.0.2", + "version": "0.0.3", "description": "Gradio UI packages", "type": "module", "main": "./static/index.ts", diff --git a/js/textbox/CHANGELOG.md b/js/textbox/CHANGELOG.md index 245819af80..4ccca971ba 100644 --- a/js/textbox/CHANGELOG.md +++ b/js/textbox/CHANGELOG.md @@ -1,5 +1,26 @@ # @gradio/textbox +## 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)! + ## 0.1.0 ### Features diff --git a/js/textbox/package.json b/js/textbox/package.json index 08bf90233a..c024233520 100644 --- a/js/textbox/package.json +++ b/js/textbox/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/textbox", - "version": "0.1.0", + "version": "0.1.1", "description": "Gradio UI packages", "type": "module", "main": "index.svelte", diff --git a/js/theme/CHANGELOG.md b/js/theme/CHANGELOG.md index 1b04f78237..8d36143e0d 100644 --- a/js/theme/CHANGELOG.md +++ b/js/theme/CHANGELOG.md @@ -1,7 +1,28 @@ # @gradio/theme +## 0.0.3 + +### 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)! + ## 0.0.2 ### Fixes -- [#4997](https://github.com/gradio-app/gradio/pull/4997) [`41c83070`](https://github.com/gradio-app/gradio/commit/41c83070b01632084e7d29123048a96c1e261407) - Add CSS resets and specifiers to play nice with HF blog. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#4997](https://github.com/gradio-app/gradio/pull/4997) [`41c83070`](https://github.com/gradio-app/gradio/commit/41c83070b01632084e7d29123048a96c1e261407) - Add CSS resets and specifiers to play nice with HF blog. Thanks [@aliabid94](https://github.com/aliabid94)! \ No newline at end of file diff --git a/js/theme/package.json b/js/theme/package.json index 3486f33101..26fbb574a2 100644 --- a/js/theme/package.json +++ b/js/theme/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/theme", - "version": "0.0.2", + "version": "0.0.3", "description": "Gradio UI packages", "type": "module", "main": "src/index.ts", diff --git a/js/timeseries/CHANGELOG.md b/js/timeseries/CHANGELOG.md index 8dc148a2ac..173e8a9e51 100644 --- a/js/timeseries/CHANGELOG.md +++ b/js/timeseries/CHANGELOG.md @@ -1,8 +1,33 @@ # @gradio/timeseries +## 0.0.3 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! + ## 0.0.2 ### Patch Changes - Updated dependencies [[`667875b2`](https://github.com/gradio-app/gradio/commit/667875b2441753e74d25bd9d3c8adedd8ede11cd)]: - - @gradio/upload@0.0.3 + - @gradio/upload@0.0.3 \ No newline at end of file diff --git a/js/timeseries/package.json b/js/timeseries/package.json index d810301328..db90d97c1d 100644 --- a/js/timeseries/package.json +++ b/js/timeseries/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/timeseries", - "version": "0.0.2", + "version": "0.0.3", "description": "Gradio UI packages", "type": "module", "main": "index.svelte", diff --git a/js/tootils/CHANGELOG.md b/js/tootils/CHANGELOG.md new file mode 100644 index 0000000000..46fad2b091 --- /dev/null +++ b/js/tootils/CHANGELOG.md @@ -0,0 +1,22 @@ +# @gradio/tootils + +## 0.0.2 + +### 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)! \ No newline at end of file diff --git a/js/tootils/package.json b/js/tootils/package.json index 877507b47a..57bd0cd053 100644 --- a/js/tootils/package.json +++ b/js/tootils/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/tootils", - "version": "0.0.1", + "version": "0.0.2", "description": "Internal test utilities", "type": "module", "main": "src/index.ts", diff --git a/js/upload/CHANGELOG.md b/js/upload/CHANGELOG.md index eedfd7ec5c..3797647e67 100644 --- a/js/upload/CHANGELOG.md +++ b/js/upload/CHANGELOG.md @@ -1,5 +1,34 @@ # @gradio/upload +## 0.1.0 + +### 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)! + +### Features + +- [#5216](https://github.com/gradio-app/gradio/pull/5216) [`4b58ea6d`](https://github.com/gradio-app/gradio/commit/4b58ea6d98e7a43b3f30d8a4cb6f379bc2eca6a8) - Update i18n tokens and locale files. Thanks [@hannahblair](https://github.com/hannahblair)! + +### 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.0.3 ### Fixes diff --git a/js/upload/package.json b/js/upload/package.json index dfa5cc5322..d0bfbbc963 100644 --- a/js/upload/package.json +++ b/js/upload/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/upload", - "version": "0.0.3", + "version": "0.1.0", "description": "Gradio UI packages", "type": "module", "main": "src/index.ts", diff --git a/js/uploadbutton/CHANGELOG.md b/js/uploadbutton/CHANGELOG.md index 52cd4f31f1..4556072082 100644 --- a/js/uploadbutton/CHANGELOG.md +++ b/js/uploadbutton/CHANGELOG.md @@ -1,5 +1,26 @@ # @gradio/uploadbutton +## 0.0.3 + +### 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)! + ## 0.0.2 ### Patch Changes @@ -7,4 +28,4 @@ - Updated dependencies [[`61129052`](https://github.com/gradio-app/gradio/commit/61129052ed1391a75c825c891d57fa0ad6c09fc8), [`667875b2`](https://github.com/gradio-app/gradio/commit/667875b2441753e74d25bd9d3c8adedd8ede11cd), [`67265a58`](https://github.com/gradio-app/gradio/commit/67265a58027ef1f9e4c0eb849a532f72eaebde48), [`8b4eb8ca`](https://github.com/gradio-app/gradio/commit/8b4eb8cac9ea07bde31b44e2006ca2b7b5f4de36), [`37caa2e0`](https://github.com/gradio-app/gradio/commit/37caa2e0fe95d6cab8beb174580fb557904f137f)]: - @gradio/client@0.2.0 - @gradio/upload@0.0.3 - - @gradio/button@0.1.0 + - @gradio/button@0.1.0 \ No newline at end of file diff --git a/js/uploadbutton/package.json b/js/uploadbutton/package.json index e1ab97472d..6497018e69 100644 --- a/js/uploadbutton/package.json +++ b/js/uploadbutton/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/uploadbutton", - "version": "0.0.2", + "version": "0.0.3", "description": "Gradio UI packages", "type": "module", "main": "index.svelte", diff --git a/js/utils/CHANGELOG.md b/js/utils/CHANGELOG.md index f7662b9ee0..13b8a78435 100644 --- a/js/utils/CHANGELOG.md +++ b/js/utils/CHANGELOG.md @@ -1,8 +1,29 @@ # @gradio/utils +## 0.0.3 + +### 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)! + ## 0.0.2 ### Patch Changes - Updated dependencies [[`41c83070`](https://github.com/gradio-app/gradio/commit/41c83070b01632084e7d29123048a96c1e261407)]: - - @gradio/theme@0.0.2 + - @gradio/theme@0.0.2 \ No newline at end of file diff --git a/js/utils/package.json b/js/utils/package.json index 6b5b28f09c..f68bb9f3af 100644 --- a/js/utils/package.json +++ b/js/utils/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/utils", - "version": "0.0.2", + "version": "0.0.3", "description": "Gradio UI packages", "type": "module", "main": "src/index.ts", diff --git a/js/video/CHANGELOG.md b/js/video/CHANGELOG.md index 0a87889076..739044188b 100644 --- a/js/video/CHANGELOG.md +++ b/js/video/CHANGELOG.md @@ -1,5 +1,30 @@ # @gradio/video +## 0.0.4 + +### 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)! + +### Features + +- [#5215](https://github.com/gradio-app/gradio/pull/5215) [`fbdad78a`](https://github.com/gradio-app/gradio/commit/fbdad78af4c47454cbb570f88cc14bf4479bbceb) - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks [@pngwn](https://github.com/pngwn)! + ## 0.0.3 ### Fixes diff --git a/js/video/package.json b/js/video/package.json index 84239c0cb8..17ae4174e9 100644 --- a/js/video/package.json +++ b/js/video/package.json @@ -1,6 +1,6 @@ { "name": "@gradio/video", - "version": "0.0.3", + "version": "0.0.4", "description": "Gradio UI packages", "type": "module", "main": "index.svelte", diff --git a/requirements.txt b/requirements.txt index 447a84d779..4e70077bf8 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.4.0 +gradio_client==0.5.0 httpx huggingface_hub>=0.14.0 importlib_resources>=1.3,<7.0