gradio/js/simpleimage/CHANGELOG.md
Gradio PR Bot b635a31714
chore: update versions (#9168)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-06 09:10:25 +08:00

9.5 KiB

@gradio/simpleimage

0.7.1

Fixes

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

Dependency updates

  • @gradio/utils@0.6.1
  • @gradio/statustracker@0.7.6
  • @gradio/atoms@0.8.1
  • @gradio/icons@0.7.2
  • @gradio/wasm@0.13.1
  • @gradio/client@1.5.2
  • @gradio/upload@0.12.4

0.7.0

Features

  • #8930 41d5ab9 - Add placeholder param to Image and ImageEditor to replace upload image text. Thanks @hannahblair!
  • #9118 e1c404d - setup npm-previews of all packages. Thanks @pngwn!

Fixes

  • #9116 ba6322e - Fix image height content fit. Thanks @hannahblair!

Dependency updates

  • @gradio/utils@0.6.0
  • @gradio/upload@0.12.3
  • @gradio/atoms@0.8.0
  • @gradio/client@1.5.1
  • @gradio/statustracker@0.7.5
  • @gradio/wasm@0.13.0
  • @gradio/icons@0.7.1

0.6.5

Dependency updates

  • @gradio/atoms@0.7.9
  • @gradio/statustracker@0.7.4
  • @gradio/client@1.5.0
  • @gradio/icons@0.7.0
  • @gradio/upload@0.12.2

0.6.4

Dependency updates

  • @gradio/atoms@0.7.8
  • @gradio/icons@0.6.1
  • @gradio/utils@0.5.2
  • @gradio/statustracker@0.7.3
  • @gradio/upload@0.12.1

0.6.3

Fixes

  • #8852 16b8200 - Fix gr.Image height inconsistencies. Thanks @hannahblair!

Dependency updates

  • @gradio/wasm@0.12.0
  • @gradio/client@1.4.0
  • @gradio/statustracker@0.7.2
  • @gradio/upload@0.12.0
  • @gradio/atoms@0.7.7

0.6.2

Dependency updates

  • @gradio/atoms@0.7.6
  • @gradio/utils@0.5.1
  • @gradio/statustracker@0.7.1
  • @gradio/client@1.3.0
  • @gradio/upload@0.11.5
  • @gradio/icons@0.6.0

0.6.1

Dependency updates

  • @gradio/upload@0.11.4
  • @gradio/client@1.2.1

0.6.0

Features

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

Dependency updates

  • @gradio/atoms@0.7.5
  • @gradio/utils@0.5.0
  • @gradio/icons@0.5.0
  • @gradio/wasm@0.11.0
  • @gradio/client@1.2.0
  • @gradio/statustracker@0.7.0
  • @gradio/upload@0.11.3

0.5.10

Dependency updates

  • @gradio/client@1.1.1
  • @gradio/upload@0.11.2

0.5.9

Dependency updates

  • @gradio/upload@0.11.1
  • @gradio/client@1.1.0

0.5.8

Dependency updates

  • @gradio/statustracker@0.6.0
  • @gradio/client@1.0.0
  • @gradio/upload@0.11.0

0.5.7

Dependency updates

  • @gradio/upload@0.10.7
  • @gradio/client@0.20.1

0.5.6

Dependency updates

  • @gradio/client@0.20.0
  • @gradio/statustracker@0.6.0
  • @gradio/upload@0.10.6

0.5.5

Dependency updates

  • @gradio/utils@0.4.2
  • @gradio/atoms@0.7.4
  • @gradio/statustracker@0.5.5
  • @gradio/upload@0.10.5
  • @gradio/client@0.19.4

0.5.4

Dependency updates

  • @gradio/client@0.19.3
  • @gradio/statustracker@0.5.4
  • @gradio/upload@0.10.4

0.5.3

Dependency updates

  • @gradio/upload@0.10.3
  • @gradio/client@0.19.2

0.5.2

Dependency updates

  • @gradio/statustracker@0.5.3
  • @gradio/client@0.19.1
  • @gradio/upload@0.10.2

0.5.1

Fixes

Dependency updates

  • @gradio/atoms@0.7.3
  • @gradio/statustracker@0.5.2
  • @gradio/client@0.19.0
  • @gradio/icons@0.4.1
  • @gradio/upload@0.10.1

0.5.0

Features

  • #8209 b9afe93 - Rename eventSource_Factory and fetch_implementation. Thanks @hannahblair!

Fixes

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

Dependency updates

  • @gradio/atoms@0.7.2
  • @gradio/client@0.18.0
  • @gradio/upload@0.10.0
  • @gradio/utils@0.4.1
  • @gradio/wasm@0.10.1
  • @gradio/statustracker@0.5.1

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!

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/statustracker@0.5.0
  • @gradio/upload@0.9.0
  • @gradio/utils@0.4.0

0.3.12

Dependency updates

  • @gradio/utils@0.3.2
  • @gradio/statustracker@0.4.12
  • @gradio/client@0.16.0
  • @gradio/upload@0.8.5
  • @gradio/atoms@0.7.0
  • @gradio/icons@0.4.0

0.3.11

Dependency updates

  • @gradio/utils@0.3.1
  • @gradio/atoms@0.6.2
  • @gradio/statustracker@0.4.11
  • @gradio/upload@0.8.4
  • @gradio/client@0.15.1

0.3.10

Dependency updates

  • @gradio/upload@0.8.3
  • @gradio/client@0.15.0

0.3.9

Dependency updates

  • @gradio/atoms@0.6.1
  • @gradio/statustracker@0.4.10
  • @gradio/icons@0.3.4
  • @gradio/upload@0.8.2

0.3.8

Dependency updates

  • @gradio/upload@0.8.1
  • @gradio/statustracker@0.4.9
  • @gradio/wasm@0.10.0
  • @gradio/atoms@0.6.0

0.3.7

Dependency updates

  • @gradio/client@0.14.0
  • @gradio/upload@0.8.0
  • @gradio/wasm@0.9.0

0.3.6

Dependency updates

  • @gradio/upload@0.7.7
  • @gradio/client@0.13.0
  • @gradio/wasm@0.8.0

0.3.5

Patch Changes

  • Updated dependencies [8181695]:
    • @gradio/upload@0.7.6

0.3.4

Features

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

0.3.3

Patch Changes

  • Updated dependencies [98a2719]:
    • @gradio/statustracker@0.4.8

0.3.2

Patch Changes

  • Updated dependencies [f191786]:
    • @gradio/icons@0.3.3
    • @gradio/atoms@0.5.3
    • @gradio/statustracker@0.4.7
    • @gradio/upload@0.7.4

0.3.1

Patch Changes

  • Updated dependencies [065c5b1, 32b317f]:
    • @gradio/utils@0.3.0
    • @gradio/client@0.12.1
    • @gradio/atoms@0.5.2
    • @gradio/statustracker@0.4.6
    • @gradio/upload@0.7.3

0.3.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.2.0

Features

Fixes