What's Changed
Breaking Changes 🛠
- [AdvancedLayouts] Adds a width/height parameters to st.container and st.columns by @sfc-gh-lwilby in #11468
New Features 🎉
- Add column info to dataframe column menu by @lukasmasuch in #11303
- Change button styles by @jrieke in #11964
- Make crossorigin property configurable for media elements by @raethlein in #11948
- New design for
st.expander
andst.status
by @jrieke in #11995 - Option to have non dismissable dialog by @souvikmaji in #9504
- Make slider have standard height by @jrieke in #11986
- [AdvancedLayouts] Adds a width parameter to
st.popover
by @sfc-gh-lwilby in #11799 - Add new spinner design by @jrieke in #12031
- Add support for rerunning app when dialog gets dismissed by @lukasmasuch in #12034
- [AdvancedLayouts] Adds a width parameters to button elements by @sfc-gh-lwilby in #11719
- Make
codeFontWeight
separately configurable in sidebar by @mayagbarnes in #12056 - [AdvancedLayouts] Adds direction, gap, horizontal and vertical alignment to
st.container
by @sfc-gh-lwilby in #11887
Bug Fixes 🐛
- Correctly reset chat input session state value by @lukasmasuch in #11916
- Fix chart colors not applied in sidebar by @lukasmasuch in #11917
- [fix] Make the topPadding also look to see if there's a sidebar so that it stays consistent by @sfc-gh-nbellante in #11913
- [fix] flaky pydeck selection tests. by @sfc-gh-lwilby in #11954
- Make
st.feedback
correctly use hover color by @jrieke in #11981 - Fix pills and segmented control element ID by @lukasmasuch in #11982
- Fix: Show correct widget name in button group error messages by @bajajku in #11769
- Hide quickselect in
date_input
if min date is more than 2 years ago by @lukasmasuch in #11999 - Fix design of disabled states by @jrieke in #11989
- [fix] Sidebar toggle state reset on page resize. by @sfc-gh-lwilby in #12024
- Make
st.help
use bgMix for header color by @jrieke in #12032 - [fix] Add top navigation rendering logic based on page and section count by @sfc-gh-nbellante in #12025
- Make st.logout use end_session_endpoint if provided in OIDC config by @velochy in #11901
- Accept lists for callback args by @sfc-gh-dmatthews in #12039
- Tweak scrollbar handling by @lukasmasuch in #11936
- Update altair dependency constraints in setup.py to exclude problematic versions 5.4.0 and 5.4.1 due to compatibility issues with the narwhals library. by @sfc-gh-nbellante in #12066
- [Fix] Allow fractional heading font sizes by @mayagbarnes in #12077
- [Fix] Configured
codeFontWeight
handles bold code font by @mayagbarnes in #12074 - [fix] Make toolbar still show custom menu items when in MINIMAL mode by @sfc-gh-nbellante in #12091
- [fix] Assign st.line_chart colors by assigned order, not alphabetically by @sfc-gh-nbellante in #12092
- Fix stop signal issue on windows by @lukasmasuch in #12049
Other Changes
- Document file upload
type
as best-effort check by @lukasmasuch in #11884 - Add optional dependencies as extras to streamlit package by @lukasmasuch in #11760
- Release 1.47.0 by @lukasmasuch in #11935
- Fix confusing
no running event loop
logs by @lukasmasuch in #12008 - Release/1.47.1 by @sfc-gh-bnisco in #12033
- Fix vega themes deprecation warning by @lukasmasuch in #12050
- Make crossorigin property configurable for st.balloon, st.snow, and chat avatars by @raethlein in #12087
New Contributors
- @souvikmaji made their first contribution in #9504
- @velochy made their first contribution in #11901
Full Changelog: 1.47.1...1.48.0