What's Changed
Breaking Changes 🛠
- Add deprecation warning to SnowparkConnection by @lukasmasuch in #14125
New Features 🎉
- Extend sprintf to support thousand separator by @lukasmasuch in #13284
- Refactor
SettingsDialog& add copyable version by @mayagbarnes in #13791 - Exclude collapsed expander content from browser find-in-page (Cmd+F) by @lukasmasuch in #13818
- Allow dynamic changes to
st.pillsandst.segmented_controloptions when key is provided by @lukasmasuch in #13684 - Add support for cachetools 7.x by @lukasmasuch in #13839
- Add support for selections on multi-view vega charts by @lukasmasuch in #13591
- Add
client.allowedOriginsconfig option by @lukasmasuch in #13829 - Have server ack app_heartbeat messages received from client by @vdonato in #13810
- feat: add metricValueFontSize and metricValueFontWeight theme options by @kagawa0710 in #13550
- [feature] add width auto parameter to st.markdown by @sfc-gh-lwilby in #13841
- Bind widgets to query params - FE hooks &
color_pickersupport by @mayagbarnes in #13845 - Bind widgets to query params -
st.checkbox&st.toggleby @mayagbarnes in #13900 - Auto-escape some markdown syntax in markdown labels by @lukasmasuch in #13887
- Bind widgets to query params -
st.text_input&st.text_areaby @mayagbarnes in #13901 - Add page visibility parameter to
st.Pageby @lukasmasuch in #13905 - Add
widthandheightconfiguration tost.tableby @lukasmasuch in #13850 - Bind widgets to query params -
st.radio&st.selectboxby @mayagbarnes in #13922 - Bind widgets to query params -
st.number_inputby @mayagbarnes in #13917 - Bind widgets to query params -
st.multiselectby @mayagbarnes in #13951 - [DynamicContainers] Dynamic Popovers by @sfc-gh-lwilby in #13914
- Add select all and select x matches (select all 2) by @sfc-gh-dmatthews in #13795
- New styling for selectbox and multiselect (select all 3) by @sfc-gh-dmatthews in #13796
- New styling for date and time widgets (select all 4) by @sfc-gh-dmatthews in #13797
- New styling for remaining dropdowns (select all 5) by @sfc-gh-dmatthews in #13798
- Add
delta_descriptiontost.metricby @lukasmasuch in #13848 - [DynamicContainers] Dynamic Tabs by @sfc-gh-lwilby in #13910
- [feat] Add scroll arrows for overflowing tabs in
st.tabsby @lukasmasuch in #13987 - [DynamicContainers] Dynamic Expanders by @sfc-gh-lwilby in #13888
- Bind widgets to query params -
st.slider&st.select_sliderby @mayagbarnes in #13979 - [feat] Add custom hex color support for markdown rendering by @lukasmasuch in #14041
- [feat] Add markdown support to page titles in
st.Pageby @lukasmasuch in #14010 - Bind widgets to query params -
st.pills&st.segmented_controlby @mayagbarnes in #14006 - Bind widgets to query params -
st.date_inputby @mayagbarnes in #14034 - [DynamicContainers] Callback support for expanders by @sfc-gh-lwilby in #14008
- [Feat] Updated
MainMenuby @mayagbarnes in #14101 - Add logger.hideWelcomeMessage config option by @vdonato in #14118
- Bind widgets to query params -
st.datetime_input&st.time_inputby @mayagbarnes in #14103 - [DynamicContainers] Callback support for popovers by @sfc-gh-lwilby in #14075
- [DynamicContainers] Callback support for tabs by @sfc-gh-lwilby in #14007
- [feature] Add
linkparameter tost.imageby @lukasmasuch in #14139 - [feat] Add markdown support for navigation section headers by @lukasmasuch in #14053
Bug Fixes 🐛
- [security] Prevent SSRF attacks via path traversal in component file handling by @sfc-gh-nbellante in #13733
- [fix] Support boolean values for client.showErrorLinks config option by @sfc-gh-nbellante in #13806
- Fix
st.select_sliderformat_funcregression in AppTest by @lukasmasuch in #13837 - Initialize all columns when appending rows to
data_editorby @lukasmasuch in #13916 - Don't accept 0 max selections in
st.multiselectby @sfc-gh-dmatthews in #13966 - [fix] Restore layered vconcat width propagation and add #13974 regression tests by @sfc-gh-bnisco in #13980
- [fix] Add selection support for treemap and sunburst in
st.plotly_chartby @lukasmasuch in #13935 - fix: preserve active tab selection after spinner reruns by @sfc-gh-bnisco in #14023
- fix(code-block): move copy action into toolbar and preserve keyboard accessibility by @sfc-gh-bnisco in #14024
- Fix st.Page accepting slash-only url_path without raising exception by @nileshhadalgi016 in #14005
- fix(vega-lite): render vconcat charts with faceted/repeated children by @sfc-gh-bnisco in #14065
- fix(widgets): clear stale date validation UI on form clear by @sfc-gh-bnisco in #14066
- fix(button-group): keep segmented control hover borders visually consistent by @sfc-gh-bnisco in #14067
- Cache SqlConnection.query results per-instance. by @sfc-gh-jkinkead in #14094
- [fix] st.metric with chart_data wrapping in horizontal containers by @sfc-gh-lwilby in #14110
- [fix] Normalize all
date_inputsession state values to date by @lukasmasuch in #14123 - Fix spinner clear_transient race condition during rapid reruns by @kmcgrady in #13849
Other Changes
- Improve
streamlit config showoutput for theme sourcing by @mayagbarnes in #13761 - [chore] Update emojis/material icons by @github-actions[bot] in #13789
- [chore] Release v1.54.0 by @github-actions[bot] in #13807
- [refactor] remove loading skeleton for dynamic popover by @sfc-gh-lwilby in #14043
- [chore] Update emojis/material icons by @github-actions[bot] in #14099
- Improve version copy accessibility by @mayagbarnes in #14131
- [chore] Wire up check_widget_policies correctly in dynamic containers by @sfc-gh-lwilby in #14143
- Format date/time slider URL query params as ISO strings by @mayagbarnes in #14120
New Contributors
- @nileshhadalgi016 made their first contribution in #14005
Full Changelog: 1.54.0...1.55.0