Streamlit

Latest version: v1.42.1

Safety actively analyzes 707299 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 16

1.28.0

Not secure
<!-- Release notes generated using configuration in .github/release.yml at 1.28.0 -->

What's Changed
Breaking Changes ๐Ÿ› 
* Remove legacy dataframe serialization by LukasMasuch in https://github.com/streamlit/streamlit/pull/7429
New Features ๐ŸŽ‰
* Add overrideable default timeout for script tests by AnOctopus in https://github.com/streamlit/streamlit/pull/7327
* Fluent asserts and type narrowing for widgets in tests by AnOctopus in https://github.com/streamlit/streamlit/pull/7325
* Teach st.write how to not set unsafe_allow_html when possible by vdonato in https://github.com/streamlit/streamlit/pull/7432
* Add datetime index editing support for `st.data_editor` by LukasMasuch in https://github.com/streamlit/streamlit/pull/7483
* Support Graphviz layout engines by snehankekre in https://github.com/streamlit/streamlit/pull/7505
* Better input/output visibility in Langchain callback by pokidyshev in https://github.com/streamlit/streamlit/pull/7478
* New test framework api structure by AnOctopus in https://github.com/streamlit/streamlit/pull/7413
* Arrow dataframe test wrapper by AnOctopus in https://github.com/streamlit/streamlit/pull/7519
* Columns and tabs in script testing by AnOctopus in https://github.com/streamlit/streamlit/pull/7524
* Chat input and messages for app testing by AnOctopus in https://github.com/streamlit/streamlit/pull/7535
* Update `st.spinner` by mayagbarnes in https://github.com/streamlit/streamlit/pull/7488
* Alert classes in app testing by AnOctopus in https://github.com/streamlit/streamlit/pull/7542
* Query params and secrets in app tests by AnOctopus in https://github.com/streamlit/streamlit/pull/7561
* De-experimentalize st.connection by vdonato in https://github.com/streamlit/streamlit/pull/7536
* Minor st.connection tweaks by vdonato in https://github.com/streamlit/streamlit/pull/7562
* Basic app test repr cleanup by AnOctopus in https://github.com/streamlit/streamlit/pull/7573
* Add toolbar to `st.dataframe` and `st.data_editor` by LukasMasuch in https://github.com/streamlit/streamlit/pull/7345
* Implement many remaining AppTest elements by AnOctopus in https://github.com/streamlit/streamlit/pull/7576
Bug Fixes ๐Ÿ›
* Remove autosizer so we don't have weird flickering and weird layout issues by willhuang1997 in https://github.com/streamlit/streamlit/pull/7281
* Better dataframe hashing by kajarenc in https://github.com/streamlit/streamlit/pull/7331
* Fix bokeh slider by adding in side effects to package json by willhuang1997 in https://github.com/streamlit/streamlit/pull/7441
* Fix vertical button regression in toolbar actions by willhuang1997 in https://github.com/streamlit/streamlit/pull/7470
* Upgrade plotly.js version by sfc-gh-wihuang in https://github.com/streamlit/streamlit/pull/7449
* Avoid confusion about file extensions: keep inner dots by mo42 in https://github.com/streamlit/streamlit/pull/7362
* Configure non-range indices as required for editing with `st.data_editor` by LukasMasuch in https://github.com/streamlit/streamlit/pull/7481
* Widget style fixes by sfc-gh-jgarcia in https://github.com/streamlit/streamlit/pull/7486
* Support for non-string column names in `st.data_editor` by LukasMasuch in https://github.com/streamlit/streamlit/pull/7485
* Add user-friendly exception if dataframe exceeds max config of Pandas Styler by LukasMasuch in https://github.com/streamlit/streamlit/pull/7497
* Only use get_active_session when running in SiS by vdonato in https://github.com/streamlit/streamlit/pull/7502
* Call matplotlib crash fix for scripts run in tests by AnOctopus in https://github.com/streamlit/streamlit/pull/7511
* Improve decimal type support for `st.dataframe` and `st.data_editor` by LukasMasuch in https://github.com/streamlit/streamlit/pull/7475
* Fix: Foreign language anchors by mayagbarnes in https://github.com/streamlit/streamlit/pull/7454
* Fix Chat Message container to align and manage the autosizer handling by kmcgrady in https://github.com/streamlit/streamlit/pull/7504
* Added permission to use Clipboard API in IFrame by dilipthakkar in https://github.com/streamlit/streamlit/pull/7487
* Move label attribute to only widgets that have it by AnOctopus in https://github.com/streamlit/streamlit/pull/7560
* Fix select slider value setting with non-strings by AnOctopus in https://github.com/streamlit/streamlit/pull/7566
* Fix attr access of session state in app tests by AnOctopus in https://github.com/streamlit/streamlit/pull/7543
* Added FIPS compliance by DueViktor in https://github.com/streamlit/streamlit/pull/7527
* Enlarge sidebar left and right padding to match MPA spacing by sfc-gh-jgarcia in https://github.com/streamlit/streamlit/pull/7531
* Convert Expander to Details/Summary Element by kmcgrady in https://github.com/streamlit/streamlit/pull/7247
* Fix chat_input repr and add repr tests by AnOctopus in https://github.com/streamlit/streamlit/pull/7574
Other Changes

