Change8

1.54.0

Breaking Changes
📦 streamlitView on GitHub →
3 breaking16 features🐛 13 fixes🔧 11 symbols

Summary

This release introduces significant feature enhancements, including binding widgets to query parameters and dynamic configuration of widget options via keys. It also removes several deprecated and experimental features.

⚠️ Breaking Changes

  • Removed experimental query parameters. Users relying on these must update their code.
  • Removed deprecated command `st.experimental_user`. Users should migrate to the replacement functionality or remove usage.
  • The deprecation warning for `add_rows` will now show in the browser instead of only the console.

Migration Steps

  1. Remove usage of experimental query parameters.
  2. Remove usage of deprecated `st.experimental_user` command.

✨ New Features

  • Used `key` as the main identity for selections in `st.dataframe`.
  • Used `key` as the main identity for selections in vega charts.
  • Added `chartDivergingColors` theming configuration option.
  • Allowed dynamically changing min and max values in `st.date_input`.
  • Allowed dynamically changing `min_value` and `max_value` in `st.datetime_input` when a `key` is provided.
  • Prepared compatibility for pandas 3.0.
  • Allowed dynamic changes to `st.radio` options when a `key` is provided.
  • Support auto-rerun when `config.toml` is created.
  • Allowed selecting text of pills in `MultiselectColumn` and `ListColumn`.
  • Implemented binding widgets to query parameters (Part 1).
  • Added support for Material icons and emojis in `st.logo`.
  • Allowed dynamic changes to `st.select_slider` options when a `key` is provided.
  • Enhanced and updated dropdown design.
  • Added `client.showErrorLinks` configuration option.
  • Allowed dynamic changes to `st.pydeck_chart` parameters when a `key` is provided.
  • Support resolving theme colors configurations for charts.

🐛 Bug Fixes

  • Fixed bar chart error occurring with uniform column values.
  • Increased max width of uploaded files in `st.chat_input`.
  • Added defensive check in Manifest Scanner.
  • Supported new authentication features in Starlette.
  • Hid developer options when `toolbarMode="viewer"`.
  • Fixed SnowflakeConnection.query() cache key to include parameters.
  • Fixed crash occurring with container elements in spinner context.
  • Fixed a regression where the snowflake connection was being closed.
  • Fixed TransientNode not capturing BlockNode as anchor when replacing.
  • Fixed selectbox and multiselect clearing selections for custom objects.
  • Fixed `KeyError` when sorting melted bar chart data.
  • Fixed sidebar collapsing on mobile when clicking portaled elements.
  • Displayed wildcard addresses as localhost in URLs.

Affected Symbols