unstale

pypi / streamlit

streamlit

What changed in streamlit 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

33 breaking14 security11 deprecations240 new APIs and options9 performance79 behavior and defaults4 tooling192 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

streamlit 1582 changes

Breaking changes 33

  • Unknown container methods now produce type errors.

    1.67.0release notes

  • Python 3.10 support is dropped, affecting the Python versions developers can use to run Streamlit.

    1.66.0release notes

  • Makes writes to st.secrets a type error.

    1.66.0release notes

  • Removes the expired mapbox.token configuration option.

    1.64.0release notes

  • Rejects async cache_resource lifecycle callbacks.

    1.64.0release notes

  • The deprecated st.cache API was removed; developers must use supported caching APIs instead.

    1.62.0release notes

  • Global-figure support was removed from st.pyplot.

    1.62.0release notes

  • The deprecated use_column_width parameter was removed from st.image.

    1.61.0release notes

  • Rejects spoofed host messages from child frames and scripts.

    1.60.0release notes

  • Limits the size and number of fields in client-supplied query strings.

    1.60.0release notes

  • Rejects non-finite float values supplied as URL parameters.

    1.60.0release notes

  • The deprecated Snowpark connection has been removed.

    1.59.0release notes

  • The deprecated add_rows feature was removed, so applications can no longer use it.

    1.58.0release notes

  • The LangChain callback handler integration was removed.

    1.58.0release notes

  • Select all is disabled for multiselects with 1,000 or more options.

    1.58.0release notes

  • Starlette is now the default server, and Tornado has been removed.

    1.57.0release notes

  • The deprecated _get_websocket_headers function has been removed.

    1.57.0release notes

  • Deprecated keyword arguments have been removed from plotly_chart.

    1.57.0release notes

  • Deprecated keyword arguments have been removed from vega_lite_chart.

    1.57.0release notes

  • A value of 0 is no longer accepted for max selections.

    1.55.0release notes

  • Experimental query parameter APIs are removed; applications using them must use another approach.

    1.54.0release notes

  • For dataframes with selections, key becomes the main identity.

    1.54.0release notes

  • The deprecated command is removed, so applications calling it must migrate.

    1.54.0release notes

  • For Vega charts with selections, key becomes the main identity.

    1.54.0release notes

  • Some external CCv2 types are renamed, which may require updating integrations that use them.

    1.53.0release notes

  • The isolate_styles parameter is moved in CCv2.

    1.53.0release notes

  • Removes the deprecated st.bokeh_chart command.

    1.52.0release notesrelease notes

  • Python 3.9 support is removed.

    1.51.0release notes

  • st.bokeh_chart was deprecated in version 1.49.0 and removed in version 1.52.0; use the streamlit-bokeh custom component instead.

    1.49.0docs

  • Deprecated in version 1.30.0; use st.query_params instead. It was removed in version 1.54.0.

    1.30.0docs

  • SnowparkConnection was deprecated in version 1.28.0 and removed in version 1.59.0; use SnowflakeConnection instead.

    1.28.0docs

  • Deprecated in version 1.28.0 and removed in version 1.37.0; use st.connection instead.

    1.28.0docs

  • Deprecated in version 1.27.0 and removed in version 1.37.0; use st.rerun instead.

    1.27.0docs

Security 14

  • Rejects unsafe navigation network paths.

    1.66.0release notes

  • Renders apps in opaque sandboxed iframes.

    1.66.0release notes

  • Disabled widget parameters are enforced server-side.

    1.61.0release notes

  • Network paths and null bytes are rejected.

    1.61.0release notes

  • Sanitizes dangerous URLs in Graphviz links.

    1.60.0release notes

  • Escapes HTML in pydeck chart tooltip interpolation.

    1.60.0release notes

  • Sanitizes dangerous URLs passed to st.link_button and st.image.

    1.60.0release notes

  • Clears stale and invalid auth cookies on login.

    1.59.0release notes

  • blake2b uses usedforsecurity=False for FIPS compatibility.

    1.58.0release notes

  • API restrictions apply to parallel fragments.

    1.58.0release notes

  • Markdown links now block javascript: and vbscript: URLs.

    1.58.0release notes

  • Prevents SSRF attacks via path traversal in component file handling.

    1.55.0release notes

  • Unauthenticated SSRF Vulnerability in Streamlit on Windows (NTLM Credential Exposure)

    1.54.0security advisory

  • Streamlit @st.cache_data hash collision via fixed sampling seed and PIL P-mode palette omission

    1.53.1security advisory

Deprecations 11

  • savefig kwargs on st.pyplot are deprecated.

    1.62.0release notes

  • String file paths are deprecated in favor of pathlib.Path.

    1.61.0release notes

  • Deprecated in version 1.56.0; use st.iframe instead, or st.html to insert HTML without an iframe.

    1.56.0docsdocs

  • Deprecated in version 1.56.0; use st.iframe instead.

    1.56.0docsdocs

  • A deprecation warning is added to SnowparkConnection.

    1.55.0release notes

  • The deprecation warning now appears in the browser.

    1.54.0release notes

  • A deprecation note has been added to the add_rows command.

    1.52.0release notes

  • A warning is shown when hiding the index in a dynamic data editor.

    1.52.0release notes

  • Support for passing keyword arguments is deprecated.

    1.52.0release notes

  • Deprecated in version 1.30.0; use st.query_params instead.

    1.30.0docs

  • Deprecated in version 1.28.0; use st.connections.SnowflakeConnection instead.

    1.28.0docs

