gradio/js/chatbot/CHANGELOG.md
pngwn b301ce418b
chore: update versions (#8458)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-06 07:06:28 -07:00

29 KiB

@gradio/chatbot

0.10.9

Dependency updates

  • @gradio/statustracker@0.6.0
  • @gradio/client@1.0.0
  • @gradio/upload@0.11.0
  • @gradio/audio@0.11.8
  • @gradio/image@0.11.8
  • @gradio/video@0.8.8
  • @gradio/markdown@0.7.6

0.10.8

Features

  • #8377 341844f - Click to preview images in chatbot. Thanks @dawoodkhan82!

0.10.7

Dependency updates

  • @gradio/upload@0.10.7
  • @gradio/client@0.20.1
  • @gradio/audio@0.11.7
  • @gradio/image@0.11.7
  • @gradio/video@0.8.7

0.10.6

Dependency updates

  • @gradio/client@0.20.0
  • @gradio/statustracker@0.6.0
  • @gradio/audio@0.11.6
  • @gradio/image@0.11.6
  • @gradio/upload@0.10.6
  • @gradio/video@0.8.6
  • @gradio/markdown@0.7.6

0.10.5

Features

  • #8311 35905c5 - Cleanup markdown styling. Thanks @aliabid94!

Dependency updates

  • @gradio/utils@0.4.2
  • @gradio/atoms@0.7.4
  • @gradio/statustracker@0.5.5
  • @gradio/upload@0.10.5
  • @gradio/markdown@0.7.5
  • @gradio/theme@0.2.3
  • @gradio/client@0.19.4
  • @gradio/audio@0.11.5
  • @gradio/image@0.11.5
  • @gradio/video@0.8.5

0.10.4

Dependency updates

  • @gradio/client@0.19.3
  • @gradio/statustracker@0.5.4
  • @gradio/audio@0.11.4
  • @gradio/image@0.11.4
  • @gradio/upload@0.10.4
  • @gradio/video@0.8.4
  • @gradio/markdown@0.7.4

0.10.3

Dependency updates

  • @gradio/upload@0.10.3
  • @gradio/client@0.19.2
  • @gradio/audio@0.11.3
  • @gradio/image@0.11.3
  • @gradio/video@0.8.3

0.10.2

Dependency updates

  • @gradio/statustracker@0.5.3
  • @gradio/client@0.19.1
  • @gradio/audio@0.11.2
  • @gradio/image@0.11.2
  • @gradio/markdown@0.7.3
  • @gradio/video@0.8.2
  • @gradio/upload@0.10.2

0.10.1

Features

  • #8226 892181b - chore(deps): update dependency @types/prismjs to v1.26.4. Thanks @renovate!

Dependency updates

  • @gradio/atoms@0.7.3
  • @gradio/statustracker@0.5.2
  • @gradio/markdown@0.7.2
  • @gradio/client@0.19.0
  • @gradio/icons@0.4.1
  • @gradio/audio@0.11.1
  • @gradio/image@0.11.1
  • @gradio/upload@0.10.1
  • @gradio/video@0.8.1

0.10.0

Features

  • #8121 f5b710c - chore(deps): update dependency eslint to v9. Thanks @renovate!

Dependency updates

  • @gradio/atoms@0.7.2
  • @gradio/client@0.18.0
  • @gradio/upload@0.10.0
  • @gradio/utils@0.4.1
  • @gradio/statustracker@0.5.1
  • @gradio/audio@0.11.0
  • @gradio/image@0.11.0
  • @gradio/video@0.8.0
  • @gradio/markdown@0.7.1

0.9.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!

Fixes

  • #8066 624f9b9 - make gradio dev tools a local dependency rather than bundling. Thanks @pngwn!

Dependency updates

  • @gradio/atoms@0.7.1
  • @gradio/client@0.17.0
  • @gradio/audio@0.10.0
  • @gradio/image@0.10.0
  • @gradio/markdown@0.7.0
  • @gradio/statustracker@0.5.0
  • @gradio/video@0.7.0
  • @gradio/upload@0.9.0
  • @gradio/utils@0.4.0

0.8.3

Features

  • #7998 06bdf0e - Restore chatbot formatting. Thanks @aliabid94!

Fixes

  • #8025 55ef4a5 - Fixes Chatbot Image Sizing. Thanks @dawoodkhan82!

Dependency updates

  • @gradio/utils@0.3.2
  • @gradio/statustracker@0.4.12
  • @gradio/theme@0.2.2
  • @gradio/client@0.16.0
  • @gradio/upload@0.8.5
  • @gradio/atoms@0.7.0
  • @gradio/icons@0.4.0
  • @gradio/audio@0.9.12
  • @gradio/image@0.9.12
  • @gradio/video@0.6.12
  • @gradio/markdown@0.6.10

0.8.2

Dependency updates

  • @gradio/utils@0.3.1
  • @gradio/atoms@0.6.2
  • @gradio/statustracker@0.4.11
  • @gradio/upload@0.8.4
  • @gradio/image@0.9.11
  • @gradio/markdown@0.6.9
  • @gradio/theme@0.2.1
  • @gradio/client@0.15.1
  • @gradio/video@0.6.11
  • @gradio/audio@0.9.11

0.8.1

Dependency updates

  • @gradio/upload@0.8.3
  • @gradio/client@0.15.0
  • @gradio/audio@0.9.10
  • @gradio/image@0.9.10
  • @gradio/video@0.6.10

0.8.0

Features

  • #7849 7af3cd7 - Adds a placeholder argument to gr.Chatbot. Thanks @abidlabs!

Dependency updates

  • @gradio/atoms@0.6.1
  • @gradio/statustracker@0.4.10
  • @gradio/icons@0.3.4
  • @gradio/upload@0.8.2
  • @gradio/audio@0.9.9
  • @gradio/image@0.9.9
  • @gradio/video@0.6.9
  • @gradio/markdown@0.6.8

0.7.8

Dependency updates

  • @gradio/upload@0.8.1
  • @gradio/statustracker@0.4.9
  • @gradio/atoms@0.6.0
  • @gradio/audio@0.9.8
  • @gradio/image@0.9.8
  • @gradio/video@0.6.8
  • @gradio/markdown@0.6.7

0.7.7

Dependency updates

  • @gradio/client@0.14.0
  • @gradio/upload@0.8.0
  • @gradio/markdown@0.6.6
  • @gradio/audio@0.9.7
  • @gradio/image@0.9.7
  • @gradio/video@0.6.7

0.7.6

Dependency updates

  • @gradio/upload@0.7.7
  • @gradio/client@0.13.0
  • @gradio/audio@0.9.6
  • @gradio/image@0.9.6
  • @gradio/video@0.6.6

0.7.5

Patch Changes

  • Updated dependencies [8181695]:
    • @gradio/upload@0.7.6
    • @gradio/audio@0.9.5
    • @gradio/image@0.9.5
    • @gradio/video@0.6.5

0.7.4

Features

  • #7528 eda33b3 - Refactors get_fetchable_url_or_file() to remove it from the frontend. Thanks @abidlabs!

0.7.3

Patch Changes

  • Updated dependencies [98a2719]:
    • @gradio/statustracker@0.4.8
    • @gradio/audio@0.9.3
    • @gradio/image@0.9.3
    • @gradio/markdown@0.6.5
    • @gradio/video@0.6.3

0.7.2

Patch Changes

  • Updated dependencies [f191786]:
    • @gradio/audio@0.9.2
    • @gradio/icons@0.3.3
    • @gradio/atoms@0.5.3
    • @gradio/image@0.9.2
    • @gradio/statustracker@0.4.7
    • @gradio/upload@0.7.4
    • @gradio/video@0.6.2
    • @gradio/markdown@0.6.4

0.7.1

Patch Changes

  • Updated dependencies [17fb116, 065c5b1, 32b317f]:
    • @gradio/markdown@0.6.3
    • @gradio/utils@0.3.0
    • @gradio/client@0.12.1
    • @gradio/atoms@0.5.2
    • @gradio/audio@0.9.1
    • @gradio/image@0.9.1
    • @gradio/statustracker@0.4.6
    • @gradio/upload@0.7.3
    • @gradio/video@0.6.1

0.7.0

Features

  • #7183 49d9c48 - [WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component. Thanks @abidlabs!

0.6.4

Patch Changes

0.6.3

Patch Changes

  • Updated dependencies [5727b92, ca8753b, bc2cdc1, c35fac0, c60ad4d, 13cb6af, e8b2d8b]:
    • @gradio/utils@0.2.1
    • @gradio/markdown@0.6.1
    • @gradio/audio@0.8.0
    • @gradio/upload@0.7.0
    • @gradio/video@0.5.0
    • @gradio/atoms@0.5.0
    • @gradio/image@0.7.1
    • @gradio/statustracker@0.4.4

0.6.2

Patch Changes

  • Updated dependencies [3c3cf86, 9cefd2e, 6be3c2c, 3f139c7]:
    • @gradio/client@0.10.1
    • @gradio/image@0.7.0
    • @gradio/video@0.4.0
    • @gradio/upload@0.6.1
    • @gradio/audio@0.7.2

0.6.1

Fixes

0.6.0

Features

Fixes

  • #6899 bd11d6e - Remove the styles on the audio elements in the Chatbot component. Thanks @whitphx!

0.5.6

Patch Changes

  • Updated dependencies [d406855]:
    • @gradio/client@0.9.4
    • @gradio/upload@0.5.7

0.5.5

Patch Changes

  • Updated dependencies [846d52d, 828fb9e, f3abde8, 73268ee]:
    • @gradio/markdown@0.6.0
    • @gradio/client@0.9.3
    • @gradio/statustracker@0.4.3
    • @gradio/atoms@0.4.1
    • @gradio/upload@0.5.6

0.5.4

Patch Changes

  • Updated dependencies [245d58e]:
    • @gradio/client@0.9.2
    • @gradio/upload@0.5.5

0.5.3

Patch Changes

  • Updated dependencies [5d51fbc, 34f9431]:
    • @gradio/upload@0.5.4
    • @gradio/client@0.9.1

0.5.2

Features

0.5.1

Fixes

0.5.0

Features

0.4.8

Features

0.4.7

Patch Changes

  • Updated dependencies [9caddc17b]:
    • @gradio/atoms@0.3.0
    • @gradio/icons@0.3.0
    • @gradio/statustracker@0.4.0
    • @gradio/upload@0.5.0
    • @gradio/markdown@0.3.3

0.4.6

Patch Changes

  • Updated dependencies [2f805a7dd, f816136a0]:
    • @gradio/upload@0.4.2
    • @gradio/atoms@0.2.2
    • @gradio/icons@0.2.1
    • @gradio/markdown@0.3.2
    • @gradio/statustracker@0.3.2

0.4.5

Fixes

0.4.4

Patch Changes

0.4.3

Fixes

0.4.2

Patch Changes

  • Updated dependencies [aaa55ce85]:
    • @gradio/upload@0.3.2

0.4.1

Patch Changes

  • Updated dependencies [2ba14b284]:
    • @gradio/client@0.7.1
    • @gradio/upload@0.3.1

0.4.0

Features

0.4.0-beta.9

Features

0.4.0-beta.8

Features

Fixes

0.4.0-beta.7

Features

0.5.3

Fixes

0.5.2

Patch Changes

  • Updated dependencies [e4a307ed6]:
    • @gradio/theme@0.2.0
    • @gradio/utils@0.1.2
    • @gradio/atoms@0.1.4
    • @gradio/markdown@0.3.1
    • @gradio/statustracker@0.2.2
    • @gradio/upload@0.3.2

0.5.1

Fixes

0.5.0

Features

Fixes

0.4.1

Patch Changes

  • Updated dependencies [ee8eec1e5]:
    • @gradio/markdown@0.2.2

0.4.0

Features

Fixes

0.3.2

Fixes

0.3.1

Patch Changes

  • Updated dependencies [afac0006]:
    • @gradio/markdown@0.2.0
    • @gradio/statustracker@0.2.0
    • @gradio/theme@0.1.0
    • @gradio/utils@0.1.1
    • @gradio/atoms@0.1.2
    • @gradio/upload@0.2.1

0.3.0

Highlights

Like/Dislike Button for Chatbot (#5391 abf1c57d)

Thanks @dawoodkhan82!

Features

Fixes

0.2.2

Fixes

0.2.1

Patch Changes

  • Updated dependencies [31996c99]:
    • @gradio/markdown@0.1.1

0.2.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!

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!
  • #5112 1cefee7f - chore(deps): update dependency marked to v7. Thanks @renovate!
  • #5258 92282cea - Chatbot Avatar Images. Thanks @dawoodkhan82!

Fixes

0.1.0

Features

0.0.2

Patch Changes

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