What's Changed
Breaking Changes 🛠
- [AdvancedLayouts] Stretch height and fixed height in vertical layouts. by @sfc-gh-lwilby in #11649
New Features 🎉
- [AdvancedLayouts] Adds a width parameter to st.html by @sfc-gh-lwilby in #11505
- Add config option to disable email prompt by @wyattscarpenter in #11395
- Add
codeFontSize
theming config option by @mayagbarnes in #11508 - Add
linkUnderline
theming config option by @mayagbarnes in #11560 - Fix UX inconsistencies between audio and camera input by @jrieke in #11699
- Add background color to
st.metric
delta by @jrieke in #11678 - [AdvancedLayouts] Adds a width parameter to st.feedback, st.pills, st.segmented_control by @sfc-gh-lwilby in #11687
- Add
baseFontWeight
theming config option by @mayagbarnes in #11696 - Add
dataframeHeaderBackgroundColor
theming config option by @mayagbarnes in #11727 - Add
codeFontWeight
theming config option by @mayagbarnes in #11735 - [AdvancedLayouts] Adds
width="content"
option tost.code
. by @sfc-gh-lwilby in #11745 - [AdvancedLayouts] Adds a height parameter to
st.metric
. by @sfc-gh-lwilby in #11744 - [AdvancedLayouts] Adds a width parameters to multiselect elements. by @sfc-gh-lwilby in #11730
- Hide about dialog if not explicitly set by @jrieke in #10091
- Add support for pandas styler font-weight in
st.dataframe
by @lukasmasuch in #11705 - Apply font weight to dataframe by @lukasmasuch in #11747
- Add Markdown support to
st.dialog
title by @jrieke in #11763 - Add support for setting a display icon in
LinkColumn
by @lukasmasuch in #11690 - Add
bytes
formatting option to number and progress column by @cgivre in #11288 - Add
chartCategoricalColors
theming config option by @mayagbarnes in #11734 - Add quick select to date input by @jrieke in #10166
- Add show_time parameter to st.cache_data parameter to caching functions and tests by @Darkace01 in #11469
- Add support for setting the column config width to pixels by @lukasmasuch in #11838
- Use
step
to influence column config number formatting by @lukasmasuch in #11835 - Add
headingFontWeights
theming config option by @mayagbarnes in #11777 - [AdvancedLayouts] Adds a height parameters to st.text_area by @sfc-gh-lwilby in #11478
- Hide "Deploy" button when file change message is showing by @sfc-gh-nbellante in #11834
- Make multipage section headers collapsible by @lukasmasuch in #11863
- Add
headingFontSizes
theming config option by @mayagbarnes in #11864 - Add
chartSequentialColors
theming config option by @mayagbarnes in #11804 - Add support to set the value of
st.chat_input
via session state by @lukasmasuch in #10175
Bug Fixes 🐛
st.set_page_config
: enable sidebar/layout configs to be None by @mayagbarnes in #11664- Bugfix(es): 3 top nav adjacent bugs we want to cherrypick into the 1.46.0 release by @sfc-gh-nbellante in #11663
- Fix runtime error with event based watcher by @lukasmasuch in #11692
- Display empty expanders and empty containers with a border. by @sfc-gh-lwilby in #11669
- Fixed timer bug by @sfc-gh-smohile in #11756
- [fix] Resolving some regressions introduced via top nav by @sfc-gh-nbellante in #11732
- Fix the
websocket_ping_interval
to be at leastwebsocket_ping_timeout
by @lukasmasuch in #11693 - [Fix] Only use
overflow: auto
when a fixed height is provided forst.form
by @sfc-gh-lwilby in #11764 - Fix inline code rendering when unsafe_allow_html=True by @bajajku in #11817
- [fix] Fix top padding when printing by @sfc-gh-nbellante in #11798
- [fix] Refactor Header component to remove
isTransparentBackground
prop and adjust background logic by @sfc-gh-nbellante in #11787 - [Fix] Altair/Vega/built-in charts don't stretch to full width in fullscreen mode by @sfc-gh-lwilby in #11807
- [fix] Fixing the sidebar font weight and spacing for sections by @sfc-gh-nbellante in #11814
- Update glide data grid to fix upstream issues by @lukasmasuch in #11677
- Make dataframe error indicator adapt to sizing from theme by @lukasmasuch in #11682
- Fix progress column label measurement by @lukasmasuch in #11685
- Make file watcher more error-resistant by @lukasmasuch in #11841
- Close column visibility menu on toolbar click by @lukasmasuch in #11857
- [fix] st.multiselect placeholder ignores when options are empty by @sfc-gh-nbellante in #11623
- [fix] Actually upgrade Vite to v7 by @sfc-gh-bnisco in #11875
- Fix code text sizing in tooltips by @mayagbarnes in #11877
- Clear the script cache when all file watchers are disconnected by @lukasmasuch in #11876
- [fix] No more sidebar flickering when initial_sidebar_state="collapsed" by @sfc-gh-nbellante in #11861
- [Fix] Flicker on facet altair charts. by @sfc-gh-lwilby in #11833
- Improve file watcher exception handling by @lukasmasuch in #11871
- Fix initial page MPA regression by @lukasmasuch in #11870
- Fix issue with missing fragment after reconnect by @lukasmasuch in #11890
- Use dvh instead of vh to support dynamic changing of height. by @sfc-gh-lwilby in #11896
Other Changes
- Remove stretch height from public api by @sfc-gh-lwilby in #11657
- Makes st.navigation(position='top') use "stTopNavLink" instead of "stSidebarNavLink" for data-testid's by @sfc-gh-nbellante in #11675
- Release/1.46.0 by @lukasmasuch in #11676
- Release/1.46.1 by @lukasmasuch in #11783
- Type annotations for the
.clear()
method on cached functions by @whitphx in #11793 - Make the running man icon match theme colors by @TreavVasu in #11461
- Increase StyledAppViewBlockContainer to 8rem when top nav is present by @sfc-gh-nbellante in #11836
- Add application of
baseFontWeight
by @mayagbarnes in #11878
New Contributors
- @cgivre made their first contribution in #11288
- @bajajku made their first contribution in #11817
- @Darkace01 made their first contribution in #11469
- @TreavVasu made their first contribution in #11461
Full Changelog: 1.46.1...1.47.0