New APIs and options 240

  • Exposes an API for driving apps over HTTP.

    1.67.0release notes

  • Adds an endpoint for agent-accessible apps.

    1.67.0release notes

  • Adds a server-level cache budget for cached data.

    1.67.0release notes

  • Adds a per-function max_size option for st.cache_data.

    1.67.0release notes

  • Adds a server default TTL for st.connection.

    1.67.0release notes

  • Adds a required parameter to st.date_input.

    1.67.0release notes

  • Adds a required parameter to st.datetime_input.

    1.67.0release notes

  • Allows specifying a pixel width for st.dialog.

    1.67.0release notes

  • Adds selection events through on_select.

    1.67.0release notes

  • Adds a data table view for charts.

    1.67.0release notes

  • Adds persist_state and bind support.

    1.67.0release notes

  • Adds responsive grid layouts.

    1.67.0release notes

  • Adds help text for navigation tooltips.

    1.67.0release notes

  • Adds an icon parameter to st.selectbox.

    1.67.0release notes

  • Adds a required parameter to st.selectbox.

    1.67.0release notes

  • Adds a required parameter to st.text_area.

    1.67.0release notes

  • Adds a required parameter to st.time_input.

    1.67.0release notes

  • Adds AppTest support for forms, link_button, page_link, progress, html, help, pagination, audio_input, camera_input, and imported v2 components.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds on_change="ignore" mode to prevent the widget from triggering a rerun when its value changes.

    1.66.0release notes

  • Adds the paddingBottom theme configuration option.

    1.66.0release notes

  • Adds the paddingTop theme configuration option.

    1.66.0release notes

  • Adds alt text support to built-in Vega chart commands.

    1.65.0release notes

  • Adds a theme option for dataframe header text color.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Adds an alt parameter.

    1.65.0release notes

  • Adds an ignore mode for on_change.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Adds an ignore mode for on_change.

    1.65.0release notes

  • Can render as a side drawer using position.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Supports query param binding.

    1.65.0release notes

  • Adds an ignore mode for on_change.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Adds an alt parameter.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Adds an ignore mode for on_change.

    1.65.0release notes

  • Adds a required parameter.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Adds an ignore mode for on_change.

    1.65.0release notes

  • Adds alt text support.

    1.65.0release notes

  • Supports query param binding for tabs.

    1.65.0release notes

  • Adds an ignore mode for on_change.

    1.65.0release notes

  • Adds a required parameter.

    1.65.0release notes

  • Adds an ignore mode for on_change.

    1.65.0release notes

  • Adds native Apache ECharts support through st.echarts_chart.

    1.64.0release notes

  • Adds an on_change="ignore" mode so number_input changes can avoid triggering a rerun.

    1.64.0release notes

  • Adds an on_change="ignore" mode to st.select_slider.

    1.64.0release notes

  • Adds an on_change="ignore" mode to st.selectbox.

    1.64.0release notes

  • Adds the live parameter to st.text_input.

    1.64.0release notes

  • Adds a configurable multiplier for cache background-refresh TTL.

    1.63.0release notes

  • Keeps the spinner moving and exposes its label.

    1.63.0release notes

  • Adds type="step".

    1.63.0release notes

  • Adds select_all and first-row Enter behavior.

    1.63.0release notes

  • Adds a wrap option to control wrapping in st.pills.

    1.63.0release notes

  • Adds event-scoped fragment reruns via st.rerun(scope=<key>).

    1.63.0release notes

  • Adds a wrap option to control wrapping in st.segmented_control.

    1.63.0release notes

  • Adds an on_change="ignore" mode.

    1.63.0release notes

  • Adds an on_change="ignore" mode.

    1.63.0release notes

  • Adds an icon parameter.

    1.63.0release notes

  • Adds a wrap parameter to text commands.

    1.63.0release notes

  • The cache_data hash sample seed is configurable.

    1.62.0release notes

  • Chart theme configuration now supports light, dark, and sidebar themes.

    1.62.0release notes

  • DataEditorState is exposed in streamlit.typing.

    1.62.0release notes

  • The wrap parameter controls label wrapping on button-like elements.

    1.62.0release notes

  • A wrap parameter was added to st.checkbox and st.toggle.

    1.62.0release notes

  • The wrap parameter can deactivate responsiveness for st.columns.

    1.62.0release notes

  • Horizontal st.container now has a wrap control.

    1.62.0release notes

  • A wrap parameter was added to st.multiselect.

    1.62.0release notes

  • st.pyplot now supports format='svg'.

    1.62.0release notes

  • st.text_input adds email, URL, phone, and search types.

    1.62.0release notes

  • A public streamlit.typing namespace is available for importing Streamlit types.

    1.62.0release notes

  • Theme configs now support font weights in steps of 50.

    1.62.0release notes

  • Background refresh is available for st.cache_data and st.cache_resource.

    1.61.0release notes

  • The new icon parameter lets you add an icon to st.metric.

    1.61.0release notes

  • The format option supports choosing the hour cycle.

    1.61.0release notes

  • st.time_input supports seconds granularity.

    1.61.0release notes

  • A WebSocket Host allow-list is available.

    1.61.0release notes

  • Adds the ability to disable dataframe data export.

    1.60.0release notes

  • Adds a configuration option to limit the size of widget state accepted by the server.

    1.60.0release notes

  • Adds a height parameter to st.tabs.

    1.60.0release notes

  • Adds App.run() to launch an app with python app.py or uv run app.py.

    1.59.0release notes

  • Adds ButtonColumn to st.column_config.

    1.59.0release notes

  • Adds MarkdownColumn for st.dataframe and st.data_editor.

    1.59.0release notes

  • Adds per-user analytics on the metrics endpoint.

    1.59.0release notes

  • Adds the server.xsrfCookieSameSite configuration option.

    1.59.0release notes

  • Adds a skeleton element for loading placeholder UI.

    1.59.0release notes

  • Adds a resolution parameter to st.camera_input.

    1.59.0release notes

  • Adds the submit_mode parameter to st.chat_input.

    1.59.0release notes

  • Adds a column statistics submenu to st.dataframe.

    1.59.0release notes

  • Adds the anchors parameter to st.markdown.

    1.59.0release notes

  • Adds Mermaid diagram support in st.markdown.

    1.59.0release notes

  • Adds the "locked" option for initial_sidebar_state.

    1.59.0release notes

  • Adds a command for looking up documentation.

    1.59.0release notes

  • Adds the persist_state widget parameter.

    1.59.0release notes

  • Custom script error handling is available via st.App.

    1.58.0release notes

  • The type parameter adds a compact style option to st.expander.

    1.58.0release notes

  • The parallel=True option enables parallel dispatch for fragments.

    1.58.0release notes

  • A pagination widget is available for applications.

    1.58.0release notes

  • The type parameter adds a compact style option to st.status.

    1.58.0release notes

  • A new CLI command provides the streamlit skills command.

    1.58.0release notes

  • Alert elements accept a title parameter.

    1.57.0release notes

  • A markdown directive provides animated loading text.

    1.57.0release notes

  • st.App accepts a secrets parameter.

    1.57.0release notes

  • App is exposed in the st namespace.

    1.57.0release notes

  • The st.bottom container is exposed.

    1.57.0release notes

  • Extract a leading icon from an alert body.

    1.56.0release notes

  • Add AudioColumn to st.column_config.

    1.56.0release notes

  • Add an alignment parameter to column_config columns.

    1.56.0release notes

  • Add filter mode to select widgets.

    1.56.0release notes

  • Add file type shortcuts for chat input.

    1.56.0release notes

  • Add a height parameter to st.chat_input.

    1.56.0release notes

  • Add an autoscroll parameter to st.container.

    1.56.0release notes

  • Add the single-row-required selection mode.

    1.56.0release notes

  • Programmatically set dataframe selections.

    1.56.0release notes

  • Add state persistence and a CSS key class.

    1.56.0release notes

  • Add file type shortcuts for file uploads.

    1.56.0release notes

  • Add the st.iframe command.

    1.56.0release notes

  • Add the st.menu_button widget.

    1.56.0release notes

  • Specify the number of visible items in st.navigation.

    1.56.0release notes

  • Allow external URLs as pages in the navigation sidebar.

    1.56.0release notes

  • Add a required parameter to st.pills.

    1.56.0release notes

  • Add a required parameter to st.segmented_control.

    1.56.0release notes

  • Add an option to hide the table header.

    1.56.0release notes

  • Add an option to hide the table index.

    1.56.0release notes

  • Add state persistence and a CSS key class.

    1.56.0release notes

  • Add VideoColumn to st.column_config.

    1.56.0release notes

  • Adds the client.allowedOrigins configuration option.

    1.55.0release notes

  • Dynamic expanders support callbacks.

    1.55.0release notes

  • Expanders support dynamic behavior.

    1.55.0release notes

  • Dynamic popovers support callbacks.

    1.55.0release notes

  • Popovers support dynamic behavior.

    1.55.0release notes

  • Dynamic tabs support callbacks.

    1.55.0release notes

  • Tabs support dynamic behavior.

    1.55.0release notes

  • Adds a configuration option to hide the welcome message.

    1.55.0release notes

  • Selections are supported on multi-view Vega charts.

    1.55.0release notes

  • sprintf supports a thousand separator.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Adds a link parameter.

    1.55.0release notes

  • Adds an auto width parameter.

    1.55.0release notes

  • Adds the delta_description parameter.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Adds a page visibility parameter.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Adds width and height configuration.

    1.55.0release notes

  • Supports binding the widget to query parameters.

    1.55.0release notes

  • Adds a theme option to configure metric value font size.

    1.55.0release notes

  • Adds a theme option to configure metric value font weight.

    1.55.0release notes

  • A theming configuration option is added for diverging chart colors.

    1.54.0release notes

  • A configuration option is added to control error links.

    1.54.0release notes

  • Logos now support Material icons and emojis.

    1.54.0release notes

  • Adds support for new authentication features in Starlette.

    1.54.0release notes

  • An experimental ASGI app entry point enables advanced server configuration.

    1.53.0release notes

  • Set the icon position on button-like components.

    1.53.0release notes

  • The js, css, and html parameters are optional.

    1.53.0release notes

  • The default sidebar width is configurable.

    1.53.0release notes

  • A CSS custom property for heading font size is available.

    1.53.0release notes

  • A CSS custom property for heading font size is available.

    1.53.0release notes

  • A CSS custom property for heading font size is available.

    1.53.0release notes

  • A CSS custom property for heading font size is available.

    1.53.0release notes

  • A CSS custom property for heading font size is available.

    1.53.0release notes

  • A CSS custom property for heading font size is available.

    1.53.0release notes

  • A CSS custom property for heading font weight is available.

    1.53.0release notes

  • A CSS custom property for heading font weight is available.

    1.53.0release notes

  • A CSS custom property for heading font weight is available.

    1.53.0release notes

  • A CSS custom property for heading font weight is available.

    1.53.0release notes

  • A CSS custom property for heading font weight is available.

    1.53.0release notes

  • A CSS custom property for heading font weight is available.

    1.53.0release notes

  • OIDC tokens are exposed to applications.

    1.53.0release notes

  • Lists of Pydantic objects can be passed as dataframe-like structures.

    1.53.0release notes

  • Caches can be scoped to a session.

    1.53.0release notes

  • Connections can be scoped to a session.

    1.53.0release notes

  • A Snowflake callers-rights connection is available.

    1.53.0release notes

  • Provide an on-release callback for cached resources.

    1.53.0release notes

  • Set a maximum upload size for chat input file uploads.

    1.53.0release notes

  • Chat input supports dynamic layout switching and a simplified single-row layout for basic configurations.

    1.53.0release notes

  • Column gaps include xxsmall, xsmall, xlarge, and xxlarge sizes.

    1.53.0release notes

  • Container gaps include xxsmall, xsmall, xlarge, and xxlarge sizes.

    1.53.0release notes

  • Configure the editor to allow only adding or deleting rows.

    1.53.0release notes

  • Dialogs support icons.

    1.53.0release notes

  • Set a maximum upload size for file uploads.

    1.53.0release notes

  • Metric deltas support Markdown and can use colors from the color palette.

    1.53.0release notes

  • Configure the display format for metric values.

    1.53.0release notes

  • The format option supports predefined formats.

    1.53.0release notes

  • Space sizes include xxsmall, xsmall, xlarge, and xxlarge.

    1.53.0release notes

  • Streamlit can optionally run with Starlette.

    1.53.0release notes

  • Text alignment can be set for heading elements.

    1.52.0release notes

  • Text alignment can be set for markdown elements.

    1.52.0release notes

  • A help argument and tooltip are available.

    1.52.0release notes

  • Keyboard shortcuts can be configured on buttons.

    1.52.0release notes

  • The accept_audio parameter enables audio recording in chat_input.

    1.52.0release notes

  • The audio_sample_rate parameter customizes recording quality.

    1.52.0release notes

  • The width parameter supports the value content.

    1.52.0release notes

  • The height parameter supports the value content.

    1.52.0release notes

  • A missing placeholder option has been implemented.

    1.52.0release notes

  • Datetime input is available.

    1.52.0release notes

  • A deferred download button is available.

    1.52.0release notes

  • A frontend for executing JavaScript in st.html is available.

    1.52.0release notes

  • The delta arrow can be configured.

    1.52.0release notes

  • Query parameters can be passed to st.page_link.

    1.52.0release notes

  • A height parameter is available.

    1.52.0release notes

  • The spinner can be set as an icon.

    1.52.0release notes

  • Query parameters can be passed to st.switch_page.

    1.52.0release notes

  • A text alignment parameter is available.

    1.52.0release notes

  • Optional uvloop support is available for better event loop performance.

    1.52.0release notes

  • Adds support for auto color using chart colors.

    1.51.0release notes

  • Adds a pinned parameter to MultiselectColumn.

    1.51.0release notes

  • Adds support for configuring the column color.

    1.51.0release notes

  • Adds height support to st.altair_chart for layout control.

    1.51.0release notes

  • Adds width support to st.altair_chart for layout control.

    1.51.0release notes

  • Adds the st.components.v2.components namespace and classes.

    1.51.0release notes

  • Adds stretch height support to st.dataframe.

    1.51.0release notes

  • Allows setting a default initial value for feedback.

    1.51.0release notes

  • Adds width support to st.plotly_chart for layout control.

    1.51.0release notes

  • Adds a type argument to match st.button.

    1.51.0release notes

  • Adds width support to st.pydeck_chart for layout control.

    1.51.0release notes

  • Adds an API for st.space.

    1.51.0release notes

  • Adds height support to st.vega_lite_chart for layout control.

    1.51.0release notes

  • Adds width support to st.vega_lite_chart for layout control.

    1.51.0release notes

  • Adds a cursor keyword argument to st.write_stream.

    1.51.0release notes

  • Adds light and dark section configurations for theme and theme.sidebar, with configuration inheritance.

    1.51.0release notes

  • Adds the codeTextColor theme configuration and updates linkColor.

    1.51.0release notes

  • Enables reusable custom themes through the theme.base configuration.

    1.51.0release notes

  • Adds light and dark section configurations for theme.sidebar, with configuration inheritance.

    1.51.0release notes

