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 Noneas an initial value forst.number_input,st.selectbox,st.date_input,st.time_input,st.radio,st.text_input, andst.text_area!
st.download_buttonnow usestarget="_self"instead of opening a new tab (#7151, #7132).
Removed unmaintained pymplerdependency (#7193, #7131). Thanks, rudyardrichter!
Other Changes
Bug fix: st.multiselectnow shows a correct message when no result matches a user’s search (#7205, #7116).
Bug fix: st.experimental_usernow defaults totest@example.com(#7219, #7215).
Bug fix: st.sliderlabels 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.videocorrectly updates with changes tostart_time(#7257, #7126).
Bug fix: Additional error handling was added to st.session_state(#7280, #7206).
Bug fix: st.mapcorrectly 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.codeno longer triggers aCachedStFunctionWarning(#7306, #7055).
Bug fix: st.download_buttonno longer resets with differentdata(#7316, #7308).
Bug fix: Widgets consistently recognize user interaction while a page is still running, with or without fastRerunenabled (#7283, #6643).
Bug fix: st.tabswas improved to better handle and render conditionally appearing tabs (#7287, #7310, #5454, #7040).