What's Changed
Breaking Changes 🛠
- [feature] Make Starlette the default server and remove Tornado by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14553
- [chore] Remove deprecated kwargs from
plotly_chart and vega_lite_chart by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14800
- [chore] Remove deprecated
_get_websocket_headers function by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14801
- [feature] Direct polars to arrow conversion bypassing pandas by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14885
New Features 🎉
- [feature] Hide chevron for menu-style icon labels for
st.menu_button and st.popover by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14697
- [feature] Add pills, segmented_control properties and dataframe key to AppTest by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14518
- [feature] Add
title parameter to alert elements by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14665
- [feat] Add
:shimmer[] markdown directive for animated loading text by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14055
- [feature] Expose
App in the st namespace by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14722
- Bundle OSS developing-with-streamlit core skills in pip package by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/14745
- [fix] Add border radius to video and map elements by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14781
- [feature] Add
secrets parameter to st.App by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14861
- Add app and theme templates to bundled skills by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/14746
- [feature] Expose
st.bottom container by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14726
Bug Fixes 🐛
- [feature] Deduplicate equivalent file extensions in file uploader display by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14552
- [fix]
st.dataframe crash with pandas 3 ArrowStringArray by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14611
- fix(caching): chain original exception in UnserializableReturnValueError by @mango766 in https://github.com/streamlit/streamlit/pull/14655
- [fix] inconsistent space encoding in query params by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/14691
- [fix] Preserve
None values in st.data_editor with pandas 3.0+ by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14694
- [Fix] Add CSS Color Level 4 support by @mayagbarnes in https://github.com/streamlit/streamlit/pull/14674
- [fix] Evict namespace children when watched sources reload by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/14708
- [fix] Downcast large Arrow types in custom component v1 serialization by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/14617
- [fix] Retain st.radio selection for format_func and custom options by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/14815
- Fix bar_chart axis labels not swapping when horizontal=True by @kmcgrady in https://github.com/streamlit/streamlit/pull/14866
- [fix] st.text_area height='content' sizing on initial load by @lukasmasuch in https://github.com/streamlit/streamlit/pull/14884
Other Changes
- [chore] Update emojis/material icons by @github-actions[bot] in https://github.com/streamlit/streamlit/pull/14576
- [chore] Release v1.56.0 by @github-actions[bot] in https://github.com/streamlit/streamlit/pull/14598
- Docs for dataframe programmatic selections by @MathCatsAnd in https://github.com/streamlit/streamlit/pull/14616
- [chore] Update emojis/material icons by @github-actions[bot] in https://github.com/streamlit/streamlit/pull/14649
- [chore] Update emojis/material icons by @github-actions[bot] in https://github.com/streamlit/streamlit/pull/14752
- [chore] Update emojis/material icons by @github-actions[bot] in https://github.com/streamlit/streamlit/pull/14869
- Docs for audio and video columns by @MathCatsAnd in https://github.com/streamlit/streamlit/pull/14628
New Contributors
- @dagecko made their first contribution in https://github.com/streamlit/streamlit/pull/14554
- @mango766 made their first contribution in https://github.com/streamlit/streamlit/pull/14655
- @sfc-gh-wschmitt made their first contribution in https://github.com/streamlit/streamlit/pull/14922
Full Changelog: https://github.com/streamlit/streamlit/compare/1.56.0...1.57.0