Highlights
- Introducing
st.chat_message
andst.chat_input
— two new chat elements that let you build conversational apps. Learn how to use these features in your LLM-powered chat apps in our tutorial. - Streamlit’s caching decorators now allow you to customize Streamlit’s hashing of input parameters with the keyword-only argument
hash_funcs
.
Notable Changes
- We’ve deprecated support for Python 3.7 in the core library and Streamlit Community Cloud (#6868).
-
st.cache_data
andst.cache_resource
can hash timezone-awaredatetime
objects (#6812, #6690, #5110).
Other Changes
- Visual design tweaks to Streamlit’s input widgets (#6817).
- Bug fix:
st.write
pretty-prints dataclasses usingst.help
(#6750). - Bug fix:
st.button
’s height is consistent with that of other widgets (#6738). - Bug fix: Upgraded the
react-range
frontend dependency to fix the memory usage of sliders (#6764, #5436). Thanks @wolfd! - Bug fix: Pydantic validators no longer result in exceptions on app reruns (#6664, #3218).
- Bug fix:
streamlit config show
honors newlines (#6758, #2868). - Bug fix: Fixed a race condition to ensure Streamlit reruns the latest code when the file changes (#6884).
- Bug fix: Apps no longer rerun when users click anchor links (#6834, #6500).
- Bug fix: Added robust out-of-bounds checks for
min_value
andmax_value
inst.number_input
(#6847, #6797).