Change8

Migrating to Streamlit 1.45.0

Version 1.45.0 introduces 1 breaking change. This guide details how to update your code.

Released: 4/29/2025

1
Breaking Changes
6
Migration Steps
31
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

st.contextst.text_inputst.number_inputst.helpst.selectboxst.multiselectst.writest.tabsst.link_buttonst.formst.badgest.showErrorDetailsst.chat_inputtheme.sidebar.borderColorst.htmlst.fragmentst.balloonsst.snowst.date_inputst.audio_inputst.camera_inputst.dataframest.userst.experimental_audio_inputst.sidebarst.exceptionst.alertst.iframecustom_componentst.session_infost.page_config

Breaking Changes

Issue #1

Markdown anchor IDs are now slugified, which may break custom anchor links. Update any hard‑coded anchor references to use the new slugified format or adjust your markdown accordingly.

Migration Steps

  1. 1
    Update any hard‑coded markdown anchor links to match the new slugified IDs.
  2. 2
    Replace all occurrences of st.experimental_audio_input with st.audio_input.
  3. 3
    If you relied on selectbox/multiselect being disabled when options were empty, review the new accept_new_options behavior.
  4. 4
    Review custom CSS that targeted st.help borders and adjust if necessary due to unified theming.
  5. 5
    Check any code that manually handled st.html resize events; the new handling may change behavior.
  6. 6
    If you used st.fragment together with st.balloons or st.snow, verify that interactions still work as expected.

Release Summary

Streamlit 1.45.0 introduces numerous UI enhancements, new context fields, and theming refinements, while also delivering a host of bug fixes and a breaking change that slugifies markdown anchors.

Need More Details?

View the full release notes and all changes for Streamlit 1.45.0.

View Full Changelog