What's Changed
Breaking Changes 🛠
- Clean up experimental dialog, fragment and widget replay by @lukasmasuch in #12167
- Deprecate
st.bokeh_chart
in favour ofstreamlit-bokeh
component by @lukasmasuch in #12168 - Allow editing of
ListColumn
viast.data_editor
by @lukasmasuch in #12261
New Features 🎉
- [feat] Add configurable websocket ping interval to fix proxy connection drops by @sfc-gh-nbellante in #12117
- Add directory support for st.file_uploader by @sfc-gh-smohile in #11905
- Add support for sparkline charts to
st.metric
by @lukasmasuch in #9675 - [feat] Simplify all copy to clipboard handling by @sfc-gh-bnisco in #12141
- Allow setting
duration
forst.toast
by @lukasmasuch in #11872 - [AdvancedLayouts] Updates dataframe and data editor to the new style for width and height. by @sfc-gh-lwilby in #11930
- Add an option for a wider
st.dialog
by @lukasmasuch in #12040 - Add single- and multi-cell selections to
st.dataframe
by @lukasmasuch in #11393 - Show check icon on column name copy by @lukasmasuch in #12172
- Added st.pdf by @sfc-gh-smohile in #11532
- Add single- and multi-cell selection options to
st.dataframe
by @Dev-iL in #8952 - Add
key
tost.form_submit_button
by @lukasmasuch in #12190 - Add toolbar action to show underlying vega chart data by @lukasmasuch in #10311
- [AdvancedLayouts] Updates to st.image width/height and adding width/height to st.pyplot. by @sfc-gh-lwilby in #11952
- Add
yellow
to text/background/badge/divider color options by @mayagbarnes in #12201 - Add explicit support for Pydantic models in cache_data/resource by @sfc-gh-tteixeira in #12137
- Add directory upload support to st.chat_input by @sfc-gh-smohile in #12105
- Update slider value on mouse release by @lukasmasuch in #11879
- Add
format_func
support toSelectboxColumn
by @lukasmasuch in #12232 - [AdvancedLayouts] Adds a width parameters to graphviz charts. by @sfc-gh-lwilby in #12212
- Allow select all/ deselect all when hiding dataframe columns from UI by @plumol in #12164
Bug Fixes 🐛
- [fix] Skeleton width should be full screen. by @sfc-gh-lwilby in #12100
- [fix] st.chat_input collapses after submit by @sfc-gh-lwilby in #12132
- [fix] iframe and html change in default width when no width specified. by @sfc-gh-lwilby in #12148
- [Fix]
st.toast
handles custom theming by @mayagbarnes in #12160 - [fix] Do not allow removing already uploaded files when disabled by @sfc-gh-bnisco in #12180
- Ensure narrow currency symbol is used for formatting by @lukasmasuch in #11895
- Revert "Make st.logout use end_session_endpoint if provided in OIDC config (#11901)" by @sfc-gh-bnisco in #12179
- [fix] Allow dismissing connection error dialog (and not having it continue to pop up) by @sfc-gh-nbellante in #12178
- [fix] Cache layout_config data and use during replay by @sfc-gh-lwilby in #12183
- Update
st.page_link
radii config by @mayagbarnes in #12181 - Single mark charts use first of
chartCategoricalColors
by @mayagbarnes in #12162 - [fix] File Upload Drop Target truncates subtext by @sfc-gh-bnisco in #12192
- Update credentials.py: try to fix showEmailPrompt in case where there is no email by @wyattscarpenter in #12202
- [fix] Selectbox with accept_new_options on mobile shows keyboard by @sfc-gh-bnisco in #12219
- [fix] PlotlyChart with null value selection works properly by @sfc-gh-bnisco in #12222
- Fix: prevents underlying column menu from opening when column visibility menu is open for
st.dataframe
by @plumol in #12233 - Apply radii from theme to
CheckboxColumn
by @lukasmasuch in #12263 - [fix] Log deprecation warning for use_container_width in
st.dataframe
by @sfc-gh-lwilby in #12277
Other Changes
- Release/1.48.0 by @sfc-gh-nbellante in #12126
- Theming: Remove colored decoration line by @mayagbarnes in #12155
- [Fix]
st.time_input
hover for dropdown by @mayagbarnes in #12157 - Release/1.48.1 by @sfc-gh-bnisco in #12185
- Make crossorigin property configurable for st.logo by @raethlein in #12226
- Update material symbols by @lukasmasuch in #12264
New Contributors
Full Changelog: 1.48.1...1.49.0