1.46.0
·
175 commits
to develop
since this release
What's Changed
New Features 🎉
- Add stack trace info to missing label warning by @lukasmasuch in #11187
- added server.FolderWatchList to cli + LocalSourcesWatcher by @akramsystems in #9656
- [AdvancedLayouts] Adds a width parameter to st.code by @sfc-gh-lwilby in #11176
- [AdvancedLayouts] Adds a width parameter to st.json by @sfc-gh-lwilby in #11177
- [AdvancedLayouts] Adds a width parameter to st.help by @sfc-gh-lwilby in #11181
- [AdvancedLayouts] Adds a width parameter to st.progress by @sfc-gh-lwilby in #11182
- [AdvancedLayouts] Adds a width parameter to st.audio_input by @sfc-gh-lwilby in #11243
- [AdvancedLayouts] Adds a width parameter to st.slider, st.select_slider by @sfc-gh-lwilby in #11233
- [AdvancedLayouts] Adds a width parameter to st.camera_input and st.file_uploader by @sfc-gh-lwilby in #11246
- [AdvancedLayouts] Adds a width parameter to st.text_input and st.text_area by @sfc-gh-lwilby in #11255
- [AdvancedLayouts] Adds a width parameter to st.number_input and st.selectbox by @sfc-gh-lwilby in #11257
- [AdvancedLayouts] Adds a width parameter to st.date_input and st.time_input by @sfc-gh-lwilby in #11260
- Allow nesting expander, columns, popover and chat_message by @lukasmasuch in #11272
- Fix #10475: Warn when modifying elements inside fragment callback by @Zane-dev16 in #10942
- Make Carto the default map provider (like in PyDeck) by @sfc-gh-tteixeira in #11231
- Remove
set_page_config
restrictions by @mayagbarnes in #11286 - [AdvancedLayouts] Adds a width parameter to st.chat_input and st.chat_message by @sfc-gh-lwilby in #11298
- [AdvancedLayouts] Adds st.column(gap="none") by @sfc-gh-lwilby in #11321
- [AdvancedLayouts] Adds a width parameter to st.video and st.audio by @sfc-gh-lwilby in #11263
- Add a new config option to configure a CORS allowlist by @vdonato in #11377
- [AdvancedLayouts] Extend height param on code to support new options. by @sfc-gh-lwilby in #11355
- Fix: StreamlitDuplicateElementId when same widget is both in the main and sidebar area by @joaooliveira-11 in #10881
- [AdvancedLayouts] Adds a width parameter to st.latex and st.divider by @sfc-gh-lwilby in #11320
- Serve manifest.json from static asset handler by @vdonato in #11462
- Always show dataframe row selection checkboxes by @lukasmasuch in #11411
- [AdvancedLayouts] Adds a width parameter to st.tabs and st.expander by @sfc-gh-lwilby in #11445
- [AdvancedLayouts] Adds a width parameter to st.status by @sfc-gh-lwilby in #11466
- [AdvancedLayouts] Adds a width and height parameters to st.form by @sfc-gh-lwilby in #11447
- Add
buttonRadius
theming config option by @mayagbarnes in #11464 - Rename backend base url window variables to use __streamlit object by @vdonato in #11481
- Small improvements to Streamlit Hello by @sfc-gh-tteixeira in #11442
- [AdvancedLayouts] Change to use None instead of "none" for column gap size. by @sfc-gh-lwilby in #11482
- Add
dataframeBorderColor
theming config option by @mayagbarnes in #11475 - Add support for config & secret files on main-script level by @lukasmasuch in #10173
- [AdvancedLayouts] Adds a width parameter to st.text by @sfc-gh-lwilby in #11167
- [AdvancedLayouts] Adds a width parameter to st.metric by @sfc-gh-lwilby in #11159
- [AdvancedLayouts] Adds a width parameter to st.color_picker by @sfc-gh-lwilby in #11516
- [AdvancedLayouts] Adds a width parameter to st.title, st.subheader, and st.header by @sfc-gh-lwilby in #11490
- [AdvancedLayouts] Adds a width parameter to st.toggle and st.checkbox by @sfc-gh-lwilby in #11496
- Add Button for Copying Exception Messages by @snakeM in #11250
- [AdvancedLayouts] Adds a width parameter to st.radio by @sfc-gh-lwilby in #11540
- [AdvancedLayouts] Adds a width parameter to st.spinner by @sfc-gh-lwilby in #11547
- Fully support
weight
andunicode-range
in@font-face
declaration by @sfc-gh-dmatthews in #11248 - [feat] Add Japanese yen as a
NumberColumn
&ProgressColumn
format
option by @alexmalins in #11588 - [AdvancedLayouts] Adds a width parameter to st.caption, st.markdown and st.badge by @sfc-gh-lwilby in #11491
- st.navigation(position='top') by @sfc-gh-nbellante in #11349
Bug Fixes 🐛
- Fix data editor when adding and deleting rows by @lukasmasuch in #11183
- Fix content alignment for dataframe columns by @lukasmasuch in #11152
- Ensure script lifecycle occurs for MPAv1 use case by @kmcgrady in #11258
- Ensure filename extension check is normalized by @kmcgrady in #11261
- Allow the ability to add case sensitive options to select and multiselect by @kmcgrady in #11307
- Handle visual glitch for duplicated options by @kmcgrady in #11306
- Provide more predictable fuzzy matching by @kmcgrady in #11309
- Scroll long latex formulas horizontally by @jrieke in #10071
- Add safeguard for cached messages cleanup by @lukasmasuch in #11302
- [Fix]: Update
st.column_config
"localized" option by @mayagbarnes in #11297 - [Fix]
st.dataframe
: clear row selections on dropdown sort by @mayagbarnes in #11363 - Exclude tornado 6.5.0 version by @kajarenc in #11440
- [Fix] Add rows preserves styling properties by @mayagbarnes in #11414
- Fix crash when editing df index with data editor by @lukasmasuch in #11448
- Tweak markdown styling for task lists & blockquotes by @lukasmasuch in #11237
- Tighten up sidebar width (and therefore padding, scrollbars, popover widgets) by @sfc-gh-tteixeira in #11412
- [FIX] - Negative Values not displayed in ChartColumn in #10411 by @tiagorb1 in #11048
- fix #9339: Altair chart left side cut off on initial load if legend by @goncalossmartins in #10939
- Allow usage of 3000 as app port by @lukasmasuch in #11525
- Fixed issue gh-11327: Plotly chart reset axes not working after reset by @sfc-gh-smohile in #11498
- Fix number column rounding issue by @lukasmasuch in #11520
- Update vega interpreter dependency to fix datetime issue by @lukasmasuch in #11514
- Use private token in
st.map
by @lukasmasuch in #11511 - Fix watcher metaclass conflict with torch.classes by @HomenShum in #10388
- Add context info to switch page rerun by @lukasmasuch in #11521
- [Fix] Enum formatting not working with styled dataframes by @BigBird404 in #11049
- Fix with date range selected in st.date_input, hovered dates should change color by @Bernardo1008 in #11223
- [fix] Preserve leading whitespaces in markdown codeblock by @XuehaiPan in #10065
- Fixed bug 11330 st.context.timezone becomes empty by @sfc-gh-smohile in #11506
- [fix] Scroll element into view race condition fix by @sfc-gh-bnisco in #11552
- Upgrade Source (Sans|Serif|Code) font versions by @mayagbarnes in #11534
- [Fix]
st.number_input
styling by @mayagbarnes in #11576 - [Fix] Render
st.toast
messages above dialogs by @mayagbarnes in #11578 - [fix] st.altair_chart rendering with long titles by @sfc-gh-bnisco in #11585
- [fix] Upgrade markdown dependencies by @sfc-gh-bnisco in #11553
- [Fix]
st.multiselect
styling by @mayagbarnes in #11577 - Fixed bug 11575: Sorting while filtering by @sfc-gh-smohile in #11587
- [Fix] Reconcile text area & text input placeholder colors by @mayagbarnes in #11630
- [Fix] Reconcile date & time input placeholder colors by @mayagbarnes in #11631
- [Fix] Reconcile chat & number input placeholder colors by @mayagbarnes in #11632
- Add support for font faces from window preamble by @lukasmasuch in #11628
- Fix support for brackets in multi-index column names by @lukasmasuch in #11617
- Support pandas styler coloring for list and link column by @lukasmasuch in #11612
- Fix material icons not rendered with unsafe html by @lukasmasuch in #11633
- Update Source (Sans|Serif|Code) font versions to variable by @mayagbarnes in #11600
- fix #10824 : allow text wrapping when there is no whitespace by @matilde2004 in #10969
- Make
st.page_link
inherit icon fromst.Page
by @abokey1 in #10694 - [Fix] Use default width "stretch" for
st.caption
andst.markdown
to avoid some styling issues by @sfc-gh-lwilby in #11644 - Only store media data if in cached function by @lukasmasuch in #11635
- Fix the height of horizontal scrollbars in safari by @lukasmasuch in #11625
Other Changes
- Update warnings to mention st.user instead of experimental_user by @kajarenc in #11198
- Release 1.45.0 by @kmcgrady in #11228
- Add logging if cookie content is too large by @kajarenc in #11290
- Release/1.45.1 by @mayagbarnes in #11332
- Nicer handling of connection errors by @sfc-gh-tteixeira in #11366
- Improved new-lines handling for markdown text with background color by @lukasmasuch in #11530
- Update
index.html
preload to variable font by @mayagbarnes in #11646
New Contributors
- @akramsystems made their first contribution in #9656
- @jokester made their first contribution in #11169
- @Zane-dev16 made their first contribution in #10942
- @Nujra40 made their first contribution in #10488
- @joaooliveira-11 made their first contribution in #10881
- @tiagorb1 made their first contribution in #11048
- @goncalossmartins made their first contribution in #10939
- @sfc-gh-smohile made their first contribution in #11498
- @HomenShum made their first contribution in #10388
- @BigBird404 made their first contribution in #11049
- @Bernardo1008 made their first contribution in #11223
- @snakeM made their first contribution in #11250
- @XuehaiPan made their first contribution in #10065
- @alexmalins made their first contribution in #11588
- @matilde2004 made their first contribution in #10969
- @abokey1 made their first contribution in #10694
Full Changelog: 1.45.1...1.46.0