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