Highlights
Introducing st.navigationandst.Pagefor a new way to define multipage apps! Check out the docs to learn more.
Notable Changes
st.bar_chartcan render charts horizontally.
st.expandersupports adding an icon next to its label.
st.columnslets you set vertical alignment.
Custom components support callback functions (#8633, #3977).
Fragments no longer support rendering widgets outside of their main body (#8756).
You can now customize axis labels for st.area_chart,st.bar_chart,st.line_chart, andst.scatter_chart.
The caching parameter experimental_allow_widgetsis deprecated (#8817).
Streamlit no longer supports legacy caching. st.cacheis now an alias forst.cache_dataandst.cache_resource(#8737).
Streamlit supports protobufversion 5 (#8627).
Other Changes
Streamlit Hello uses st.navigationandst.Page, the new, preferred method for declaring multipage apps (#8806).
Streamlit no longer appends “· Streamlit” to the page title of apps, unless running on Community Cloud (#8900).
Streamlit magic and st.writeusest.jsonto displayst.secrets(#8659, #2905).
Streamlit doesn’t automatically check for a newer version on PyPi (#8841, #8453).
Bug fix: Custom component functions require importing streamlit.components.v1(#8666, #8644).
Bug fix: Reverted change to handle Altairs resolve_scalemethod since it caused a regression (#8845, #8642).
Bug fix: Images in Markdown do not overflow the Markdown container (#8794).
Bug fix: Clarified the error message for st.selectboxwhenindexis larger than the size ofoptions(#8775, #8771).
Bug fix: Streamlit correctly handles non-widget elements with IDs (#8770, #8768).
Bug fix: Docstrings correctly identify when use_container_width=Trueis the default (#8809).
Bug fix: Streamlit has a consistent minimum element height for better vertical alignment (#8797, #8835, #8027, #8706).
Bug fix: Added check to ensure SessionInfois initialized before performing actions (#8779, #8321, #7549).
Bug fix: Dataframes use raw numbers without formatting by default (#8708, #8695).
Bug fix: Updated the error message for disallowed writes to Session State (#8720, #8715).
Bug fix: Streamlit doesn’t initialize LocalSourcesWatcherif file watching is disabled (#8741, #8738).
Bug fix: st.experimental_dialogno longer has an invalid default value fortitle(#8729).
Bug fix: Removed deprecated kwargs in ast.Callto prevent type error (#8711). Thanks, JelleZijlstra!
Bug fix: st.experimental_dialogis explicitly exported to avoid a type-checking error (#8728, #8712).
