Highlights
Introducing
st.scatter_chart
— a new, simple chart element to build scatter charts Streamlit-y fast and easy! See our documentation.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 to see how.Announcing the general availability of
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 forst.number_input
,st.selectbox
,st.date_input
,st.time_input
,st.radio
,st.text_input
, andst.text_area
!st.download_button
now usestarget="_self"
instead of opening a new tab (#7151, #7132).Removed unmaintained
pympler
dependency (#7193, #7131). Thanks, rudyardrichter!
Other Changes
Bug fix:
st.multiselect
now shows a correct message when no result matches a user’s search (#7205, #7116).Bug fix:
st.experimental_user
now defaults totest@example.com
(#7219, #7215).Bug fix:
st.slider
labels don’t overlap when small ranges are selected (#7221, #3385).Bug fix: Type-checking correctly identifies all string types to avoid hashing errors (#7255, #6455).
Bug fix: JSON is parsed with JSON5 to avoid errors from null values when using
st.pydeck_chart
(#7256, #5799).Bug fix: Identical widgets on different pages are correctly interpreted by Streamlit as distinct (#7264, #6146).
Bug fix: Visual tweaks to widgets for responsive behavior (#7145).
Bug fix: SVGs are accurately displayed (#7183, #3882).
Bug fix:
st.video
correctly updates with changes tostart_time
(#7257, #7126).Bug fix: Additional error handling was added to
st.session_state
(#7280, #7206).Bug fix:
st.map
correctly refreshes with new data (#7307, #7294).Bug fix: The decorative app header line is no longer covered by the sidebar (#7297, #6264).
Bug fix:
st.code
no longer triggers aCachedStFunctionWarning
(#7306, #7055).Bug fix:
st.download_button
no longer resets with differentdata
(#7316, #7308).Bug fix: Widgets consistently recognize user interaction while a page is still running, with or without
fastRerun
enabled (#7283, #6643).Bug fix:
st.tabs
was improved to better handle and render conditionally appearing tabs (#7287, #7310, #5454, #7040).