Performance 9

Behavior and default changes 79

  • Uses the theme primary color for default map markers.

    1.67.0release notes

  • Makes theme chrome and borders opaque by default.

    1.67.0release notes

  • Updates the default light and dark named theme colors.

    1.67.0release notes

  • Updates default theme surfaces and the sidebar fallback.

    1.67.0release notes

  • Sends selections when gestures end.

    1.67.0release notes

  • Adds support for Python 3.15.

    1.66.0release notes

  • Supports pasting a full date range into the widget.

    1.65.0release notes

  • Supports calling asyncio.get_event_loop() in scripts.

    1.64.0release notes

  • Makes st.cache_data async-aware.

    1.64.0release notes

  • Makes st.cache_resource async-aware.

    1.64.0release notes

  • Direct column widgets automatically use no-wrap behavior.

    1.63.0release notes

  • st.table font sizing was updated.

    1.62.0release notes

  • Client-side validation was added to st.text_input.

    1.62.0release notes

  • The file name is inferred from the file object name when available.

    1.61.0release notes

  • The MIME type is inferred from the file object name.

    1.61.0release notes

  • Tag accessibility has been improved.

    1.61.0release notes

  • st.Page is now a proper class.

    1.61.0release notes

  • Form support and enter-to-submit behavior have been improved.

    1.61.0release notes

  • The gap parameter now supports integer pixel values.

    1.60.0release notes

  • When num_rows="fixed", key is used as the main identity for the data editor.

    1.60.0release notes

  • Row selections are preserved when the dataframe is sorted.

    1.60.0release notes

  • Moves chart actions to the native toolbar.

    1.60.0release notes

  • A zero delta receives neutral treatment in st.metric.

    1.60.0release notes

  • Defaults to polling the file watcher in WSL.

    1.59.0release notes

  • Fragments can write into outside containers.

    1.59.0release notes

  • Adds an in-app toast prompting users to install skills.

    1.59.0release notes

  • Programmatic secrets now support lists.

    1.59.0release notes

  • The app recommends installing skills on startup.

    1.59.0release notes

  • Supports pasting files into st.chat_input.

    1.59.0release notes

  • Supports OpenAI Responses API streams in st.write_stream.

    1.59.0release notes

  • The chevron is hidden for menu-style icon labels in st.menu_button and st.popover.

    1.57.0release notes

  • Polars data is converted directly to Arrow, bypassing pandas.

    1.57.0release notes

  • Always show the dataframe column visibility menu.

    1.56.0release notes

  • Support relative static file serving URLs in media elements.

    1.56.0release notes

  • Add rerun support for the on_click parameter.

    1.56.0release notes

  • Add state persistence and a CSS key class.

    1.56.0release notes

  • Serve static files with native content types.

    1.56.0release notes

  • Complete incomplete markdown syntax during streaming.

    1.56.0release notes

  • The server acknowledges app_heartbeat messages received from the client.

    1.55.0release notes

  • Streamlit adds support for cachetools 7.x.

    1.55.0release notes

  • Adds custom hex color support for markdown rendering.

    1.55.0release notes

  • Navigation section headers support markdown.

    1.55.0release notes

  • Page titles support markdown.

    1.55.0release notes

  • Options can be changed dynamically when a key is provided.

    1.55.0release notes

  • Adds scroll arrows for overflowing tabs.

    1.55.0release notes

  • Creating config.toml now supports automatic reruns.

    1.54.0release notes

  • Text in pills can now be selected.

    1.54.0release notes

  • The minimum and maximum values can now be changed dynamically.

    1.54.0release notes

  • With key provided, min_value and max_value can now be changed dynamically.

    1.54.0release notes

  • With key provided, chart parameters can now be changed dynamically.

    1.54.0release notes

  • With key provided, radio options can now be changed dynamically.

    1.54.0release notes

  • With key provided, select slider options can now be changed dynamically.

    1.54.0release notes

  • Charts can now resolve theme color configurations.

    1.54.0release notes

  • Developer options are hidden when toolbarMode="viewer".

    1.54.0release notes

  • OAuth redirect_uri can reference the current port.

    1.53.0release notes

  • Chat input file uploads include image thumbnails and retry functionality.

    1.53.0release notes

  • Clicking a value displays its path in a tooltip.

    1.53.0release notes

  • Logout uses end_session_endpoint when it is provided in the OIDC configuration.

    1.53.0release notes

  • Metric values support Markdown.

    1.53.0release notes

  • Options can change dynamically when a key is provided.

    1.53.0release notes

  • The min, max, and step values can be changed dynamically.

    1.53.0release notes

  • Select slider options support Markdown.

    1.53.0release notes

  • Options can change dynamically when a key is provided.

    1.53.0release notes

  • The key is now the widget's main identity.

    1.52.0release notes

  • The key is now the widget's main identity.

    1.52.0release notes

  • Selection widgets now return copies.

    1.51.0release notes

  • Modernizes width and height handling for st.area_chart and st.bar_chart.

    1.51.0release notes

  • Uses key as the widget's main identity.

    1.51.0release notes

  • Uses key as the widget's main identity.

    1.51.0release notes

  • Uses key as the widget's main identity.

    1.51.0release notes

  • Automatically hides row indices when row selection is active.

    1.51.0release notes

  • Uses key as the main identity for st.feedback and st.pills.

    1.51.0release notes

  • Updates width and height handling for st.map.

    1.51.0release notes

  • Modernizes the height parameter for st.pydeck_chart.

    1.51.0release notes

  • Uses key as the widget's main identity.

    1.51.0release notes

  • Modernizes width and height parameters for st.scatter_chart.

    1.51.0release notes

  • Uses key as the widget's main identity.

    1.51.0release notes

  • Uses key as the main identity for st.slider and st.select_slider.

    1.51.0release notes

  • Running streamlit run without arguments now runs streamlit_app.py.

    1.51.0release notes

