New
1.50.0
What's Changed
Breaking Changes ๐
- refactor: deprecate kwargs in st.plotly_chart and add config dict instead by @zyfy29 in https://github.com/streamlit/streamlit/pull/12291
- Use
keyas main identity forst.checkbox&st.toggleby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12372 - Remove
**kwargssupport fromst.writeby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12375 - Use
keyas main identity forst.number_inputby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12437 - Use
keyas main identity forst.text_area&st.text_inputby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12397
New Features ๐
- Add
MultiselectColumnforst.dataframeandst.data_editorby @lukasmasuch in https://github.com/streamlit/streamlit/pull/9223 - Add support for source directly in theming font configs by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12239
- [feat] Add
defaultparam tost.tabsby @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12313 - Add
borderparameter tost.tableby @jrieke in https://github.com/streamlit/streamlit/pull/11796 - [feat] Hover, active, focus-visible states for CopyButton by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12348
- [AdvancedLayouts] Adds a width parameters to
st.line_chart. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11923 - Add main theme color config options by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12288
- Use
keyas main identity for button widgets by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12332 - Add
sortparameter tost.bar_chartby @jrieke in https://github.com/streamlit/streamlit/pull/12339 - Add theme background color config options by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12405
- Add theme text color config options by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12438
- Use
keyas main identity forst.time_input&st.date_inputby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12464 - [feat] Add sample rate parameter to
st.audio_inputcomponent by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12272 - Metric supports numerics like decimal. by @aebrahim in https://github.com/streamlit/streamlit/pull/12377
- Show slider tick labels on hover by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12367
- [AdvancedLayouts] Add height param to
st.graphviz_chartby @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12297 - Use
keyas main identity forst.selectbox&st.multiselectby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12493 - Support configuring the chart column colors by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12292
Bug Fixes ๐
- Fix code usage in markdown labels by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12175
- [fix] Fullscreen behaviour for
st.imagewith use_container_width=True or width="stretch" by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12235 - [fix] DateInput: normalize selected dates to start-of-day to honor max by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12295
- Ensure markdown images keep the aspect ratio by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12343
- Fix issue with typing formatted values into
st.number_inputby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12351 - [fix]
htmlwith float height. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12354 - [fix] Share more code between Selectbox and Multiselect to align behavior by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12330
- Fix logo pushing out collapse button by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12329
- Fix long-words overflowing markdown container by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12370
- Add MIME type for
.mjsby @geoextra in https://github.com/streamlit/streamlit/pull/12399 - Fix Pandas styler performance regression by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12422
- [fix] Allow empty section pages in top navigation similar to how we do it for sidebar nav by @nico-bellante in https://github.com/streamlit/streamlit/pull/12247
- [fix] horizontal alignment of st.image in vertical containers by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12495
- [fix] Setting 0 for height/width on components.html and components.iframe . by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12479
- Fix duckdb integration test by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12537
- Revert number input component refactoring by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12547
Other Changes
- Add default main colors to theme by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12334
- Release/1.49.0 by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12328
- Release/1.49.1 by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12376
- Add default background colors to theme by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12341
- Make git utilities more robust by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12393
- Update cache headers to include
max-ageandimmutableby @sfc-gh-gwatters in https://github.com/streamlit/streamlit/pull/12420 - Add default text colors to theme by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12407
- [chore] Adding latest material icons by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12473
- [chore] Updating material icons by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12535
New Contributors
- @zyfy29 made their first contribution in https://github.com/streamlit/streamlit/pull/12291
- @geoextra made their first contribution in https://github.com/streamlit/streamlit/pull/12399
- @sfc-gh-gwatters made their first contribution in https://github.com/streamlit/streamlit/pull/12420
- @nico-bellante made their first contribution in https://github.com/streamlit/streamlit/pull/12247
- @aebrahim made their first contribution in https://github.com/streamlit/streamlit/pull/12377
Full Changelog: https://github.com/streamlit/streamlit/compare/1.49.1...1.50.0