gradio/js/utils/CHANGELOG.md
pngwn bbf9ba7e99
i am changesets now (#9612)
* version

* fix
2024-10-09 13:46:26 +01:00

9.0 KiB

@gradio/utils

0.7.0

Features

Dependencies

  • @gradio/theme@0.3.0

0.7.0-beta.2

Features

  • #9339 4c8c6f2 - Ssr part 2. Thanks @pngwn!
  • #9363 3ad28c7 - Prevent HTML and Markdown height changing when status is hidden. Thanks @hannahblair!

0.7.0-beta.1

Features

  • #9187 5bf00b7 - make all component SSR compatible. Thanks @pngwn!

Dependency updates

  • @gradio/theme@0.3.0-beta.1

0.7.0

Features

Fixes

  • #9163 2b6cbf2 - fix exports and generate types. Thanks @pngwn!

Dependency updates

  • @gradio/theme@0.2.5

0.6.0

Features

  • #9128 747013b - Allow accessing the entire row of selected values in gr.DataFrame. Thanks @abidlabs!
  • #9118 e1c404d - setup npm-previews of all packages. Thanks @pngwn!

Dependency updates

  • @gradio/theme@0.2.4

0.5.2

Fixes

  • #8927 223688b - Fix Could not resolve "virtual:component-loader" in gradio/utils package. Thanks @benzler!

0.5.1

Fixes

  • #8737 31a876d - Fix Share to community button for images. Thanks @hannahblair!

0.5.0

Features

  • #8131 bb504b4 - Gradio components in gr.Chatbot(). Thanks @dawoodkhan82!

0.4.2

Dependency updates

  • @gradio/theme@0.2.3

0.4.1

Fixes

  • #8179 6a218b4 - rework upload to be a class method + pass client into each component. Thanks @pngwn!

0.4.0

Highlights

Setting File Upload Limits (#7909 2afca65)

We have added a max_file_size size parameter to launch() that limits to size of files uploaded to the server. This limit applies to each individual file. This parameter can be specified as a string or an integer (corresponding to the size in bytes).

The following code snippet sets a max file size of 5 megabytes.

import gradio as gr

demo = gr.Interface(lambda x: x, "image", "image")

demo.launch(max_file_size="5mb")
# or
demo.launch(max_file_size=5 * gr.FileSize.MB)

max_file_size_upload

Error states can now be cleared

When a component encounters an error, the error state shown in the UI can now be cleared by clicking on the x icon in the top right of the component. This applies to all types of errors, whether it's raised in the UI or the server.

error_modal_calculator

Thanks @freddyaboulton!

0.3.2

Dependency updates

  • @gradio/theme@0.2.2

0.3.1

Dependency updates

  • @gradio/theme@0.2.1

0.3.0

Fixes

0.2.2

Features

  • #7274 fdd1521 - chore: Change time format (thanks @jjshoots for the independent contribution). Thanks @arian81!

0.2.1

Fixes

0.2.0

Features

0.2.0-beta.6

Features

0.2.0-beta.5

Features

Fixes

0.2.0-beta.4

Features

0.1.2

Patch Changes

  • Updated dependencies [e4a307ed6]:
    • @gradio/theme@0.2.0

0.1.1

Patch Changes

  • Updated dependencies [afac0006]:
    • @gradio/theme@0.1.0

0.1.0

Highlights

Like/Dislike Button for Chatbot (#5391 abf1c57d)

Thanks @dawoodkhan82!

0.0.3

Highlights

Improve startup performance and markdown support (#5279 fe057300)

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!

0.0.2

Patch Changes

  • Updated dependencies [41c83070]:
    • @gradio/theme@0.0.2