Tooling 4

  • Types literal column counts and width tuples of lengths one through six.

    1.67.0release notes

  • Selection state return values are now fully typed.

    1.62.0release notes

  • AppTest gains support for pills, segmented_control properties, and dataframe keys.

    1.57.0release notes

  • Add support for st.file_uploader in AppTest.

    1.56.0release notes

Fixes and other changes 192

  • Supports file uploads for chat input.

    1.67.0release notes

  • Adds support for st.data_editor.

    1.67.0release notes

  • Serialization errors identify the offending value.

    1.67.0release notes

  • Fixes an error after recording from the sidebar.

    1.67.0release notes

  • Aligns component types with runtime behavior.

    1.67.0release notes

  • Stretch dataframes fall back to their default height and stay within their parent on resize.

    1.67.0release notes

  • Fixes range date_input losing the first picked date.

    1.67.0release notes

  • Uses dark-mode defaults and candlestick colors, hides overlapping axis labels by default, and improves layouts and tooltips.

    1.67.0release notes

  • Formats tooltips without JavaScript and logs errors while recovering from failed options.

    1.67.0release notes

  • Shows midnight times as dates for chart data.

    1.67.0release notes

  • Avoids theme injection when theme is None.

    1.67.0release notes

  • Resets the pydeck camera when views change.

    1.67.0release notes

  • Preserves a required text area's empty edit and error across remounts.

    1.67.0release notes

  • The default time slider can reach time.max.

    1.67.0release notes

  • Restores in-place updates for toast messages.

    1.67.0release notes

  • Lets AppTest seed st.user and st.context.

    1.67.0release notes

  • Skips reruns when widget values do not change.

    1.67.0release notes

  • Makes AppTest layout collections callable.

    1.66.0release notes

  • Keeps page widget state on rerun.

    1.66.0release notes

  • Releases abandoned runs waiting on a cache.

    1.66.0release notes

  • Revokes callables for disabled download buttons.

    1.66.0release notes

  • Makes httptools an optional dependency.

    1.66.0release notes

  • Surfaces parse errors when secrets.toml is malformed.

    1.66.0release notes

  • Attribute probes no longer import modules.

    1.66.0release notes

  • Improves alignment of elements placed side by side.

    1.66.0release notes

  • Aligns st.connection overloads with runtime behavior.

    1.66.0release notes

  • Makes stretch containers grow with their content.

    1.66.0release notes

  • Makes stretch forms grow with their content.

    1.66.0release notes

  • Aligns pydeck tooltips with the cursor.

    1.66.0release notes

  • Tightens the types accepted when writing query parameters.

    1.66.0release notes

  • Announces the active select option while typing.

    1.66.0release notes

  • Types iterated session state keys as str.

    1.66.0release notes

  • Skips stale keyed blocks during reruns.

    1.66.0release notes

  • Accepts use_column_width as a no-op for compatibility.

    1.65.0release notes

  • Synchronizes query params when navigating backward or forward in the browser on the same page.

    1.65.0release notes

  • Rejects awaitables returned from synchronous cached functions.

    1.65.0release notes

  • Adds dict methods to AppTest.session_state.

    1.64.0release notes

  • Prevents in-flight Custom Components v2 triggers from being dropped.

    1.64.0release notes

  • Encodes unsafe download filenames when placing them in a quoted header.

    1.64.0release notes

  • Rejects unsupported on_change modes.

    1.64.0release notes

  • Rejects inverted st.number_input minimum and maximum bounds.

    1.64.0release notes

  • Honors pydeck views when rendering st.pydeck_chart.

    1.64.0release notes

  • Exposes st.radio captions as option descriptions.

    1.64.0release notes

  • Keeps widget values after a body-level st.rerun.

    1.64.0release notes

  • Swaps reversed st.slider minimum and maximum bounds.

    1.64.0release notes

  • Hardens AppTest for keys, disabled widgets, and navigation.

    1.63.0release notes

  • Cmd/Ctrl+C no longer opens the clear-cache dialog.

    1.63.0release notes

  • Default bounds are clamped at date.min/max.

    1.63.0release notes

  • Prevents uploads from hanging when middleware reads the body first.

    1.63.0release notes

  • Markdown lists no longer overflow narrow containers.

    1.63.0release notes

  • Corrects public widget overload typings.

    1.63.0release notes

  • Keeps a time supplied before a date.

    1.63.0release notes

  • Menu and JSON overlays remain clickable inside st.dialog.

    1.63.0release notes

  • Ctrl/Cmd+A works again in the st.multiselect filter.

    1.63.0release notes

  • st.rerun() now works in widget callbacks.

    1.63.0release notes

  • Syntax highlighting is skipped for very long code blocks.

    1.63.0release notes

  • All user-facing warnings are logged to the console.

    1.63.0release notes

  • Charts created with alt.Chart.from_json now preserve inline datasets.

    1.62.0release notes

  • Heading anchors are re-derived when heading text changes on rerun.

    1.62.0release notes

  • Nested fragments already re-rendered by a queued ancestor are no longer rerun.

    1.62.0release notes

  • Popover contents display fully in narrow and embedded viewports.

    1.62.0release notes

  • Port auto-increment behavior was restored on Windows.

    1.62.0release notes

  • The startup warning for server.enableCORS=false was corrected.

    1.62.0release notes

  • Color picker interaction in dialogs was restored.

    1.62.0release notes

  • Overflow styling in narrow containers and the today indicator were fixed.

    1.62.0release notes

  • The metric sparkline now appears after empty chart data.

    1.62.0release notes

  • Timelike st.slider bounds are validated against the frontend number range.

    1.62.0release notes

  • Using st.status in an outside container no longer blanks the app.

    1.62.0release notes

  • Toasts are preserved when st.rerun() follows st.toast.

    1.62.0release notes

  • AppTest script paths are handled correctly in sys.path.

    1.61.0release notes

  • Stale AppTest elements are cleared on rerun, and multipage path handling is clarified.

    1.61.0release notes

  • Altair PNG export supports higher DPI.

    1.61.0release notes

  • st.bar_chart now works with column names containing a period.

    1.61.0release notes

  • A TypeError with run_every fragments and Sentry threading is fixed.

    1.61.0release notes

  • Open cell edits commit on outside click, and row additions no longer overwrite rows.

    1.61.0release notes

  • IME composition is preserved in NumberColumn.

    1.61.0release notes

  • st.download_button accepts io.StringIO data.

    1.61.0release notes

  • The expander no longer remains clipped after an interrupted animation.

    1.61.0release notes

  • Fragment children are preserved across container reruns.

    1.61.0release notes

  • The header no longer shows page.run() in multipage apps.

    1.61.0release notes

  • Selection stays highlighted when format_func changes.

    1.61.0release notes

  • Sankey charts honor Plotly layout fonts.

    1.61.0release notes

  • Escape now clears the typed search query, and fuzzy search matches non-contiguous substrings again.

    1.61.0release notes

  • Sidebar dropdowns flip upward instead of being clipped.

    1.61.0release notes

  • The app reconnects to an existing session after an unclean WebSocket close.

    1.61.0release notes

  • Popovers in the sidebar no longer render off-screen.

    1.61.0release notes

  • Prevents crashes on Windows drive paths.

    1.60.0release notes

  • Stops auto-reruns when a fragment is evicted.

    1.60.0release notes

  • Avoids a thread initialization crash with PyArrow 25.

    1.60.0release notes

  • Deduplicates auto-rerun timers per fragment.

    1.60.0release notes

  • Makes expose_tokens work with st.App programmatic secrets.

    1.60.0release notes

  • Includes decorators in st.echo output.

    1.60.0release notes

  • Fixes the area chart fill baseline.

    1.60.0release notes

  • Submits a typed value on the first Enter press in a form.

    1.60.0release notes

  • Suppresses the mobile keyboard when filter_mode=None.

    1.60.0release notes

  • Restores type-to-search in st.selectbox.

    1.60.0release notes

  • Prevents tab panels from stacking after a widget-triggered rerun.

    1.60.0release notes

  • Makes widgets inside a popover-in-dialog clickable.

    1.60.0release notes

  • Ignores the Ctrl+F shortcut when search is disabled.

    1.59.0release notes

  • Binds the IPv6 dual-stack wildcard for the default server address.

    1.59.0release notes

  • Outside wrappers are reset across fragment reruns.

    1.59.0release notes

  • Prevents the Missing Submit Button flash on app load.

    1.59.0release notes

  • Fixes palette hashing to prevent hash collisions.

    1.59.0release notes

  • Prevents the page title from being reset on rerun.

    1.59.0release notes

  • Keeps the selection when format_func depends on object identity.

    1.59.0release notes

  • Explains the multi-replica cause in invalid session upload errors.

    1.59.0release notes

  • Uses a named Snowflake connection from the config file.

    1.59.0release notes

  • Fixes a metrics endpoint error with SQLAlchemy connections.

    1.59.0release notes

  • Fixes a TypeError in _run_with_thread_state when using @st.fragment(run_every=...).

    1.59.0release notes

  • Prevents ESC from clearing the selection.

    1.59.0release notes

  • Fixes callbacks for st.pills and st.segmented_control.

    1.59.0release notes

  • Validates that StreamlitPage source matches the registered page.

    1.59.0release notes

  • Fixes lazy loading by syncing widgetMgr.

    1.59.0release notes

  • Back and Forward navigation now works for pages with Unicode URL paths.

    1.58.0release notes

  • The external IP fetch timeout was reduced to avoid startup freezes.

    1.58.0release notes

  • A regression causing OAuth MismatchingStateError in 1.57.0 was fixed.

    1.58.0release notes

  • The URL is synchronized when session_state updates widgets bound to query parameters.

    1.58.0release notes

  • A warning is shown when a button shortcut is reserved by the browser.

    1.58.0release notes

  • Accidental overscrolling in data editors is fixed.

    1.58.0release notes

  • Accidental overscrolling in dataframe is fixed.

    1.58.0release notes

  • Programmatically closed expanders no longer reopen when interacting with another popover or expander.

    1.58.0release notes

  • Stale automatic reruns no longer crash apps.

    1.58.0release notes

  • Login cookies have Max-Age set to restore 30-day persistence.

    1.58.0release notes

  • The help icon for unsafe_allow_html=True in st.markdown is fixed.

    1.58.0release notes

  • Programmatically closed popovers no longer reopen when interacting with another popover or expander.

    1.58.0release notes

  • The first item is no longer hidden when seven options are selected.

    1.58.0release notes

  • Accidental overscrolling in tables is fixed.

    1.58.0release notes

  • Vega-Lite chart tooltips work in dialogs.

    1.58.0release notes

  • Starlette OAuth PKCE behavior is restored.

    1.58.0release notes

  • Static file serving now supports symlinks.

    1.58.0release notes

  • Script-level configuration is discovered when st.App runs under uvicorn.

    1.58.0release notes

  • Eviction from sys.modules is deferred to the script-run boundary.

    1.58.0release notes

  • CSS Color Level 4 support is added.

    1.57.0release notes

  • Large Arrow types are downcast during custom component v1 serialization.

    1.57.0release notes

  • Equivalent file extensions are deduplicated in the file uploader display.

    1.57.0release notes

  • Inconsistent space encoding in query parameters is fixed.

    1.57.0release notes

  • Axis labels now swap when horizontal=True.

    1.57.0release notes

  • None values are preserved with pandas 3.0 and later.

    1.57.0release notes

  • A crash with pandas 3 ArrowStringArray is fixed.

    1.57.0release notes

  • The selection is retained for format_func and custom options.

    1.57.0release notes

  • The original exception is chained when this caching error is raised.

    1.57.0release notes

  • Namespace children are evicted when watched sources reload.

    1.57.0release notes

  • Restore bound query params in the URL with MPA.

    1.56.0release notes

  • Add support for pandas 3.x.

    1.56.0release notes

  • Fix PEP 649 annotation compatibility across inspect.signature() calls.

    1.56.0release notes

  • Allow running Streamlit with Python optimization.

    1.56.0release notes

  • Update server.port after binding to port 0.

    1.56.0release notes

  • Fix links overflowing at small widths.

    1.56.0release notes

  • Restore tooltips on selected options.

    1.56.0release notes

  • height='content' sizing on initial load is fixed.

    1.56.0release notesrelease notes

  • Fix artifacts shown when streaming markdown with color directives.

    1.56.0release notes

  • The configuration option accepts boolean values.

    1.55.0release notes

  • Query results are cached per instance.

    1.55.0release notes

  • All columns are initialized when appending rows.

    1.55.0release notes

  • All date_input session state values are normalized to date.

    1.55.0release notes

  • A slash-only url_path no longer passes without raising an exception.

    1.55.0release notes

  • Adds selection support for treemap and sunburst charts.

    1.55.0release notes

  • Fixes an error with uniform column values.

    1.54.0release notes

  • Fixes a KeyError when sorting melted bar chart data.

    1.54.0release notes

  • Streamlit prepares for compatibility with pandas 3.0.

    1.54.0release notes

  • Fixes the sidebar collapsing on mobile when clicking portaled elements.

    1.54.0release notes

  • Fixes a regression that caused a Snowflake connection to be closed.

    1.54.0release notes

  • The cache key now includes query parameters.

    1.54.0release notes

  • Fixes a crash involving container elements in a spinner context.

    1.54.0release notes

  • The maximum width of uploaded files is increased.

    1.54.0release notes

  • Custom objects no longer have their selections cleared unexpectedly.

    1.54.0release notes

  • Wildcard addresses are displayed as localhost in URLs.

    1.54.0release notes

  • Fixes a regression when the data editor starts from an empty column.

    1.53.0release notes

  • A dialog no longer shows elements from a previous dialog.

    1.53.0release notes

  • HTML list indentation is handled correctly.

    1.53.0release notes

  • Number input precision is improved.

    1.53.0release notes

  • A selectbox value set via session state restores its initial value correctly.

    1.53.0release notes

  • The key is ensured to reflect the data argument in CCv2 instances.

    1.52.0release notes

  • File uploading on Android is improved.

    1.52.0release notes

  • Font fallback and sidebar page navigation font issues are fixed.

    1.52.0release notes

  • Empty Markdown code blocks no longer render as “undefined”.

    1.52.0release notes

  • Audio components now handle microphone permission-denied errors.

    1.52.0release notes

  • An issue when starting with empty rows is fixed.

    1.52.0release notes

  • A shape error when adding data is fixed.

    1.52.0release notes

  • The upper bound for the packaging package has been removed.

    1.52.0release notes

  • Python 3.14 is supported.

    1.52.0release notes

  • Query parameters are preserved on back navigation.

    1.52.0release notes

  • Disabled widgets no longer show a border when showWidgetBorder is true.

    1.52.0release notes

  • A visual regression with the audio input waveform is fixed.

    1.52.0release notes

  • The minimum width constraint is fixed.

    1.52.0release notes

  • The date picker icon is visible in dark mode.

    1.52.0release notes

  • Icon wrapping with minimum width enforcement is fixed.

    1.52.0release notes

  • A wrapping regression is fixed.

    1.52.0release notes

  • Wrapping regressions and issues are fixed.

    1.52.0release notes

  • Negative height calculation is fixed.

    1.52.0release notes

  • Fixed an issue where using df.dtypes to show datatypes for a DataFrame failed while using Arrow.

    1.0.0release notes

  • Image captions stay within the image width and are readable.

    1.0.0release notes