Change8

1.43.0

📦 streamlitView on GitHub →
23 features🐛 13 fixes🔧 14 symbols

Summary

Streamlit 1.43.0 adds extensive theming options, enhanced data editor capabilities, a chat input with file uploader, and numerous quality‑of‑life improvements, while also delivering a suite of bug fixes and performance tweaks.

Migration Steps

  1. The default for `use_container_width` is now True for `st.dataframe` and `st.data_editor`. If you relied on the previous False default, explicitly pass `use_container_width=False` to retain the old behavior.
  2. The `rich` library is no longer a required dependency. Remove any direct imports of `rich` from your project if they were only used for Streamlit internals.

✨ New Features

  • `st.chat_input` with file uploader
  • Add `theme.roundness` theming option
  • Add `theme.borderColor` and `theme.showBorderAroundInputs` config options
  • Add `theme.linkColor` theming config option
  • Add theming options to configure custom fonts
  • Add `theme.baseFontSize` theming config option
  • Allow configuring the row height for `st.dataframe` and `st.data_editor`
  • Always scroll to bottom when adding new rows in data editor
  • Add .xml to the list of allowed static file extensions
  • Add pre-defined formats to `st.column_config`
  • Allow static serving for common font files
  • add transparent file upload drop target to chat input
  • Update Bokeh error message to redirect to streamlit-bokeh custom component
  • Extend st.navigation functionality to support various page input types
  • Add json column for `st.dataframe`
  • Add autosize option to dataframe column menu
  • Download button: Allow to not trigger rerun
  • Change dataframe column format from UI
  • Allow small text in Markdown
  • Allow hiding dataframe columns from UI
  • `use_container_width=True` set by default for `st.dataframe` and `st.data_editor`
  • Support polars dataframe/series hashing
  • Add timezone and timezone_offset to the st.context

🐛 Bug Fixes

  • Use compact file uploader based on element width
  • Fix issue with active pills & segmented control label font-size
  • Fix the usage of dataframe column menu in dialog
  • Apply default rounding to graphviz charts
  • chat input multi-line shrinks after drag and drop
  • `st.logo` unmounts with use of `st.fragment`
  • Prevent showing tooltips on trailing dataframe row
  • Revamp disabled state for chat input
  • Reuse event loop logic
  • `st.altair_chart` selection interval showing `true` tooltip
  • Time formatting logic update: seconds/minutes/hours display
  • Fix regression with column order not getting updated
  • Tabs content flickering

🔧 Affected Symbols

st.chat_inputtheme.roundnesstheme.borderColortheme.showBorderAroundInputstheme.linkColortheme.baseFontSizest.dataframest.data_editorst.column_configst.navigationst.contextst.logost.fragmentst.altair_chart