Recent Releases of streamlit
streamlit - 1.49.0
What's Changed
Breaking Changes 🛠
- Clean up experimental dialog, fragment and widget replay by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12167
- Deprecate
st.bokeh_chartin favour ofstreamlit-bokehcomponent by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12168 - Allow editing of
ListColumnviast.data_editorby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12261 ### New Features 🎉 - [feat] Add configurable websocket ping interval to fix proxy connection drops by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12117
- Add directory support for st.file_uploader by @sfc-gh-smohile in https://github.com/streamlit/streamlit/pull/11905
- Add support for sparkline charts to
st.metricby @lukasmasuch in https://github.com/streamlit/streamlit/pull/9675 - [feat] Simplify all copy to clipboard handling by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12141
- Allow setting
durationforst.toastby @lukasmasuch in https://github.com/streamlit/streamlit/pull/11872 - [AdvancedLayouts] Updates dataframe and data editor to the new style for width and height. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11930
- Add an option for a wider
st.dialogby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12040 - Add single- and multi-cell selections to
st.dataframeby @lukasmasuch in https://github.com/streamlit/streamlit/pull/11393 - Show check icon on column name copy by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12172
- Added st.pdf by @sfc-gh-smohile in https://github.com/streamlit/streamlit/pull/11532
- Add single- and multi-cell selection options to
st.dataframeby @Dev-iL in https://github.com/streamlit/streamlit/pull/8952 - Add
keytost.form_submit_buttonby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12190 - Add toolbar action to show underlying vega chart data by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10311
- [AdvancedLayouts] Updates to st.image width/height and adding width/height to st.pyplot. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11952
- Add
yellowto text/background/badge/divider color options by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12201 - Add explicit support for Pydantic models in cache_data/resource by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/12137
- Add directory upload support to st.chat_input by @sfc-gh-smohile in https://github.com/streamlit/streamlit/pull/12105
- Update slider value on mouse release by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11879
- Add
format_funcsupport toSelectboxColumnby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12232 - [AdvancedLayouts] Adds a width parameters to graphviz charts. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12212
- Allow select all/ deselect all when hiding dataframe columns from UI by @plumol in https://github.com/streamlit/streamlit/pull/12164 ### Bug Fixes 🐛
- [fix] Skeleton width should be full screen. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12100
- [fix] st.chat_input collapses after submit by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12132
- [fix] iframe and html change in default width when no width specified. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12148
- [Fix]
st.toasthandles custom theming by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12160 - [fix] Do not allow removing already uploaded files when disabled by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12180
- Ensure narrow currency symbol is used for formatting by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11895
- Revert "Make st.logout use endsessionendpoint if provided in OIDC config (#11901)" by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12179
- [fix] Allow dismissing connection error dialog (and not having it continue to pop up) by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12178
- [fix] Cache layout_config data and use during replay by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12183
- Update
st.page_linkradii config by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12181 - Single mark charts use first of
chartCategoricalColorsby @mayagbarnes in https://github.com/streamlit/streamlit/pull/12162 - [fix] File Upload Drop Target truncates subtext by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12192
- Update credentials.py: try to fix showEmailPrompt in case where there is no email by @wyattscarpenter in https://github.com/streamlit/streamlit/pull/12202
- [fix] Selectbox with acceptnewoptions on mobile shows keyboard by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12219
- [fix] PlotlyChart with null value selection works properly by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12222
- Fix: prevents underlying column menu from opening when column visibility menu is open for
st.dataframeby @plumol in https://github.com/streamlit/streamlit/pull/12233 - Apply radii from theme to
CheckboxColumnby @lukasmasuch in https://github.com/streamlit/streamlit/pull/12263 - [fix] Log deprecation warning for usecontainerwidth in
st.dataframeby @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12277 ### Other Changes - Release/1.48.0 by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12126
- Theming: Remove colored decoration line by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12155
- [Fix]
st.time_inputhover for dropdown by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12157 - Release/1.48.1 by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12185
- Make crossorigin property configurable for st.logo by @raethlein in https://github.com/streamlit/streamlit/pull/12226
- Update material symbols by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12264
New Contributors
- @plumol made their first contribution in https://github.com/streamlit/streamlit/pull/12233
Full Changelog: https://github.com/streamlit/streamlit/compare/1.48.1...1.49.0
- Python
Published by github-actions[bot] 10 months ago
streamlit - 1.48.0
What's Changed
Breaking Changes 🛠
- [AdvancedLayouts] Adds a width/height parameters to st.container and st.columns by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11468 ### New Features 🎉
- Add column info to dataframe column menu by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11303
- Change button styles by @jrieke in https://github.com/streamlit/streamlit/pull/11964
- Make crossorigin property configurable for media elements by @raethlein in https://github.com/streamlit/streamlit/pull/11948
- New design for
st.expanderandst.statusby @jrieke in https://github.com/streamlit/streamlit/pull/11995 - Option to have non dismissable dialog by @souvikmaji in https://github.com/streamlit/streamlit/pull/9504
- Make slider have standard height by @jrieke in https://github.com/streamlit/streamlit/pull/11986
- [AdvancedLayouts] Adds a width parameter to
st.popoverby @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11799 - Add new spinner design by @jrieke in https://github.com/streamlit/streamlit/pull/12031
- Add support for rerunning app when dialog gets dismissed by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12034
- [AdvancedLayouts] Adds a width parameters to button elements by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11719
- Make
codeFontWeightseparately configurable in sidebar by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12056 - [AdvancedLayouts] Adds direction, gap, horizontal and vertical alignment to
st.containerby @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11887 ### Bug Fixes 🐛 - Correctly reset chat input session state value by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11916
- Fix chart colors not applied in sidebar by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11917
- [fix] Make the topPadding also look to see if there's a sidebar so that it stays consistent by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11913
- [fix] flaky pydeck selection tests. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11954
- Make
st.feedbackcorrectly use hover color by @jrieke in https://github.com/streamlit/streamlit/pull/11981 - Fix pills and segmented control element ID by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11982
- Fix: Show correct widget name in button group error messages by @bajajku in https://github.com/streamlit/streamlit/pull/11769
- Hide quickselect in
date_inputif min date is more than 2 years ago by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11999 - Fix design of disabled states by @jrieke in https://github.com/streamlit/streamlit/pull/11989
- [fix] Sidebar toggle state reset on page resize. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/12024
- Make
st.helpuse bgMix for header color by @jrieke in https://github.com/streamlit/streamlit/pull/12032 - [fix] Add top navigation rendering logic based on page and section count by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12025
- Make st.logout use endsessionendpoint if provided in OIDC config by @velochy in https://github.com/streamlit/streamlit/pull/11901
- Accept lists for callback args by @sfc-gh-dmatthews in https://github.com/streamlit/streamlit/pull/12039
- Tweak scrollbar handling by @lukasmasuch in https://github.com/streamlit/streamlit/pull/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 https://github.com/streamlit/streamlit/pull/12066
- [Fix] Allow fractional heading font sizes by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12077
- [Fix] Configured
codeFontWeighthandles bold code font by @mayagbarnes in https://github.com/streamlit/streamlit/pull/12074 - [fix] Make toolbar still show custom menu items when in MINIMAL mode by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12091
- [fix] Assign st.line_chart colors by assigned order, not alphabetically by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/12092
- Fix stop signal issue on windows by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12049 ### Other Changes
- Document file upload
typeas best-effort check by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11884 - Add optional dependencies as extras to streamlit package by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11760
- Release 1.47.0 by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11935
- Fix confusing
no running event looplogs by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12008 - Release/1.47.1 by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/12033
- Fix vega themes deprecation warning by @lukasmasuch in https://github.com/streamlit/streamlit/pull/12050
- Make crossorigin property configurable for st.balloon, st.snow, and chat avatars by @raethlein in https://github.com/streamlit/streamlit/pull/12087
New Contributors
- @souvikmaji made their first contribution in https://github.com/streamlit/streamlit/pull/9504
- @velochy made their first contribution in https://github.com/streamlit/streamlit/pull/11901
Full Changelog: https://github.com/streamlit/streamlit/compare/1.47.1...1.48.0
- Python
Published by github-actions[bot] 10 months ago
streamlit - 1.47.0
What's Changed
Breaking Changes 🛠
- [AdvancedLayouts] Stretch height and fixed height in vertical layouts. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11649 ### New Features 🎉
- [AdvancedLayouts] Adds a width parameter to st.html by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11505
- Add config option to disable email prompt by @wyattscarpenter in https://github.com/streamlit/streamlit/pull/11395
- Add
codeFontSizetheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11508 - Add
linkUnderlinetheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11560 - Fix UX inconsistencies between audio and camera input by @jrieke in https://github.com/streamlit/streamlit/pull/11699
- Add background color to
st.metricdelta by @jrieke in https://github.com/streamlit/streamlit/pull/11678 - [AdvancedLayouts] Adds a width parameter to st.feedback, st.pills, st.segmented_control by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11687
- Add
baseFontWeighttheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11696 - Add
dataframeHeaderBackgroundColortheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11727 - Add
codeFontWeighttheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11735 - [AdvancedLayouts] Adds
width="content"option tost.code. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11745 - [AdvancedLayouts] Adds a height parameter to
st.metric. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11744 - [AdvancedLayouts] Adds a width parameters to multiselect elements. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11730
- Hide about dialog if not explicitly set by @jrieke in https://github.com/streamlit/streamlit/pull/10091
- Add support for pandas styler font-weight in
st.dataframeby @lukasmasuch in https://github.com/streamlit/streamlit/pull/11705 - Apply font weight to dataframe by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11747
- Add Markdown support to
st.dialogtitle by @jrieke in https://github.com/streamlit/streamlit/pull/11763 - Add support for setting a display icon in
LinkColumnby @lukasmasuch in https://github.com/streamlit/streamlit/pull/11690 - Add
bytesformatting option to number and progress column by @cgivre in https://github.com/streamlit/streamlit/pull/11288 - Add
chartCategoricalColorstheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11734 - Add quick select to date input by @jrieke in https://github.com/streamlit/streamlit/pull/10166
- Add showtime parameter to st.cachedata parameter to caching functions and tests by @Darkace01 in https://github.com/streamlit/streamlit/pull/11469
- Add support for setting the column config width to pixels by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11838
- Use
stepto influence column config number formatting by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11835 - Add
headingFontWeightstheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11777 - [AdvancedLayouts] Adds a height parameters to st.text_area by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11478
- Hide "Deploy" button when file change message is showing by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11834
- Make multipage section headers collapsible by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11863
- Add
headingFontSizestheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11864 - Add
chartSequentialColorstheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11804 - Add support to set the value of
st.chat_inputvia session state by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10175 ### Bug Fixes 🐛 st.set_page_config: enable sidebar/layout configs to be None by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11664- Bugfix(es): 3 top nav adjacent bugs we want to cherrypick into the 1.46.0 release by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11663
- Fix runtime error with event based watcher by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11692
- Display empty expanders and empty containers with a border. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11669
- Fixed timer bug by @sfc-gh-smohile in https://github.com/streamlit/streamlit/pull/11756
- [fix] Resolving some regressions introduced via top nav by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11732
- Fix the
websocket_ping_intervalto be at leastwebsocket_ping_timeoutby @lukasmasuch in https://github.com/streamlit/streamlit/pull/11693 - [Fix] Only use
overflow: autowhen a fixed height is provided forst.formby @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11764 - Fix inline code rendering when unsafeallowhtml=True by @bajajku in https://github.com/streamlit/streamlit/pull/11817
- [fix] Fix top padding when printing by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11798
- [fix] Refactor Header component to remove
isTransparentBackgroundprop and adjust background logic by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11787 - [Fix] Altair/Vega/built-in charts don't stretch to full width in fullscreen mode by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11807
- [fix] Fixing the sidebar font weight and spacing for sections by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11814
- Update glide data grid to fix upstream issues by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11677
- Make dataframe error indicator adapt to sizing from theme by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11682
- Fix progress column label measurement by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11685
- Make file watcher more error-resistant by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11841
- Close column visibility menu on toolbar click by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11857
- [fix] st.multiselect placeholder ignores when options are empty by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11623
- [fix] Actually upgrade Vite to v7 by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11875
- Fix code text sizing in tooltips by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11877
- Clear the script cache when all file watchers are disconnected by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11876
- [fix] No more sidebar flickering when initialsidebarstate="collapsed" by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11861
- [Fix] Flicker on facet altair charts. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11833
- Improve file watcher exception handling by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11871
- Fix initial page MPA regression by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11870
- Fix issue with missing fragment after reconnect by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11890
- Use dvh instead of vh to support dynamic changing of height. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11896 ### Other Changes
- Remove stretch height from public api by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11657
- Makes st.navigation(position='top') use "stTopNavLink" instead of "stSidebarNavLink" for data-testid's by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11675
- Release/1.46.0 by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11676
- Release/1.46.1 by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11783
- Type annotations for the
.clear()method on cached functions by @whitphx in https://github.com/streamlit/streamlit/pull/11793 - Make the running man icon match theme colors by @TreavVasu in https://github.com/streamlit/streamlit/pull/11461
- Increase StyledAppViewBlockContainer to 8rem when top nav is present by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11836
- Add application of
baseFontWeightby @mayagbarnes in https://github.com/streamlit/streamlit/pull/11878
New Contributors
- @cgivre made their first contribution in https://github.com/streamlit/streamlit/pull/11288
- @bajajku made their first contribution in https://github.com/streamlit/streamlit/pull/11817
- @Darkace01 made their first contribution in https://github.com/streamlit/streamlit/pull/11469
- @TreavVasu made their first contribution in https://github.com/streamlit/streamlit/pull/11461
Full Changelog: https://github.com/streamlit/streamlit/compare/1.46.1...1.47.0
- Python
Published by github-actions[bot] 11 months ago
streamlit - 1.46.0
What's Changed
New Features 🎉
- Add stack trace info to missing label warning by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11187
- added server.FolderWatchList to cli + LocalSourcesWatcher by @akramsystems in https://github.com/streamlit/streamlit/pull/9656
- [AdvancedLayouts] Adds a width parameter to st.code by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11176
- [AdvancedLayouts] Adds a width parameter to st.json by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11177
- [AdvancedLayouts] Adds a width parameter to st.help by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11181
- [AdvancedLayouts] Adds a width parameter to st.progress by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11182
- [AdvancedLayouts] Adds a width parameter to st.audio_input by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11243
- [AdvancedLayouts] Adds a width parameter to st.slider, st.select_slider by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11233
- [AdvancedLayouts] Adds a width parameter to st.camerainput and st.fileuploader by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11246
- [AdvancedLayouts] Adds a width parameter to st.textinput and st.textarea by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11255
- [AdvancedLayouts] Adds a width parameter to st.number_input and st.selectbox by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11257
- [AdvancedLayouts] Adds a width parameter to st.dateinput and st.timeinput by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11260
- Allow nesting expander, columns, popover and chat_message by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11272
- Fix #10475: Warn when modifying elements inside fragment callback by @Zane-dev16 in https://github.com/streamlit/streamlit/pull/10942
- Make Carto the default map provider (like in PyDeck) by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/11231
- Remove
set_page_configrestrictions by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11286 - [AdvancedLayouts] Adds a width parameter to st.chatinput and st.chatmessage by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11298
- [AdvancedLayouts] Adds st.column(gap="none") by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11321
- [AdvancedLayouts] Adds a width parameter to st.video and st.audio by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11263
- Add a new config option to configure a CORS allowlist by @vdonato in https://github.com/streamlit/streamlit/pull/11377
- [AdvancedLayouts] Extend height param on code to support new options. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11355
- Fix: StreamlitDuplicateElementId when same widget is both in the main and sidebar area by @joaooliveira-11 in https://github.com/streamlit/streamlit/pull/10881
- [AdvancedLayouts] Adds a width parameter to st.latex and st.divider by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11320
- Serve manifest.json from static asset handler by @vdonato in https://github.com/streamlit/streamlit/pull/11462
- Always show dataframe row selection checkboxes by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11411
- [AdvancedLayouts] Adds a width parameter to st.tabs and st.expander by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11445
- [AdvancedLayouts] Adds a width parameter to st.status by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11466
- [AdvancedLayouts] Adds a width and height parameters to st.form by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11447
- Add
buttonRadiustheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11464 - Rename backend base url window variables to use __streamlit object by @vdonato in https://github.com/streamlit/streamlit/pull/11481
- Small improvements to Streamlit Hello by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/11442
- [AdvancedLayouts] Change to use None instead of "none" for column gap size. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11482
- Add
dataframeBorderColortheming config option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11475 - Add support for config & secret files on main-script level by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10173
- [AdvancedLayouts] Adds a width parameter to st.text by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11167
- [AdvancedLayouts] Adds a width parameter to st.metric by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11159
- [AdvancedLayouts] Adds a width parameter to st.color_picker by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11516
- [AdvancedLayouts] Adds a width parameter to st.title, st.subheader, and st.header by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11490
- [AdvancedLayouts] Adds a width parameter to st.toggle and st.checkbox by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11496
- Add Button for Copying Exception Messages by @snakeM in https://github.com/streamlit/streamlit/pull/11250
- [AdvancedLayouts] Adds a width parameter to st.radio by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11540
- [AdvancedLayouts] Adds a width parameter to st.spinner by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11547
- Fully support
weightandunicode-rangein@font-facedeclaration by @sfc-gh-dmatthews in https://github.com/streamlit/streamlit/pull/11248 - [feat] Add Japanese yen as a
NumberColumn&ProgressColumnformatoption by @alexmalins in https://github.com/streamlit/streamlit/pull/11588 - [AdvancedLayouts] Adds a width parameter to st.caption, st.markdown and st.badge by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11491
- st.navigation(position='top') by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11349 ### Bug Fixes 🐛
- Fix data editor when adding and deleting rows by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11183
- Fix content alignment for dataframe columns by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11152
- Ensure script lifecycle occurs for MPAv1 use case by @kmcgrady in https://github.com/streamlit/streamlit/pull/11258
- Ensure filename extension check is normalized by @kmcgrady in https://github.com/streamlit/streamlit/pull/11261
- Allow the ability to add case sensitive options to select and multiselect by @kmcgrady in https://github.com/streamlit/streamlit/pull/11307
- Handle visual glitch for duplicated options by @kmcgrady in https://github.com/streamlit/streamlit/pull/11306
- Provide more predictable fuzzy matching by @kmcgrady in https://github.com/streamlit/streamlit/pull/11309
- Scroll long latex formulas horizontally by @jrieke in https://github.com/streamlit/streamlit/pull/10071
- Add safeguard for cached messages cleanup by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11302
- [Fix]: Update
st.column_config"localized" option by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11297 - [Fix]
st.dataframe: clear row selections on dropdown sort by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11363 - Exclude tornado 6.5.0 version by @kajarenc in https://github.com/streamlit/streamlit/pull/11440
- [Fix] Add rows preserves styling properties by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11414
- Fix crash when editing df index with data editor by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11448
- Tweak markdown styling for task lists & blockquotes by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11237
- Tighten up sidebar width (and therefore padding, scrollbars, popover widgets) by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/11412
- [FIX] - Negative Values not displayed in ChartColumn in #10411 by @tiagorb1 in https://github.com/streamlit/streamlit/pull/11048
- fix #9339: Altair chart left side cut off on initial load if legend by @goncalossmartins in https://github.com/streamlit/streamlit/pull/10939
- Allow usage of 3000 as app port by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11525
- Fixed issue gh-11327: Plotly chart reset axes not working after reset by @sfc-gh-smohile in https://github.com/streamlit/streamlit/pull/11498
- Fix number column rounding issue by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11520
- Update vega interpreter dependency to fix datetime issue by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11514
- Use private token in
st.mapby @lukasmasuch in https://github.com/streamlit/streamlit/pull/11511 - Fix watcher metaclass conflict with torch.classes by @HomenShum in https://github.com/streamlit/streamlit/pull/10388
- Add context info to switch page rerun by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11521
- [Fix] Enum formatting not working with styled dataframes by @BigBird404 in https://github.com/streamlit/streamlit/pull/11049
- Fix with date range selected in st.date_input, hovered dates should change color by @Bernardo1008 in https://github.com/streamlit/streamlit/pull/11223
- [fix] Preserve leading whitespaces in markdown codeblock by @XuehaiPan in https://github.com/streamlit/streamlit/pull/10065
- Fixed bug 11330 st.context.timezone becomes empty by @sfc-gh-smohile in https://github.com/streamlit/streamlit/pull/11506
- [fix] Scroll element into view race condition fix by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11552
- Upgrade Source (Sans|Serif|Code) font versions by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11534
- [Fix]
st.number_inputstyling by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11576 - [Fix] Render
st.toastmessages above dialogs by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11578 - [fix] st.altair_chart rendering with long titles by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11585
- [fix] Upgrade markdown dependencies by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11553
- [Fix]
st.multiselectstyling by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11577 - Fixed bug 11575: Sorting while filtering by @sfc-gh-smohile in https://github.com/streamlit/streamlit/pull/11587
- [Fix] Reconcile text area & text input placeholder colors by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11630
- [Fix] Reconcile date & time input placeholder colors by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11631
- [Fix] Reconcile chat & number input placeholder colors by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11632
- Add support for font faces from window preamble by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11628
- Fix support for brackets in multi-index column names by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11617
- Support pandas styler coloring for list and link column by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11612
- Fix material icons not rendered with unsafe html by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11633
- Update Source (Sans|Serif|Code) font versions to variable by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11600
- fix #10824 : allow text wrapping when there is no whitespace by @matilde2004 in https://github.com/streamlit/streamlit/pull/10969
- Make
st.page_linkinherit icon fromst.Pageby @abokey1 in https://github.com/streamlit/streamlit/pull/10694 - [Fix] Use default width "stretch" for
st.captionandst.markdownto avoid some styling issues by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11644 - Only store media data if in cached function by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11635
- Fix the height of horizontal scrollbars in safari by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11625 ### Other Changes
- Update warnings to mention st.user instead of experimental_user by @kajarenc in https://github.com/streamlit/streamlit/pull/11198
- Release 1.45.0 by @kmcgrady in https://github.com/streamlit/streamlit/pull/11228
- Add logging if cookie content is too large by @kajarenc in https://github.com/streamlit/streamlit/pull/11290
- Release/1.45.1 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11332
- Nicer handling of connection errors by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/11366
- Improved new-lines handling for markdown text with background color by @lukasmasuch in https://github.com/streamlit/streamlit/pull/11530
- Update
index.htmlpreload to variable font by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11646
New Contributors
- @akramsystems made their first contribution in https://github.com/streamlit/streamlit/pull/9656
- @jokester made their first contribution in https://github.com/streamlit/streamlit/pull/11169
- @Zane-dev16 made their first contribution in https://github.com/streamlit/streamlit/pull/10942
- @Nujra40 made their first contribution in https://github.com/streamlit/streamlit/pull/10488
- @joaooliveira-11 made their first contribution in https://github.com/streamlit/streamlit/pull/10881
- @tiagorb1 made their first contribution in https://github.com/streamlit/streamlit/pull/11048
- @goncalossmartins made their first contribution in https://github.com/streamlit/streamlit/pull/10939
- @sfc-gh-smohile made their first contribution in https://github.com/streamlit/streamlit/pull/11498
- @HomenShum made their first contribution in https://github.com/streamlit/streamlit/pull/10388
- @BigBird404 made their first contribution in https://github.com/streamlit/streamlit/pull/11049
- @Bernardo1008 made their first contribution in https://github.com/streamlit/streamlit/pull/11223
- @snakeM made their first contribution in https://github.com/streamlit/streamlit/pull/11250
- @XuehaiPan made their first contribution in https://github.com/streamlit/streamlit/pull/10065
- @alexmalins made their first contribution in https://github.com/streamlit/streamlit/pull/11588
- @matilde2004 made their first contribution in https://github.com/streamlit/streamlit/pull/10969
- @abokey1 made their first contribution in https://github.com/streamlit/streamlit/pull/10694
Full Changelog: https://github.com/streamlit/streamlit/compare/1.45.1...1.46.0
- Python
Published by github-actions[bot] 12 months ago
streamlit - 1.45.0
What's Changed
Breaking Changes 🛠
- [fix] Slugify Markdown anchors by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10925 ### New Features 🎉
- Add url to st.context by @kajarenc in https://github.com/streamlit/streamlit/pull/10665
- Add
icontost.text_inputby @mayagbarnes in https://github.com/streamlit/streamlit/pull/10761 - Add
icontost.number_inputby @mayagbarnes in https://github.com/streamlit/streamlit/pull/10711 - [theming] Unify
st.helpborder colors by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10916 - Allow adding new options to selectbox / multiselect dynamically by @raethlein in https://github.com/streamlit/streamlit/pull/10788
- [theming] Use dark mix for hovered color instead of
theme.colors.secondaryBgby @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10930 - [theming] Fine tune element spacing for
baseRadiusconfig by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10915 - Don't disable element when empty options but acceptnewoptions is true by @raethlein in https://github.com/streamlit/streamlit/pull/10958
- Optimize
st.writeusage with single string arg by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10985 - Add
ip_addresstost.contextby @kajarenc in https://github.com/streamlit/streamlit/pull/10651 - Add
is_embeddedto st.context by @kajarenc in https://github.com/streamlit/streamlit/pull/11055 - [feat] Add tab_index to iframe and custom component by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11065
- [AdvancedLayouts] New width parameter is added to alerts and exception. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/11142 ### Bug Fixes 🐛
- Fix
tabsandlink_buttonfrom getting disabled on disconnect by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10861 - [Fix] Being unable to determine the form a current element is in by @SrGesus in https://github.com/streamlit/streamlit/pull/10752
- Remove rainbow from badge color literal by @jrieke in https://github.com/streamlit/streamlit/pull/10896
- Preserve selectbox frontend state when clicking away and don't rerun until selecting option by @raethlein in https://github.com/streamlit/streamlit/pull/10891
- Fix
showErrorDetailsshowing wrong value instreamlit config showby @lukasmasuch in https://github.com/streamlit/streamlit/pull/10921 - [RFC] fix chat input height for multi-line placeholder by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10931
- [theming] use
borderColorintheme.sidebarfor sidebar border by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10944 - Only show links to google/ChatGPT if the site is localhost by @kmcgrady in https://github.com/streamlit/streamlit/pull/10971
- Add marker that icon is an emoji for set page config by @kmcgrady in https://github.com/streamlit/streamlit/pull/10912
- [Fix] Disable sidebar page nav links when app not connected by @mayagbarnes in https://github.com/streamlit/streamlit/pull/10946
- [fix] st.html resize handling by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10976
- Exclude dot files and init.py from pages by @kmcgrady in https://github.com/streamlit/streamlit/pull/11009
- [Fix]: Button hover color overwrites colored text by @mayagbarnes in https://github.com/streamlit/streamlit/pull/10996
- [theming] Fix radio button visual for different
baseFontSizeby @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10990 - Allow auto-reload of config on exceptions by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10857
- [fix] st.fragment interaction with st.{balloons,snow} by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11015
- [Fix] FE validation for
st.date_inputby @mayagbarnes in https://github.com/streamlit/streamlit/pull/10764 - [fix] Better support for SVGs with only viewBox defined by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11038
- [Fix] Refactor
st.htmlfor style tags by @mayagbarnes in https://github.com/streamlit/streamlit/pull/10979 - [fix] Sidebar sizing issue under certain conditions by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10733
- Fix encoding by @ashm-dev in https://github.com/streamlit/streamlit/pull/11090
- BugFix 11097: Update FontFaceDeclaration to support customizable font styles by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11098
- Fix: Handle Multi-Part Extensions Like .tar.gz in File Upload Validation by @moutayam in https://github.com/streamlit/streamlit/pull/11043
- BugFix 11062: Sidebar resizing by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11063
- Preserve context_info fields on rerun triggered by
st.rerunby @kajarenc in https://github.com/streamlit/streamlit/pull/11113 - BugFix 11064: st.dataframe({}) shouldn't show errors by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/11100
- Support emoji favicons through navigation by @kmcgrady in https://github.com/streamlit/streamlit/pull/11154 ### Other Changes
- Update placeholder style and in-edit input margin for Selectbox and Multiselect by @raethlein in https://github.com/streamlit/streamlit/pull/10865
- Release/1.44.0 by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10908
- Keep SessionInfo active after initialization, but include connection information by @kmcgrady in https://github.com/streamlit/streamlit/pull/9886
- Release/1.44.1 by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10977
- [theming] use markdown text colors for primitives by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/11033
- [theming] replace danger and success colors in non-notif components by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/11034
- [docs] correct toast position by @fstermann in https://github.com/streamlit/streamlit/pull/11056
- Remove st.experimentalaudioinput by @kajarenc in https://github.com/streamlit/streamlit/pull/11105
- Deexperimentalization of st.user by @kajarenc in https://github.com/streamlit/streamlit/pull/11095
- [Fix]
st.audio_inputactions styling by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11118 - [Fix]
st.camera_inputdisabled button styling by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11116 - [chore] Update caniuse-lite by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11134
- [chore] Add
@typescript-eslint/no-explicit-anylint rule by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/11133 - [Fix] Element toolbar papercuts by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11135
- [Fix] Element toolbar update - v2 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/11155
- Clarify file creation instruction in Quickstart section of README.md by @Ahmednoorani258 in https://github.com/streamlit/streamlit/pull/11089
- Remove anchor along with query params from the url by @kajarenc in https://github.com/streamlit/streamlit/pull/11171
New Contributors
- @SrGesus made their first contribution in https://github.com/streamlit/streamlit/pull/10752
- @Morridin made their first contribution in https://github.com/streamlit/streamlit/pull/10868
- @co63oc made their first contribution in https://github.com/streamlit/streamlit/pull/10552
- @fstermann made their first contribution in https://github.com/streamlit/streamlit/pull/11056
- @moutayam made their first contribution in https://github.com/streamlit/streamlit/pull/11043
- @Ahmednoorani258 made their first contribution in https://github.com/streamlit/streamlit/pull/11089
Full Changelog: https://github.com/streamlit/streamlit/compare/1.44.1...1.45.0
- Python
Published by github-actions[bot] about 1 year ago
streamlit - 1.44.0
What's Changed
Breaking Changes 🛠
- Allow user to choose whether to print error finding secrets by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/10508 ### New Features 🎉
- Revamp the dataframe search bar to be more responsive by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10534
- Update emoji support and dependencies by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10539
- support file size limit error for chat input by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10530
- add theming config
showSidebarSeparatorby @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10566 - Add support for Pandas styler tooltips to
st.tableby @lukasmasuch in https://github.com/streamlit/streamlit/pull/10561 - Enable better exception logging if
richis installed by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10650 - [feat] Utilize React 18 createRoot API by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10453
- Add links for Google and ChatGPT to exceptions by @jrieke in https://github.com/streamlit/streamlit/pull/10078
- add custom theming
headingFontoption by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10626 - Add
st.badgeand Markdown badges by @jrieke in https://github.com/streamlit/streamlit/pull/10090 - Add
streamlit initcommand by @jrieke in https://github.com/streamlit/streamlit/pull/10077 - support
theme.sidebarcustom theme by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10772 - unhide new custom theme options by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10830
- Add
theme.codeBackgroundColortheming config option by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10859 ### Bug Fixes 🐛 - Default to MPAv2 with changes and adjust tests we accept as graceful degradation by @kmcgrady in https://github.com/streamlit/streamlit/pull/10276
- [Fix] Disable scroll within
st.number_inputby @mayagbarnes in https://github.com/streamlit/streamlit/pull/10642 - [Fix]: Button commands breakage with
helpby @mayagbarnes in https://github.com/streamlit/streamlit/pull/10658 - Fix support for dask data objects by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10662
- Fix
fonttheme config not being passed to custom components by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10661 - [fix] Fix custom component flickering by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10663
- [fix] withCalculatedWidth fallback by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10672
- Use Immutable Types in st.navigation to prevent mypy errors by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/10670
- Add more correct out of bounds checks for minvalue and maxvalue for st.numberinput and st.slider, related to st.sessionstate by @jiangpli in https://github.com/streamlit/streamlit/pull/9964
- [Fix] Add default max/min for integer
st.number_inputby @mayagbarnes in https://github.com/streamlit/streamlit/pull/10655 - [fix] Fix width flickering in some components by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10712
- Popover with help and usecontainerwidth is rendered correctly by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/10709
- [Fix]:
st.page_link- current vs. non-current page visuals & width by @mayagbarnes in https://github.com/streamlit/streamlit/pull/10690 - [Fix]: inconsistent error messages for st.secrets attribute assignment by @mdrazak2001 in https://github.com/streamlit/streamlit/pull/10698
- Fix usage of "sans serife" as font by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10789
- [fix] HTML in tabs content render fixes by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10825
- Fix boolean theme configs getting skipped by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10835
- Fix
createThemeoverriding active theme's baseweb props by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10855 ### Other Changes - Simplify heading font sizes by @jrieke in https://github.com/streamlit/streamlit/pull/10599
- Add locale to the st.context by @kajarenc in https://github.com/streamlit/streamlit/pull/10563
- Release/1.43.0 by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/10639
- Update material icons to latest version by @kajarenc in https://github.com/streamlit/streamlit/pull/10717
- Release/1.43.1 by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/10687
- Release/1.43.2 by @kajarenc in https://github.com/streamlit/streamlit/pull/10723
- Update material symbols font to latest by @kajarenc in https://github.com/streamlit/streamlit/pull/10813
- Log script compilation error via error log level by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10826
- rename theming options
showWidgetBorderandshowSidebarBorderby @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10858
New Contributors
- @Sn1r made their first contribution in https://github.com/streamlit/streamlit/pull/10509
- @jiangpli made their first contribution in https://github.com/streamlit/streamlit/pull/9964
- @mdrazak2001 made their first contribution in https://github.com/streamlit/streamlit/pull/10698
Full Changelog: https://github.com/streamlit/streamlit/compare/1.43.2...1.44.0
- Python
Published by github-actions[bot] about 1 year ago
streamlit - 1.43.0
What's Changed
New Features 🎉
st.chat_inputwith file uploader by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9491- Add
theme.roundnesstheming option by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10246 - Add
theme.borderColorandtheme.showBorderAroundInputsconfig options by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10259 - Add
theme.linkColortheming config option by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10271 - Add theming options to configure custom fonts by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10345
- Add
theme.baseFontSizetheming config option by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10375 - Allow configuring the row height for
st.dataframeandst.data_editorby @lukasmasuch in https://github.com/streamlit/streamlit/pull/9549 - Always scroll to bottom when adding new rows in data editor by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10405
- Add .xml to the list of allowed static file extensions by @kajarenc in https://github.com/streamlit/streamlit/pull/10337
- Add pre-defined formats to
st.column_configby @lukasmasuch in https://github.com/streamlit/streamlit/pull/10179 - Allow static serving for common font files by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10335
- add transparent file upload drop target to chat input by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10395
- Update Bokeh error message to redirect to streamlit-bokeh custom component by @kmcgrady in https://github.com/streamlit/streamlit/pull/10374
- Extend st.navigation functionality to support various page input types by @ashm-dev in https://github.com/streamlit/streamlit/pull/10358
- Add json column for
st.dataframeby @lukasmasuch in https://github.com/streamlit/streamlit/pull/10172 - Add autosize option to dataframe column menu by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10476
- Download button: Allow to not trigger rerun by @kajarenc in https://github.com/streamlit/streamlit/pull/10296
- Change dataframe column format from UI by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10420
- Allow small text in Markdown by @jrieke in https://github.com/streamlit/streamlit/pull/10487
- Allow hiding dataframe columns from UI by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10264
- Set
use_container_width=Trueby default forst.dataframeandst.data_editorby @lukasmasuch in https://github.com/streamlit/streamlit/pull/10434 - Support polars dataframe/series hashing by @kajarenc in https://github.com/streamlit/streamlit/pull/10408
- Add timezone and timezone_offset to the st.context by @kajarenc in https://github.com/streamlit/streamlit/pull/10336 ### Bug Fixes 🐛
- Use compact file uploader based on element width by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10272
- Fix issue with active pills & segmented control label font-size by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10349
- Fix the usage of dataframe column menu in dialog by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10359
- Apply default rounding to graphviz charts by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10224
- [fix] chat input multi-line shrinks after drag and drop by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10364
- Fix:
st.logounmounts with use ofst.fragmentby @mayagbarnes in https://github.com/streamlit/streamlit/pull/10377 - Prevent showing tooltips on trailing dataframe row by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10398
- Revamp disabled state for chat input by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10441
- [Fix] Reuse event loop logic by @mayagbarnes in https://github.com/streamlit/streamlit/pull/10455
- [Fix]:
st.altair_chartselection interval showingtruetooltip by @mayagbarnes in https://github.com/streamlit/streamlit/pull/10456 - Time formatting logic update: seconds/minutes/hours display by @ashm-dev in https://github.com/streamlit/streamlit/pull/10410
- Fix regression with column order not getting updated by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10445
- [fix] Tabs content flickering by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/10533 ### Other Changes
- Hide the top colored line for custom themes by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10323
- Remove
richfrom required dependencies by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10320 - Release/1.42.0 by @kajarenc in https://github.com/streamlit/streamlit/pull/10338
- Raise an exception when provider name contains underscore by @kajarenc in https://github.com/streamlit/streamlit/pull/10360
- Fix typo in setpageconfig doc string by @RyPeck in https://github.com/streamlit/streamlit/pull/10372
- Release/1.42.1 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/10421
- Release/1.42.2 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/10472
- Fix deprecation with
fillnapandas method by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10484
New Contributors
- @tutu-sol made their first contribution in https://github.com/streamlit/streamlit/pull/10354
- @RyPeck made their first contribution in https://github.com/streamlit/streamlit/pull/10372
- @ashm-dev made their first contribution in https://github.com/streamlit/streamlit/pull/10358
- @Harikrishnan2004 made their first contribution in https://github.com/streamlit/streamlit/pull/10463
Full Changelog: https://github.com/streamlit/streamlit/compare/1.42.2...1.43.0
- Python
Published by github-actions[bot] over 1 year ago
streamlit - 1.42.0
What's Changed
New Features 🎉
- Recognise spark connect datatype. by @OSalama in https://github.com/streamlit/streamlit/pull/9954
- Improve dataframe cell error handling by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9899
- Update chat input send button hover UI by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10048
- Set
use_container_width=Trueby default for charts by @jrieke in https://github.com/streamlit/streamlit/pull/10064 - Update chat input widget border radius by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10047
- Add row hover color to dataframe component by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10104
- Add
heightparameter tost.codeby @jrieke in https://github.com/streamlit/streamlit/pull/10080 - Allow reordering dataframe columns from UI by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10099
- Auth feature by @kajarenc in https://github.com/streamlit/streamlit/pull/8786
- Allow markdown in
captionofst.imageby @jrieke in https://github.com/streamlit/streamlit/pull/10075 - Show elapsed time on
st.spinnerby @jrieke in https://github.com/streamlit/streamlit/pull/10072 - Allow reusing existing event loop for server by @DeltaGa in https://github.com/streamlit/streamlit/pull/10164
- Add support for using categorical index with
st.data_editorby @lukasmasuch in https://github.com/streamlit/streamlit/pull/10195 - Allow markdown in
st.tableby @jrieke in https://github.com/streamlit/streamlit/pull/10088 - Preserve scroll position for
st.selectboxandst.multiselectby @jrieke in https://github.com/streamlit/streamlit/pull/10073 - Add dataframe column menu with sorting actions by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10197
- Allow pinning dataframe columns from UI by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10206 ### Bug Fixes 🐛
- Preserve target='_blank' for html elements by @raethlein in https://github.com/streamlit/streamlit/pull/9994
- Make st.write use st.html when reprhtml_ is present. by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/9910
- Fix #10005 by @kajarenc in https://github.com/streamlit/streamlit/pull/10006
- Do not include source map files in release builds by @kmcgrady in https://github.com/streamlit/streamlit/pull/10011
- Initialize mimetypes on server initialization by @kmcgrady in https://github.com/streamlit/streamlit/pull/10010
- Schedule trigger events at the end of the event loop by @raethlein in https://github.com/streamlit/streamlit/pull/10018
- Fix visualization of disabled feedback by @raethlein in https://github.com/streamlit/streamlit/pull/10030
- Prevent tooltips from overflowing on the left or right side by @raethlein in https://github.com/streamlit/streamlit/pull/9983
- Use configured column order for pinned columns by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10034
- Fix handling of empty hierarchical column headers by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10035
- Fix issue with dataframe width getting ignored by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10036
- preserve white space sequences and segment breaks in
st.textby @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10062 - Make
st.tablerounded by @jrieke in https://github.com/streamlit/streamlit/pull/9823 - Ensure that error is only logged once with rich installed by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10097
- Prevent showing 0 for small numbers in dataframe by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10060
- Refine
st.date_inputto ensure consistent and accurate return types by @pranaybattu in https://github.com/streamlit/streamlit/pull/9620 - Make st.expander summary respect isStale. by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/10085
- In st.multiselect, make mouse cursor only be a pointer when hovering the X by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/10087
- Remove shortcut to data checking and substitute with a rough hash by @kmcgrady in https://github.com/streamlit/streamlit/pull/10125
- Deactivate translation for material icons by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10174
- Make widget dropdowns look more consistent + convert
BaseColorPickerto functional component by @jrieke in https://github.com/streamlit/streamlit/pull/10083 - Add retry to watcher.util.pathmodificationtime to try and fix race condition. by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/10148
- Make MPAv2 work with pure Python and with ProcessPoolExecutor by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/10163
- Fix the chat input border radius by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10225
- Use
attributeword instead ofkeyin case of AttributeError in st.query_params by @kajarenc in https://github.com/streamlit/streamlit/pull/10237 - Force react-syntax-highlighter to cjs build by @kmcgrady in https://github.com/streamlit/streamlit/pull/10244
- Apply top margin in top-aligned columns to first element instead of last by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10268 ### Other Changes
- Release/1.41.0 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9996
- Fix: Round corners of
st.imageby @mayagbarnes in https://github.com/streamlit/streamlit/pull/9999 - Release/1.41.1 by @kmcgrady in https://github.com/streamlit/streamlit/pull/10021
- Only show log but don't raise an error when fragment id is not found by @raethlein in https://github.com/streamlit/streamlit/pull/10130
- Update emojis used for validation by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10149
- Print st.logo only on first page on the top by @raethlein in https://github.com/streamlit/streamlit/pull/10171
- Remove usage of private snowflake-connector APIs by @raethlein in https://github.com/streamlit/streamlit/pull/10122
- Add support for handling raw arrow data by @lukasmasuch in https://github.com/streamlit/streamlit/pull/10191
- Add type annotations so st.altair_chart supports all Altair chart types. by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/10202
- Update material symbols font and test by @kajarenc in https://github.com/streamlit/streamlit/pull/10247
- Remove reading user info from
X-Streamlit-Userheader by @kajarenc in https://github.com/streamlit/streamlit/pull/10260 - Update file uploader to uses new
acceptvalue by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/10288
New Contributors
- @EclidFundgue made their first contribution in https://github.com/streamlit/streamlit/pull/9930
- @OSalama made their first contribution in https://github.com/streamlit/streamlit/pull/9954
- @SiddhantSadangi made their first contribution in https://github.com/streamlit/streamlit/pull/10051
- @syasini made their first contribution in https://github.com/streamlit/streamlit/pull/10056
- @pranaybattu made their first contribution in https://github.com/streamlit/streamlit/pull/9620
- @DeltaGa made their first contribution in https://github.com/streamlit/streamlit/pull/10164
Full Changelog: https://github.com/streamlit/streamlit/compare/1.41.1...1.42.0
- Python
Published by github-actions[bot] over 1 year ago
streamlit - 1.41.0
What's Changed
New Features 🎉
- Add pathlib support by @jrieke in https://github.com/streamlit/streamlit/pull/9711
- Follow ups for pathlib support by @jrieke in https://github.com/streamlit/streamlit/pull/9783
- Support primary color as text and background color in markdown by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9676
- Improve hover tooltips for
st.line_chartby @lukasmasuch in https://github.com/streamlit/streamlit/pull/9674 - Add support for ISO time/date format in st.timeinput / st.dateinput by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/9753
- Add async generator support to
st.write_streamby @lukasmasuch in https://github.com/streamlit/streamlit/pull/8724 - Add reprhtml_ support to st.html, and avoid throwing for non-paths by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/9877
- Remove temporary padding fix for fullscreen button by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9882
- Allow pinning dataframe columns via column config by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9535
- Remove internal Streamlit details from exception traces by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/9913
- Borderless
"tertiary"buttons by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9923 - Improvements to the showErrorDetails config by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/9909
- Border for
st.metricby @mayagbarnes in https://github.com/streamlit/streamlit/pull/9928 - Border for
st.columnsby @mayagbarnes in https://github.com/streamlit/streamlit/pull/9927 ### Bug Fixes 🐛 - Disallow double slash paths to redirect by @kmcgrady in https://github.com/streamlit/streamlit/pull/9754
- Fix usage of hyphens in user key for CSS classes by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9793
- Fix #9763. Don't show text keyboard for number input on IOS by @kajarenc in https://github.com/streamlit/streamlit/pull/9766
- Fixes a bug where timezones with a non- x:00 utc offset would start at a non 00:00 timer for st.audio_input by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9791
- Fix dataframe fullscreen for large dataframes by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9803
- fix #9810 Update to latest Material symbols font by @kajarenc in https://github.com/streamlit/streamlit/pull/9813
- Fix exception element styling by @jrieke in https://github.com/streamlit/streamlit/pull/9818
- [Fix] Prevent rerun for text_input when value did not change by @raethlein in https://github.com/streamlit/streamlit/pull/9826
- [Fix] Set text area value based on state by @raethlein in https://github.com/streamlit/streamlit/pull/9829
- Correctly handle
DeltaGeneratorinst.writeby @lukasmasuch in https://github.com/streamlit/streamlit/pull/9828 - Add shared hooks for submitForm & inputChange by @raethlein in https://github.com/streamlit/streamlit/pull/9847
- Set the default selection mode to 'single' in the overload methods of pills and segmented_control by @RubenVanEldik in https://github.com/streamlit/streamlit/pull/9801
- [fix] st.graphvizchart rendering bug with usecontainer_width=True by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9867
- Support URLPattern-compatible patterns in allowed domain matching by @sfc-gh-mgolebiowskiowczarek in https://github.com/streamlit/streamlit/pull/9849
- Fix wrong dataframe return typing by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9898
- Fix URI decoding of link column display text by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9895
- Disallow invalid scopes for st.rerun by @kmcgrady in https://github.com/streamlit/streamlit/pull/9911
- Fix slow rendering performance caused by complex CSS selector by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9901
- Update audio buffer to handle channels better by @kmcgrady in https://github.com/streamlit/streamlit/pull/9885
- Only show st.cache decorator spinners for cache misses and outermost function by @raethlein in https://github.com/streamlit/streamlit/pull/9956
- Have Images List not utilize the individual image width parameter by @kmcgrady in https://github.com/streamlit/streamlit/pull/9958 ### Other Changes
- Clean up hello app by @jrieke in https://github.com/streamlit/streamlit/pull/9760
- Adds a timestamp into the file name for st.audio_input by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9768
- Update watchdog to include 6.x.x by @RubenVanEldik in https://github.com/streamlit/streamlit/pull/9785
- release/1.40.0 by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9790
- Release/1.40.1 by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9831
- Release/1.40.2 by @kmcgrady in https://github.com/streamlit/streamlit/pull/9925
- Set Python 3.13 as max version for Streamlit by @raethlein in https://github.com/streamlit/streamlit/pull/9635
New Contributors
- @sfc-gh-mgolebiowskiowczarek made their first contribution in https://github.com/streamlit/streamlit/pull/9849
- @snyk-io made their first contribution in https://github.com/streamlit/streamlit/pull/9931
Full Changelog: https://github.com/streamlit/streamlit/compare/1.40.2...1.41.0
- Python
Published by github-actions[bot] over 1 year ago
streamlit - 1.40.0
What's Changed
New Features 🎉
- Adding Safari Support for st.experimentalaudioinput without need of ffmpeg library by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9571
- allow static serving to follow symlink by @link89 in https://github.com/streamlit/streamlit/pull/9147
- [feat] Add
use_container_widthtost.imageby @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9547 - Change
st.textfont and overflow styles by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9572 - Expose the st.pills command again by @raethlein in https://github.com/streamlit/streamlit/pull/9612
- adding download button to audio_input by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9637
- deexperiment audio_input widget by @kajarenc in https://github.com/streamlit/streamlit/pull/9654
- Feature/button group: st.segmented_control by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9418
- Allow adding the Streamlit logo in markdown by @jrieke in https://github.com/streamlit/streamlit/pull/9670
- Replace typographical symbols in markdown by @jrieke in https://github.com/streamlit/streamlit/pull/9677
- For button group commands, rename 'multiple' to 'multi' for selection_mode by @raethlein in https://github.com/streamlit/streamlit/pull/9701
- Add a delay before displaying the running man icon. by @sfc-gh-lwilby in https://github.com/streamlit/streamlit/pull/9732
- [feat] Localize calendar week start date in st.date_input by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9706 ### Bug Fixes 🐛
- [Fix] Tooltip code block styling by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9529
- [fix] st.pydeck_chart selection fixes by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9552
- [Fix] Message box title colors by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9555
- [Fix] Tooltip visibility in
st.sidebar&st.dialogby @mayagbarnes in https://github.com/streamlit/streamlit/pull/9554 - [Fix] Error on invalid
st.text_areaheight by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9561 - Re-introduce "Allow array parameters in CLI" by @kmcgrady in https://github.com/streamlit/streamlit/pull/9577
- [Fix]
st.navigationreconcilesclient.showSidebarNavigationconfig by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9589 - [Fix] Show input instructions in form when allowed and focused by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9576
- [Fix] MPA page layout by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9479
- Fix page link margin regression by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9625
- [Fix] Clear fragment autoreruns when changing pages by @raethlein in https://github.com/streamlit/streamlit/pull/9617
- Fix clear cached class method regression by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9642
- Eliminate symlink requirement in component request handler by @kmcgrady in https://github.com/streamlit/streamlit/pull/9588
- FIx button cursor regression by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9733
- Fix issue with local storage in Android webview by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9744
- [fix] Revamp
preferredLayoutsstate forset_page_configand layout in User Settings by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9723 ### Other Changes - Release/1.39.0 by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9575
- Upgrade deck.gl to the latest version by @kmcgrady in https://github.com/streamlit/streamlit/pull/9636
- Deploy dialog redesign by @sfc-gh-dswiecki in https://github.com/streamlit/streamlit/pull/9681
- Fix typo in docstring for
selection_modeofst.dataframeby @jrieke in https://github.com/streamlit/streamlit/pull/9699 - changing icon and label for st.audio_input by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9712
- Deploy dialog feedback by @sfc-gh-dswiecki in https://github.com/streamlit/streamlit/pull/9718
- Allow Pillow 11 by @hauntsaninja in https://github.com/streamlit/streamlit/pull/9742
- Deploy dialog feedback cont’d by @sfc-gh-dswiecki in https://github.com/streamlit/streamlit/pull/9741
- Use toolbar for fullscreen button by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9721
New Contributors
- @link89 made their first contribution in https://github.com/streamlit/streamlit/pull/9147
- @sfc-gh-dswiecki made their first contribution in https://github.com/streamlit/streamlit/pull/9681
- @hauntsaninja made their first contribution in https://github.com/streamlit/streamlit/pull/9742
- @emmagarr made their first contribution in https://github.com/streamlit/streamlit/pull/9698
- @sfc-gh-lwilby made their first contribution in https://github.com/streamlit/streamlit/pull/9732
Full Changelog: https://github.com/streamlit/streamlit/compare/1.39.0...1.40.0
- Python
Published by github-actions[bot] over 1 year ago
streamlit - 1.39.0
What's Changed
New Features 🎉
- Add icon to
st.buttonby @mayagbarnes in https://github.com/streamlit/streamlit/pull/9301 - Add icon to
st.download_buttonby @mayagbarnes in https://github.com/streamlit/streamlit/pull/9322 - Add icon to
st.form_submit_buttonby @mayagbarnes in https://github.com/streamlit/streamlit/pull/9327 - Add
st.logosize options by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9177 - [feat] Add
icontost.link_buttonby @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9350 - Add icon to
st.popoverby @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9367 - Allow setting CSS class on elements via
keyby @lukasmasuch in https://github.com/streamlit/streamlit/pull/9295 - Add config option to set TTL for disconnected sessions by @vdonato in https://github.com/streamlit/streamlit/pull/9179
- Add .pdf to the list of safe static files by @kajarenc in https://github.com/streamlit/streamlit/pull/9439
- Feature: Add
enter_to_submitparam tost.formby @mayagbarnes in https://github.com/streamlit/streamlit/pull/9480 - Add expanded param to st.navigation by @kmcgrady in https://github.com/streamlit/streamlit/pull/9484
- [feat] Add width and height to st.{map|pydeck_chart} by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9464
- [feat] Utilize new fullscreen Toolbar for st.{map|pydeck_chart} by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9501
- [feat] Selection on
st.pydeck_chartby @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9377 - st.experimentalaudioinput by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9404
- Support hierarchical (multi-index) column headers in
st.dataframeby @lukasmasuch in https://github.com/streamlit/streamlit/pull/9483 - Prefer column config formatting over Pandas styler by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9538 ### Bug Fixes 🐛
- [fix] Multiselect label truncation in narrow columns by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9334
- [fix]
st.{balloons|snow}fixes when rendered inst.dialogby @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9335 - Remove
st.logoif stale by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9337 - Fix issue with re-adding deleted row in data editor with same index by @lukasmasuch in https://github.com/streamlit/streamlit/pull/8864
- Fix: Margin on button icons by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9378
- Do not format title for MPAv2 in Sidebar nav by @kmcgrady in https://github.com/streamlit/streamlit/pull/9375
- Fix dialogs not re-opening in some cases after dismiss by @raethlein in https://github.com/streamlit/streamlit/pull/9333
- Fix edge case where title can be empty string by @kmcgrady in https://github.com/streamlit/streamlit/pull/9374
- Update runtime.py: change test@test.com to test@example.com by @wyattscarpenter in https://github.com/streamlit/streamlit/pull/9371
- Fix: Make
showSidebarNavigationconfig work in MPAv2 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9379 - Determine common mime types by extension by @t0mdavid-m in https://github.com/streamlit/streamlit/pull/9390
- Fix bold font in header showing less weight by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9395
- Update page script hash on script start if necessary by @kmcgrady in https://github.com/streamlit/streamlit/pull/9408
- Update overflowing pages to be more deterministic by @kmcgrady in https://github.com/streamlit/streamlit/pull/9394
- Fix accidentally watching parent folder for changes by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9453
- Fix: Disable form submission & instructions by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9406
- Do not clear nodes for fragment-finished-via-rerun messages by @raethlein in https://github.com/streamlit/streamlit/pull/9389
- Clear queue also for fragment-runs to prevent vanishing elements by @raethlein in https://github.com/streamlit/streamlit/pull/9381
- Migrate Active Script hash to ScriptRunContext by @kmcgrady in https://github.com/streamlit/streamlit/pull/9441
- Fix dataframe maximum update depth error by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9490
- Add warning for nested paths in url path by @kmcgrady in https://github.com/streamlit/streamlit/pull/9499
- [fix] Remove unneeded margin on map components by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9506
- Redirect pages with removed trailing slashes by @kmcgrady in https://github.com/streamlit/streamlit/pull/9500
- Fix
st.jsonto keep container bounds by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9521 - [Fix]
st.multiselectplaceholder by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9523 - [Fix] Embedded app spacing by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9524
- [fix] DeckGl zoom button borders and styling by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9536 ### Other Changes
- Allow tenacity version 9.x by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9348
- [Fix] Logo maintains aspect ratio on width resize by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9368
- [Fix] Logo blink on MPA v1 page change by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9361
- Update watchdog so Streamlit can use version 5.X by @RubenVanEldik in https://github.com/streamlit/streamlit/pull/9354
- Fix: Material icon color in buttons by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9393
- Adding more specific exceptions by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9318
- Add missing
inoperator to docstring example by @pratapvardhan in https://github.com/streamlit/streamlit/pull/9413 - Update vega frontend dependencies to support new features by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9443
- Remove fullscreen button for
st.bokeh_chartby @lukasmasuch in https://github.com/streamlit/streamlit/pull/9528
New Contributors
- @t0mdavid-m made their first contribution in https://github.com/streamlit/streamlit/pull/9390
- @pratapvardhan made their first contribution in https://github.com/streamlit/streamlit/pull/9413
Full Changelog: https://github.com/streamlit/streamlit/compare/1.38.0...1.39.0
- Python
Published by github-actions[bot] over 1 year ago
streamlit - 1.38.0
What's Changed
Breaking Changes 🛠
- Remove pydantic fix in bootstrap by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9257
- Remove experimental cached widget replay logic by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9305 ### New Features 🎉
- [RFC] Only rerun script on reconnect if a script run was interrupted by @vdonato in https://github.com/streamlit/streamlit/pull/9083
- Add syntax highlighting for diff by @raethlein in https://github.com/streamlit/streamlit/pull/9172
- Support
to_pandasmethod to return a Pandas Series by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9175 - Add support for Kubernetes / directory with mounted file style secrets by @sfc-gh-mochen in https://github.com/streamlit/streamlit/pull/9078
- Extend dataframe-handling support for collection-like types by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9205
- Add support for Snowpark Pandas Index by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9222
- Add data handling support for Polars by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9230
- Add data handling support for xarray by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9235
- Add data handling support for Dask by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9240
- Add data handling support for Ray by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9256
- Type-hint improvements for #8717 and #7801 by @Asaurus1 in https://github.com/streamlit/streamlit/pull/9048
- Allow configurable expansion depth for
st.jsonby @lukasmasuch in https://github.com/streamlit/streamlit/pull/8984 - Add data handling support for DB API 2.0 by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9274
- Add data handling support for Pydantic instances by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9290
- Add support for dataframe interchange protocol by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9289
- Add line wrapping to st code by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/8558 ### Bug Fixes 🐛
- Make the magic support for-else, while-else, try-else, try-except*, and match by @whitphx in https://github.com/streamlit/streamlit/pull/9110
- Fix copy-buttons in dialogs by @raethlein in https://github.com/streamlit/streamlit/pull/9130
- Support theming in embed better by @kmcgrady in https://github.com/streamlit/streamlit/pull/9103
- Fix #8638 by @kajarenc in https://github.com/streamlit/streamlit/pull/9101
- Bugfix: Multiple Stale Maps by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9092
- Bugfix: Upgrade plotly.js to resolve hover tooltip bug by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9144
- Make ScriptControlException inherit from BaseException again by @raethlein in https://github.com/streamlit/streamlit/pull/9167
- Print deprecation warnings when dialog/fragment functions are called by @vdonato in https://github.com/streamlit/streamlit/pull/9170
- Revert "Remove fragmentidsthis_run from script run context (#8953)" and tweaks some types by @vdonato in https://github.com/streamlit/streamlit/pull/9178
- Allow adding Plotly toolbar buttons by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9190
- Ignore all headings in markdown labels by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9189
- Don't raise FragmentStorageKeyError for auto_rerun fragments by @raethlein in https://github.com/streamlit/streamlit/pull/9183
- Fix ghost tabs issue in fragments by @raethlein in https://github.com/streamlit/streamlit/pull/9186
- Fix empty anchor scrolling by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9206
- Only clear up fragment-related stale widgets by @raethlein in https://github.com/streamlit/streamlit/pull/9215
- Fix issue with empty Azure OpenAI chunk by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9234
- Fix grey-out for selectbox index columns by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9231
- Fix options support for
dict.items()by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9241 - When clearing forward queue add a stopped for rerun message by @dannyopts in https://github.com/streamlit/streamlit/pull/9187
- Do not preserve children of a block if the block type changes by @kmcgrady in https://github.com/streamlit/streamlit/pull/9276
- Unstale just updated fragments by @raethlein in https://github.com/streamlit/streamlit/pull/9285
- Fix logo + sidebar sizing interaction by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9298 ### Other Changes
- Print bottom container always at the end of the app content by @raethlein in https://github.com/streamlit/streamlit/pull/9129
- Remove a type ignore by @wyattscarpenter in https://github.com/streamlit/streamlit/pull/9149
- Use material icons in streamlit hello page nav and favicons by @snehankekre in https://github.com/streamlit/streamlit/pull/9225
- Fix nested fragment stale elements by @raethlein in https://github.com/streamlit/streamlit/pull/9246
- Use overloads to make the return types of st.feedback more precise. (with type tests) by @wyattscarpenter in https://github.com/streamlit/streamlit/pull/9216
New Contributors
- @wyattscarpenter made their first contribution in https://github.com/streamlit/streamlit/pull/9149
- @sfc-gh-mochen made their first contribution in https://github.com/streamlit/streamlit/pull/9078
- @dannyopts made their first contribution in https://github.com/streamlit/streamlit/pull/9187
Full Changelog: https://github.com/streamlit/streamlit/compare/1.37.1...1.38.0
- Python
Published by github-actions[bot] almost 2 years ago
streamlit - 1.37.0
What's Changed
New Features 🎉
- Stacking options -
st.bar_chartby @mayagbarnes in https://github.com/streamlit/streamlit/pull/8945 - Support
graphviz.sources.Sourceobject forst.graphviz_chartby @sfc-gh-kbregula in https://github.com/streamlit/streamlit/pull/8993 - Add support for material icons in markdown by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8889
- Fix lag when closing dialog by @raethlein in https://github.com/streamlit/streamlit/pull/9023
- Stacking options -
st.area_chartby @mayagbarnes in https://github.com/streamlit/streamlit/pull/8992 - Add feedback widget by @raethlein in https://github.com/streamlit/streamlit/pull/8915
- READ only headers and cookies by @kajarenc in https://github.com/streamlit/streamlit/pull/8976
- De-experimentalize st.fragment by @vdonato in https://github.com/streamlit/streamlit/pull/9019
- De-experimentalize st.dialog by @raethlein in https://github.com/streamlit/streamlit/pull/9020 ### Bug Fixes 🐛
- Show fragment errors in fragment-path for main app runs by @raethlein in https://github.com/streamlit/streamlit/pull/8868
- Fix st.rerun fragment thread reuse issue by @raethlein in https://github.com/streamlit/streamlit/pull/8798
- Support non-unix style paths for MPA loading by @kmcgrady in https://github.com/streamlit/streamlit/pull/8988
- Set theme hash properly on load if a custom theme is active to start by @kmcgrady in https://github.com/streamlit/streamlit/pull/8989
- Don't remove session refs on fragment runs by @vdonato in https://github.com/streamlit/streamlit/pull/9010
- Improvements to NumberInput formatting by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9035
- Hide all Particles upon printing by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9053
- Fix: MPA support of custom themes by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8994
st.switch_pageclears non-embed query params by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9059- Fix secrets.toml Windows Path Bug by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9061
- Bugfix: Fixes two st.map width bugs by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9070
- Validate the path using Tornado before performing checks by @kmcgrady in https://github.com/streamlit/streamlit/pull/8990
- Reset ctx.currentfragmentid to last ID instead of None by @vdonato in https://github.com/streamlit/streamlit/pull/9114 ### Other Changes
- Update emojis used for validation by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8923
- Add support for numpy 2.x by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8940
- Remove a bunch of deprecated experimental features by @vdonato in https://github.com/streamlit/streamlit/pull/8943
- Migrate custom icons from material outlined to rounded by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8998
- Remove old config options - part 1 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9005
- Remove old config options - part 2 by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9013
- Remove
deprecation.showPyplotGlobalUseconfig option by @LukasMasuch in https://github.com/streamlit/streamlit/pull/9018 - Fix broken
st.navigationdocstring by @mahotd in https://github.com/streamlit/streamlit/pull/9027 - Update the feedback widget design by @raethlein in https://github.com/streamlit/streamlit/pull/9094
New Contributors
- @Dev-iL made their first contribution in https://github.com/streamlit/streamlit/pull/8947
- @quant12345 made their first contribution in https://github.com/streamlit/streamlit/pull/8968
- @mahotd made their first contribution in https://github.com/streamlit/streamlit/pull/9027
Full Changelog: https://github.com/streamlit/streamlit/compare/1.36.0...1.37.0
- Python
Published by github-actions[bot] almost 2 years ago
streamlit - 1.36.0
What's Changed
Breaking Changes 🛠
- Remove legacy caching logic by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8737
- Deprecate the
experimental_allow_widgetscaching parameter by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8817 ### New Features 🎉 - Allow passing onchangecallback for CustomComponents by @raethlein in https://github.com/streamlit/streamlit/pull/8633
- Use raw number for number column overlay and copy by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8708
- Introduce st.navigation and st.Page by @kmcgrady in https://github.com/streamlit/streamlit/pull/8744
- Make st.write call st.json to display Streamlit secrets object by @snehankekre in https://github.com/streamlit/streamlit/pull/8659
- Streamlit Charts: Customizable Axis Labels by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8846
- Add vertical alignment parameter to
st.columnsby @LukasMasuch in https://github.com/streamlit/streamlit/pull/8568 - Add
iconparameter to st.expander by @snehankekre in https://github.com/streamlit/streamlit/pull/8716 - Use the default widget height for non-stacked checkbox & toggle widgets by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8835
- Horizontal
st.bar_chartby @mayagbarnes in https://github.com/streamlit/streamlit/pull/8877 ### Bug Fixes 🐛 - Remove non-existent kwargs in ast.Call() call by @JelleZijlstra in https://github.com/streamlit/streamlit/pull/8711
- Don't instantiate the LocalSourcesWatcher if file watching is disabled by @vdonato in https://github.com/streamlit/streamlit/pull/8741
- Make the session state writes disallowed message more generic by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8720
- Ensure SessionInfo is set before performing an action by @kmcgrady in https://github.com/streamlit/streamlit/pull/8779
- Unify the minimum height of most element by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8797
- Don't allow writing widgets outside the fragment by @raethlein in https://github.com/streamlit/streamlit/pull/8756
- Fix element replay regression for plotly charts by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8770
- Improve exception text when selectbox index larger than options by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8775
- Prevent images in markdown to go beyond the container width by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8794
- Ensure current page script hash and active script hash is correct at script start by @kmcgrady in https://github.com/streamlit/streamlit/pull/8830
- Revert "Handle Altair resolve_scale (#8497)" by @kmcgrady in https://github.com/streamlit/streamlit/pull/8845
- Update custom-components import paths and tests by @raethlein in https://github.com/streamlit/streamlit/pull/8666
- Raise exception if st.Page is given an invalid path by @vdonato in https://github.com/streamlit/streamlit/pull/8878 ### Other Changes
- Explicitly export experimental_dialog by @raethlein in https://github.com/streamlit/streamlit/pull/8728
- Remove default value for title of dialog_decorator by @raethlein in https://github.com/streamlit/streamlit/pull/8729
- Docstrings for 1.35.0 (and type consistency for charts) by @sfc-gh-dmatthews in https://github.com/streamlit/streamlit/pull/8740
- Migrate streamlit hello to MPAv2 by @kmcgrady in https://github.com/streamlit/streamlit/pull/8806
- Fix
use_container_widthdocstring when default isTrueby @LukasMasuch in https://github.com/streamlit/streamlit/pull/8809 - Allow protobuf v5 as dependency by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8627
- Fix: Remove title appending · Streamlit by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8900
New Contributors
- @JelleZijlstra made their first contribution in https://github.com/streamlit/streamlit/pull/8711
Full Changelog: https://github.com/streamlit/streamlit/compare/1.35.0...1.36.0
- Python
Published by github-actions[bot] almost 2 years ago
streamlit - 1.35.0
What's Changed
New Features 🎉
- Add support for selections to
st.plotly_chartby @willhuang1997 in https://github.com/streamlit/streamlit/pull/8191 - feat: support set mysql connection query from secrets.toml by @LucianLiu6 in https://github.com/streamlit/streamlit/pull/8581
- Feature:
st.logoby @mayagbarnes in https://github.com/streamlit/streamlit/pull/8554 - Material icon for st.page_link by @kajarenc in https://github.com/streamlit/streamlit/pull/8593
- Add dataframe row and column selections by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8411
- Add support for selections to
st.altair_chart&st.vega_lite_chartby @willhuang1997 in https://github.com/streamlit/streamlit/pull/8302 ### Bug Fixes 🐛 - Fix standalone custom-component execution by @raethlein in https://github.com/streamlit/streamlit/pull/8620
- Clear stale elements when st.rerun() is used by @vdonato in https://github.com/streamlit/streamlit/pull/8599
- Focus chat input after the submit button is pressed by @kmcgrady in https://github.com/streamlit/streamlit/pull/8637
- fix: #8500 bypass StrEnum 'index' to make position-indexable by @97k in https://github.com/streamlit/streamlit/pull/8622
- Update scroll-margin-top by @raethlein in https://github.com/streamlit/streamlit/pull/8641
- Fix cell error when data editor gets reconstructed by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8640
- Ensure that column config is cloned by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8677
- Add fallback method for CSV download by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8452 ### Other Changes
- Bump mheap/github-action-required-labels from 5.4.0 to 5.4.1 by @dependabot in https://github.com/streamlit/streamlit/pull/8582
- Remove fullscreen button for
st.tableby @LukasMasuch in https://github.com/streamlit/streamlit/pull/8621 - Improve typing for query params
.updateand.from_dictby @Asaurus1 in https://github.com/streamlit/streamlit/pull/8614 - Improve anchor button visualization for titles and headings by @raethlein in https://github.com/streamlit/streamlit/pull/8587
- Allow protobuf v5 by @mark-thm in https://github.com/streamlit/streamlit/pull/8624
- Stabilize the vega-lite spec for altair-based charts by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8628
- Update address output in headless mode by @raethlein in https://github.com/streamlit/streamlit/pull/8647
- Revert "Allow protobuf v5" by @raethlein in https://github.com/streamlit/streamlit/pull/8701
New Contributors
- @LucianLiu6 made their first contribution in https://github.com/streamlit/streamlit/pull/8581
- @mark-thm made their first contribution in https://github.com/streamlit/streamlit/pull/8624
- @97k made their first contribution in https://github.com/streamlit/streamlit/pull/8622
Full Changelog: https://github.com/streamlit/streamlit/compare/1.34.0...1.35.0
- Python
Published by github-actions[bot] about 2 years ago
streamlit - 1.34.0
What's Changed
New Features 🎉
- Add st.experimental_dialog by @raethlein in https://github.com/streamlit/streamlit/pull/8040
- from_dict for query params by @Asaurus1 in https://github.com/streamlit/streamlit/pull/8470
- Improve period type support in
st.dataframeandst.data_editorby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7987 - Add ability to clear cache for specific function arguments by passing args to
<cached_func>.clear()by @OscarSaharoy in https://github.com/streamlit/streamlit/pull/8297 - Add support for autoplaying
st.audioandst.videomedia by @snehankekre in https://github.com/streamlit/streamlit/pull/8481 - Support background colors for text by @snehankekre in https://github.com/streamlit/streamlit/pull/8435
- Non-emoji icons by @kajarenc in https://github.com/streamlit/streamlit/pull/8307
- Add support for Modin and Snowpark Pandas by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8506
- Enable the usage of the pydeck-carto package with st.pydeck_chart by @vdonato in https://github.com/streamlit/streamlit/pull/8422 ### Bug Fixes 🐛
- Offset dates in vega if no timezone information is attached. by @kmcgrady in https://github.com/streamlit/streamlit/pull/8278
- Fix issues with fragments writing to containers and the sidebar by @vdonato in https://github.com/streamlit/streamlit/pull/8408
- Produce python error for slider min=max by @AnOctopus in https://github.com/streamlit/streamlit/pull/8413
- Make check for component ready dynamic by @kmcgrady in https://github.com/streamlit/streamlit/pull/8434
- Update Auto Theme after print dialog if necessary by @kmcgrady in https://github.com/streamlit/streamlit/pull/8469
- Reset widget state on page change by @AnOctopus in https://github.com/streamlit/streamlit/pull/8425
- Switch back to using undeprecated pillow constant by @vdonato in https://github.com/streamlit/streamlit/pull/8492
- Fix double script/callback run when replacing a file by @vdonato in https://github.com/streamlit/streamlit/pull/8493
- Handle Altair vconcat with usecontainerwidth by @kmcgrady in https://github.com/streamlit/streamlit/pull/8498
- Fix empty state for
st.statusby @LukasMasuch in https://github.com/streamlit/streamlit/pull/8369 - Fix
st.multiselectusage with empty sets or tuples by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8471 - Handle Altair resolve_scale by @kmcgrady in https://github.com/streamlit/streamlit/pull/8497
- Adjust default date for st.date_input if today's date is out of bounds by @vdonato in https://github.com/streamlit/streamlit/pull/8519
- Handle setting session state keys to None for supported widgets by @vdonato in https://github.com/streamlit/streamlit/pull/8529
- Fix empty generator usage with
st.write_streamby @LukasMasuch in https://github.com/streamlit/streamlit/pull/8560 ### Other Changes - Update modal styles by @raethlein in https://github.com/streamlit/streamlit/pull/8274
- Move toasts to top right and make them prettier by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/8433
- Fix escaping in docstrings by @vdonato in https://github.com/streamlit/streamlit/pull/8510
- Fix blank space print by @raethlein in https://github.com/streamlit/streamlit/pull/8502
- Remove snowflake extras python restriction by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8538
New Contributors
- @Lundez made their first contribution in https://github.com/streamlit/streamlit/pull/8520
- @OscarSaharoy made their first contribution in https://github.com/streamlit/streamlit/pull/8297
Full Changelog: https://github.com/streamlit/streamlit/compare/1.33.0...1.34.0
- Python
Published by github-actions[bot] about 2 years ago
streamlit - 1.33.0
What's Changed
Breaking Changes 🛠
- Require explicit suggestion of unsafeallowhtml in st.write by @kmcgrady in https://github.com/streamlit/streamlit/pull/8238 ### New Features 🎉
- explicit update() method for query_params by @Asaurus1 in https://github.com/streamlit/streamlit/pull/8205
- Add
AreaChartColumnto column config by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8237 - Associate label with input to make label click focus input by @filiptammergard in https://github.com/streamlit/streamlit/pull/8155
- Media elements improvements by @kajarenc in https://github.com/streamlit/streamlit/pull/8203
- Page switching in AppTest by @AnOctopus in https://github.com/streamlit/streamlit/pull/8280
- Add ability to use timedelta and stings to
start_timeandend_time. by @kajarenc in https://github.com/streamlit/streamlit/pull/8348 - st.experimental_fragment decorator by @vdonato in https://github.com/streamlit/streamlit/pull/8343
- Feature:
st.htmlby @mayagbarnes in https://github.com/streamlit/streamlit/pull/8366 ### Bug Fixes 🐛 - AppTest format_func by @AnOctopus in https://github.com/streamlit/streamlit/pull/8189
- Url decode link column display values if regex is used by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8258
- Fix infinite loop when
rerunand triggered widgets are used together in AppTest by @AnOctopus in https://github.com/streamlit/streamlit/pull/8264 - Use the button width as minimum for
st.popovercontainer by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8266 - Revert "Expire session storage cache on an async timer (#8083)" by @kmcgrady in https://github.com/streamlit/streamlit/pull/8281
- Allow custom themes to override embed options query parameter by @kmcgrady in https://github.com/streamlit/streamlit/pull/8021
- Fix issue with not correctly waiting for connections by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8294
- Fix initial iframe height for custom component by @kmcgrady in https://github.com/streamlit/streamlit/pull/8290
- Fullscreen Button Overflow Horizontally by @kmcgrady in https://github.com/streamlit/streamlit/pull/8279
- Fix white components backgrounds when OS is using dark theme by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8242
- Add simple fix to update container status after llm complete by @KedoKudo in https://github.com/streamlit/streamlit/pull/8311
- Simplify toast message truncation to use character limit directly by @snehankekre in https://github.com/streamlit/streamlit/pull/8337
- resolve path when registering watcher for module paths by @zyxue in https://github.com/streamlit/streamlit/pull/8372
- Readd mistakenly removed line and add explanatory comment by @vdonato in https://github.com/streamlit/streamlit/pull/8392 ### Other Changes
- Allow packaging 24.x by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8338
New Contributors
- @filiptammergard made their first contribution in https://github.com/streamlit/streamlit/pull/8155
- @KedoKudo made their first contribution in https://github.com/streamlit/streamlit/pull/8311
- @zyxue made their first contribution in https://github.com/streamlit/streamlit/pull/8372
Full Changelog: https://github.com/streamlit/streamlit/compare/1.32.2...1.33.0
- Python
Published by github-actions[bot] about 2 years ago
streamlit - 1.32.0
What's Changed
New Features 🎉
- Support markdown links in
st.radiooptions by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8028 - Improve error handling in
st.write_streamby @LukasMasuch in https://github.com/streamlit/streamlit/pull/8036 - Add support for PIL images in
st.writeby @LukasMasuch in https://github.com/streamlit/streamlit/pull/8039 - add: Supprt for HTTP method to /healthz endpoint by @rahulmistri1997 in https://github.com/streamlit/streamlit/pull/8145
- Add support for AzureOpenAI chat stream by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8107
- Add
st.popoverlayout container by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7908 - AppTest
from_functionargs by @AnOctopus in https://github.com/streamlit/streamlit/pull/8183 - Subtitles changes for
st.videoby @kajarenc in https://github.com/streamlit/streamlit/pull/8057 - Expander and Status AppTest wrappers by @AnOctopus in https://github.com/streamlit/streamlit/pull/8187 ### Bug Fixes 🐛
- Add support for converting
st.query_paramsto string by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8030 - Fix custom dataframe scrollbars in Chrome by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8034
- Fix
time_inputmenu colors in dark mode by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8056 - Make shallow copies of options returned from ensure_indexable by @vdonato in https://github.com/streamlit/streamlit/pull/8064
- Fix memory leak in runtime coroutine loop by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8068
- Prevent pandas keyerror when checking color column format in st.map by @awhazell in https://github.com/streamlit/streamlit/pull/8079
- Fix #7954 by @vdonato in https://github.com/streamlit/streamlit/pull/8054
- Fix issue using a local path with
st.imageon windows. by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8092 - Fix:
st.page_link&st.switch_pagehandling / prefixed paths by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8085 - Fix script runner stack overflow by @AnOctopus in https://github.com/streamlit/streamlit/pull/8100
- Normalize main script path in
st.switch_pageandst.page_linkby @kajarenc in https://github.com/streamlit/streamlit/pull/8103 - Fix:
st.page_linkURL preview shows file path by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8086 - Support multiple path characteristics for switchpage and pagelink by @kmcgrady in https://github.com/streamlit/streamlit/pull/8127
- Fix chart exception where color-handling code expected DF index to start at 0 by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/8158
- Fix: Alert element overflow by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8194
- Fully clear App State on page change by @kmcgrady in https://github.com/streamlit/streamlit/pull/8208
- Make st.help more resilient with conditional members by @kmcgrady in https://github.com/streamlit/streamlit/pull/8228 ### Other Changes
- Expire session storage cache on an async timer by @AnOctopus in https://github.com/streamlit/streamlit/pull/8083
- Lazy-load emoji module to improve performance by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8109
- Lazy-load pandas and pyarrow to improve performance by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8125
- Miscellaneous docstring edits and argument names by @sfc-gh-dmatthews in https://github.com/streamlit/streamlit/pull/8118
- Deprecate the
deprecation.showPyplotGlobalUseconfig option by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8133 - Use env variable to configure matplotlib backend by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8113
- Lazy-load numpy and pillow to improve performance by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8134
- Show a warning when server port
3000is used by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8152 - Fixed typos in example documentation by @t1emp0 in https://github.com/streamlit/streamlit/pull/8162
- Increase time until timeout warning is shown for a custom component by @raethlein in https://github.com/streamlit/streamlit/pull/8179
- Update glide-data-grid to version 6.0.4 by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7779
New Contributors
- @awhazell made their first contribution in https://github.com/streamlit/streamlit/pull/8079
- @SidVer312 made their first contribution in https://github.com/streamlit/streamlit/pull/8017
- @rahulmistri1997 made their first contribution in https://github.com/streamlit/streamlit/pull/8145
- @t1emp0 made their first contribution in https://github.com/streamlit/streamlit/pull/8162
Full Changelog: https://github.com/streamlit/streamlit/compare/1.31.1...1.32.0
- Python
Published by github-actions[bot] over 2 years ago
streamlit - 1.31.0
What's Changed
New Features 🎉
- Allow inline usage of
st.chat_inputby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7896 - Feature:
st.page_linkby @mayagbarnes in https://github.com/streamlit/streamlit/pull/7965 - Add
st.write_streamcommand to handle generators or OpenAI output by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7906 ### Bug Fixes 🐛 - Reuse style element for theme injection into custom components by @Tom-Julux in https://github.com/streamlit/streamlit/pull/7914
- Handle out of order blocks when parsing element tree by @AnOctopus in https://github.com/streamlit/streamlit/pull/7923
- Fix progress bar float input bug by @notiona in https://github.com/streamlit/streamlit/pull/7953
- Don't pass query parameters from parent page into iframes by @eric-skydio in https://github.com/streamlit/streamlit/pull/7951
- Fix period type support for Pandas 2.2.0 by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7988
- Only ignore hiding required columns in dynamic mode by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7996
- Disable watchdog suggestion for
noneorpollwatcher type by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8024 ### Other Changes - Support latest importlib-metadata v7 by @elgalu in https://github.com/streamlit/streamlit/pull/7925
- Make Snowpark dependency truly optional for SnowflakeConnection by @vdonato in https://github.com/streamlit/streamlit/pull/7919
New Contributors
- @Tom-Julux made their first contribution in https://github.com/streamlit/streamlit/pull/7914
- @elgalu made their first contribution in https://github.com/streamlit/streamlit/pull/7925
- @notiona made their first contribution in https://github.com/streamlit/streamlit/pull/7953
Full Changelog: https://github.com/streamlit/streamlit/compare/1.30.0...1.31.0
- Python
Published by github-actions[bot] over 2 years ago
streamlit - 1.30.0
What's Changed
New Features 🎉
- Add support for scroll container via the
heightparameter by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7697 - Add display_text to LinkColumn by @sfc-gh-bhay in https://github.com/streamlit/streamlit/pull/7741
- st.query_params by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7774
- Add Pandas styler support to
LinkColumnby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7784 - Config - MPA Sidebar Page Navigation by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7852
- Feature -
st.switch_pageby @mayagbarnes in https://github.com/streamlit/streamlit/pull/7853 ### Bug Fixes 🐛 - Fix handling of ordinal columns for builtin-charts by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7771
- Fix
st.togglebackground color by @sfc-gh-jgarcia in https://github.com/streamlit/streamlit/pull/7788 - Don't send command used to start streamlit to frontend by @vdonato in https://github.com/streamlit/streamlit/pull/7787
- Fix iframe background for dark color scheme by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7821
- Prevent incompatible column config serialization by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7887
- Prevent hiding required editable columns by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7888
- Disable the ability to submit form if a submit button is disabled by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7827
- Fix flickering effect when changing tabs by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7904
- Fix shrunk icon size in st.expander by @matiboux in https://github.com/streamlit/streamlit/pull/7596
- Add check that individual elements are "python comparable" by @kajarenc in https://github.com/streamlit/streamlit/pull/7840
- Use commonpath rather than common prefix for more secure access by @kmcgrady in https://github.com/streamlit/streamlit/pull/7901
- Don't disable tab on stale flag by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7905
- Fix embed params being dropped in page swaps by @sfc-gh-wihuang in https://github.com/streamlit/streamlit/pull/7918 ### Other Changes
- Fix parenthesis error messaging by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7770
- Update SECURITY.md by @sfc-gh-hpathak in https://github.com/streamlit/streamlit/pull/7783
- Speed up plotly figures by 8x for users with "orjson" by @eric-skydio in https://github.com/streamlit/streamlit/pull/7860
New Contributors
- @sfc-gh-bhay made their first contribution in https://github.com/streamlit/streamlit/pull/7741
- @sfc-gh-jkinkead made their first contribution in https://github.com/streamlit/streamlit/pull/7843
- @sfc-gh-jdaly made their first contribution in https://github.com/streamlit/streamlit/pull/7842
- @matiboux made their first contribution in https://github.com/streamlit/streamlit/pull/7596
Full Changelog: https://github.com/streamlit/streamlit/compare/1.29.0...1.30.0
- Python
Published by github-actions[bot] over 2 years ago
streamlit - 1.29.0
What's Changed
Breaking Changes 🛠
- Remove old app test api by @AnOctopus in https://github.com/streamlit/streamlit/pull/7657 ### New Features 🎉
- Add ability to add empty query params by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7601
- Add Enum coercion to options elements, if input Enum classes "identical" but redefined on script run by @Asaurus1 in https://github.com/streamlit/streamlit/pull/7408
- Remove Recording Feature Menu Item when unsupported by @kmcgrady in https://github.com/streamlit/streamlit/pull/7604
- Improved AppTest/ElementTree formatting by @AnOctopus in https://github.com/streamlit/streamlit/pull/7658
- Add support for timedelta type to
st.dataframe,st.data_editorandst.table. by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7689 - Add border parameter to container and form by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7455
- Use "loading skeletons" throughout Streamlit by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/7598 ### Bug Fixes 🐛
- Make the outline for expanders appear on focus-visible and not focus by @kmcgrady in https://github.com/streamlit/streamlit/pull/7592
- Use
NoReturnannotation for stop and rerun by @kongzii in https://github.com/streamlit/streamlit/pull/7422 - Fix SVG scaling on fullscreen mode for
st.graphviz_chartby @snehankekre in https://github.com/streamlit/streamlit/pull/7398 - Fix top padding when embedding an app with a sidebar by @sfc-gh-jgarcia in https://github.com/streamlit/streamlit/pull/7630
- Fix app testing repr bug for
st.containerby @AnOctopus in https://github.com/streamlit/streamlit/pull/7644 - Ensure file_uploader doesn't trigger needless reruns by @AnOctopus in https://github.com/streamlit/streamlit/pull/7641
- Fix trigger value regression with
st.rerunby @AnOctopus in https://github.com/streamlit/streamlit/pull/7643 - Fix: MPA Nav expand arrow by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7634
- Greatly narrow errors that we retry in SnowflakeConnection by @vdonato in https://github.com/streamlit/streamlit/pull/7645
- Fix how connection is declared for typing purposes by @thezanke in https://github.com/streamlit/streamlit/pull/7671
- Enforce pyarrow version for arrow-based custom components by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7695
- Allow to access external server IP via https. by @LarsHill in https://github.com/streamlit/streamlit/pull/7712
- Move dg_stack into a ContextVar to support with blocks in separate threads by @eric-skydio in https://github.com/streamlit/streamlit/pull/7715
- Improve st.connection caching behavior by @kajarenc in https://github.com/streamlit/streamlit/pull/7730
- Don't use hash on floats in hashing.py by @BlackHC in https://github.com/streamlit/streamlit/pull/7754 ### Other Changes
- Deprecate unused config options by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7584
- Remove "Made by Streamlit" footer by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7583
- Tweak "forgot config" SnowflakeConnection error message by @vdonato in https://github.com/streamlit/streamlit/pull/7652
- Release Streamlit version 1.28.1 by @vdonato in https://github.com/streamlit/streamlit/pull/7666
- Poll for script completion much more often in AppTest by @AnOctopus in https://github.com/streamlit/streamlit/pull/7691
- Add Python 3.12 support by @kajarenc in https://github.com/streamlit/streamlit/pull/7663
- Release Streamlit version 1.28.2 by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7716
- fix: component dev url typo by @ObservedObserver in https://github.com/streamlit/streamlit/pull/7746
- Fix another url typo by @vdonato in https://github.com/streamlit/streamlit/pull/7764
New Contributors
- @kongzii made their first contribution in https://github.com/streamlit/streamlit/pull/7422
- @Asaurus1 made their first contribution in https://github.com/streamlit/streamlit/pull/7408
- @thezanke made their first contribution in https://github.com/streamlit/streamlit/pull/7671
- @LarsHill made their first contribution in https://github.com/streamlit/streamlit/pull/7712
- @eric-skydio made their first contribution in https://github.com/streamlit/streamlit/pull/7715
- @sfc-gh-pfinnigan made their first contribution in https://github.com/streamlit/streamlit/pull/7682
- @samueldg made their first contribution in https://github.com/streamlit/streamlit/pull/7762
- @ObservedObserver made their first contribution in https://github.com/streamlit/streamlit/pull/7746
- @BlackHC made their first contribution in https://github.com/streamlit/streamlit/pull/7754
Full Changelog: https://github.com/streamlit/streamlit/compare/1.28.2...1.29.0
- Python
Published by github-actions[bot] over 2 years ago
streamlit - 1.28.0
What's Changed
Breaking Changes 🛠
- Remove legacy dataframe serialization by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7429 ### New Features 🎉
- Add overrideable default timeout for script tests by @AnOctopus in https://github.com/streamlit/streamlit/pull/7327
- Fluent asserts and type narrowing for widgets in tests by @AnOctopus in https://github.com/streamlit/streamlit/pull/7325
- Teach st.write how to not set unsafeallowhtml when possible by @vdonato in https://github.com/streamlit/streamlit/pull/7432
- Add datetime index editing support for
st.data_editorby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7483 - Support Graphviz layout engines by @snehankekre in https://github.com/streamlit/streamlit/pull/7505
- Better input/output visibility in Langchain callback by @pokidyshev in https://github.com/streamlit/streamlit/pull/7478
- New test framework api structure by @AnOctopus in https://github.com/streamlit/streamlit/pull/7413
- Arrow dataframe test wrapper by @AnOctopus in https://github.com/streamlit/streamlit/pull/7519
- Columns and tabs in script testing by @AnOctopus in https://github.com/streamlit/streamlit/pull/7524
- Chat input and messages for app testing by @AnOctopus in https://github.com/streamlit/streamlit/pull/7535
- Update
st.spinnerby @mayagbarnes in https://github.com/streamlit/streamlit/pull/7488 - Alert classes in app testing by @AnOctopus in https://github.com/streamlit/streamlit/pull/7542
- Query params and secrets in app tests by @AnOctopus in https://github.com/streamlit/streamlit/pull/7561
- De-experimentalize st.connection by @vdonato in https://github.com/streamlit/streamlit/pull/7536
- Minor st.connection tweaks by @vdonato in https://github.com/streamlit/streamlit/pull/7562
- Basic app test repr cleanup by @AnOctopus in https://github.com/streamlit/streamlit/pull/7573
- Add toolbar to
st.dataframeandst.data_editorby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7345 - Implement many remaining AppTest elements by @AnOctopus in https://github.com/streamlit/streamlit/pull/7576 ### Bug Fixes 🐛
- Remove autosizer so we don't have weird flickering and weird layout issues by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7281
- Better dataframe hashing by @kajarenc in https://github.com/streamlit/streamlit/pull/7331
- Fix bokeh slider by adding in side effects to package json by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7441
- Fix vertical button regression in toolbar actions by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7470
- Upgrade plotly.js version by @sfc-gh-wihuang in https://github.com/streamlit/streamlit/pull/7449
- Avoid confusion about file extensions: keep inner dots by @mo42 in https://github.com/streamlit/streamlit/pull/7362
- Configure non-range indices as required for editing with
st.data_editorby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7481 - Widget style fixes by @sfc-gh-jgarcia in https://github.com/streamlit/streamlit/pull/7486
- Support for non-string column names in
st.data_editorby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7485 - Add user-friendly exception if dataframe exceeds max config of Pandas Styler by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7497
- Only use getactivesession when running in SiS by @vdonato in https://github.com/streamlit/streamlit/pull/7502
- Call matplotlib crash fix for scripts run in tests by @AnOctopus in https://github.com/streamlit/streamlit/pull/7511
- Improve decimal type support for
st.dataframeandst.data_editorby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7475 - Fix: Foreign language anchors by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7454
- Fix Chat Message container to align and manage the autosizer handling by @kmcgrady in https://github.com/streamlit/streamlit/pull/7504
- Added permission to use Clipboard API in IFrame by @dilipthakkar in https://github.com/streamlit/streamlit/pull/7487
- Move label attribute to only widgets that have it by @AnOctopus in https://github.com/streamlit/streamlit/pull/7560
- Fix select slider value setting with non-strings by @AnOctopus in https://github.com/streamlit/streamlit/pull/7566
- Fix attr access of session state in app tests by @AnOctopus in https://github.com/streamlit/streamlit/pull/7543
- Added FIPS compliance by @DueViktor in https://github.com/streamlit/streamlit/pull/7527
- Enlarge sidebar left and right padding to match MPA spacing by @sfc-gh-jgarcia in https://github.com/streamlit/streamlit/pull/7531
- Convert Expander to Details/Summary Element by @kmcgrady in https://github.com/streamlit/streamlit/pull/7247
- Fix chat_input repr and add repr tests by @AnOctopus in https://github.com/streamlit/streamlit/pull/7574 ### Other Changes
- Release 1.27.0 by @vdonato in https://github.com/streamlit/streamlit/pull/7402
- Allow pillow 10.0.1 by @AnOctopus in https://github.com/streamlit/streamlit/pull/7442
- Release 1.27.1 by @kmcgrady in https://github.com/streamlit/streamlit/pull/7450
- fixes pandas iscategoricaldtype deprecation warning by @c-bik in https://github.com/streamlit/streamlit/pull/7477
- Release Streamlit version 1.27.2 by @vdonato in https://github.com/streamlit/streamlit/pull/7492
- Fix pandas 2.1 deprecation warnings by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7496
- Use the new string dtype for dataframe handling by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7479
- Session state yield points by @AnOctopus in https://github.com/streamlit/streamlit/pull/7373
- Migrate allowed-message-origins to host-config endpoint by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7342
- Make AppTest constructors and run methods require kwargs for timeouts by @AnOctopus in https://github.com/streamlit/streamlit/pull/7520
New Contributors
- @kopp made their first contribution in https://github.com/streamlit/streamlit/pull/7457
- @c-bik made their first contribution in https://github.com/streamlit/streamlit/pull/7477
- @pokidyshev made their first contribution in https://github.com/streamlit/streamlit/pull/7478
- @dilipthakkar made their first contribution in https://github.com/streamlit/streamlit/pull/7487
Full Changelog: https://github.com/streamlit/streamlit/compare/1.27.2...1.28.0
- Python
Published by github-actions[bot] over 2 years ago
streamlit - 1.27.0
What's Changed
Breaking Changes 🛠
- Move
st.rerunout of experimental by @AnOctopus in https://github.com/streamlit/streamlit/pull/7258 ### New Features 🎉 - st.link_button by @kajarenc in https://github.com/streamlit/streamlit/pull/7224
- Allow
Noneas value forst.number_inputby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7262 - Scatter chart by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/7164
- Allow
Noneas index forst.radioby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7269 - Allow
Noneas index forst.selectboxby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7270 - Allow
Noneas value forst.date_inputby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7265 - Allow
Noneas value forst.time_inputby @LukasMasuch in https://github.com/streamlit/streamlit/pull/7278 - Allow
Noneas value for text widgets by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7313 ### Bug Fixes 🐛 - Fix:
st.multiselectNo Results vs. max selection message by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7205 - Fix:
st.slideroverlapping label values by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7221 - Fix: Improve typecheck in
calc_md5by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7255 - Fix:
st.pydeck_chartwith invalid JSON by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7256 - Identical widgets on different pages are distinct by @AnOctopus in https://github.com/streamlit/streamlit/pull/7264
- Responsive widget tweaks by @sfc-gh-jgarcia in https://github.com/streamlit/streamlit/pull/7145
- Fix: Handle
start_timechanges inst.videoby @mayagbarnes in https://github.com/streamlit/streamlit/pull/7257 - Catch KeyError exceptions within Compact Session State by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7280
- Fix deploy cards radius by @sfc-gh-jgarcia in https://github.com/streamlit/streamlit/pull/7304
- Add id to map api by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7307
- Fix: Sidebar covers header decoration line by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7297
- Fix:
st.tabsselected tab logic by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7287 - Fix trigger resets with fast reruns by @AnOctopus in https://github.com/streamlit/streamlit/pull/7283
- Fix: Update
st.tabsvisuals to make stale tabs more obvious by @mayagbarnes in https://github.com/streamlit/streamlit/pull/7310 ### Other Changes - Fix bug where we should actually be defaulting to test@example.com instead of test@localhost.com by @willhuang1997 in https://github.com/streamlit/streamlit/pull/7219
- Vendor
pympler.asizeofby @rudyardrichter in https://github.com/streamlit/streamlit/pull/7193 - Remove deprecated usage of inline SVG by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7183
- Use
target="_self"anddownloadattribute for download button by @kajarenc in https://github.com/streamlit/streamlit/pull/7151
New Contributors
- @sfc-gh-dperezalvarez made their first contribution in https://github.com/streamlit/streamlit/pull/7157
- @rudyardrichter made their first contribution in https://github.com/streamlit/streamlit/pull/7193
- @sfc-gh-gpijanski made their first contribution in https://github.com/streamlit/streamlit/pull/7243
- @dwaltsch made their first contribution in https://github.com/streamlit/streamlit/pull/7213
Full Changelog: https://github.com/streamlit/streamlit/compare/1.26.0...1.27.0
- Python
Published by github-actions[bot] over 2 years ago
streamlit - 1.26.0
What's Changed
Highlights
- 🤖 Introducing
st.statusto display output from long-running processes and external API calls. Works great withst.chat_message! See our documentation for how to use this feature. - 🚥 Introducing
st.toggle— an alternative tost.checkboxwhen you need an on/off switch.
Notable Changes
- 🎨 Simple chart elements have a
colorparameter to set the color of your data points or series (#7022). - 🌈 Markdown supports rainbow and gray colors (#7106, #7179).
- 📏
st.headerandst.subheaderhave optional, colored dividers (#7133). - 🚀 Deploying to Community Cloud is even easier—locally running apps have a deploy button in their toolbars (#7085, #6935).
- 🖌️
st.download_buttonhas a new parametertypefor theming (#7056, #7038). - 🤖
st.chat_messagehas ai and human presets for messages (#7094). - 💅
st.radiooptions support markdown and have captions (#7018, #7105, #6085). - 🧼 Assorted visual tweaks (#7050, #894).
- 🛏️ Replaced deprecated
imghdrdependency withpillow(#7081, #7027). - 🔢
st.number_input's step buttons (+/-) are ignored during tabbing navigation (#7154). Thanks @denck007!
Other Changes
- 🍞 Bug fix: Toast messages are no longer blocked by
st.chat_input(#7204, #7115). - 🕸️ Bug fix: Widget IDs are now stable to prevent inconsistent statefulness (#7003).
- 🦟 Bug fix: Browser autofill is correctly recognized within forms now (#7150, #7101, #7084).
- 🪱 Bug fix:
st.file_uploaderno longer causes session state to reset when a websocket connection is dropped and reconnected (#7149, #7025). - 🏎️ Bug fix: Pydeck JSON data is cached for improved performance (#7113, #5532).
- 🦋 Bug fix:
st.chat_inputno longer submits prematurely while typing with an input method editor (#6993). - 🐞 Bug fix: Label backgrounds for
st.tabsare now transparent (#7070, #5707). - 🐝 Bug fix: Page width is no longer ignored when using the
helpparameter inst.button(#7033, #6161). - 🐜 Bug fix: Tweaked Altair color specification for improved visibility in dark mode (#7061, #3343).
- 🪲 Bug fix:
st.chat_messagecan correctly use local images as avatars (#7130). - 🐛 Bug fix: Specified that MD5 is not used for security (#7122, #7120).
- 🪄 Bug fix: Async function docstrings are ignored by Streamlit magic (#7143, #7137).
New Contributors
- @chakku000 made their first contribution in https://github.com/streamlit/streamlit/pull/6993
- @DueViktor made their first contribution in https://github.com/streamlit/streamlit/pull/7122
- @denck007 made their first contribution in https://github.com/streamlit/streamlit/pull/7154
Full Changelog: https://github.com/streamlit/streamlit/compare/1.25.0...1.26.0
- Python
Published by sfc-gh-kmcgrady over 2 years ago
streamlit - 1.25.0
What's Changed
Highlights
- 🍞 Introducing
st.toast— a command to briefly show toast messages to users in the bottom-right corner of apps. See our documentation on how to use this feature.
Notable Changes
- 🗺️
st.mapnow has parameters for latitude, longitude, color, and size to customize data points (#6896). - 🚩
st.multiselectsupports setting placeholders and specifying the maximum number of selections via the placeholder and max_selections keyword-only arguments, respectively (#6901, #4750). Thanks, @fhiroki! - 📅 Customize the date format for st.date_input with the format parameter (#6974, #5234).
- ↩️ Forms can now be submitted with Enter/Return while inside
st.text_input,st.number_input, orst.text_area(#6911, #3790). - 🍢 The app menu icon in the upper-right corner of apps has been changed from "☰" to "⋮" (#6947).
Other Changes
- ⛓️ Minimum required versions increased for multiple Python dependencies, including numpy>=1.19.3 and pandas>=1.3.0 (#6802).
- 🛡️ protobufjs was bumped from 7.2.1 to 7.2.4 (#6959).
- ✨ Visual design tweaks to Streamlit's input widgets (#6944).
- 🦋 Bug fix: st.slider now accepts general number types like numpy.int64 instead of just int and float (#6816, #6815). Thanks, @milliams!
- 🐜 Bug fix: Data labels for st.slider and st.select_slider no longer overflow when inside st.expander (#6828, #6297).
- 🐛 Bug fix: Elements no longer re-render from scratch with each rerun (#6923, #6920).
- 🐞 Bug fix: st.data_editor hashes styler objects correctly for stability across reruns (#6815, #6898).
- 🐝 Bug fix: Fixed the padding for embedded apps using st.chat_input to prevent messages being cutoff (#6979).
Full Changelog: https://github.com/streamlit/streamlit/compare/1.24.0...1.25.0
- Python
Published by github-actions[bot] almost 3 years ago
streamlit - 1.24.0
What's Changed
Highlights
- 💬 Introducing
st.chat_messageandst.chat_input— two new chat elements that let you build conversational apps. Learn how to use these features in your LLM-powered chat apps in our tutorial. - 💾 Streamlit's caching decorators now allow you to customize Streamlit's hashing of input parameters with the keyword-only argument
hash_funcs.
Notable Changes
- 🐍 We've deprecated support for Python 3.7 in the core library and Streamlit Community Cloud (#6868).
- 📅
st.cache_dataandst.cache_resourcecan hash timezone-awaredatetimeobjects (#6812, #6690, #5110).
Other Changes
- ✨ Visual design tweaks to Streamlit's input widgets (#6817).
- 🐛 Bug fix:
st.writepretty-prints dataclasses usingst.help(#6750). - 🪲 Bug fix:
st.button's height is consistent with that of other widgets (#6738). - 🐜 Bug fix: Upgraded the
react-rangefrontend dependency to fix the memory usage of sliders (#6764, #5436). Thanks @wolfd! - 🐝 Bug fix: Pydantic validators no longer result in exceptions on app reruns (#6664, #3218).
- 🐞 Bug fix:
streamlit config showhonors newlines (#6758, #2868). - 🪰 Bug fix: Fixed a race condition to ensure Streamlit reruns the latest code when the file changes (#6884).
- 🦋 Bug fix: Apps no longer rerun when users click anchor links (#6834, #6500).
- 🕸️ Bug fix: Added robust out-of-bounds checks for
min_valueandmax_valueinst.number_input(#6847, #6797).
Full Changelog: https://github.com/streamlit/streamlit/compare/1.23.1...1.24.0
- Python
Published by github-actions[bot] almost 3 years ago
streamlit - 1.23.1
Highlights
- ✂️ Announcing the general availability of st.data_editor, a widget that allows you to edit DataFrames and many other data structures in a table-like UI. Breaking change: the data editor’s representation used in
st.session_statewas altered. Find out more about the new format in Access edited data. - ⚙️ Introducing the Column configuration API with a suite of methods to configure the display and editing behavior of
st.dataframeandst.data_editorcolumns (e.g. their title, visibility, type, or format). Keep an eye out for a detailed blog post and in-depth documentation upcoming in the next two weeks. - 🔌 Learn to use
st.experimental_connectionto create and manage data connections in your apps with the new Connecting to data docs and video tutorial.
Notable Changes
- 📊 Streamlit now supports Protobuf 4 and Altair 5 (#6215, #6618, #5626, #6622).
- ☎️ st.dataframe and st.dataeditor can hide index columns with `hideindex
, specify the display order of columns withcolumn_order, and disable editing for individual columns with thedisabled` parameter. - ⏱️ The
ttlparameter in st.cache_data and st.cache_resource accepts formatted strings, so you can simply sayttl="30d",ttl="1h30m"and any other combination ofw,d,h,m,ssupported by Pandas’s Timedelta constructor (#6560). - 📂
st.file_uploadernow interprets thetypeparameter more accurately. For example, "jpg" or ".jpg" now accept both "jpg" and "jpeg" extensions. This functionality has also been extended to "mpeg/mpg", "tiff/tif", "html/htm", and "mpeg4/mp4". - 🤫 The new
global.disableWidgetStateDuplicationWarningconfiguration option allows the silencing of warnings triggered by setting widget default values and keyed session state values concurrently (#3605, #6640). Thanks, @antonAce!
Other Changes
- 🏃♀️Improved startup time by lazy loading some dependencies (#6531).
- 👋 Removed
st.beta_*andst.experimental_showdue to deprecation and low-use (#6558) - 🚀 Further improvements to st.dataframe and st.data_editor:
- Improved editing on mobile devices for the data editor (#6548).
- All editable columns have an icon in their column header and support tooltips (#6550, #6561).
- Enable editing for columns containing datetime, date, or time values (#6025).
- New input validation options for columns in the data editor, such as
max_charsandvalidatefor text columns, andmin_value,max_valueandstepfor number columns (#6563). - Improved type parsing capabilities in the data editor (#6551).
- Unified missing values to
Nonein returned data structures (#6544). - A warning is shown in cells when integers exceed the maximum safe value of
(2^53) -1(#6311, #6549). - Prevented editing the sessions state by showing a warning (#6634).
- Fixed issues with list columns sometimes breaking the frontend (#6644).
- Fixed a display issue with index columns using category dtype (#6680, #6598).
- Fixed an issue that prevented a rerun when adding empty rows (#6598).
- Unified the behavior between
st.data_editorandst.dataframerelated to auto-hiding the index column(s) based on the input data (#6659, #6598)
- 🛡️ Streamlit’s Security Policy can be found in its GitHub repository (#6666).
- 🤏 Documented the integer size limit for
st.number_inputandst.slider(#6724). - 🐍 The majority of Streamlit's Python dependencies have set a maximum allowable version, with the standard upper limit set to the next major version, but not inclusive of it (#6691).
- 💅 UI design improvements to in-app modals (#6688).
- 🐞 Bug fix:
st.date_input's date selector is equally visible in dark mode (#6072, #6630). - 🐜 Bug fix: the sidebar navigation expansion indicator in multipage apps is restored (#6731).
- 🐛 Bug fix: The docstring and exception message for
st.set_page_confighave been updated to clarify that this command can be invoked once for each page within a multipage app, rather than once per entire app (#6594). - 🐝 Bug fix:
st.jsonno longer collapses multiple spaces in both keys and values with single space when rendered (#6657, #6663).
- Python
Published by github-actions[bot] about 3 years ago
streamlit - 1.22.0
Highlights
- 🔌 Introducing
st.experimental_connection: Easily connect your app to data sources and APIs using our new connection feature. Find more details in our blog post and the API reference, and stay tuned for in-depth documentation! In the meantime, explore our updated MySQL and Snowflake connection tutorials for examples of this feature.
Notable Changes
- 🐼 Streamlit now supports Pandas 2.0 (#6413, #6378, #6507). Thanks, connortann!
- 🍔 Customize the visibility of items in the toolbar, options menu, and the settings dialog using the
client.toolbarModeconfig option (#6174). - 🪵 Streamlit logs now reside in the "streamlit" namespace instead of the root logger, enabling app developers to better manage log handling (#3978, #6377).
Other Changes
- 🔏 CLI parameters can no longer be used to set sensitive configuration values (#6376).
- 🤖 Improved the debugging experience by reducing log noise (#6391).
- 🐞 Bug fix:
@st.cache_datadecorated functions support UUID objects as parameters (#6440, #6459). - 🐛 Bug fix: Tabbing through buttons and other elements now displays a red border only when focused, not when clicked (#6373).
- 🪲 Bug fix:
st.multiselect's clear icon is larger and includes a hover effect (#6471). - 🐜 Bug fix: Custom theme font settings no longer apply to code blocks (#6484, #6535).
- ©️ Bug fix:
st.code's copy-to-clipboard button appears when you hover on code blocks (#6490, #6498).
- Python
Published by github-actions[bot] about 3 years ago
streamlit - 1.21.0
Highlights
- 📏 Introducing
st.divider— a command that displays a horizontal line in your app. Learn how to use this command in its API reference. - 🔏 Streamlit now supports the use of a global
secrets.tomlfile, in addition to a project-level file, to easily store and securely access your secrets. Learn more in Secrets management. - 🚀
st.helphas been revamped to show more information about object methods, attributes, classes, and more, which is great for debugging!
Notable Changes
- 🪜
st.time_inputsupports adding a stepping interval with the keyword-onlystepparameter (#6071). - ❓ Most text elements can include tooltips with the
helpparameter (#6043). - ↔️
st.pyplothas ause_container_widthparameter to set the chart to the container width (now all chart elements support this parameter) (#6067). - 👩💻
st.codesupports optionally displaying line numbers to the code block’s left with the booleanline_numbersparameter (#5756, #6042). - ⚓ Anchors in header elements can be turned off by setting
anchor=False(#6158).
Other Changes
- 🐼
st.tableandst.dataframesupportpandas.Period, and number and boolean types in categorical columns (#2547, #5429, #5329, #6248). - 🕸️ Added
.webpto the list of allowed static file extensions (#6331) - 🐞 Bug fix: stop script execution on websocket close to immediately clear session information (#6166, #6204).
- 🐜 Bug fixes: updated allowed/disallowed label markdown behavior such that unsupported elements are unwrapped and only their children (text contents) render (#5872, #6036, #6054, #6163).
- 🪲 Bug fixes: don’t push browser history states on rerun, use HTTPS to load external resources in
streamlit hello, and make the browser back button work for multipage apps (#5292, #6266, #6232). Thanks, whitphx! - 🐝 Bug fix: avoid showing emoji on non-UTF-8 terminals. (#2284, #6088). Thanks, kcarnold!
- 📁 Bug fix: override default use of File System Access API for
react-dropzoneso thatst.file_uploader's File Selection Dialog only shows file types corresponding to those included in thetypeparameter (#6176, #6315). - 💾 Bug fix: make the
.clear()method on cache-decorated functions work (#6310, #6321). - 🏃 Bug fix:
st.experimental_get_query_paramsdoesn’t need reruns to work (#6347, #6348). Thanks, PaleNeutron! - 🐛 Bug fix:
CachedStFunctionWarningmentionsexperimental_allow_widgetsinstead of the deprecatedsuppress_st_warning(#6216, #6217).
- Python
Published by github-actions[bot] about 3 years ago
streamlit - 1.20.0
Notable Changes
- 🔐 Added support for configuring SSL to serve apps directly over HTTPS (#5969).
- 🖼️ Granular control over app embedding behavior with the
/?embedand/?embed_optionsquery parameters. Learn how to use this feature in our docs (#6011, #6019). - ⚡ Enabled the
runner.fastRerunsconfiguration option by default to make apps much more responsive to user interaction (#6200).
Other Changes
- 🍔 Cleaned up the hamburger menu by removing the least used options (#6080).
- 🖨️ Design changes to ensure apps being printed or saved as a PDF look good (#6180).
- 🐞 Bug fix: improved
dtypeschecking inst.experimental_data_editor(#6185, #6188). - 🐛 Bug fix: properly position
st.metric'shelptooltip when not inside columns (#6168). - 🪲 Bug fix: regression in retrieving messages from the server's
ForwardMsgCache(#6210). - 🌀 Bug fix:
st.cache_datadocstring for theshow_spinnerparam now listsstras a supported type (#6207, #6213). - ⏱️ Made ping and websocket timeouts far more forgiving (#6212).
- 🗺️
st.mapandst.pydeck_chartdocs state that Streamlit's Mapbox token will not work indefinitely (#6143).
- Python
Published by github-actions[bot] over 3 years ago
streamlit - 1.19.0
Highlights
- ✂️ Introducing
st.experimental_data_editor, a widget that allows you to edit DataFrames and many other data structures in a table-like UI. Read more in our documentation and blog post.
Other Changes
- ✨ Streamlit’s GitHub README got a new look (#6016).
- 🌚 Improved readability of styled dataframe cells in dark mode (#6060, #6098).
- 🐛 Bug fix: make apps work again in the latest versions of Safari, and in Chrome with third-party cookies blocked (#6092, #6094, #6087, #6100).
- 🐞 Bug fix: refer to new cache primitives in the “Clear cache” dialog and error messages (#6082, #6128).
- 🐝 Bug fix: properly cache class member functions and instance methods (#6109, #6114).
- 🐜 Bug fix: regression in
st.metrictooltip position (#6093, #6129). - 🪲 Bug fix: allow fullscreen button to show for dataframes, charts, etc, in expander (#6083, #6148).
- Python
Published by github-actions[bot] over 3 years ago
streamlit - 1.18.0
Highlights
- 🎊 Introducing
@st.cache_dataand@st.cache_resource— two new caching commands to replacest.cache! Check out our blog post and documentation for more information.
Notable Changes
- 🪆
st.columnssupports up to one level of column nesting (i.e., columns inside columns) in the main area of the app. - ⏳
st.progresssupports adding a message to display above the progress bar with thetextkeyword parameter. - ↔️
st.buttonhas an optionaluse_container_widthparameter to allow you to stretch buttons across the full container width. - 🐍 We formally added support for Python 3.11.
- 🖨️ Save your app as a PDF via the “Print” option in your app’s hamburger menu.
- 🛎️ Apps can serve small, static media files via the
enableStaticServingconfig option. See our documentation on how to use this feature and our demo app for an example.
Other Changes
- 🏁 All Streamlit endpoints (including
/healthz) have been renamed to have a consistent pattern and avoid any clashes with reserved endpoints of GCP (notably Cloud Run and App Engine) (#5534). - ⚡ Improved caching performance when multiple sessions access an uncomputed cached value simultaneously (#6017).
- 🚧 Streamlit only displays deprecation warnings in the browser when the
client.showErrorDetailsconfig option is set toTrue. Deprecation warnings always get logged to the console, regardless of whether they're displayed in-browser (#5945). - 🏓 Refactored the
st.dataframeinternals to improve dataframe handling and conversion, such as detecting more types, converting key-value dicts to dataframes, and more (#6026, #6023). - 💽 The behavior of widget labels when they are passed unsupported Markdown elements is documented (#5978).
- 📊 Bug fix: Plotly improvements — upgraded multiple frontend dependencies, including Plotly, to the latest version to properly redraw cached charts, make Plotly mapbox animations work, and allow users to update the figure layout when using the Streamlit theme (#5885, #5967, #6055).
- 📶 Bug fix: allow browser tabs that transiently disconnect (due to a network blip, load balancer timeout, etc.) to avoid losing all of their state (#5856).
- 📱 Bug fix: the keyboard is hidden on mobile when
st.selectboxandst.multiselecthave less than 10 options (#5979). - 🐝 Bug fix: design tweaks to
st.metric,st.multiselect,st.tabs, and menu items to prevent label overflow and scrolling issues, especially with small viewport sizes (#5933, #6034). - 🐞 Bug fix: switched to a functioning Twemoji URL from which page favicons are loaded in
st.set_page_config(#5943). - ✍️ More type hints (#5986). Thanks, harahu!
- Python
Published by github-actions[bot] over 3 years ago
streamlit - 1.17.0
Notable Changes
- 🪄
@st.experimental_singletonsupports an optionalvalidateparameter that accepts a validation function for cached data and is called each time the cached value is accessed. - 💾
@st.experimental_memo’spersistparameter can also accept booleans.
Other Changes
- 📟 Multipage apps exclude
__init__.pyfrom the page selector (#5890). - 📐 The iframes of embedded apps have the ability to dynamically resize their height (#5894).
- 🐞 Bug fix: thumb values of range sliders respect the container width (#5913).
- 🪲 Bug fix: all examples in docstrings of Streamlit commands contain relevant imports to make them reproducible (#5877).
- Python
Published by github-actions[bot] over 3 years ago
streamlit - 1.16.0
Highlights
- 👩🎨 Introducing a new Streamlit theme for Altair, Plotly, and Vega-Lite charts! Check out our blog post for more information.
- 🎨 Streamlit now supports colored text in all commands that accept Markdown, including
st.markdown,st.header, and more. Learn more in our documentation.
Notable Changes
- 🔁 Functions cached with
st.experimental_memoorst.experimental_singletoncan contain Streamlit media elements and forms. - ⛄ All Streamlit commands that accept pandas DataFrames as input also support Snowpark and PySpark DataFrames.
- 🏷 st.checkbox and st.metric can customize how to hide their labels with the
label_visibilityparameter.
Other Changes
- 🗺️
st.mapimprovements: support for upper case columns and better exception messages (#5679, #5792). - 🐞 Bug fix:
st.plotly_chartrespects the figure’s height attribute and theuse_container_widthparameter (#5779). - 🪲 Bug fix: all commands with the
iconparameter such as st.error, st.warning, etc, can contain emojis with variant selectors (#5583). - 🐝 Bug fix: prevent
st.camera_inputfrom jittering when resizing the browser window (#5661). - 🐜 Bug fix: update exception layout to avoid overflow of stack traces (#5700).
- Python
Published by kmcgrady over 3 years ago
streamlit - 1.6.0
- 🗜 WebSocket compression is now disabled by default, which will improve CPU and latency performance for large dataframes. You can use the
server.enableWebsocketCompressionconfiguration option to re-enable it if you find the increased network traffic more impactful. - ☑️ 🔘 Radio and checkboxes improve focus on Keyboard navigation (#4308)
- Python
Published by streamlitbot over 4 years ago
streamlit - 1.5.0
Release date: Jan 27, 2022
Notable Changes
- 🌟 Favicon defaults to a PNG to allow for transparency (#4272).
- 🚦 Select Slider Widget now has the
disabledparameter that removes interactivity (completing all of our widgets) (#4314).
Other Changes
- 🔤 Improvements to our markdown library to provide better support for HTML (specifically nested HTML) (#4221).
- 📖 Expanders maintain their expanded state better when multiple expanders are present (#4290).
- 🗳 Improved file uploader and camera input to call its
on_changehandler only when necessary (#4270).
- Python
Published by kmcgrady over 4 years ago
streamlit - 1.4.0
Highlights
- 📸 Introducing
st.camera_inputfor uploading images straight from your camera.
Notable Changes
- 🚦 Widgets now have the
disabledparameter that removes interactivity. - 🚮 Clear
st.experimental_memoandst.experimental_singletonprogrammatically by using theclear()method on a cached function. - 📨 Developers can now configure the maximum size of a message to accommodate larger messages within the Streamlit application. See
server.maxMessageSize. - 🐍 We formally added support for Python 3.10.
Other Changes
- 😵💫 Calling
strorrepronthreading.current_thread()does not cause a RecursionError (#4172). - 📹 Gracefully stop screencast recording when user removes permission to record (#4180).
- 🌇 Better scale images by using a higher-quality image bilinear resampling algorithm (#4159).
- Python
Published by kmcgrady over 4 years ago
streamlit - 1.3.0
Release date: Dec 16, 2021
Notable Changes
- 💯 Support for NumPy values in
st.metric. - 🌐 Support for Mesh Layers in PyDeck.
- 📊 Updated Plotly chart version to support the latest features.
- 🏀
st.spinnerelement has visual animated spinner. - 🍰
st.captionsupports HTML in text withunsafe_allow_htmlparameter.
Other Changes
- 🪲 Bug fix: Allow
st.session_stateto be used to set number_input values with no warning (#4047). - 🪲 Bug fix: Fix footer alignment in wide mode (#4035).
- 🐞 Bug fix: Better support for Graphviz and Bokeh charts in containers (columns, expanders, etc.) (#4039).
- 🐞 Bug fix: Support inline data values in Vega-Lite (#4070).
- ✍️ Types: Updated type annotations for experimental memo and singleton decorators.
- ✍️ Types: Improved type annotations for
st.selectbox,st.select_slider,st.radio,st.number_input, andst.multiselect.
- Python
Published by kmcgrady over 4 years ago
streamlit - 1.2.0
Release date: Nov 11, 2021
Notable Changes
- ✏️
st.text_inputandst.text_areanow have aplaceholderparameter to display text when the field is empty. - 📏 Viewers can now resize the input box in
st.text_area. - 📁 Streamlit can auto-reload when files in the sub-directories change.
- 🌈 We've upgraded Bokeh support to 2.4.1! We recommend updating your Bokeh library to 2.4.1 to maintain functionality. Going forward, we'll let you know if there's a mismatch in your Bokeh version via an error prompt.
- 🔒 Developers can access secrets via attribute notation (e.g.,
[st.secrets.foo](http://st.secrets.foo)vs.st.secrets["foo"]) just like session state.
Other Changes
- 👀 Visual fixes (https://github.com/streamlit/streamlit/pull/3863, https://github.com/streamlit/streamlit/pull/3995, https://github.com/streamlit/streamlit/pull/3926, https://github.com/streamlit/streamlit/pull/3975)
- 🍔 Fixes to the hamburger menu (https://github.com/streamlit/streamlit/pull/3968)
- 🖨️ Ability to print session state (https://github.com/streamlit/streamlit/pull/3970),
- Python
Published by kmcgrady over 4 years ago
streamlit - 1.1.0
Highlights
- 🧠 Memory improvements: Streamlit apps allocate way less memory over time now.
Notable Changes
- ♻️ Apps automatically rerun now when the content of
secrets.tomlchanges (before this you had to refresh the page manually).
Other Changes
- 🔗 Redirected some links to our brand-new docs site, e.g. in exceptions.
- 🪲 Bug fix: Allow initialization of range slider with session state (#3586).
- 🐞 Bug fix: Refresh chart when using
add_rowswithdatetimeindex (#3653). - ✍️ Added some more type annotation in our codebase (#3908).
- Python
Published by kmcgrady over 4 years ago
streamlit - 1.0.0
Release date: Oct 5, 2021
Highlights
- 🎈Announcing Streamlit 1.0! To read more about check out our 1.0 blog post
Other Changes
- 🐞 Fixed an issue where using
df.dtypesto show datatypes for a DF fails while using Arrow (#3709), Image captions stay within image width and are readable (#3530)
- Python
Published by kmcgrady over 4 years ago
streamlit - 0.89.0
Release date: Sep 22, 2021
Highlights
- 💰 Introducing
st.experimental_memoandexperimental_singleton, a new primitive for caching! See our blog post - 🍔 Streamlit allows developers to configure their hamburger menu to be more user-centric
Notable Changes
- 💅 We updated our UI to a more polished look with a new font.
- 🎨 We now support
theme.basein the theme object when it's sent to custom components. - 🧠 We've modified session state to reset widgets if any of their arguments changed even if they provide a key.
- Some widget behavior may have changed, but we believe this change makes the most sense. We have added a section to our documentation describing how they behave.
Other Changes
- Python
Published by kmcgrady over 4 years ago
streamlit - 0.88.0
Release date: Sep 2, 2021
Highlights
- ⬇️ Introducing
st.download_button, a new button widget for easily downloading files
Notable Changes
- 🛑 We made changes to improve the redacted exception experience on Streamlit Cloud. When
client.showErrorDetails=trueexceptions display the Error Type and the Traceback, but redact the actual error text to prevent data leaks.
- Python
Published by kmcgrady almost 5 years ago
streamlit - 0.87.0
Release date: Aug 19, 2021
Highlights
- 🔢 Introducing
st.metric, an API for displaying KPIs. Check out the demo app showcasing the functionality
Other Changes
- 🐞 Bug Fixes: File uploader retains state upon expander closing (#3557), setIn Error with
st.empty(#3659), Missing IFrame embeds in docs (#3706), Fix error writing certain PNG files (#3597)
- Python
Published by kmcgrady almost 5 years ago
streamlit - 0.86.0
Release date: Aug 5, 2021
Highlights
- 🎓 Our layout primitives are graduating from beta! You can now use
st.columns,st.containerandst.expanderwithout thebeta_prefix.
Notable Changes
- 📱 When using
st.columns, columns will stack vertically when viewport size <640px so that column layout on smaller viewports is consistent and cleaner. (#3594)
Other Changes
- 🐞 Bug fixes: Fixed
st.date_inputcrashes if its empty (#3194), Opening files with utf-8(#3022),st.select_sliderresets its state upon interaction (#3600)
- Python
Published by kmcgrady almost 5 years ago
streamlit - 0.85.0
Release Date: Jul 22, 2021
Highlights
- Streamlit now uses Apache Arrow for serializing data frames when they are sent from Streamlit server to the front end. See our blog post
- (Users who wish to continue using the legacy data frame serialization can do so by setting the
dataFrameSerializationconfig option to"legacy"in theirconfig.toml)
- (Users who wish to continue using the legacy data frame serialization can do so by setting the
Other Changes
- Bug fixes: Unresponsive pydeck example (#3395), JSON parse error message (#2324), Tooltips rendering (#3300), Colorpicker not working on Streamlit Sharing (#2689)
- Python
Published by kmcgrady almost 5 years ago
streamlit - 0.84.0
Release date: Jul 1, 2021
Highlights
- 🧠 Introducing
st.session_stateand widget callbacks to allow you to add statefulness to your apps. Check out the blog post
Notable Changes
- 🪄
st.text_inputnow has anautocompleteparameter to allow password managers to be used
Other Changes
- Using st.setpageconfig to assign the page title no longer appends “Streamlit” to that title (#3467)
- NumberInput: disable plus/minus buttons when the widget is already at its max (or min) value (#3493)
- Python
Published by kmcgrady almost 5 years ago
streamlit - 0.83.0
Release date: Jun 17, 2021
Highlights
- 🛣️ Updates to Streamlit docs to include step-by-step guides which demonstrate how to connect Streamlit apps to various databases & APIs
Notable Changes
- 📄 st.form now has a clearonsubmit parameter which “resets” all the form’s widgets when the form is submitted.
Other Changes
- Fixed bugs regarding file encodings (#3320, #3108, #2731)
- Python
Published by kmcgrady almost 5 years ago
streamlit - 0.81.0
Release date: Apr 29, 2021
Highlights
- 📝 Introducing
st.formandst.form_submit_buttonto allow you to batch input widgets. Check out our blog post - 🔤 Introducing
st.captionso you can add explainer text anywhere in you apps. - 🎨 Updates to Theming, including ability to build a theme that inherits from any of our default themes.
- 🚀 Improvements to deployment experience to Streamlit sharing from the app menu.
Other changes
- Support for binary files in Custom Components (#3144)
- Python
Published by kmcgrady about 5 years ago
streamlit - 0.80.0
Release date: Apr 8, 2021
Highlights
- 🔐 Streamlit now support Secrets management for apps deployed to Streamlit Sharing!
- ⚓️ Titles and headers now come with automatically generated anchor links. Just hover over any title and click the 🔗 to get the link!
Other changes
- Added
allow-downloadscapability to custom components (#3040) - Fixed a markdown tables in dark theme (#3020)
- Improved color picker widget in the Custom Theme dialog (#2970)
- Python
Published by kmcgrady about 5 years ago
streamlit - 0.78.0
Release date: Mar 4, 2021
Features
- If you're in the Streamlit for Teams beta, we made a few updates to how secrets work. Check the beta docs for more info!
- Dataframes now displays timezones for all DateTime and Time columns, and shows the time with the timezone applied, rather than in UTC
Notable Bug Fixes
- Various improvement to column alignment in
st.beta_columns - Removed the long-deprecated
formatparam fromst.image, and replaced withoutput_format.
- Python
Published by kantuni over 5 years ago