1.27.2

Not secure
<!-- Release notes generated using configuration in .github/release.yml at 1.27.2 -->



**Full Changelog**: https://github.com/streamlit/streamlit/compare/1.27.1...1.27.2

1.27.1

Not secure
<!-- Release notes generated using configuration in .github/release.yml at 1.27.1 -->



**Full Changelog**: https://github.com/streamlit/streamlit/compare/1.27.0...1.27.1

1.27.0

Not secure
<!-- Release notes generated using configuration in .github/release.yml at 1.27.0 -->

What's Changed
**Highlights**
* โœจ Introducing `st.scatter_chart` โ€” a new, simple chart element to build scatter charts Streamlit-y fast and easy! See our [documentation](https://docs.streamlit.io/library/api-reference/charts/st.scatter_chart).
* ๐Ÿ”— Introducing `st.link_button`! Want to open an external link in a new tab with a bit more pizazz than a plain-text link? Check out our [documentation](https://docs.streamlit.io/library/api-reference/widgets/st.link_button) to see how.
* ๐Ÿƒ Announcing the general availability of [`st.rerun`](https://docs.streamlit.io/library/api-reference/control-flow/st.rerun), a command to interrupt your script and trigger an immediate rerun.

**Notable Changes**
* ๐Ÿ‘ป You can initialize widgets with an empty state by setting `None` as an initial value for [`st.number_input`](https://docs.streamlit.io/library/api-reference/widgets/st.number_input), [`st.selectbox`](https://docs.streamlit.io/library/api-reference/widgets/st.selectbox), [`st.date_input`](https://docs.streamlit.io/library/api-reference/widgets/st.date_input), [`st.time_input`](https://docs.streamlit.io/library/api-reference/widgets/st.time_input), [`st.radio`](https://docs.streamlit.io/library/api-reference/widgets/st.radio), [`st.text_input`](https://docs.streamlit.io/library/api-reference/widgets/st.text_input), and [`st.text_area`](https://docs.streamlit.io/library/api-reference/widgets/st.text_area)!
* ๐Ÿ“ค [`st.download_button`](https://docs.streamlit.io/library/api-reference/widgets/st.download_button) now uses `target="_self"` instead of opening a new tab ([#7151](https://github.com/streamlit/streamlit/pull/7151), [#7132](https://github.com/streamlit/streamlit/issues/7132)).
* ๐ŸงŸ Removed unmaintained `pympler` dependency ([7193](https://github.com/streamlit/streamlit/pull/7193), [#7131](https://github.com/streamlit/streamlit/issues/7131)). Thanks, [rudyardrichter](https://github.com/rudyardrichter)!

**Other Changes**
* ๐Ÿ› Bug fix: `st.multiselect` now shows a correct message when no result matches a userโ€™s search ([7205](https://github.com/streamlit/streamlit/pull/7205), [#7116](https://github.com/streamlit/streamlit/issues/7116)).
* ๐Ÿชฒ Bug fix: `st.experimental_user` now defaults to `testexample.com` ([7219](https://github.com/streamlit/streamlit/pull/7219), [#7215](https://github.com/streamlit/streamlit/issues/7215)).
* ๐Ÿœ Bug fix: `st.slider` labels donโ€™t overlap when small ranges are selected ([7221](https://github.com/streamlit/streamlit/pull/7221), [#3385](https://github.com/streamlit/streamlit/issues/3385)).
* ๐Ÿ Bug fix: Type-checking correctly identifies all string types to avoid hashing errors ([7255](https://github.com/streamlit/streamlit/pull/7255), [#6455](https://github.com/streamlit/streamlit/issues/6455)).
* ๐Ÿž Bug fix: JSON is parsed with JSON5 to avoid errors from null values when using `st.pydeck_chart` ([7256](https://github.com/streamlit/streamlit/pull/7256), [#5799](https://github.com/streamlit/streamlit/issues/5799)).
* ๐Ÿ•ท๏ธ Bug fix: Identical widgets on different pages are correctly interpreted by Streamlit as distinct ([7264](https://github.com/streamlit/streamlit/pull/7264), [#6146](https://github.com/streamlit/streamlit/issues/6146)).
* ๐Ÿฆ‹ Bug fix: Visual tweaks to widgets for responsive behavior ([7145](https://github.com/streamlit/streamlit/pull/7145)).
* ๐Ÿชณ Bug fix: SVGs are accurately displayed ([7183](https://github.com/streamlit/streamlit/pull/7183), [#3882](https://github.com/streamlit/streamlit/issues/3882)).
* ๐Ÿชฐ Bug fix: `st.video` correctly updates with changes to `start_time` ([7257](https://github.com/streamlit/streamlit/pull/7257), [#7126](https://github.com/streamlit/streamlit/issues/7126)).
* ๐Ÿฆ  Bug fix: Additional error handling was added to `st.session_state` ([7280](https://github.com/streamlit/streamlit/pull/7280), [#7206](https://github.com/streamlit/streamlit/issues/7206)).
* ๐ŸฆŸ Bug fix: `st.map` correctly refreshes with new data ([7307](https://github.com/streamlit/streamlit/pull/7307), [#7294](https://github.com/streamlit/streamlit/issues/7294)).
* ๐Ÿฆ‚ Bug fix: The decorative app header line is no longer covered by the sidebar ([7297](https://github.com/streamlit/streamlit/pull/7297), [#6264](https://github.com/streamlit/streamlit/issues/6264)).
* ๐Ÿฆ— Bug fix: `st.code` no longer triggers a `CachedStFunctionWarning` ([7306](https://github.com/streamlit/streamlit/pull/7306), [#7055](https://github.com/streamlit/streamlit/issues/7055)).
* ๐Ÿ•ธ๏ธ Bug fix: `st.download_button` no longer resets with different `data` ([7316](https://github.com/streamlit/streamlit/pull/7316), [#7308](https://github.com/streamlit/streamlit/issues/7308)).
* ๐ŸŒ Bug fix: Widgets consistently recognize user interaction while a page is still running, with or without `fastRerun` enabled ([7283](https://github.com/streamlit/streamlit/pull/7283), [#6643](https://github.com/streamlit/streamlit/issues/6643)).
* ๐ŸฆŽ Bug fix: `st.tabs` was improved to better handle and render conditionally appearing tabs ([7287](https://github.com/streamlit/streamlit/pull/7287), [#7310](https://github.com/streamlit/streamlit/pull/7310), [#5454](https://github.com/streamlit/streamlit/issues/5454), [#7040](https://github.com/streamlit/streamlit/issues/7040)).

New Contributors
* sfc-gh-dperezalvarez made their first contribution in https://github.com/streamlit/streamlit/pull/7157
* rudyardrichter made their first contribution in https://github.com/streamlit/streamlit/pull/7193
* sfc-gh-gpijanski made their first contribution in https://github.com/streamlit/streamlit/pull/7243
* dwaltsch made their first contribution in https://github.com/streamlit/streamlit/pull/7213

**Full Changelog**: https://github.com/streamlit/streamlit/compare/1.26.0...1.27.0

1.26.0

Not secure
What's Changed
**Highlights**

- ๐Ÿค– Introducing `st.status` to display output from long-running processes and external API calls. Works great with `st.chat_message`! See our [documentation](https://docs.streamlit.io//library/api-reference/status/st.status) for how to use this feature.
- ๐Ÿšฅย Introducing [`st.toggle`](https://docs.streamlit.io//library/api-reference/widgets/st.toggle) โ€” an alternative to `st.checkbox` when you need an on/off switch.

**Notable Changes**

- ๐ŸŽจ Simple [chart elements](https://docs.streamlit.io//library/api-reference/charts) have a `color` parameter to set the color of your data points or series ([#7022](https://github.com/streamlit/streamlit/pull/7022)).
- ๐ŸŒˆย [Markdown](https://docs.streamlit.io//library/api-reference/text/st.markdown) supports rainbow and gray colors ([#7106](https://github.com/streamlit/streamlit/pull/7106), [#7179](https://github.com/streamlit/streamlit/pull/7179)).
- ๐Ÿ“ [`st.header`](https://docs.streamlit.io//library/api-reference/text/st.header) and [`st.subheader`](https://docs.streamlit.io//library/api-reference/text/st.subheader) have optional, colored dividers ([#7133](https://github.com/streamlit/streamlit/pull/7133)).
- ๐Ÿš€ Deploying to Community Cloud is even easierโ€”locally running apps have a [deploy button](/library/advanced-features/app-menudeploy-this-app) in their toolbars ([7085](https://github.com/streamlit/streamlit/pull/7085), [#6935](https://github.com/streamlit/streamlit/issues/6935)).
- ๐Ÿ–Œ๏ธ [`st.download_button`](https://docs.streamlit.io//library/api-reference/widgets/st.download_button) has a new parameter `type` for theming ([#7056](https://github.com/streamlit/streamlit/pull/7056), [#7038](https://github.com/streamlit/streamlit/issues/7038)).
- ๐Ÿค– [`st.chat_message`](https://docs.streamlit.io/library/api-reference/chat/st.chat_message) has ai and human presets for messages ([#7094](https://github.com/streamlit/streamlit/pull/7094)).
- ๐Ÿ’… [`st.radio`](https://docs.streamlit.io//library/api-reference/widgets/st.radio) options support markdown and have captions ([#7018](https://github.com/streamlit/streamlit/pull/7018), [#7105](https://github.com/streamlit/streamlit/pull/7105), [#6085](https://github.com/streamlit/streamlit/issues/6085)).
- ๐Ÿงผย Assorted visual tweaks ([7050](https://github.com/streamlit/streamlit/pull/7050), [#894](https://github.com/streamlit/streamlit/issues/894)).
- ๐Ÿ›๏ธ Replaced deprecated `imghdr` dependency with `pillow` ([7081](https://github.com/streamlit/streamlit/pull/7081), [#7027](https://github.com/streamlit/streamlit/issues/7027)).
- ๐Ÿ”ข [`st.number_input`](https://docs.streamlit.io//library/api-reference/widgets/st.number_input)'s step buttons (+/-) are ignored during tabbing navigation ([#7154](https://github.com/streamlit/streamlit/pull/7154)). Thanks [denck007](https://github.com/denck007)!

**Other Changes**

- ๐Ÿž Bug fix: Toast messages are no longer blocked by `st.chat_input` ([7204](https://github.com/streamlit/streamlit/pull/7204), [#7115](https://github.com/streamlit/streamlit/issues/7115)).
- ๐Ÿ•ธ๏ธย Bug fix: Widget IDs are now stable to prevent inconsistent statefulness ([7003](https://github.com/streamlit/streamlit/pull/7003)).
- ๐ŸฆŸย Bug fix: Browser autofill is correctly recognized within forms now ([7150](https://github.com/streamlit/streamlit/pull/7150), [#7101](https://github.com/streamlit/streamlit/issues/7101), [#7084](https://github.com/streamlit/streamlit/issues/7084)).
- ๐Ÿชฑ Bug fix: `st.file_uploader` no longer causes session state to reset when a websocket connection is dropped and reconnected ([7149](https://github.com/streamlit/streamlit/pull/7149), [#7025](https://github.com/streamlit/streamlit/pull/7025)).
- ๐ŸŽ๏ธ Bug fix: Pydeck JSON data is cached for improved performance ([7113](https://github.com/streamlit/streamlit/pull/7113), [#5532](https://github.com/streamlit/streamlit/issues/5532)).
- ๐Ÿฆ‹ Bug fix: `st.chat_input` no longer submits prematurely while typing with an input method editor ([6993](https://github.com/streamlit/streamlit/pull/6993)).
- ๐Ÿž Bug fix: Label backgrounds for `st.tabs` are now transparent ([7070](https://github.com/streamlit/streamlit/pull/7070), [#5707](https://github.com/streamlit/streamlit/issues/5707)).
- ๐Ÿ Bug fix: Page width is no longer ignored when using the `help` parameter in `st.button` ([7033](https://github.com/streamlit/streamlit/pull/7033), [#6161](https://github.com/streamlit/streamlit/issues/6161)).
- ๐Ÿœ Bug fix: Tweaked Altair color specification for improved visibility in dark mode ([7061](https://github.com/streamlit/streamlit/pull/7061), [#3343](https://github.com/streamlit/streamlit/issues/3343)).
- ๐Ÿชฒย Bug fix: `st.chat_message` can correctly use local images as avatars ([7130](https://github.com/streamlit/streamlit/pull/7130)).
- ๐Ÿ› Bug fix: Specified that MD5 is not used for security ([7122](https://github.com/streamlit/streamlit/pull/7122), [#7120](https://github.com/streamlit/streamlit/issues/7120)).
- ๐Ÿช„ Bug fix: Async function docstrings are ignored by [Streamlit magic](https://docs.streamlit.io//library/api-reference/write-magic/magic) ([#7143](https://github.com/streamlit/streamlit/pull/7143), [#7137](https://github.com/streamlit/streamlit/issues/7137)).

New Contributors
* chakku000 made their first contribution in https://github.com/streamlit/streamlit/pull/6993
* DueViktor made their first contribution in https://github.com/streamlit/streamlit/pull/7122
* denck007 made their first contribution in https://github.com/streamlit/streamlit/pull/7154

**Full Changelog**: https://github.com/streamlit/streamlit/compare/1.25.0...1.26.0

1.25.0

Not secure
<!-- Release notes generated using configuration in .github/release.yml at 1.25.0 -->

What's Changed

**Highlights**

- ๐Ÿž Introducing `st.toast` โ€” a command to briefly show toast messages to users in the bottom-right corner of apps. See [our documentation](https://docs.streamlit.io/library/api-reference/status/st.toast) on how to use this feature.

**Notable Changes**

- ๐Ÿ—บ๏ธ [`st.map`](https://docs.streamlit.io/library/api-reference/charts/st.map) now has parameters for latitude, longitude, color, and size to customize data points ([#6896](https://github.com/streamlit/streamlit/pull/6896)).
- ๐Ÿšฉ [`st.multiselect`](https://docs.streamlit.io/library/api-reference/widgets/st.multiselect) supports setting placeholders and specifying the maximum number of selections via the placeholder and max_selections keyword-only arguments, respectively ([#6901](https://github.com/streamlit/streamlit/pull/6901), [#4750](https://github.com/streamlit/streamlit/issues/4750)). Thanks, [fhiroki](https://github.com/fhiroki)!
- ๐Ÿ“… Customize the date format for st.date_input with the format parameter ([6974](https://github.com/streamlit/streamlit/pull/6974), [#5234](https://github.com/streamlit/streamlit/issues/5234)).
- โ†ฉ๏ธ [Forms](https://docs.streamlit.io/library/api-reference/control-flow/st.form) can now be submitted with Enter/Return while inside [`st.text_input`](https://docs.streamlit.io/library/api-reference/widgets/st.text_input), [`st.number_input`](https://docs.streamlit.io/library/api-reference/widgets/st.number_input), or [`st.text_area`](https://docs.streamlit.io/library/api-reference/widgets/st.text_area) ([#6911](https://github.com/streamlit/streamlit/pull/6911), [#3790](https://github.com/streamlit/streamlit/issues/3790)).
- ๐Ÿข The app menu icon in the upper-right corner of apps has been changed from "โ˜ฐ" to "โ‹ฎ" ([6947](https://github.com/streamlit/streamlit/pull/6947)).

**Other Changes**

- โ›“๏ธ Minimum required versions increased for multiple Python dependencies, including numpy>=1.19.3 and pandas>=1.3.0 ([6802](https://github.com/streamlit/streamlit/pull/6802)).
- ๐Ÿ›ก๏ธ protobufjs was bumped from 7.2.1 to 7.2.4 ([6959](https://github.com/streamlit/streamlit/pull/6959)).
- โœจ Visual design tweaks to Streamlit's input widgets ([6944](https://github.com/streamlit/streamlit/pull/6944)).
- ๐Ÿฆ‹ Bug fix: st.slider now accepts general number types like numpy.int64 instead of just int and float ([6816](https://github.com/streamlit/streamlit/pull/6816), [#6815](https://github.com/streamlit/streamlit/issues/6815)). Thanks, [milliams](https://github.com/milliams)!
- ๐Ÿœ Bug fix: Data labels for st.slider and st.select_slider no longer overflow when inside st.expander ([6828](https://github.com/streamlit/streamlit/pull/6828), [#6297](https://github.com/streamlit/streamlit/issues/6297)).
- ๐Ÿ› Bug fix: Elements no longer re-render from scratch with each rerun ([6923](https://github.com/streamlit/streamlit/pull/6923), [#6920](https://github.com/streamlit/streamlit/issues/6920)).
- ๐Ÿž Bug fix: st.data_editor hashes styler objects correctly for stability across reruns ([6815](https://github.com/streamlit/streamlit/pull/6915), [#6898](https://github.com/streamlit/streamlit/issues/6898)).
- ๐Ÿ Bug fix: Fixed the padding for embedded apps using st.chat_input to prevent messages being cutoff ([6979](https://github.com/streamlit/streamlit/pull/6979)).

**Full Changelog**: https://github.com/streamlit/streamlit/compare/1.24.0...1.25.0

Page 5 of 16

ยฉ 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.