NewAI Enhanced
1.54.0
Streamlit 1.54.0
Breaking Changes
- Removed experimental query params
- Removed
st.experimental_usercommand add_rowsdeprecation warning now shows in browser
Features
st.dataframeand vega charts now usekeyas primary identity for selectionsst.date_inputandst.datetime_inputnow support dynamicmin/maxchanges withkeyst.radioandst.select_slideroptions can now change dynamically withkeyst.pydeck_chartparameters can now change dynamically withkey- Query param binding for widgets (Part 1)
st.logonow supports Material icons and emojis- New
chartDivergingColorstheming config option - New
client.showErrorLinksconfig option - Auto-rerun when
config.tomlis created - Text selection enabled in
MultiselectColumnandListColumnpills - Charts can now resolve to theme color configs
- Pandas 3.0 compatibility prepared
- Dropdown design updated
Fixes
- Fixed bar chart error with uniform column values
- Fixed
st.chat_inputuploaded file max width - Fixed
SnowflakeConnection.query()cache key to include params - Fixed crash with container elements in spinner context
- Fixed snowflake connection closure regression
- Fixed selectbox/multiselect clearing selections for custom objects
- Fixed
KeyErrorwhen sorting melted bar chart data - Fixed sidebar collapsing on mobile with portaled elements
- Display wildcard addresses as localhost in URLs
- Fixed TransientNode anchor replacement with BlockNode
- Added defensive check in Manifest Scanner
- Starlette auth features now supported
- Developer options hidden when
toolbarMode="viewer"
What's Changed
Breaking Changes ๐
- Remove experimental query params by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13142
- Remove deprecated
st.experimental_usercommand by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13626 - Set
add_rowsdeprecation warning to show in browser by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13628
New Features ๐
- Use
keyas main identity forst.dataframewith selections by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13558 - Use
keyas main identity for vega charts with selections by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13559 - Add
chartDivergingColorstheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/13581 - Allow dynamically changing in min and max in
st.date_inputby @lukasmasuch in https://github.com/streamlit/streamlit/pull/13549 - Allow dynamically changing
min_valueandmax_valueinst.datetime_inputwhenkeyis provided by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13620 - Prepare pandas 3.0 compatibility by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13630
- Allow dynamic changes to
st.radiooptions whenkeyis provided by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13611 - Support auto-rerun when
config.tomlis created by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13625 - Allow selecting text of pills in the
MultiselectColumnandListColumnby @lukasmasuch in https://github.com/streamlit/streamlit/pull/13663 - Bind widgets to query params - Part 1 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/13681
- feat(logo): add support for Material icons and emojis in st.logo by @rahuld109 in https://github.com/streamlit/streamlit/pull/13416
- Allow dynamic changes to
st.select_slideroptions whenkeyis provided by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13696 - Enhancement/update dropdown design #12956 by @rishi-kumar0612 in https://github.com/streamlit/streamlit/pull/13004
- Add "client.showErrorLinks` config option (#11238)" by @karubian in https://github.com/streamlit/streamlit/pull/13472
- Allow dynamic changes to
st.pydeck_chartparameters whenkeyis provided by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13703 - Support resolving to theme colors configs for charts by @mayagbarnes in https://github.com/streamlit/streamlit/pull/13739
Bug Fixes ๐
- Fix bar chart error with uniform column values by @sfc-gh-kmcgrady in https://github.com/streamlit/streamlit/pull/13590
- [fix] Increase max width of uploaded files in
st.chat_inputby @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/13589 - [fix] Add defensive check in Manifest Scanner by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/13612
- Support new auth features in Starlette by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13571
- Hide developer options when toolbarMode="viewer" by @sfc-gh-dmatthews in https://github.com/streamlit/streamlit/pull/13623
- Fix SnowflakeConnection.query() cache key to include params by @sfc-gh-kmcgrady in https://github.com/streamlit/streamlit/pull/13652
- Fix crash with container elements in spinner context by @sfc-gh-kmcgrady in https://github.com/streamlit/streamlit/pull/13659
- Fix a regression with snowflake connection being closed by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13665
- Fix TransientNode not capturing BlockNode as anchor when replacing by @kmcgrady in https://github.com/streamlit/streamlit/pull/13674
- Fix selectbox and multiselect clearing selections for custom objects by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13648
- Fix
KeyErrorwhen sorting melted bar chart data by @lukasmasuch in https://github.com/streamlit/streamlit/pull/13695 - Fix sidebar collapsing on mobile when clicking portaled elements by @sfc-gh-kmcgrady in https://github.com/streamlit/streamlit/pull/13653
- [fix] Display wildcard addresses as localhost in URLs by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/13720
Other Changes
- [chore] Release v1.53.0 by @github-actions[bot] in https://github.com/streamlit/streamlit/pull/13588
- [chore] Release v1.53.1 by @github-actions[bot] in https://github.com/streamlit/streamlit/pull/13676
New Contributors
- @sfc-gh-kmcgrady made their first contribution in https://github.com/streamlit/streamlit/pull/13590
- @rahuld109 made their first contribution in https://github.com/streamlit/streamlit/pull/13416
- @rishi-kumar0612 made their first contribution in https://github.com/streamlit/streamlit/pull/13004
- @karubian made their first contribution in https://github.com/streamlit/streamlit/pull/13472
Full Changelog: https://github.com/streamlit/streamlit/compare/1.53.1...1.54.0