Highlights
Announcing the option to accept files with st.chat_input!
Introducing a new column type for column configuration! Use JsonColumnto show JSON-compatible objects.
Notable Changes
You can prevent st.download_buttonfrom 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.dataframeandst.data_editorwith a new parameter (#9549, #7266, #8632, #5386).
st.dataframeandst.data_editoruseuse_container_width=Trueby default (#10434).
Markdown has a small text directive (#10487, #10486).
You can pass strings, paths, and callables to st.navigationin place ofStreamlitPageobjects 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, andTimeColumnhave 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).
richis no longer a required dependency for Streamlit (#10320).
st.file_uploaderhas 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_chartdoes not show an incorrect βtrueβ tooltip when the user makes a selection (#10456, #10448).
Bug fix: Streamlit does not raise a RuntimeError when an asyncioevent 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_editorautomatically scrolls to the bottom when a user adds a row (#10405, #10351).
Bug fix: Tooltips are suppressed on user-added rows in st.data_editorto prevent erroneous warnings (#10398).
Bug fix: st.logodisplays consistently when used with fragments and dialogs (#10377, #10350, #10382).
Bug fix: st.graphviz_charthas rounded corners for consistent style (#10224).
Bug fix: Streamlit raises a clear exception when an underscore is used in providerforst.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.pillsandst.segmented_controlhave consistent font sizes across browsers (#10349).