Hello there ๐Ÿ‘‹

Thanks for stopping by! We use cookies to help us understand how you interact with our website.

By clicking โ€œAccept allโ€, you consent to our use of cookies. For more information, please see our privacy policy.

Release notes

This page lists highlights, bug fixes, and known issues for the latest release of Streamlit. If you're looking for information about nightly releases or experimental features, see Pre-release features.

star

Tip

To upgrade to the latest version of Streamlit, run:

pip install --upgrade streamlit

Release date: March 25, 2025

Highlights

  • ๐Ÿ’ˆ Introducing advanced theming options! Use an assortment of configuration options to customize the appearance of your app. Change the fonts, colors, and roundness of your app without CSS.
  • ๐Ÿ‘ฎ Introducing st.badge to insert a colored badge element. You can also include badges in Markdown using a new directive.
  • ๐Ÿ—๏ธ Use streamlit init in your terminal to create all the local files you need for a new Streamlit app.

Notable Changes

  • ๐Ÿค– st.exception includes links to open Google or ChatGPT with the contents of the exception. This includes uncaught exceptions displayed in the app.
  • ๐Ÿ—บ๏ธ You can access the user's locale through st.context (#10563).

Other Changes

  • ๐Ÿ“„ When using a pages/ directory to automatically generate a multipage app, no pages (including the entrypoint file) can have the same inferred URL pathname (#10276).
  • ๐ŸŽ๏ธ To improve performance, Streamlit uses the React 18 createRoot API for its frontend (#10453).
  • ๐Ÿ“ To improve compatibility with AI tools, script compilation errors are logged when logger.level="error" and not just when logger.level="debug" (#10826).
  • ๐Ÿชต Streamlit automatically enables more detailed logging if rich is installed (#10650).
  • ๐Ÿ”ข st.slider and st.number_input raise an error when assigned a value in excess of a declared minimum or maximum (#9964, #9342).
  • ๐Ÿ› ๏ธ st.table support pandas Styler.set_tooltips() (#10561, #10553).
  • โ„น๏ธ Material symbols have been updated to the latest icon set (#10813, #10717).
  • ๐Ÿฆ‹ Visual tweaks to headers (#10599).
  • ๐Ÿฆ€ Bug fix: st.html displays correctly when used inside st.tabs (#10825, #10815).
  • ๐ŸฆŽ Bug fix: For backwards compatibility, theme.font="sans serfi" is internally converted to the new theme.font="sans-serif" (#10789, #10786).
  • ๐ŸŒ Bug fix: When using st.secrets, if Streamlit can't find the secrets.toml file, it will raise a FileNotFoundError (#10508, #8559).
  • ๐Ÿ•ธ๏ธ Bug fix: st.secrets raises a clear TypeError if you try to assign a value to an attribute (#10698, #10107).
  • ๐Ÿฆ— Bug fix: In single-page apps, st.page_link does not highlight external links as if they are the current page (#10690, #10689).
  • ๐Ÿฆ‚ Bug fix: st.poppover displays at the correct width when using the help parameter (#10709, #10693).
  • ๐ŸฆŸ Bug fix: All components (and custom components) that read their width from the DOM initially load with a width of -1 px to prevent flickering (#10712, #10672, #10663, #10644).
  • ๐Ÿฆ  Bug fix: When st.number_input is configured to use integers, the default minimum and maximum values will prevent integer overflow (#10655, #6740).
  • ๐Ÿชฐ Bug fix: st.navigation uses immutable types to prevent mypy errors (#10670).
  • ๐Ÿชณ Bug fix: Custom components correctly inherit font from theme configuration (#10661, #10660).
  • ๐Ÿ•ท๏ธ Bug fix: Dataframes correctly support Dask data objects (#10662).
  • ๐Ÿž Bug fix: Button widths are correct when using the help parameter (#10658, #10648, #10656).
  • ๐Ÿ Bug fix: Scrolling is disabled when hovering over st.number_input to prevent accidental value changes (#10642, #8867).
  • ๐Ÿœ Bug fix: st.chat_input gives a clear error in the UI when the file size limit is exceeded (#10530).
  • ๐Ÿชฒ Bug fix: The favicon and Markdown emojis use the same SVG emoji source for consistency (#10539, #6822).
  • ๐Ÿ› Bug fix: The dataframe search bar is more responsive to width (#10534, #10532).
forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.