Streamlit

Latest version: v1.42.1

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

Scan your dependencies

Page 6 of 16

1.24.1

Not secure
None

1.24.0

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

What's Changed

Highlights
- πŸ’¬ Introducing [`st.chat_message`](https://docs.streamlit.io/library/api-reference/chat/st.chat_message) and [`st.chat_input`](https://docs.streamlit.io/library/api-reference/chat/st.chat_input) β€” two new [chat elements](https://docs.streamlit.io/library/api-reference/chat) that let you build conversational apps. Learn how to use these features in your LLM-powered chat apps in our [tutorial](https://docs.streamlit.io/knowledge-base/tutorials/build-conversational-apps).
- πŸ’Ύ Streamlit's caching decorators now allow you to customize Streamlit's hashing of input parameters with the keyword-only argument [`hash_funcs`](https://docs.streamlit.io/library/advanced-features/caching#the-hash_funcs-parameter).

Notable Changes
- 🐍 We've deprecated support for Python 3.7 in the core library and Streamlit Community Cloud ([6868](https://github.com/streamlit/streamlit/pull/6868)).
- πŸ“… `st.cache_data` and `st.cache_resource` can hash timezone-aware `datetime` objects ([6812](https://github.com/streamlit/streamlit/pull/6812), [#6690](https://github.com/streamlit/streamlit/issues/6690), [#5110](https://github.com/streamlit/streamlit/issues/5110)).

Other Changes
- ✨ Visual design tweaks to Streamlit's input widgets ([6817](https://github.com/streamlit/streamlit/pull/6817)).
- πŸ› Bug fix: `st.write` pretty-prints dataclasses using `st.help` ([6750](https://github.com/streamlit/streamlit/pull/6750)).
- πŸͺ² Bug fix: `st.button`'s height is consistent with that of other widgets ([6738](https://github.com/streamlit/streamlit/pull/6738)).
- 🐜 Bug fix: Upgraded the `react-range` frontend dependency to fix the memory usage of sliders ([6764](https://github.com/streamlit/streamlit/pull/6764), [#5436](https://github.com/streamlit/streamlit/issues/5436)). Thanks [wolfd](https://github.com/wolfd)!
- 🐝 Bug fix: Pydantic validators no longer result in exceptions on app reruns ([6664](https://github.com/streamlit/streamlit/pull/6664), [#3218](https://github.com/streamlit/streamlit/issues/3218)).
- 🐞 Bug fix: `streamlit config show` honors newlines ([6758](https://github.com/streamlit/streamlit/pull/6758), [#2868](https://github.com/streamlit/streamlit/issues/2868)).
- πŸͺ° Bug fix: Fixed a race condition to ensure Streamlit reruns the latest code when the file changes ([6884](https://github.com/streamlit/streamlit/pull/6884)).
- πŸ¦‹ Bug fix: Apps no longer rerun when users click anchor links ([6834](https://github.com/streamlit/streamlit/pull/6834), [#6500](https://github.com/streamlit/streamlit/issues/6500)).
- πŸ•ΈοΈ Bug fix: Added robust out-of-bounds checks for `min_value` and `max_value` in `st.number_input` ([6847](https://github.com/streamlit/streamlit/pull/6847), [#6797](https://github.com/streamlit/streamlit/issues/6797)).

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

1.23.1

Not secure
**Highlights**

* βœ‚οΈ Announcing the general availability of [st.data_editor](https://docs.streamlit.io/library/api-reference/data/st.data_editor), a widget that allows you to edit DataFrames and many other data structures in a table-like UI. **Breaking change:** the data editor’s representation used in `st.session_state` was altered. Find out more about the new format in [Access edited data](https://docs.streamlit.io/library/advanced-features/dataframes#access-edited-data).
* βš™οΈ Introducing the [Column configuration API](https://docs.streamlit.io/library/api-reference/data/st.column_config) with a suite of methods to configure the display and editing behavior of `st.dataframe` and `st.data_editor` columns (e.g. their title, visibility, type, or format). Keep an eye out for a detailed [blog post](https://blog.streamlit.io/) and in-depth [documentation](https://docs.streamlit.io/library/advanced-features/dataframes#configuring-columns) upcoming in the next two weeks.
* πŸ”Œ Learn to use `st.experimental_connection` to create and manage data connections in your apps with the new [Connecting to data](https://docs.streamlit.io/library/advanced-features/connecting-to-data) docs and [video tutorial](https://www.youtube.com/watch?v=xQwDfW7UHMo).

**Notable Changes**

* πŸ“Š Streamlit now supports Protobuf 4 and Altair 5 ([6215](https://github.com/streamlit/streamlit/issues/6215), [#6618](https://github.com/streamlit/streamlit/pull/6618), [#5626](https://github.com/streamlit/streamlit/issues/5626), [#6622](https://github.com/streamlit/streamlit/pull/6622)).
* ☎️ st.dataframe and st.data_editor can hide index columns with `hide_index`, specify the display order of columns with `column_order`, and disable editing for individual columns with the `disabled` parameter.
* ⏱️ The `ttl` parameter in [st.cache_data](https://docs.streamlit.io/library/api-reference/performance/st.cache_data) and [st.cache_resource](https://docs.streamlit.io/library/api-reference/performance/st.cache_resource) accepts formatted strings, so you can simply say `ttl="30d"`, `ttl="1h30m"` and any other combination of `w`, `d`, `h`, `m`, `s` supported by [Pandas’s Timedelta constructor](https://pandas.pydata.org/docs/reference/api/pandas.Timedelta.html) ([#6560](https://github.com/streamlit/streamlit/pull/6560)).
* πŸ“‚ `st.file_uploader` now interprets the `type` parameter more accurately. For example, "jpg" or ".jpg" now accept both "jpg" and "jpeg" extensions. This functionality has also been extended to "mpeg/mpg", "tiff/tif", "html/htm", and "mpeg4/mp4".
* 🀫 The new `global.disableWidgetStateDuplicationWarning` configuration option allows the silencing of warnings triggered by setting widget default values and keyed session state values concurrently ([3605](https://github.com/streamlit/streamlit/issues/3605), [#6640](https://github.com/streamlit/streamlit/pull/6640)). Thanks, [antonAce](https://github.com/antonAce)!

**Other Changes**

* πŸƒβ€β™€οΈImproved startup time by lazy loading some dependencies ([6531](https://github.com/streamlit/streamlit/pull/6531)).
* πŸ‘‹ Removed `st.beta_*` and `st.experimental_show` due to deprecation and low-use ([6558](https://github.com/streamlit/streamlit/pull/6558))
* πŸš€ Further improvements to st.dataframe and st.data_editor:
* Improved editing on mobile devices for the data editor ([6548](https://github.com/streamlit/streamlit/pull/6548)).
* All editable columns have an icon in their column header and support tooltips ([6550](https://github.com/streamlit/streamlit/pull/6550), [#6561](https://github.com/streamlit/streamlit/pull/6561)).
* Enable editing for columns containing datetime, date, or time values ([6025](https://github.com/streamlit/streamlit/pull/6025)).
* New input validation options for columns in the data editor, such as `max_chars` and `validate` for text columns, and `min_value`, `max_value` and `step` for number columns ([6563](https://github.com/streamlit/streamlit/pull/6563)).
* Improved type parsing capabilities in the data editor ([6551](https://github.com/streamlit/streamlit/pull/6551)).
* Unified missing values to `None` in returned data structures ([6544](https://github.com/streamlit/streamlit/pull/6544)).
* A warning is shown in cells when integers exceed the maximum safe value of `(2^53) -1` ([6311](https://github.com/streamlit/streamlit/issues/6311), [#6549](https://github.com/streamlit/streamlit/pull/6549)).
* Prevented editing the sessions state by showing a warning ([6634](https://github.com/streamlit/streamlit/pull/6634)).
* Fixed issues with list columns sometimes breaking the frontend ([6644](https://github.com/streamlit/streamlit/pull/6644)).
* Fixed a display issue with index columns using category dtype ([6680](https://github.com/streamlit/streamlit/issues/6680), [#6598](https://github.com/streamlit/streamlit/pull/6598)).
* Fixed an issue that prevented a rerun when adding empty rows ([6598](https://github.com/streamlit/streamlit/pull/6598)).
* Unified the behavior between `st.data_editor` and `st.dataframe` related to auto-hiding the index column(s) based on the input data ([6659](https://github.com/streamlit/streamlit/issues/6659), [#6598](https://github.com/streamlit/streamlit/pull/6598))
* πŸ›‘οΈ Streamlit’s [Security Policy](https://github.com/streamlit/streamlit/blob/develop/SECURITY.md) can be found in its GitHub repository ([#6666](https://github.com/streamlit/streamlit/pull/6666)).
* 🀏 Documented the integer size limit for `st.number_input` and `st.slider` ([6724](https://github.com/streamlit/streamlit/pull/6724)).
* 🐍 The majority of Streamlit's Python dependencies have set a maximum allowable version, with the standard upper limit set to the next major version, but not inclusive of it ([6691](https://github.com/streamlit/streamlit/pull/6691)).
* πŸ’… UI design improvements to in-app modals ([6688](https://github.com/streamlit/streamlit/pull/6688)).
* 🐞 Bug fix: `st.date_input`'s date selector is equally visible in dark mode ([6072](https://github.com/streamlit/streamlit/issues/6072), [#6630](https://github.com/streamlit/streamlit/pull/6630)).
* 🐜 Bug fix: the sidebar navigation expansion indicator in multipage apps is restored ([6731](https://github.com/streamlit/streamlit/pull/6731)).
* πŸ› Bug fix: The docstring and exception message for `st.set_page_config` have been updated to clarify that this command can be invoked once for each page within a multipage app, rather than once per entire app ([6594](https://github.com/streamlit/streamlit/pull/6594)).
* 🐝 Bug fix: `st.json` no longer collapses multiple spaces in both keys and values with single space when rendered ([6657](https://github.com/streamlit/streamlit/issues/6657), [#6663](https://github.com/streamlit/streamlit/pull/6663)).

1.23.0

Not secure
None

1.22.0

Not secure
**Highlights**

* πŸ”Œ Introducing `st.experimental_connection`: Easily connect your app to data sources and APIs using our new connection feature. Find more details in our [blog post](https://blog.streamlit.io/introducing-st-experimental_connection/) and the [API reference](https://docs.streamlit.io/library/api-reference/connections), and stay tuned for in-depth documentation! In the meantime, explore our updated [MySQL](https://docs.streamlit.io/knowledge-base/tutorials/databases/mysql) and [Snowflake](https://docs.streamlit.io/knowledge-base/tutorials/databases/snowflake) connection tutorials for examples of this feature.

**Notable Changes**

* 🐼 Streamlit now supports Pandas 2.0 ([6413](https://github.com/streamlit/streamlit/issues/6413), [#6378](https://github.com/streamlit/streamlit/pull/6378), [#6507](https://github.com/streamlit/streamlit/pull/6507)). Thanks, [connortann](https://github.com/connortann)!
* πŸ” Customize the visibility of items in the toolbar, options menu, and the settings dialog using the `client.toolbarMode` [config option](https://docs.streamlit.io/library/advanced-features/configuration#view-all-configuration-options) ([6174](https://github.com/streamlit/streamlit/pull/6174)).
* πŸͺ΅ Streamlit logs now reside in the "streamlit" namespace instead of the root logger, enabling app developers to better manage log handling ([3978](https://github.com/streamlit/streamlit/issues/3978), [#6377](https://github.com/streamlit/streamlit/pull/6377)).

**Other Changes**

* πŸ” CLI parameters can no longer be used to set sensitive configuration values ([6376](https://github.com/streamlit/streamlit/pull/6376)).
* πŸ€– Improved the debugging experience by reducing log noise ([6391](https://github.com/streamlit/streamlit/pull/6391)).
* 🐞 Bug fix: `st.cache_data` decorated functions support UUID objects as parameters ([6440](https://github.com/streamlit/streamlit/issues/6440), [#6459](https://github.com/streamlit/streamlit/pull/6459)).
* πŸ› Bug fix: Tabbing through buttons and other elements now displays a red border only when focused, not when clicked ([6373](https://github.com/streamlit/streamlit/pull/6373)).
* πŸͺ² Bug fix: `st.multiselect`'s clear icon is larger and includes a hover effect ([6471](https://github.com/streamlit/streamlit/pull/6471)).
* 🐜 Bug fix: Custom theme font settings no longer apply to code blocks ([6484](https://github.com/streamlit/streamlit/issues/6484), [#6535](https://github.com/streamlit/streamlit/pull/6535)).
* ©️ Bug fix: `st.code`'s copy-to-clipboard button appears when you hover on code blocks ([6490](https://github.com/streamlit/streamlit/issues/6490), [#6498](https://github.com/streamlit/streamlit/pull/6498)).

1.21.0

Not secure
**Highlights**

* πŸ“ Introducing `st.divider` β€” a command that displays a horizontal line in your app. Learn how to use this command in its [API reference](https://docs.streamlit.io/library/api-reference/text/st.divider).
* πŸ” Streamlit now supports the use of a global `secrets.toml` file, in addition to a project-level file, to easily store and securely access your secrets. Learn more in [Secrets management](https://docs.streamlit.io/library/advanced-features/secrets-management).
* πŸš€ [`st.help`](https://docs.streamlit.io/library/api-reference/utilities/st.help) has been revamped to show more information about object methods, attributes, classes, and more, which is great for debugging!

**Notable Changes**

* πŸͺœ [`st.time_input`](https://docs.streamlit.io/library/api-reference/widgets/st.time_input) supports adding a stepping interval with the keyword-only `step` parameter ([#6071](https://github.com/streamlit/streamlit/pull/6071)).
* ❓ Most [text elements](https://docs.streamlit.io/library/api-reference/text) can include tooltips with the `help` parameter ([#6043](https://github.com/streamlit/streamlit/pull/6043)).
* ↔️ [`st.pyplot`](https://docs.streamlit.io/library/api-reference/charts/st.pyplot) has a `use_container_width` parameter to set the chart to the container width (now all [chart elements](https://docs.streamlit.io/library/api-reference/charts) support this parameter) ([#6067](https://github.com/streamlit/streamlit/pull/6067)).
* πŸ‘©β€πŸ’» [`st.code`](https://docs.streamlit.io/library/api-reference/text/st.code) supports optionally displaying line numbers to the code block’s left with the boolean `line_numbers` parameter ([#5756](https://github.com/streamlit/streamlit/issues/5756), [#6042](https://github.com/streamlit/streamlit/pull/6042)).
* βš“ Anchors in header elements can be turned off by setting `anchor=False` ([6158](https://github.com/streamlit/streamlit/pull/6158)).

**Other Changes**

* 🐼 [`st.table`](https://docs.streamlit.io/library/api-reference/data/st.table) and [`st.dataframe`](https://docs.streamlit.io/library/api-reference/data/st.dataframe) support `pandas.Period`, and number and boolean types in categorical columns ([#2547](https://github.com/streamlit/streamlit/issues/2547), [#5429](https://github.com/streamlit/streamlit/pull/5429), [#5329](https://github.com/streamlit/streamlit/issues/5392), [#6248](https://github.com/streamlit/streamlit/pull/6248)).
* πŸ•ΈοΈ Added `.webp` to the list of allowed static file extensions ([6331](https://github.com/streamlit/streamlit/pull/6331))
* 🐞 Bug fix: stop script execution on websocket close to immediately clear session information ([6166](https://github.com/streamlit/streamlit/issues/6166), [#6204](https://github.com/streamlit/streamlit/pull/6204)).
* 🐜 Bug fixes: updated allowed/disallowed label markdown behavior such that unsupported elements are unwrapped and only their children (text contents) render ([5872](https://github.com/streamlit/streamlit/issues/5872), [#6036](https://github.com/streamlit/streamlit/issues/6036), [#6054](https://github.com/streamlit/streamlit/issues/6054), [#6163](https://github.com/streamlit/streamlit/pull/6163)).
* πŸͺ² Bug fixes: don’t push browser history states on rerun, use HTTPS to load external resources in `streamlit hello`, and make the browser back button work for multipage apps ([5292](https://github.com/streamlit/streamlit/issues/5292), [#6266](https://github.com/streamlit/streamlit/pull/6266), [#6232](https://github.com/streamlit/streamlit/pull/6232)). Thanks, [whitphx](https://github.com/whitphx)!
* 🐝 Bug fix: avoid showing emoji on non-UTF-8 terminals. ([2284](https://github.com/streamlit/streamlit/issues/2284), [#6088](https://github.com/streamlit/streamlit/pull/6088)). Thanks, [kcarnold](https://github.com/kcarnold)!
* πŸ“ Bug fix: override default use of [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) for `react-dropzone` so that `st.file_uploader`'s File Selection Dialog only shows file types corresponding to those included in the `type` parameter ([#6176](https://github.com/streamlit/streamlit/issues/6176), [#6315](https://github.com/streamlit/streamlit/pull/6315)).
* πŸ’Ύ Bug fix: make the `.clear()` method on cache-decorated functions work ([6310](https://github.com/streamlit/streamlit/issues/6310), [#6321](https://github.com/streamlit/streamlit/pull/6321)).
* πŸƒ Bug fix: `st.experimental_get_query_params` doesn’t need reruns to work ([6347](https://github.com/streamlit/streamlit/issues/6347), [#6348](https://github.com/streamlit/streamlit/pull/6348)). Thanks, [PaleNeutron](https://github.com/PaleNeutron)!
* πŸ› Bug fix: `CachedStFunctionWarning` mentions `experimental_allow_widgets` instead of the deprecated `suppress_st_warning` ([6216](https://github.com/streamlit/streamlit/issues/6216), [#6217](https://github.com/streamlit/streamlit/pull/6217)).

Page 6 of 16

Β© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.