diff --git a/.changeset/afraid-cougars-rescue.md b/.changeset/afraid-cougars-rescue.md new file mode 100644 index 0000000000..69ee770c78 --- /dev/null +++ b/.changeset/afraid-cougars-rescue.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Better test dir check diff --git a/.changeset/all-animals-vanish.md b/.changeset/all-animals-vanish.md new file mode 100644 index 0000000000..96cb8c89b9 --- /dev/null +++ b/.changeset/all-animals-vanish.md @@ -0,0 +1,7 @@ +--- +"gradio": minor +"gradio_client": minor +"website": minor +--- + +feat:WIP: Fix docs diff --git a/.changeset/big-showers-talk.md b/.changeset/big-showers-talk.md new file mode 100644 index 0000000000..76ef7e0393 --- /dev/null +++ b/.changeset/big-showers-talk.md @@ -0,0 +1,6 @@ +--- +"@gradio/audio": minor +"gradio": minor +--- + +feat:Remove `show_edit_button` param in Audio diff --git a/.changeset/bitter-points-wash.md b/.changeset/bitter-points-wash.md new file mode 100644 index 0000000000..1bd5aa17e1 --- /dev/null +++ b/.changeset/bitter-points-wash.md @@ -0,0 +1,6 @@ +--- +"@gradio/markdown": minor +"gradio": minor +--- + +feat:Fixes markdown rendering in examples diff --git a/.changeset/bright-planes-divide.md b/.changeset/bright-planes-divide.md new file mode 100644 index 0000000000..1751b8cce9 --- /dev/null +++ b/.changeset/bright-planes-divide.md @@ -0,0 +1,5 @@ +--- +"gradio": patch +--- + +fix: ensure all relevant packages are available to the custom component CLI diff --git a/.changeset/bright-yaks-wink.md b/.changeset/bright-yaks-wink.md new file mode 100644 index 0000000000..73eecc5913 --- /dev/null +++ b/.changeset/bright-yaks-wink.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:V4: Some misc fixes diff --git a/.changeset/busy-snails-matter.md b/.changeset/busy-snails-matter.md new file mode 100644 index 0000000000..be8767aca6 --- /dev/null +++ b/.changeset/busy-snails-matter.md @@ -0,0 +1,7 @@ +--- +"@gradio/app": minor +"@gradio/audio": minor +"gradio": minor +--- + +feat:Fix static issues with Lite on v4 diff --git a/.changeset/changeset.cjs b/.changeset/changeset.cjs index a94b61d634..b2c50fa96c 100644 --- a/.changeset/changeset.cjs +++ b/.changeset/changeset.cjs @@ -223,7 +223,7 @@ const changelogFunctions = { .trim() .match(/^(feat|fix|highlight)\s*:\s*([^]*)/im) || [ , - false, + "feat", changeset.summary ]; diff --git a/.changeset/chilly-dingos-notice.md b/.changeset/chilly-dingos-notice.md new file mode 100644 index 0000000000..2ced7a9789 --- /dev/null +++ b/.changeset/chilly-dingos-notice.md @@ -0,0 +1,6 @@ +--- +"@gradio/app": minor +"gradio": minor +--- + +feat:Pending outputs fix diff --git a/.changeset/chilly-dodos-serve.md b/.changeset/chilly-dodos-serve.md new file mode 100644 index 0000000000..f8ef2214cd --- /dev/null +++ b/.changeset/chilly-dodos-serve.md @@ -0,0 +1,6 @@ +--- +"@gradio/video": patch +"gradio": patch +--- + +fix:remove dupe component diff --git a/.changeset/clear-kids-hammer.md b/.changeset/clear-kids-hammer.md new file mode 100644 index 0000000000..8597cb9219 --- /dev/null +++ b/.changeset/clear-kids-hammer.md @@ -0,0 +1,6 @@ +--- +"gradio": minor +"gradio_client": minor +--- + +feat:Fixes remaining backend tests diff --git a/.changeset/clear-masks-dig.md b/.changeset/clear-masks-dig.md new file mode 100644 index 0000000000..35fa68a03c --- /dev/null +++ b/.changeset/clear-masks-dig.md @@ -0,0 +1,19 @@ +--- +"@gradio/annotatedimage": minor +"@gradio/audio": minor +"@gradio/button": minor +"@gradio/chatbot": minor +"@gradio/client": minor +"@gradio/dataset": minor +"@gradio/file": minor +"@gradio/fileexplorer": minor +"@gradio/gallery": minor +"@gradio/image": minor +"@gradio/model3d": minor +"@gradio/upload": minor +"@gradio/uploadbutton": minor +"@gradio/video": minor +"gradio": minor +--- + +feat:fix circular dependency with client + upload diff --git a/.changeset/cold-bobcats-rescue.md b/.changeset/cold-bobcats-rescue.md new file mode 100644 index 0000000000..16f943fb2f --- /dev/null +++ b/.changeset/cold-bobcats-rescue.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Don't serve files in working directory by default diff --git a/.changeset/cold-hoops-heal.md b/.changeset/cold-hoops-heal.md new file mode 100644 index 0000000000..2658d22210 --- /dev/null +++ b/.changeset/cold-hoops-heal.md @@ -0,0 +1,12 @@ +--- +"@gradio/atoms": minor +"@gradio/column": minor +"@gradio/icons": minor +"@gradio/statustracker": minor +"@gradio/tooltip": minor +"@gradio/upload": minor +"@gradio/utils": minor +"gradio": minor +--- + +feat:release first version \ No newline at end of file diff --git a/.changeset/cold-lemons-roll.md b/.changeset/cold-lemons-roll.md new file mode 100644 index 0000000000..828bc1ddb3 --- /dev/null +++ b/.changeset/cold-lemons-roll.md @@ -0,0 +1,33 @@ +--- +"@gradio/accordion": minor +"@gradio/annotatedimage": minor +"@gradio/app": minor +"@gradio/audio": minor +"@gradio/chatbot": minor +"@gradio/checkbox": minor +"@gradio/checkboxgroup": minor +"@gradio/code": minor +"@gradio/colorpicker": minor +"@gradio/dataframe": minor +"@gradio/dropdown": minor +"@gradio/fallback": minor +"@gradio/file": minor +"@gradio/gallery": minor +"@gradio/highlightedtext": minor +"@gradio/html": minor +"@gradio/image": minor +"@gradio/json": minor +"@gradio/label": minor +"@gradio/markdown": minor +"@gradio/model3d": minor +"@gradio/number": minor +"@gradio/plot": minor +"@gradio/radio": minor +"@gradio/slider": minor +"@gradio/statustracker": minor +"@gradio/textbox": minor +"@gradio/video": minor +"gradio": minor +--- + +feat:fix build and broken imports diff --git a/.changeset/cool-ties-mix.md b/.changeset/cool-ties-mix.md new file mode 100644 index 0000000000..e72bed5527 --- /dev/null +++ b/.changeset/cool-ties-mix.md @@ -0,0 +1,6 @@ +--- +"@gradio/image": patch +"gradio": patch +--- + +fix:Fix image double change bug diff --git a/.changeset/cute-crabs-know.md b/.changeset/cute-crabs-know.md new file mode 100644 index 0000000000..723760df47 --- /dev/null +++ b/.changeset/cute-crabs-know.md @@ -0,0 +1,45 @@ +--- +"@gradio/accordion": minor +"@gradio/annotatedimage": minor +"@gradio/app": minor +"@gradio/audio": minor +"@gradio/box": minor +"@gradio/button": minor +"@gradio/chatbot": minor +"@gradio/checkbox": minor +"@gradio/checkboxgroup": minor +"@gradio/code": minor +"@gradio/colorpicker": minor +"@gradio/column": minor +"@gradio/dataframe": minor +"@gradio/dataset": minor +"@gradio/dropdown": minor +"@gradio/fallback": minor +"@gradio/file": minor +"@gradio/fileexplorer": minor +"@gradio/form": minor +"@gradio/gallery": minor +"@gradio/group": minor +"@gradio/highlightedtext": minor +"@gradio/html": minor +"@gradio/image": minor +"@gradio/json": minor +"@gradio/label": minor +"@gradio/markdown": minor +"@gradio/model3d": minor +"@gradio/number": minor +"@gradio/plot": minor +"@gradio/preview": minor +"@gradio/radio": minor +"@gradio/row": minor +"@gradio/slider": minor +"@gradio/state": minor +"@gradio/tabitem": minor +"@gradio/tabs": minor +"@gradio/textbox": minor +"@gradio/uploadbutton": minor +"@gradio/video": minor +"gradio": minor +--- + +feat:rererefactor frontend files diff --git a/.changeset/dark-cups-see.md b/.changeset/dark-cups-see.md new file mode 100644 index 0000000000..50f8ea8791 --- /dev/null +++ b/.changeset/dark-cups-see.md @@ -0,0 +1,5 @@ +--- +"@gradio/preview": minor +--- + +feat:Fix windows paths diff --git a/.changeset/deep-spies-rhyme.md b/.changeset/deep-spies-rhyme.md new file mode 100644 index 0000000000..5a997f7ea1 --- /dev/null +++ b/.changeset/deep-spies-rhyme.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Small change to make `api_open=False` by default diff --git a/.changeset/dirty-ghosts-tickle.md b/.changeset/dirty-ghosts-tickle.md new file mode 100644 index 0000000000..84898c9d85 --- /dev/null +++ b/.changeset/dirty-ghosts-tickle.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Patch fixes diff --git a/.changeset/dry-points-join.md b/.changeset/dry-points-join.md new file mode 100644 index 0000000000..2b84d8430c --- /dev/null +++ b/.changeset/dry-points-join.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Fix js deps in cli and add gradio-preview artifacts to build diff --git a/.changeset/dull-adults-study.md b/.changeset/dull-adults-study.md new file mode 100644 index 0000000000..82ee8b0e49 --- /dev/null +++ b/.changeset/dull-adults-study.md @@ -0,0 +1,6 @@ +--- +"gradio": minor +"gradio_client": minor +--- + +feat:Add json schema unit tests diff --git a/.changeset/eager-tools-jump.md b/.changeset/eager-tools-jump.md new file mode 100644 index 0000000000..b503bca44e --- /dev/null +++ b/.changeset/eager-tools-jump.md @@ -0,0 +1,35 @@ +--- +"@gradio/app": minor +"@gradio/atoms": minor +"@gradio/audio": minor +"@gradio/button": minor +"@gradio/chatbot": minor +"@gradio/checkbox": minor +"@gradio/code": minor +"@gradio/colorpicker": minor +"@gradio/dataframe": minor +"@gradio/dropdown": minor +"@gradio/file": minor +"@gradio/form": minor +"@gradio/gallery": minor +"@gradio/highlightedtext": minor +"@gradio/html": minor +"@gradio/image": minor +"@gradio/json": minor +"@gradio/label": minor +"@gradio/markdown": minor +"@gradio/model3d": minor +"@gradio/radio": minor +"@gradio/statustracker": minor +"@gradio/textbox": minor +"@gradio/tooltip": minor +"@gradio/upload": minor +"@gradio/uploadbutton": minor +"@gradio/utils": minor +"@gradio/video": minor +"gradio": minor +"gradio_test": minor +"website": minor +--- + +feat:JS Component Documentation diff --git a/.changeset/easy-mirrors-retire.md b/.changeset/easy-mirrors-retire.md new file mode 100644 index 0000000000..a0db5ba43f --- /dev/null +++ b/.changeset/easy-mirrors-retire.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Add docstring to trigger release diff --git a/.changeset/eight-clowns-count.md b/.changeset/eight-clowns-count.md new file mode 100644 index 0000000000..d0db3824a6 --- /dev/null +++ b/.changeset/eight-clowns-count.md @@ -0,0 +1,8 @@ +--- +"@gradio/html": minor +"@gradio/markdown": minor +"@gradio/radio": minor +"gradio": minor +--- + +feat:Remove duplicate `elem_ids` from components diff --git a/.changeset/eleven-steaks-tan.md b/.changeset/eleven-steaks-tan.md new file mode 100644 index 0000000000..11956f6d6e --- /dev/null +++ b/.changeset/eleven-steaks-tan.md @@ -0,0 +1,6 @@ +--- +"@gradio/preview": minor +"gradio": minor +--- + +feat:Add host to dev mode for vite diff --git a/.changeset/empty-bobcats-judge.md b/.changeset/empty-bobcats-judge.md new file mode 100644 index 0000000000..96175a0561 --- /dev/null +++ b/.changeset/empty-bobcats-judge.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Make layout components templateable diff --git a/.changeset/every-cities-invite.md b/.changeset/every-cities-invite.md new file mode 100644 index 0000000000..16b59398bb --- /dev/null +++ b/.changeset/every-cities-invite.md @@ -0,0 +1,8 @@ +--- +"@gradio/app": patch +"@gradio/dropdown": patch +"@gradio/storybook": patch +"gradio": patch +--- + +fix:fix storybook diff --git a/.changeset/five-islands-joke.md b/.changeset/five-islands-joke.md new file mode 100644 index 0000000000..df6782e9c0 --- /dev/null +++ b/.changeset/five-islands-joke.md @@ -0,0 +1,46 @@ +--- +"@gradio/accordion": minor +"@gradio/annotatedimage": minor +"@gradio/app": minor +"@gradio/audio": minor +"@gradio/box": minor +"@gradio/chatbot": minor +"@gradio/checkbox": minor +"@gradio/checkboxgroup": minor +"@gradio/client": minor +"@gradio/code": minor +"@gradio/colorpicker": minor +"@gradio/column": minor +"@gradio/dataframe": minor +"@gradio/dataset": minor +"@gradio/dropdown": minor +"@gradio/fallback": minor +"@gradio/file": minor +"@gradio/fileexplorer": minor +"@gradio/form": minor +"@gradio/gallery": minor +"@gradio/group": minor +"@gradio/highlightedtext": minor +"@gradio/html": minor +"@gradio/image": minor +"@gradio/json": minor +"@gradio/label": minor +"@gradio/markdown": minor +"@gradio/model3d": minor +"@gradio/number": minor +"@gradio/plot": minor +"@gradio/preview": minor +"@gradio/radio": minor +"@gradio/row": minor +"@gradio/slider": minor +"@gradio/state": minor +"@gradio/tabitem": minor +"@gradio/tabs": minor +"@gradio/textbox": minor +"@gradio/uploadbutton": minor +"@gradio/video": minor +"gradio": minor +"website": minor +--- + +feat:Format js in v4 branch diff --git a/.changeset/flat-experts-wink.md b/.changeset/flat-experts-wink.md new file mode 100644 index 0000000000..7534914634 --- /dev/null +++ b/.changeset/flat-experts-wink.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:BugFix: Make FileExplorer Component Templateable diff --git a/.changeset/floppy-glasses-wish.md b/.changeset/floppy-glasses-wish.md new file mode 100644 index 0000000000..e502903631 --- /dev/null +++ b/.changeset/floppy-glasses-wish.md @@ -0,0 +1,6 @@ +--- +"@gradio/app": patch +"gradio": patch +--- + +fix:Pending events behavior diff --git a/.changeset/floppy-walls-act.md b/.changeset/floppy-walls-act.md new file mode 100644 index 0000000000..757124efd9 --- /dev/null +++ b/.changeset/floppy-walls-act.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Moves `gradio_cached_folder` inside the gradio temp direcotry diff --git a/.changeset/fresh-ears-pump.md b/.changeset/fresh-ears-pump.md new file mode 100644 index 0000000000..b7b7f8bd42 --- /dev/null +++ b/.changeset/fresh-ears-pump.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Use overrides diff --git a/.changeset/funny-dodos-sip.md b/.changeset/funny-dodos-sip.md new file mode 100644 index 0000000000..86297236b3 --- /dev/null +++ b/.changeset/funny-dodos-sip.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:V4: Fix constructor_args diff --git a/.changeset/funny-worlds-kneel.md b/.changeset/funny-worlds-kneel.md new file mode 100644 index 0000000000..0a5ed19fde --- /dev/null +++ b/.changeset/funny-worlds-kneel.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Remove interpretation for good diff --git a/.changeset/gentle-parks-fry.md b/.changeset/gentle-parks-fry.md new file mode 100644 index 0000000000..5ef42945a1 --- /dev/null +++ b/.changeset/gentle-parks-fry.md @@ -0,0 +1,5 @@ +--- +"@gradio/wasm": patch +--- + +feat:release wasm diff --git a/.changeset/great-moles-matter.md b/.changeset/great-moles-matter.md new file mode 100644 index 0000000000..da82ebb734 --- /dev/null +++ b/.changeset/great-moles-matter.md @@ -0,0 +1,10 @@ +--- +"@gradio/app": minor +"@gradio/audio": minor +"@gradio/icons": minor +"@gradio/storybook": minor +"@gradio/utils": minor +"gradio": minor +--- + +feat:Improve Audio Component diff --git a/.changeset/great-rice-grab.md b/.changeset/great-rice-grab.md new file mode 100644 index 0000000000..057c68e7d9 --- /dev/null +++ b/.changeset/great-rice-grab.md @@ -0,0 +1,6 @@ +--- +"@gradio/preview": minor +"gradio": minor +--- + +feat:Use tags to identify custom component dirs and ignore uninstalled components diff --git a/.changeset/green-olives-shake.md b/.changeset/green-olives-shake.md new file mode 100644 index 0000000000..4ca71c8a26 --- /dev/null +++ b/.changeset/green-olives-shake.md @@ -0,0 +1,6 @@ +--- +"@gradio/dataset": minor +"gradio": minor +--- + +feat:pass props to example components and to example outputs diff --git a/.changeset/grumpy-buttons-count.md b/.changeset/grumpy-buttons-count.md new file mode 100644 index 0000000000..333c320804 --- /dev/null +++ b/.changeset/grumpy-buttons-count.md @@ -0,0 +1,14 @@ +--- +"@gradio/annotatedimage": minor +"@gradio/audio": minor +"@gradio/button": minor +"@gradio/chatbot": minor +"@gradio/dataset": minor +"@gradio/file": minor +"@gradio/gallery": minor +"@gradio/model3d": minor +"@gradio/video": minor +"gradio": minor +--- + +feat:Clean root url diff --git a/.changeset/heavy-animals-think.md b/.changeset/heavy-animals-think.md new file mode 100644 index 0000000000..7e2e4b1952 --- /dev/null +++ b/.changeset/heavy-animals-think.md @@ -0,0 +1,6 @@ +--- +"@gradio/app": patch +"gradio": patch +--- + +feat:Fix windows ci build diff --git a/.changeset/hip-drinks-bow.md b/.changeset/hip-drinks-bow.md new file mode 100644 index 0000000000..2bf10b6878 --- /dev/null +++ b/.changeset/hip-drinks-bow.md @@ -0,0 +1,8 @@ +--- +"@gradio/app": minor +"@gradio/image": minor +"@gradio/theme": minor +"gradio": minor +--- + +feat:image fixes diff --git a/.changeset/hot-icons-film.md b/.changeset/hot-icons-film.md new file mode 100644 index 0000000000..b5f83ad882 --- /dev/null +++ b/.changeset/hot-icons-film.md @@ -0,0 +1,41 @@ +--- +"@gradio/atoms": patch +"@gradio/audio": patch +"@gradio/box": 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/form": patch +"@gradio/gallery": patch +"@gradio/highlightedtext": patch +"@gradio/html": patch +"@gradio/icons": patch +"@gradio/image": patch +"@gradio/json": patch +"@gradio/label": patch +"@gradio/markdown": patch +"@gradio/model3d": patch +"@gradio/number": patch +"@gradio/plot": patch +"@gradio/preview": patch +"@gradio/radio": patch +"@gradio/slider": patch +"@gradio/statustracker": patch +"@gradio/tabitem": patch +"@gradio/tabs": patch +"@gradio/textbox": patch +"@gradio/theme": patch +"@gradio/upload": patch +"@gradio/uploadbutton": patch +"@gradio/utils": patch +"@gradio/video": patch +"gradio": patch +--- + +feat:V4: Use beta release versions for '@gradio' packages diff --git a/.changeset/hungry-melons-pump.md b/.changeset/hungry-melons-pump.md new file mode 100644 index 0000000000..f9652e0074 --- /dev/null +++ b/.changeset/hungry-melons-pump.md @@ -0,0 +1,9 @@ +--- +"@gradio/app": minor +"@gradio/dataset": minor +"@gradio/preview": minor +"@gradio/state": minor +"gradio": minor +--- + +feat: Adds the ability to build the frontend and backend of custom components in preparation for publishing to pypi using `gradio_component build`. diff --git a/.changeset/hungry-spiders-cross.md b/.changeset/hungry-spiders-cross.md new file mode 100644 index 0000000000..aa93e30bc0 --- /dev/null +++ b/.changeset/hungry-spiders-cross.md @@ -0,0 +1,10 @@ +--- +"@gradio/chatbot": minor +"@gradio/file": minor +"@gradio/highlightedtext": minor +"@gradio/image": minor +"@gradio/label": minor +"gradio": minor +--- + +feat:Fix selectable prop in the backend diff --git a/.changeset/icy-cars-boil.md b/.changeset/icy-cars-boil.md new file mode 100644 index 0000000000..5c263477f7 --- /dev/null +++ b/.changeset/icy-cars-boil.md @@ -0,0 +1,6 @@ +--- +"@gradio/audio": minor +"gradio": minor +--- + +feat:Fix deployed demos on v4 branch diff --git a/.changeset/large-banks-push.md b/.changeset/large-banks-push.md new file mode 100644 index 0000000000..91840ae7e2 --- /dev/null +++ b/.changeset/large-banks-push.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Use path to npm executable in subprocess diff --git a/.changeset/lazy-aliens-drive.md b/.changeset/lazy-aliens-drive.md new file mode 100644 index 0000000000..88cf59e830 --- /dev/null +++ b/.changeset/lazy-aliens-drive.md @@ -0,0 +1,6 @@ +--- +"@gradio/theme": patch +"gradio": patch +--- + +feat:Publish js theme diff --git a/.changeset/little-plums-smell.md b/.changeset/little-plums-smell.md new file mode 100644 index 0000000000..c2bbe2b000 --- /dev/null +++ b/.changeset/little-plums-smell.md @@ -0,0 +1,7 @@ +--- +"@gradio/app": minor +"@gradio/model3d": minor +"gradio": minor +--- + +feat:Fix dev mode model3D diff --git a/.changeset/loose-ducks-feel.md b/.changeset/loose-ducks-feel.md new file mode 100644 index 0000000000..e95500ee87 --- /dev/null +++ b/.changeset/loose-ducks-feel.md @@ -0,0 +1,8 @@ +--- +"@gradio/app": minor +"@gradio/fallback": minor +"@gradio/slider": minor +"gradio": minor +--- + +feat:Fix: Move to cache in init postprocess + Fallback Fixes diff --git a/.changeset/loud-cloths-wait.md b/.changeset/loud-cloths-wait.md new file mode 100644 index 0000000000..4a59459209 --- /dev/null +++ b/.changeset/loud-cloths-wait.md @@ -0,0 +1,7 @@ +--- +"@gradio/audio": minor +"gradio": minor +"website": minor +--- + +feat:JS READMEs and Storybook on Docs diff --git a/.changeset/loud-eagles-occur.md b/.changeset/loud-eagles-occur.md new file mode 100644 index 0000000000..5097c3df1b --- /dev/null +++ b/.changeset/loud-eagles-occur.md @@ -0,0 +1,5 @@ +--- +"@gradio/lite": patch +--- + +feat:make lite private diff --git a/.changeset/lovely-news-speak.md b/.changeset/lovely-news-speak.md new file mode 100644 index 0000000000..9ab44daaf6 --- /dev/null +++ b/.changeset/lovely-news-speak.md @@ -0,0 +1,6 @@ +--- +"gradio": minor +"gradio_client": minor +--- + +feat:V4 fix typing diff --git a/.changeset/lovely-rocks-cut.md b/.changeset/lovely-rocks-cut.md new file mode 100644 index 0000000000..67106808f6 --- /dev/null +++ b/.changeset/lovely-rocks-cut.md @@ -0,0 +1,6 @@ +--- +"@gradio/dropdown": patch +"gradio": patch +--- + +fix:fix dropdown arrow size diff --git a/.changeset/many-hotels-flow.md b/.changeset/many-hotels-flow.md new file mode 100644 index 0000000000..e3b78cf1aa --- /dev/null +++ b/.changeset/many-hotels-flow.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Add a cli command to list available templates diff --git a/.changeset/mighty-coats-do.md b/.changeset/mighty-coats-do.md new file mode 100644 index 0000000000..cc1ea6d414 --- /dev/null +++ b/.changeset/mighty-coats-do.md @@ -0,0 +1,6 @@ +--- +"@gradio/fallback": minor +"gradio": minor +--- + +feat:Add a stand-alone install command and tidy-up the fallback template diff --git a/.changeset/modern-forks-march.md b/.changeset/modern-forks-march.md new file mode 100644 index 0000000000..938d03bc31 --- /dev/null +++ b/.changeset/modern-forks-march.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Set api=False for cancel events diff --git a/.changeset/nasty-dryers-show.md b/.changeset/nasty-dryers-show.md new file mode 100644 index 0000000000..6b7f852e16 --- /dev/null +++ b/.changeset/nasty-dryers-show.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Use full path to executables in CLI diff --git a/.changeset/nice-actors-write.md b/.changeset/nice-actors-write.md new file mode 100644 index 0000000000..5e25404577 --- /dev/null +++ b/.changeset/nice-actors-write.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Fix component regex diff --git a/.changeset/old-heads-give.md b/.changeset/old-heads-give.md new file mode 100644 index 0000000000..7212fdff8c --- /dev/null +++ b/.changeset/old-heads-give.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Add Error + test diff --git a/.changeset/open-pugs-lie.md b/.changeset/open-pugs-lie.md new file mode 100644 index 0000000000..df1c57389b --- /dev/null +++ b/.changeset/open-pugs-lie.md @@ -0,0 +1,7 @@ +--- +"@gradio/app": minor +"@gradio/video": minor +"gradio": minor +--- + +feat:Improve Video Component diff --git a/.changeset/plain-groups-win.md b/.changeset/plain-groups-win.md new file mode 100644 index 0000000000..bb5d2f473f --- /dev/null +++ b/.changeset/plain-groups-win.md @@ -0,0 +1,6 @@ +--- +"gradio": minor +"gradio_client": minor +--- + +feat:Fix python unit tests for v4 diff --git a/.changeset/plenty-parks-glow.md b/.changeset/plenty-parks-glow.md new file mode 100644 index 0000000000..7889696b56 --- /dev/null +++ b/.changeset/plenty-parks-glow.md @@ -0,0 +1,10 @@ +--- +"@gradio/checkbox": minor +"@gradio/checkboxgroup": minor +"@gradio/number": minor +"@gradio/radio": minor +"@gradio/slider": minor +"gradio": minor +--- + +feat:V4: Single-file implementation of form components diff --git a/.changeset/plenty-teeth-clap.md b/.changeset/plenty-teeth-clap.md new file mode 100644 index 0000000000..595c4fda7d --- /dev/null +++ b/.changeset/plenty-teeth-clap.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Fix template remaining components diff --git a/.changeset/poor-lands-talk.md b/.changeset/poor-lands-talk.md new file mode 100644 index 0000000000..214437165b --- /dev/null +++ b/.changeset/poor-lands-talk.md @@ -0,0 +1,5 @@ +--- +"gradio": major +--- + +feat:Try to trigger a major beta release diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 0000000000..87935a0fb9 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,185 @@ +{ + "mode": "pre", + "tag": "beta", + "initialVersions": { + "@gradio/client": "0.3.1", + "gradio_client": "0.5.0", + "gradio": "3.43.2", + "@gradio/cdn-test": "0.0.1", + "@gradio/spaces-test": "0.0.1", + "website": "0.4.0", + "@gradio/accordion": "0.0.4", + "@gradio/annotatedimage": "0.1.2", + "@gradio/app": "1.4.3", + "@gradio/atoms": "0.1.2", + "@gradio/audio": "0.3.2", + "@gradio/box": "0.0.4", + "@gradio/button": "0.1.3", + "@gradio/chatbot": "0.3.1", + "@gradio/checkbox": "0.1.3", + "@gradio/checkboxgroup": "0.1.2", + "@gradio/code": "0.1.2", + "@gradio/colorpicker": "0.1.2", + "@gradio/column": "0.0.1", + "@gradio/dataframe": "0.2.2", + "@gradio/dropdown": "0.1.3", + "@gradio/file": "0.1.2", + "@gradio/form": "0.0.5", + "@gradio/gallery": "0.3.2", + "@gradio/group": "0.0.1", + "@gradio/highlightedtext": "0.2.3", + "@gradio/html": "0.0.4", + "@gradio/icons": "0.1.0", + "@gradio/image": "0.2.2", + "@gradio/json": "0.0.5", + "@gradio/label": "0.1.2", + "@gradio/lite": "0.3.1", + "@gradio/markdown": "0.2.0", + "@gradio/model3d": "0.2.1", + "@gradio/number": "0.2.2", + "@gradio/plot": "0.1.2", + "@gradio/radio": "0.1.2", + "@gradio/row": "0.0.1", + "@gradio/slider": "0.1.2", + "@gradio/state": "0.0.1", + "@gradio/statustracker": "0.2.0", + "@gradio/tabitem": "0.0.4", + "@gradio/tabs": "0.0.5", + "@gradio/textbox": "0.2.0", + "@gradio/theme": "0.1.0", + "@gradio/tooltip": "0.0.1", + "@gradio/tootils": "0.0.2", + "@gradio/upload": "0.2.1", + "@gradio/uploadbutton": "0.0.5", + "@gradio/utils": "0.1.1", + "@gradio/video": "0.0.6", + "@gradio/wasm": "0.0.1", + "@gradio/fallback": "0.1.1", + "@gradio/preview": "0.0.2", + "@gradio/dataset": "0.0.1", + "@gradio/fileexplorer": "0.2.2", + "@gradio/storybook": "0.0.1", + "gradio_test": "0.2.0-beta.6", + "@gradio/simpledropdown": "0.0.1-beta.1", + "@gradio/simpletextbox": "0.0.1-beta.0" + }, + "changesets": [ + "afraid-cougars-rescue", + "all-animals-vanish", + "big-showers-talk", + "bitter-mirrors-dance", + "bitter-points-wash", + "bright-planes-divide", + "bright-yaks-wink", + "busy-snails-matter", + "chilly-dodos-serve", + "clear-masks-dig", + "cold-birds-cry", + "cold-bobcats-rescue", + "cold-breads-vanish", + "cold-hoops-heal", + "cold-lemons-roll", + "cool-ends-end", + "cool-ties-mix", + "cute-crabs-know", + "dark-cups-see", + "deep-spies-rhyme", + "dirty-ghosts-tickle", + "dry-points-join", + "dull-adults-study", + "eager-tools-jump", + "easy-mirrors-retire", + "eight-clowns-count", + "eleven-steaks-tan", + "empty-bobcats-judge", + "every-cities-invite", + "five-islands-joke", + "flat-experts-wink", + "floppy-glasses-wish", + "floppy-walls-act", + "fresh-ears-pump", + "funny-dodos-sip", + "funny-worlds-kneel", + "gentle-parks-fry", + "great-moles-matter", + "great-rice-grab", + "green-olives-shake", + "heavy-animals-think", + "hip-drinks-bow", + "hot-icons-film", + "hungry-melons-pump", + "hungry-spiders-cross", + "icy-cars-boil", + "large-banks-push", + "lazy-aliens-drive", + "little-plums-smell", + "loose-ducks-feel", + "loud-cloths-wait", + "loud-eagles-occur", + "lovely-news-speak", + "lovely-rocks-cut", + "many-hotels-flow", + "mighty-coats-do", + "modern-forks-march", + "nasty-dryers-show", + "nice-actors-write", + "old-heads-give", + "open-pugs-lie", + "plain-groups-win", + "plenty-parks-glow", + "plenty-rocks-lay", + "plenty-teeth-clap", + "poor-lands-talk", + "pretty-apples-juggle", + "public-chairs-chew", + "public-worlds-hunt", + "puny-teeth-notice", + "purple-jokes-shake", + "quick-beds-tell", + "quick-bottles-find", + "quick-shirts-turn", + "rare-hornets-take", + "real-spoons-pick", + "rich-grapes-slide", + "rude-seas-enjoy", + "sad-ears-sink", + "sad-eels-sink", + "sad-icons-relax", + "shaky-rings-relate", + "short-clouds-see", + "shy-bugs-sneeze", + "silly-shirts-feel", + "silver-beers-refuse", + "six-carrots-lead", + "sixty-bags-mix", + "slick-bats-study", + "slick-pants-stand", + "slow-berries-heal", + "smart-groups-study", + "some-shoes-relate", + "spicy-streets-stop", + "spotty-papers-ask", + "strange-lizards-boil", + "strong-peas-tell", + "tall-mails-design", + "tame-chairs-tan", + "tame-spies-attend", + "tasty-candies-type", + "tender-bananas-nail", + "thick-rabbits-wonder", + "three-trams-sniff", + "tough-parrots-relate", + "true-bugs-shine", + "true-flowers-hug", + "twenty-gifts-tickle", + "two-games-dress", + "two-mirrors-nail", + "upset-crews-learn", + "vast-terms-rhyme", + "violet-jokes-find", + "weak-games-sing", + "wet-places-hunt", + "yellow-rooms-dream", + "yummy-boxes-bake" + ] +} diff --git a/.changeset/pretty-apples-juggle.md b/.changeset/pretty-apples-juggle.md new file mode 100644 index 0000000000..77447ce33c --- /dev/null +++ b/.changeset/pretty-apples-juggle.md @@ -0,0 +1,6 @@ +--- +"@gradio/app": minor +"gradio": minor +--- + +feat:Refactor `Blocks.load()` so that it is in the same style as the other listeners diff --git a/.changeset/public-chairs-chew.md b/.changeset/public-chairs-chew.md new file mode 100644 index 0000000000..c22b75e29b --- /dev/null +++ b/.changeset/public-chairs-chew.md @@ -0,0 +1,5 @@ +--- +"@gradio/preview": minor +--- + +feat:In dev/build use full path to python/gradio executables diff --git a/.changeset/public-worlds-hunt.md b/.changeset/public-worlds-hunt.md new file mode 100644 index 0000000000..857bbd88c5 --- /dev/null +++ b/.changeset/public-worlds-hunt.md @@ -0,0 +1,27 @@ +--- +"@gradio/app": patch +"@gradio/audio": patch +"@gradio/button": patch +"@gradio/chatbot": patch +"@gradio/client": patch +"@gradio/column": patch +"@gradio/dataframe": patch +"@gradio/file": patch +"@gradio/form": patch +"@gradio/gallery": patch +"@gradio/image": patch +"@gradio/markdown": patch +"@gradio/preview": patch +"@gradio/storybook": patch +"@gradio/tabs": patch +"@gradio/textbox": patch +"@gradio/tooltip": patch +"@gradio/tootils": patch +"@gradio/upload": patch +"@gradio/utils": patch +"@gradio/video": patch +"gradio": patch +"website": patch +--- + +fix:fix tests diff --git a/.changeset/purple-jokes-shake.md b/.changeset/purple-jokes-shake.md new file mode 100644 index 0000000000..86a7d6c993 --- /dev/null +++ b/.changeset/purple-jokes-shake.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:backend linting diff --git a/.changeset/quick-beds-tell.md b/.changeset/quick-beds-tell.md new file mode 100644 index 0000000000..ae799a2d96 --- /dev/null +++ b/.changeset/quick-beds-tell.md @@ -0,0 +1,5 @@ +--- +"website": minor +--- + +feat:Fix issues with website deploy diff --git a/.changeset/quick-shirts-turn.md b/.changeset/quick-shirts-turn.md new file mode 100644 index 0000000000..93c9203450 --- /dev/null +++ b/.changeset/quick-shirts-turn.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Clean up backend of `File` and `UploadButton` and change the return type of `preprocess()` from TemporaryFIle to string filepath diff --git a/.changeset/rare-hornets-take.md b/.changeset/rare-hornets-take.md new file mode 100644 index 0000000000..81f2584abd --- /dev/null +++ b/.changeset/rare-hornets-take.md @@ -0,0 +1,6 @@ +--- +"gradio": minor +"gradio_client": minor +--- + +feat:Fix remaining xfail tests in backend diff --git a/.changeset/real-spoons-pick.md b/.changeset/real-spoons-pick.md new file mode 100644 index 0000000000..1c6b500e6d --- /dev/null +++ b/.changeset/real-spoons-pick.md @@ -0,0 +1,6 @@ +--- +"@gradio/preview": patch +"gradio": patch +--- + +fix:Better logs in dev mode diff --git a/.changeset/rich-grapes-slide.md b/.changeset/rich-grapes-slide.md new file mode 100644 index 0000000000..161b678d71 --- /dev/null +++ b/.changeset/rich-grapes-slide.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Gradio custom component publish diff --git a/.changeset/rude-seas-enjoy.md b/.changeset/rude-seas-enjoy.md new file mode 100644 index 0000000000..e18c1e1c6c --- /dev/null +++ b/.changeset/rude-seas-enjoy.md @@ -0,0 +1,8 @@ +--- +"@gradio/app": minor +"@gradio/storybook": minor +"gradio": minor +"website": minor +--- + +feat:Update logos for v4 diff --git a/.changeset/sad-ears-sink.md b/.changeset/sad-ears-sink.md new file mode 100644 index 0000000000..7e205bbc7e --- /dev/null +++ b/.changeset/sad-ears-sink.md @@ -0,0 +1,7 @@ +--- +"@gradio/preview": minor +"@gradio/utils": minor +"gradio": minor +--- + +feat:Fix esbuild diff --git a/.changeset/sad-eels-sink.md b/.changeset/sad-eels-sink.md new file mode 100644 index 0000000000..4d2fc86097 --- /dev/null +++ b/.changeset/sad-eels-sink.md @@ -0,0 +1,7 @@ +--- +"@gradio/preview": minor +"@gradio/utils": minor +"gradio": minor +--- + +feat:Fix esbuild \ No newline at end of file diff --git a/.changeset/sad-icons-relax.md b/.changeset/sad-icons-relax.md new file mode 100644 index 0000000000..442c4d39db --- /dev/null +++ b/.changeset/sad-icons-relax.md @@ -0,0 +1,6 @@ +--- +"@gradio/box": patch +"gradio": patch +--- + +feat:Merge main again diff --git a/.changeset/shaky-rings-relate.md b/.changeset/shaky-rings-relate.md new file mode 100644 index 0000000000..d55609f954 --- /dev/null +++ b/.changeset/shaky-rings-relate.md @@ -0,0 +1,20 @@ +--- +"@gradio/annotatedimage": minor +"@gradio/atoms": minor +"@gradio/audio": minor +"@gradio/chatbot": minor +"@gradio/client": minor +"@gradio/file": minor +"@gradio/gallery": minor +"@gradio/icons": minor +"@gradio/image": minor +"@gradio/model3d": minor +"@gradio/preview": minor +"@gradio/upload": minor +"@gradio/uploadbutton": minor +"@gradio/video": minor +"gradio": minor +"gradio_client": minor +--- + +feat:Image v4 diff --git a/.changeset/short-clouds-see.md b/.changeset/short-clouds-see.md new file mode 100644 index 0000000000..b42755253b --- /dev/null +++ b/.changeset/short-clouds-see.md @@ -0,0 +1,6 @@ +--- +"@gradio/preview": minor +"gradio": minor +--- + +feat:Fix front-end imports + other misc fixes diff --git a/.changeset/shy-bugs-sneeze.md b/.changeset/shy-bugs-sneeze.md new file mode 100644 index 0000000000..33917f15d3 --- /dev/null +++ b/.changeset/shy-bugs-sneeze.md @@ -0,0 +1,6 @@ +--- +"@gradio/app": minor +"gradio": minor +--- + +feat:Make output components not editable if they are being updated diff --git a/.changeset/silly-shirts-feel.md b/.changeset/silly-shirts-feel.md new file mode 100644 index 0000000000..eb9ca76deb --- /dev/null +++ b/.changeset/silly-shirts-feel.md @@ -0,0 +1,27 @@ +--- +"@gradio/app": minor +"@gradio/audio": minor +"@gradio/button": minor +"@gradio/checkbox": minor +"@gradio/checkboxgroup": minor +"@gradio/code": minor +"@gradio/colorpicker": minor +"@gradio/dataframe": minor +"@gradio/dropdown": minor +"@gradio/file": minor +"@gradio/fileexplorer": minor +"@gradio/highlightedtext": minor +"@gradio/image": minor +"@gradio/model3d": minor +"@gradio/number": minor +"@gradio/radio": minor +"@gradio/simpledropdown": minor +"@gradio/simpletextbox": minor +"@gradio/slider": minor +"@gradio/textbox": minor +"@gradio/uploadbutton": minor +"@gradio/video": minor +"gradio": minor +--- + +feat:swap `mode` on the frontned to `interactive` to match the backend diff --git a/.changeset/silver-beers-refuse.md b/.changeset/silver-beers-refuse.md new file mode 100644 index 0000000000..a111d4ce39 --- /dev/null +++ b/.changeset/silver-beers-refuse.md @@ -0,0 +1,41 @@ +--- +"@gradio/audio": patch +"@gradio/box": patch +"@gradio/button": patch +"@gradio/chatbot": patch +"@gradio/checkbox": patch +"@gradio/checkboxgroup": patch +"@gradio/code": patch +"@gradio/colorpicker": patch +"@gradio/column": patch +"@gradio/dataframe": patch +"@gradio/dropdown": patch +"@gradio/fallback": patch +"@gradio/file": patch +"@gradio/form": patch +"@gradio/gallery": patch +"@gradio/group": 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/preview": patch +"@gradio/radio": patch +"@gradio/row": patch +"@gradio/slider": patch +"@gradio/state": patch +"@gradio/tabitem": patch +"@gradio/tabs": patch +"@gradio/textbox": patch +"@gradio/tootils": patch +"@gradio/uploadbutton": patch +"@gradio/video": patch +"gradio": patch +--- + +feat:Publish all components to npm diff --git a/.changeset/six-carrots-lead.md b/.changeset/six-carrots-lead.md new file mode 100644 index 0000000000..8ab95b03dd --- /dev/null +++ b/.changeset/six-carrots-lead.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Open source FRP server and allow `gradio` to connect to custom share servers diff --git a/.changeset/sixty-bags-mix.md b/.changeset/sixty-bags-mix.md new file mode 100644 index 0000000000..cd38287a9b --- /dev/null +++ b/.changeset/sixty-bags-mix.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:File upload optimization diff --git a/.changeset/slick-bats-study.md b/.changeset/slick-bats-study.md new file mode 100644 index 0000000000..f7096d5643 --- /dev/null +++ b/.changeset/slick-bats-study.md @@ -0,0 +1,6 @@ +--- +"gradio": minor +"gradio_client": minor +--- + +feat:Simplify how files are handled in components in 4.0 diff --git a/.changeset/slick-pants-stand.md b/.changeset/slick-pants-stand.md new file mode 100644 index 0000000000..b9b2298a8d --- /dev/null +++ b/.changeset/slick-pants-stand.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Add overwrite flag to create command diff --git a/.changeset/slow-berries-heal.md b/.changeset/slow-berries-heal.md new file mode 100644 index 0000000000..fc8723980d --- /dev/null +++ b/.changeset/slow-berries-heal.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Fix fallback demo app template code diff --git a/.changeset/smart-groups-study.md b/.changeset/smart-groups-study.md new file mode 100644 index 0000000000..2e26def430 --- /dev/null +++ b/.changeset/smart-groups-study.md @@ -0,0 +1,42 @@ +--- +"@gradio/accordion": minor +"@gradio/annotatedimage": minor +"@gradio/app": minor +"@gradio/atoms": minor +"@gradio/audio": minor +"@gradio/button": minor +"@gradio/chatbot": minor +"@gradio/checkbox": minor +"@gradio/checkboxgroup": minor +"@gradio/code": minor +"@gradio/colorpicker": minor +"@gradio/dataframe": minor +"@gradio/dropdown": minor +"@gradio/fallback": minor +"@gradio/file": minor +"@gradio/gallery": minor +"@gradio/highlightedtext": minor +"@gradio/html": minor +"@gradio/image": minor +"@gradio/json": minor +"@gradio/label": minor +"@gradio/markdown": minor +"@gradio/model3d": minor +"@gradio/number": minor +"@gradio/plot": minor +"@gradio/preview": minor +"@gradio/radio": minor +"@gradio/slider": minor +"@gradio/statustracker": minor +"@gradio/textbox": minor +"@gradio/theme": minor +"@gradio/tootils": minor +"@gradio/upload": minor +"@gradio/uploadbutton": minor +"@gradio/utils": minor +"@gradio/video": minor +"gradio": minor +"gradio_client": minor +--- + +feat:Custom components diff --git a/.changeset/some-shoes-relate.md b/.changeset/some-shoes-relate.md new file mode 100644 index 0000000000..490c8e6db0 --- /dev/null +++ b/.changeset/some-shoes-relate.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Fix layout templates diff --git a/.changeset/spicy-streets-stop.md b/.changeset/spicy-streets-stop.md new file mode 100644 index 0000000000..ee29abab1f --- /dev/null +++ b/.changeset/spicy-streets-stop.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Removes deprecated arguments and parameters from v4 diff --git a/.changeset/spotty-papers-ask.md b/.changeset/spotty-papers-ask.md new file mode 100644 index 0000000000..67616c3830 --- /dev/null +++ b/.changeset/spotty-papers-ask.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:V4: Fix component update bug diff --git a/.changeset/strange-lizards-boil.md b/.changeset/strange-lizards-boil.md new file mode 100644 index 0000000000..54c62b26ef --- /dev/null +++ b/.changeset/strange-lizards-boil.md @@ -0,0 +1,5 @@ +--- +"gradio": patch +--- + +fix: fixup diff --git a/.changeset/strong-peas-tell.md b/.changeset/strong-peas-tell.md new file mode 100644 index 0000000000..5792439a77 --- /dev/null +++ b/.changeset/strong-peas-tell.md @@ -0,0 +1,6 @@ +--- +"@gradio/app": minor +"gradio": minor +--- + +feat:Fix build and file route diff --git a/.changeset/tall-mails-design.md b/.changeset/tall-mails-design.md new file mode 100644 index 0000000000..186cac7511 --- /dev/null +++ b/.changeset/tall-mails-design.md @@ -0,0 +1,6 @@ +--- +"@gradio/video": minor +"gradio": minor +--- + +feat:Fix video diff --git a/.changeset/tame-chairs-tan.md b/.changeset/tame-chairs-tan.md new file mode 100644 index 0000000000..6714bd3b38 --- /dev/null +++ b/.changeset/tame-chairs-tan.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Name Endpoints if api_name is None diff --git a/.changeset/tame-spies-attend.md b/.changeset/tame-spies-attend.md new file mode 100644 index 0000000000..273e8a55c0 --- /dev/null +++ b/.changeset/tame-spies-attend.md @@ -0,0 +1,5 @@ +--- +"@gradio/preview": minor +--- + +feat:fix build diff --git a/.changeset/tasty-candies-type.md b/.changeset/tasty-candies-type.md new file mode 100644 index 0000000000..19a661967e --- /dev/null +++ b/.changeset/tasty-candies-type.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:V4: Update Component pyi file diff --git a/.changeset/tender-bananas-nail.md b/.changeset/tender-bananas-nail.md new file mode 100644 index 0000000000..f008c7637c --- /dev/null +++ b/.changeset/tender-bananas-nail.md @@ -0,0 +1,7 @@ +--- +"@gradio/app": minor +"@gradio/simpledropdown": minor +"gradio": minor +--- + +feat:V4: Simple dropdown diff --git a/.changeset/thick-rabbits-wonder.md b/.changeset/thick-rabbits-wonder.md new file mode 100644 index 0000000000..90c268d272 --- /dev/null +++ b/.changeset/thick-rabbits-wonder.md @@ -0,0 +1,7 @@ +--- +"@gradio/app": minor +"@gradio/simpletextbox": minor +"gradio": minor +--- + +feat:V4: Simple textbox diff --git a/.changeset/three-trams-sniff.md b/.changeset/three-trams-sniff.md new file mode 100644 index 0000000000..074ff8fbac --- /dev/null +++ b/.changeset/three-trams-sniff.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Some minor v4 fixes diff --git a/.changeset/tough-parrots-relate.md b/.changeset/tough-parrots-relate.md new file mode 100644 index 0000000000..b062fb8ac7 --- /dev/null +++ b/.changeset/tough-parrots-relate.md @@ -0,0 +1,6 @@ +--- +"@gradio/wasm": patch +"gradio": patch +--- + +feat:Wasm release diff --git a/.changeset/true-bugs-shine.md b/.changeset/true-bugs-shine.md new file mode 100644 index 0000000000..efd4620c82 --- /dev/null +++ b/.changeset/true-bugs-shine.md @@ -0,0 +1,6 @@ +--- +"gradio": minor +"gradio_client": minor +--- + +feat:Support call method diff --git a/.changeset/true-flowers-hug.md b/.changeset/true-flowers-hug.md new file mode 100644 index 0000000000..7f2f1dd0a8 --- /dev/null +++ b/.changeset/true-flowers-hug.md @@ -0,0 +1,10 @@ +--- +"@gradio/file": patch +"@gradio/image": patch +"@gradio/tootils": patch +"@gradio/upload": patch +"@gradio/uploadbutton": patch +"gradio": patch +--- + +feat:Simplify File Component diff --git a/.changeset/twenty-gifts-tickle.md b/.changeset/twenty-gifts-tickle.md new file mode 100644 index 0000000000..b3ba02e3dd --- /dev/null +++ b/.changeset/twenty-gifts-tickle.md @@ -0,0 +1,6 @@ +--- +"gradio": minor +"gradio_client": minor +--- + +feat:Rename gradio_component to gradio component diff --git a/.changeset/two-games-dress.md b/.changeset/two-games-dress.md new file mode 100644 index 0000000000..c4ab877006 --- /dev/null +++ b/.changeset/two-games-dress.md @@ -0,0 +1,6 @@ +--- +"@gradio/app": minor +"gradio": minor +--- + +fix:Reinstate types that were removed in error in #5832. diff --git a/.changeset/two-mirrors-nail.md b/.changeset/two-mirrors-nail.md new file mode 100644 index 0000000000..c70eed94d0 --- /dev/null +++ b/.changeset/two-mirrors-nail.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:V4: Use async version of shutil in upload route diff --git a/.changeset/upset-crews-learn.md b/.changeset/upset-crews-learn.md new file mode 100644 index 0000000000..cf97d54c20 --- /dev/null +++ b/.changeset/upset-crews-learn.md @@ -0,0 +1,5 @@ +--- +"@gradio/preview": minor +--- + +feat:Strip vite import warning diff --git a/.changeset/vast-terms-rhyme.md b/.changeset/vast-terms-rhyme.md new file mode 100644 index 0000000000..b203aae5cc --- /dev/null +++ b/.changeset/vast-terms-rhyme.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:V4: Set cache dir for some component tests diff --git a/.changeset/violet-jokes-find.md b/.changeset/violet-jokes-find.md new file mode 100644 index 0000000000..6c99981249 --- /dev/null +++ b/.changeset/violet-jokes-find.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Proposal: sample demo for custom components should be a `gr.Interface` diff --git a/.changeset/weak-games-sing.md b/.changeset/weak-games-sing.md new file mode 100644 index 0000000000..e124b979b8 --- /dev/null +++ b/.changeset/weak-games-sing.md @@ -0,0 +1,7 @@ +--- +"@gradio/preview": minor +"gradio": minor +"gradio_test": minor +--- + +feat:fix cc build diff --git a/.changeset/wet-places-hunt.md b/.changeset/wet-places-hunt.md new file mode 100644 index 0000000000..9ce5d87303 --- /dev/null +++ b/.changeset/wet-places-hunt.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:--overwrite deletes previous content diff --git a/.changeset/yellow-rooms-dream.md b/.changeset/yellow-rooms-dream.md new file mode 100644 index 0000000000..43e2962d19 --- /dev/null +++ b/.changeset/yellow-rooms-dream.md @@ -0,0 +1,9 @@ +--- +"@gradio/app": minor +"@gradio/client": minor +"gradio": minor +"gradio_client": minor +"gradio_test": minor +--- + +feat:Swap websockets for SSE diff --git a/.changeset/yummy-boxes-bake.md b/.changeset/yummy-boxes-bake.md new file mode 100644 index 0000000000..42d6a5fb21 --- /dev/null +++ b/.changeset/yummy-boxes-bake.md @@ -0,0 +1,6 @@ +--- +"@gradio/slider": patch +"gradio": patch +--- + +fix:Fixes: slider bar are too thin on FireFox diff --git a/.config/basevite.config.ts b/.config/basevite.config.ts index 5e12d32643..378aa1bf96 100644 --- a/.config/basevite.config.ts +++ b/.config/basevite.config.ts @@ -21,7 +21,9 @@ const theme_token_path = join( "tokens.css" ); -const version = JSON.parse(readFileSync(version_path, { encoding: 'utf-8' })).version.trim().replace(/\./g, '-'); +const version = JSON.parse(readFileSync(version_path, { encoding: "utf-8" })) + .version.trim() + .replace(/\./g, "-"); //@ts-ignore export default defineConfig(({ mode }) => { diff --git a/.config/copy_frontend.py b/.config/copy_frontend.py new file mode 100644 index 0000000000..4aeff7f87f --- /dev/null +++ b/.config/copy_frontend.py @@ -0,0 +1,59 @@ +from __future__ import annotations + +import shutil +import pathlib +from typing import Any + +from hatchling.builders.hooks.plugin.interface import BuildHookInterface + + +def copy_js_code(root: str | pathlib.Path): + NOT_COMPONENT = [ + "app", + "node_modules", + "storybook", + "playwright-report", + "workbench", + "tooltils", + ] + for entry in (pathlib.Path(root) / "js").iterdir(): + if ( + entry.is_dir() + and not str(entry.name).startswith("_") + and not str(entry.name) in NOT_COMPONENT + ): + + def ignore(s, names): + ignored = [] + for n in names: + if ( + n.startswith("CHANGELOG") + or n.startswith("README.md") + or n.startswith("node_modules") + or ".test." in n + or ".stories." in n + or ".spec." in n + ): + ignored.append(n) + return ignored + shutil.copytree( + str(entry), + str(pathlib.Path("gradio") / "_frontend_code" / entry.name), + ignore=ignore, + dirs_exist_ok=True, + ) + shutil.copytree( + str(pathlib.Path(root) / "client" / "js"), + str(pathlib.Path("gradio") / "_frontend_code" / "client"), + ignore=lambda d, names: ["node_modules"], + dirs_exist_ok=True, + ) + + +class BuildHook(BuildHookInterface): + def initialize(self, version: str, build_data: dict[str, Any]) -> None: + copy_js_code(self.root) + + +if __name__ == "__main__": + copy_js_code(pathlib.Path("..").resolve()) diff --git a/.config/eslint.config.js b/.config/eslint.config.js index 41f3498199..8f4c57e686 100644 --- a/.config/eslint.config.js +++ b/.config/eslint.config.js @@ -18,7 +18,7 @@ const js_rules_disabled = Object.fromEntries( const js_rules = { ...js_rules_disabled, - "no-console": ["error", { allow: ["warn", "error", "debug"] }], + "no-console": ["error", { allow: ["warn", "error", "debug", "info"] }], "no-constant-condition": "error", "no-dupe-args": "error", "no-extra-boolean-cast": "error", @@ -60,7 +60,8 @@ export default [ "js/app/test/**/*", "**/*vite.config.ts", "**/_website/**/*", - "**/_spaces-test/**/*" + "**/_spaces-test/**/*", + "**/preview/test/**/*" ] }, { diff --git a/.github/actions/install-frontend-deps/action.yml b/.github/actions/install-frontend-deps/action.yml index e2d3b64416..41ebbb839f 100644 --- a/.github/actions/install-frontend-deps/action.yml +++ b/.github/actions/install-frontend-deps/action.yml @@ -28,7 +28,7 @@ runs: if: steps.frontend-cache.outputs.cache-hit != 'true' || inputs.always-install-pnpm == 'true' uses: pnpm/action-setup@v2 with: - version: 8 + version: 8.9 - uses: actions/setup-node@v3 with: node-version: 18 diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 90b0f796e2..4fdef1073b 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -49,7 +49,7 @@ jobs: test-type: ["not flaky", "flaky"] python-version: ["3.8"] runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.test-type == 'flaky' }} + continue-on-error: true steps: - uses: actions/checkout@v3 - name: Install Python @@ -88,7 +88,7 @@ jobs: node-version: 18 cache: pnpm cache-dependency-path: pnpm-lock.yaml - - name: Build frontend + - name: Build Frontend if: steps.frontend-cache.outputs.cache-hit != 'true' run: | pnpm i --frozen-lockfile --ignore-scripts @@ -141,7 +141,7 @@ jobs: test-type: ["not flaky", "flaky"] python-version: ["3.8"] runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.test-type == 'flaky' }} + continue-on-error: true steps: - uses: actions/checkout@v3 - name: Install Python @@ -168,6 +168,7 @@ jobs: with: path: | gradio/templates/* + gradio/node/* key: gradio-lib-front-end-${{ hashFiles('js/**', 'client/js/**')}} - name: Install pnpm if: steps.frontend-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index d048dd5298..2c8e616ca9 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -5,6 +5,7 @@ on: pull_request: branches: - main + - v4 jobs: comment-spaces-start: diff --git a/.github/workflows/deploy-chromatic.yml b/.github/workflows/deploy-chromatic.yml index 53d9d61ca3..5d1ecadb68 100644 --- a/.github/workflows/deploy-chromatic.yml +++ b/.github/workflows/deploy-chromatic.yml @@ -47,6 +47,8 @@ jobs: with: always-install-pnpm: true skip_build: 'true' + - name: build client + run: pnpm --filter @gradio/client build - name: generate theme.css run: | . venv/bin/activate diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 11875590c8..a60d0fbceb 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -26,11 +26,7 @@ jobs: npm_token: ${{ secrets.NPM_TOKEN }} skip_build: 'true' - name: Build packages - run: | - . venv/bin/activate - pip install build - pnpm css - pnpm --filter @gradio/client --filter @gradio/lite build + run: pnpm --filter @gradio/client build - name: create and publish versions id: changesets uses: changesets/action@v1 diff --git a/.gitignore b/.gitignore index 29f6cd4ee0..887764a920 100644 --- a/.gitignore +++ b/.gitignore @@ -8,10 +8,14 @@ __pycache__/ *$py.class build/ __tmp/* +*.pyi + # JS build -gradio/templates/cdn -gradio/templates/frontend +gradio/templates/* +gradio/node/* +gradio/_frontend_code/* +js/gradio-preview/test/* # Secrets .env @@ -73,6 +77,4 @@ build-storybook.log js/storybook/theme.css # playwright -.config/playwright -!.config/playwright/index.html -!.config/playwright/index.ts +.config/playwright/.cache \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 3ab10f2c5c..6bf105f889 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,7 @@ "python.analysis.extraPaths": ["./gradio/themes/utils"], "svelte.plugin.svelte.format.enable": true, "svelte.plugin.svelte.diagnostics.enable": false, + "svelte.enable-ts-plugin": true, "prettier.configPath": ".config/.prettierrc.json", "prettier.ignorePath": ".config/.prettierignore", "python.analysis.typeCheckingMode": "basic", diff --git a/CHANGELOG.md b/CHANGELOG.md index dff866a70e..db345e475e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,36 +1,111 @@ # gradio -## 3.50.2 - -### Fixes - -- [#6020](https://github.com/gradio-app/gradio/pull/6020) [`77e7843f7`](https://github.com/gradio-app/gradio/commit/77e7843f7a8dd34bf28c2341fe0d47eea17d4066) - Adds Gradio/lite Guide and Playground to the website. Thanks [@abidlabs](https://github.com/abidlabs)! - -## 3.50.1 - -### Fixes - -- [#6005](https://github.com/gradio-app/gradio/pull/6005) [`e0ed0642a`](https://github.com/gradio-app/gradio/commit/e0ed0642ac2cb4f7ce9ee698d082607d9bab3636) - Lite: Error handling after initialization. Thanks [@whitphx](https://github.com/whitphx)! -- [#6004](https://github.com/gradio-app/gradio/pull/6004) [`ec26b71df`](https://github.com/gradio-app/gradio/commit/ec26b71dfbc0b89b4554475fe465c2f6974731e2) - Update static/AudioPlayerto use ../shared/Audio instead of the native `