Migrating to Streamlit 1.52.0
Version 1.52.0 introduces 3 breaking changes. This guide details how to update your code.
Released: 12/4/2025
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
st.bokeh_chartadd_rowsst.vega_lite_chartst.containerst.dataframest.data_editorst.plotly_chartst.chat_inputst.badgest.htmlst.file_uploaderst.camera_inputst.metricst.switch_pagest.page_linkst.textst.spinnerst.text_areast.pillsst.segmented_controlst.color_pickerst.feedbackst.audio_inputst.line_chartMultiselectColumnFormsContextScriptRunContextThemeContextNavigationContextSidebarConfigContextBreaking Changes
●Issue #1
Native bokeh chart support has been removed; replace `st.bokeh_chart` usage with alternative chart libraries or custom components.
●Issue #2
`add_rows` command now includes a deprecation note; update code to avoid relying on deprecated behavior and migrate to newer data handling APIs.
●Issue #3
Keyword‑argument support for `st.vega_lite_chart` is deprecated; stop passing kwargs and use the explicit parameters instead.
Migration Steps
- 1Remove any usage of `st.bokeh_chart` or other native bokeh chart APIs.
- 2Update calls to `add_rows` to follow the new non‑deprecated behavior or replace them with alternative data‑handling functions.
- 3Stop passing arbitrary keyword arguments to `st.vega_lite_chart`; use the explicit parameters documented in the API.
- 4For `st.file_uploader` and `st.camera_input`, provide a stable `key` argument to maintain widget state across reruns.
Release Summary
Streamlit 1.51.0 introduces numerous UI enhancements, new widget parameters, and performance improvements, while removing native bokeh chart support and deprecating certain APIs.
Need More Details?
View the full release notes and all changes for Streamlit 1.52.0.
View Full Changelog