Highlights
Announcing the option to accept files with
st.chat_input
!Introducing a new column type for column configuration! Use
JsonColumn
to show JSON-compatible objects.
Notable Changes
You can prevent
st.download_button
from triggering a rerun by settingon_click="ignore"
(#10296, #4382).You can access a userโs timezone and timezone offset through
st.context
(#10336).You can configure the row height in
st.dataframe
andst.data_editor
with a new parameter (#9549, #7266, #8632, #5386).st.dataframe
andst.data_editor
useuse_container_width=True
by default (#10434).Markdown has a small text directive (#10487, #10486).
You can pass strings, paths, and callables to
st.navigation
in place ofStreamlitPage
objects for convenience (#10358, #10069). Thanks, ashm-dev!Streamlit has a new custom component,
streamlit-bokeh
, to support the latest version of Bokeh (#10374, #5858).NumberColumn
,ProgressColumn
,DatetimeColumn
,DateColumn
, andTimeColumn
have preconfigured format options for ease of use (#10179, #8788, #7702).Static file serving supports files with JSON, XML, and common font file extensions. (#10417, #10335, #10337, #10302).
Other Changes
Users can hide dataframe columns (#10264, #6870).
Users can change the format of numbers, dates, and times in dataframes (#10420).
- โ๏ธ Users can auto-size column widths (#10476).
Streamlit supports Polars dataframe and series hashing (#10408, #10347).
rich
is no longer a required dependency for Streamlit (#10320).st.file_uploader
has a better display format in narrow containers (#10272).Bug fix: Tabs are prevented from having a width of zero to prevent flickering (#10533).
Bug fix: Column order is correctly displayed when set in column configuration (#10445, #10442).
Bug fix: We updated dataframe null handling to prevent deprecation warnings (#10484).
Bug fix: Elapsed time doesnโt overflow for
st.audio_input
(#10410, #10373). Thanks, ashm-dev!Bug fix:
st.altair_chart
does not show an incorrect โtrueโ tooltip when the user makes a selection (#10456, #10448).Bug fix: Streamlit does not raise a RuntimeError when an
asyncio
event loop is not already running (#10455, #10452).Bug fix: The key for an internal MIME type is set correctly to avoid a browser warning (#10404).
Bug fix:
st.data_editor
automatically scrolls to the bottom when a user adds a row (#10405, #10351).Bug fix: Tooltips are suppressed on user-added rows in
st.data_editor
to prevent erroneous warnings (#10398).Bug fix:
st.logo
displays consistently when used with fragments and dialogs (#10377, #10350, #10382).Bug fix:
st.graphviz_chart
has rounded corners for consistent style (#10224).Bug fix: Streamlit raises a clear exception when an underscore is used in
provider
forst.login
(#10360, #10356).Bug fix: The dataframe column menu displays correctly inside dialogs (#10359, #10357).
Bug fix: Exception handling was adjusted for improved compatibility with Cython (#10354, #10353). Thanks, tutu-sol!
Bug fix:
st.pills
andst.segmented_control
have consistent font sizes across browsers (#10349).