Highlights
Introducing st.statusto display output from long-running processes and external API calls. Works great withst.chat_message! See our documentation and demo app for how to use this feature.
Introducing st.toggleβ an alternative tost.checkboxwhen you need an on/off switch.
Notable Changes
Simple chart elements have a colorparameter to set the color of your data points or series (#7022).
Markdown supports rainbow and gray colors (#7106, #7179).
st.headerandst.subheaderhave optional, colored dividers (#7133).
Deploying to Community Cloud is even easierβlocally running apps have a deploy button in their toolbars (#7085, #6935).
st.download_buttonhas a new parametertypefor theming (#7056, #7038).
st.chat_messagehas ai and human presets for messages (#7094).
st.radiooptions support markdown and have captions (#7018, #7105, #6085).
Assorted visual tweaks (#7050, #894).
Replaced deprecated imghdrdependency withpillow(#7081, #7027).
st.number_inputβs step buttons (+/-) are ignored during tabbing navigation (#7154). Thanks @denck007!
Other Changes
Bug fix: Toast messages are no longer blocked by st.chat_input(#7204, #7115).
Bug fix: Widget IDs are now stable to prevent inconsistent statefulness (#7003).
Bug fix: Browser autofill is correctly recognized within forms now (#7150, #7101, #7084).
Bug fix: st.file_uploaderno longer causes session state to reset when a websocket connection is dropped and reconnected (#7149, #7025).
Bug fix: Pydeck JSON data is cached for improved performance (#7113, #5532).
Bug fix: st.chat_inputno longer submits prematurely while typing with an input method editor (#6993).
Bug fix: Label backgrounds for st.tabsare now transparent (#7070, #5707).
Bug fix: Page width is no longer ignored when using the helpparameter inst.button(#7033, #6161).
Bug fix: Tweaked Altair color specification for improved visibility in dark mode (#7061, #3343).
Bug fix: st.chat_messagecan correctly use local images as avatars (#7130).
Bug fix: Specified that MD5 is not used for security (#7122, #7120).
Bug fix: Async function docstrings are ignored by Streamlit magic (#7143, #7137).