1.39.0
版本发布时间: 2024-10-02 01:36:45
streamlit/streamlit最新发布版本:1.39.0(2024-10-02 01:36:45)
What's Changed
New Features 🎉
- Add icon to
st.button
by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9301 - Add icon to
st.download_button
by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9322 - Add icon to
st.form_submit_button
by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9327 - Add
st.logo
size options by @mayagbarnes in https://github.com/streamlit/streamlit/pull/9177 - [feat] Add
icon
tost.link_button
by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9350 - Add icon to
st.popover
by @sfc-gh-pchiu in https://github.com/streamlit/streamlit/pull/9367 - Allow setting CSS class on elements via
key
by @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_submit
param tost.form
by @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_chart
by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9377 - st.experimental_audio_input by @sfc-gh-nbellante in https://github.com/streamlit/streamlit/pull/9404
- Support hierarchical (multi-index) column headers in
st.dataframe
by @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.dialog
by @sfc-gh-bnisco in https://github.com/streamlit/streamlit/pull/9335 - Remove
st.logo
if 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
showSidebarNavigation
config 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.json
to keep container bounds by @lukasmasuch in https://github.com/streamlit/streamlit/pull/9521 - [Fix]
st.multiselect
placeholder 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
in
operator 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_chart
by @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