Highlights
st.container
andst.form
now have aborder
parameter to show or hide a border.Streamlit supports Python 3.12!
Notable Changes
st.dataframe
,st.data_editor
, andst.table
supportdatetime.timedelta
values (#7689, #4489).Streamlit apps preload skeleton elements for a smoother appearance when initializing (#7598).
Reduced the overhead of running
AppTest
-simulated apps, especially for fast-running apps (#7691).String representations of
AppTest
data are improved for a better testing and debugging experience (#7658).Apps can be configured to identify
Enum
classes as the same if they have matching member names (#7408, #4909). Thanks, Asaurus1!The “Made with Streamlit” footer no longer appears at the bottom of apps (#7583).
Unused config options have been deprecated (#7584).
Query parameters can be empty (#7601, #7416).
Visual tweaks (#7592, #7630).
Other Changes
Bug fix: Convert floats to bytes instead of hashing to avoid hashing instability (#7754). Thanks, BlackHC!
Bug fix: Corrected broken URLs and typos in error messages (#7746, #7764, #7770). Thanks, ObservedObserver!
Bug fix:
st.connection
correctly caches results when using two connections of the same type (#7730, #7709).Bug fix: Using context managers with multithreading now displays content in the expected order (#7715, #7668). Thanks, eric-skydio!
Bug fix: Added https fallback when obtaining the host machine’s address (#7712, #7703). Thanks, LarsHill!
Bug fix: Added security patch for
pyarrow
vulnerability. Custom components usingpyarrow
table deserialization should requirepyarrow>=14.0.1
(#7695, #7700).Bug fix: Improved typing for
st.connection
(#7671). Thanks, thezanke!Bug fix: Retries of
SnowflakeConnection
methods are narrowed to only occur with transient errors to avoid unnecessary repeated errors (#7645, #7637).Removed the v0 testing framework which was undocumented (#7657).
Bug fix: The navigation expander arrow no longer disappears (#7634, #7547).
Improved the error message for
SnowflakeConnection
when a configuration is not found (#7652).Bug fix:
st.rerun
no longer causes aRecursionError
when used withst.chat_input
(#7643, #7629).Bug fix:
st.file_uploader
no longer causes an extra rerun and therefore doesn’t conflict withst.chat_input
(#7641, #7556).Bug fix:
AppTest
no longer raises an error when encounteringst.container
(#7644, #7636).Bug fix: Graphviz charts scale correctly when exiting fullscreen view (#7398, #7527).
Bug fix: Record a screencast” is hidden when known to be unsupported in a browser (#7604).
Bug fix: Increased the top padding of embedded apps to better display the dataframe toolbar (#7681, #7609, #7607).
Bug fix:
st.rerun
usesNoReturn
for improved type checking (#7422) Thanks, kongzii.