What's Changed
New Features 🎉
- [AdvancedLayouts] Add width to
st.plotly_chartby @sfc-gh-lwilby in #12559 - Feat: Automatically hide row indices in
st.dataframewhen row selection is active by @plumol in #12448 - [AdvancedLayouts] Add width to
st.vega_lite_chartby @sfc-gh-lwilby in #12517 - Add
codeTextColorconfig & updatelinkColorby @mayagbarnes in #12562 - [AdvancedLayouts] Add height to st.vega_lite_chart by @sfc-gh-lwilby in #12577
- [AdvancedLayouts] Add width to st.pydeck_chart by @sfc-gh-lwilby in #12576
- Use
keyas main identity forst.color_pickerby @lukasmasuch in #12569 - Add
typeargument tost.popoverto matchst.buttonby @sfc-gh-tteixeira in #12598 - [AdvancedLayouts] Add width to st.altair_chart by @sfc-gh-lwilby in #12608
- Add
cursorkwarg to st.write_stream by @sfc-gh-tteixeira in #12597 - In
streamlit hello, preload Python modules that are slow to compile in a fresh venv by @sfc-gh-tteixeira in #12617 - Reusable Custom Themes via
theme.baseconfig by @mayagbarnes in #12572 - Make
streamlit runwith no args meanstreamlit run streamlit_app.pyby @sfc-gh-tteixeira in #12599 - Allow st.feedback to have a default initial value (#9469) -> #9658 by @andreasntr in #12578
- [AdvancedLayouts] Add height to st.altair_chart by @sfc-gh-lwilby in #12630
- [AdvancedLayouts] Modernize height parameter for st.pydeck_chart by @sfc-gh-lwilby in #12613
- [AdvancedLayouts] Update width and height on st.map by @sfc-gh-lwilby in #12658
- [AdvancedLayouts] Modernize width/height parameters for st.scatter_chart by @sfc-gh-lwilby in #12659
- [AdvancedLayouts] Modernize width and height for st.area_chart and st.bar_chart by @sfc-gh-lwilby in #12672
- Custom Dark Theme - add light/dark section configurations for
theme&theme.sidebarby @mayagbarnes in #12680 - Use
keyas main identity forst.segmented_controlwidget by @lukasmasuch in #12711 - Use key as main identity for
st.radiowidget by @lukasmasuch in #12705 - Use
keyas main identity forst.audio_inputwidget by @lukasmasuch in #12720 - Add
pinnedparameter toMultiselectColumnby @lukasmasuch in #12714 - Use
keyas main identity forst.sliderandst.select_sliderby @lukasmasuch in #12575 - Custom Dark Theme - support light/dark config inheritance & populate new session msg by @mayagbarnes in #12707
- Use
keyas main identity forst.chat_inputwidget by @lukasmasuch in #12725 - Add support for
autocolor toMutliselectColumnusing chart colors by @lukasmasuch in #12724 - Allow configuring
colorforProgressColumnby @lukasmasuch in #12738 - Use
keyas main identity forst.feedbackandst.pillswidgets by @lukasmasuch in #12717 - [AdvancedLayouts] Add stretch height to st.dataframe by @sfc-gh-lwilby in #12632
- Custom Dark Theme - theme & sidebar theme creation by @mayagbarnes in #12760
- Custom Dark Theme - main & settings menu updates by @mayagbarnes in #12761
- [feat] Add API for
st.spaceby @sfc-gh-lwilby in #12737 - [feat] Add st.components.v2.components namespace and classes by @sfc-gh-bnisco in #12686
Bug Fixes 🐛
- Make slider thumbs not overshoot the track by @sfc-gh-tteixeira in #12549
- Fix vega chart unrecognized dataset error by @lukasmasuch in #11911
- [fix] Add AbortController for async upload operations by @sfc-gh-nbellante in #12539
- Fix PlotlyChart flickering by adding overflow hidden by @sfc-gh-lwilby in #12594
- Pills do not show selected value(s) if disabled #12388 by @davidsjoberg1 in #12555
- Make our Python Altair code thread-safe by @sfc-gh-tteixeira in #12673
- Fix file watcher issue with common path check by @lukasmasuch in #12741
- [fix] showErrorDetails config parsing for deprecation warnings by @sfc-gh-lwilby in #12794
- Make sure error message is explicitly shown for 500 errors by @kmcgrady in #12845
- Makes fuzzy search case insensitive by @kmcgrady in #12849
- [fix] DataFrame content width horizontal alignment by @sfc-gh-lwilby in #12682
- [fix] pyplot/image width regression in fragments, containers by @sfc-gh-lwilby in #12807
Other Changes
- Update vega_lite_chart width parameter default handling for type consistency by @sfc-gh-lwilby in #12595
- [chore] Release v1.50.0 by @github-actions[bot] in #12612
- Settings menu updates by @mayagbarnes in #12648
- [chore] Update emojis/material icons by @github-actions[bot] in #12669
- Clarify dataframe data types when starting with empty columns by @sfc-gh-dmatthews in #12779
- Selection widgets return copies by @sfc-gh-dmatthews in #12778
- Fix grammar/typos in config documentation by @sfc-gh-tteixeira in #12783
- Remove Python 3.9 support by @lukasmasuch in #12773
- Custom Dark Theme - section updates & e2e tests by @mayagbarnes in #12798
New Contributors
- @andreasntr made their first contribution in #12578
- @davidsjoberg1 made their first contribution in #12555
- @ben05allen made their first contribution in #12652
Full Changelog: 1.50.0...1.51.0