gradio/js/app/CHANGELOG.md
pngwn a46cb94870
chore: update versions (#5831)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-16 13:30:41 -07:00

17 KiB

@gradio/app

1.8.0

Features

  • #5627 b67115e8e - Lite: Make the Examples component display media files using pseudo HTTP requests to the Wasm server. Thanks @whitphx!
  • #5886 121f25b2d - Lite: Fix is_self_host() to detect 127.0.0.1 as localhost as well. Thanks @whitphx!

1.7.1

Patch Changes

  • Updated dependencies [796145e2c]:
    • @gradio/client@0.5.1
    • @gradio/file@0.2.1
    • @gradio/fileexplorer@0.2.1
    • @gradio/uploadbutton@0.0.11

1.7.0

Highlights

new FileExplorer component (#5672 e4a307ed6)

Thanks to a new capability that allows components to communicate directly with the server without passing data via the value, we have created a new FileExplorer component.

This component allows you to populate the explorer by passing a glob, but only provides the selected file(s) in your prediction function.

Users can then navigate the virtual filesystem and select files which will be accessible in your predict function. This component will allow developers to build more complex spaces, with more flexible input options.

output

For more information check the FileExplorer documentation.

Thanks @aliabid94!

Fixes

1.6.4

Features

1.6.3

Patch Changes

  • Updated dependencies [abb5e9df4, e842a561a, 8f0fed857, 502054848, 2a5b9e03b]:
    • @gradio/gallery@0.4.1
    • @gradio/chatbot@0.5.0
    • @gradio/dataframe@0.3.0
    • @gradio/markdown@0.3.0
    • @gradio/icons@0.2.0
    • @gradio/annotatedimage@0.2.1
    • @gradio/atoms@0.1.3
    • @gradio/audio@0.3.6
    • @gradio/code@0.2.1
    • @gradio/dropdown@0.3.1
    • @gradio/file@0.1.5
    • @gradio/form@0.0.6
    • @gradio/highlightedtext@0.3.2
    • @gradio/image@0.3.1
    • @gradio/json@0.1.1
    • @gradio/label@0.2.1
    • @gradio/model3d@0.2.3
    • @gradio/plot@0.2.1
    • @gradio/statustracker@0.2.1
    • @gradio/textbox@0.4.1
    • @gradio/timeseries@0.0.7
    • @gradio/upload@0.3.1
    • @gradio/video@0.0.10
    • @gradio/accordion@0.1.1
    • @gradio/box@0.0.5
    • @gradio/checkbox@0.2.1
    • @gradio/checkboxgroup@0.3.1
    • @gradio/colorpicker@0.1.3
    • @gradio/html@0.0.5
    • @gradio/number@0.3.1
    • @gradio/radio@0.3.1
    • @gradio/slider@0.2.1
    • @gradio/row@0.0.1
    • @gradio/button@0.2.1
    • @gradio/uploadbutton@0.0.8

1.6.2

Features

Fixes

1.6.1

Patch Changes

  • Updated dependencies [ee8eec1e5]:
    • @gradio/markdown@0.2.2
    • @gradio/chatbot@0.4.1
    • @gradio/dataframe@0.2.4

1.6.0

Features

1.5.4

Features

1.5.3

Fixes

1.5.2

Patch Changes

  • Updated dependencies [a0cc9ac9]:
    • @gradio/dropdown@0.2.2

1.5.1

Patch Changes

  • Updated dependencies [dc86e4a7, 21f1db40]:
    • @gradio/gallery@0.3.3
    • @gradio/image@0.2.3
    • @gradio/dropdown@0.2.1
    • @gradio/row@0.0.1
    • @gradio/video@0.0.7

1.5.0

Features

1.4.3

Patch Changes

  • Updated dependencies [6e381c4f]:
    • @gradio/dataframe@0.2.2

1.4.2

Fixes

1.4.1

Patch Changes

  • Updated dependencies [afac0006, d14d63e3, 26fef8c7]:
    • @gradio/dataframe@0.2.0
    • @gradio/markdown@0.2.0
    • @gradio/statustracker@0.2.0
    • @gradio/theme@0.1.0
    • @gradio/textbox@0.2.0
    • @gradio/client@0.3.1
    • @gradio/chatbot@0.3.1
    • @gradio/accordion@0.0.4
    • @gradio/annotatedimage@0.1.2
    • @gradio/audio@0.3.2
    • @gradio/checkbox@0.1.3
    • @gradio/checkboxgroup@0.1.2
    • @gradio/code@0.1.2
    • @gradio/colorpicker@0.1.2
    • @gradio/dropdown@0.1.3
    • @gradio/file@0.1.2
    • @gradio/gallery@0.3.2
    • @gradio/highlightedtext@0.2.3
    • @gradio/html@0.0.4
    • @gradio/image@0.2.2
    • @gradio/json@0.0.5
    • @gradio/label@0.1.2
    • @gradio/model3d@0.2.1
    • @gradio/number@0.2.2
    • @gradio/plot@0.1.2
    • @gradio/radio@0.1.2
    • @gradio/slider@0.1.2
    • @gradio/timeseries@0.0.5
    • @gradio/video@0.0.6
    • @gradio/utils@0.1.1
    • @gradio/uploadbutton@0.0.5
    • @gradio/row@0.0.1
    • @gradio/atoms@0.1.2
    • @gradio/button@0.1.3
    • @gradio/form@0.0.5
    • @gradio/tabitem@0.0.4
    • @gradio/tabs@0.0.5
    • @gradio/box@0.0.4
    • @gradio/upload@0.2.1

1.4.0

Features

1.3.2

Patch Changes

  • Updated dependencies [5f25eb68, 3341148c, df090e89]:
    • @gradio/highlightedtext@0.2.1
    • @gradio/chatbot@0.2.2
    • @gradio/checkbox@0.1.1

1.3.1

Fixes

1.3.0

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!

Add render function to <gradio-app> (#5158 804fcc05)

We now have an event render on the web component, which is triggered once the embedded space has finished rendering.

<script>
  function handleLoadComplete() {
    console.log("Embedded space has finished rendering");
  }
  const gradioApp = document.querySelector("gradio-app");
  gradioApp.addEventListener("render", handleLoadComplete);
</script>

Thanks @hannahblair!

Features

  • #5215 fbdad78a - 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!
  • #5216 4b58ea6d - Update i18n tokens and locale files. Thanks @hannahblair!
  • #5219 e8fd4e4e - Add api_name parameter to gr.Interface. Additionally, completely hide api page if show_api=False. Thanks @freddyaboulton!
  • #5264 46a2b600 - ensure translations for audio work correctly. Thanks @hannahblair!

Fixes

1.2.0

Highlights

Client.predict will now return the final output for streaming endpoints (#5057 35856f8b)

This is a breaking change (for gradio_client only)!

Previously, Client.predict would only return the first output of an endpoint that streamed results. This was causing confusion for developers that wanted to call these streaming demos via the client.

We realize that developers using the client don't know the internals of whether a demo streams or not, so we're changing the behavior of predict to match developer expectations.

Using Client.predict will now return the final output of a streaming endpoint. This will make it even easier to use gradio apps via the client.

Thanks @freddyaboulton!

Features

1.1.0

Features