What's Changed
New Features 🎉
- Add icon to
st.button
by @mayagbarnes in #9301 - Add icon to
st.download_button
by @mayagbarnes in #9322 - Add icon to
st.form_submit_button
by @mayagbarnes in #9327 - Add
st.logo
size options by @mayagbarnes in #9177 - [feat] Add
icon
tost.link_button
by @sfc-gh-bnisco in #9350 - Add icon to
st.popover
by @sfc-gh-pchiu in #9367 - Allow setting CSS class on elements via
key
by @lukasmasuch in #9295 - Add config option to set TTL for disconnected sessions by @vdonato in #9179
- Add .pdf to the list of safe static files by @kajarenc in #9439
- Feature: Add
enter_to_submit
param tost.form
by @mayagbarnes in #9480 - Add expanded param to st.navigation by @kmcgrady in #9484
- [feat] Add width and height to st.{map|pydeck_chart} by @sfc-gh-bnisco in #9464
- [feat] Utilize new fullscreen Toolbar for st.{map|pydeck_chart} by @sfc-gh-bnisco in #9501
- [feat] Selection on
st.pydeck_chart
by @sfc-gh-bnisco in #9377 - st.experimental_audio_input by @sfc-gh-nbellante in #9404
- Support hierarchical (multi-index) column headers in
st.dataframe
by @lukasmasuch in #9483 - Prefer column config formatting over Pandas styler by @lukasmasuch in #9538
Bug Fixes 🐛
- [fix] Multiselect label truncation in narrow columns by @sfc-gh-bnisco in #9334
- [fix]
st.{balloons|snow}
fixes when rendered inst.dialog
by @sfc-gh-bnisco in #9335 - Remove
st.logo
if stale by @mayagbarnes in #9337 - Fix issue with re-adding deleted row in data editor with same index by @lukasmasuch in #8864
- Fix: Margin on button icons by @mayagbarnes in #9378
- Do not format title for MPAv2 in Sidebar nav by @kmcgrady in #9375
- Fix dialogs not re-opening in some cases after dismiss by @raethlein in #9333
- Fix edge case where title can be empty string by @kmcgrady in #9374
- Update runtime.py: change test@test.com to test@example.com by @wyattscarpenter in #9371
- Fix: Make
showSidebarNavigation
config work in MPAv2 by @mayagbarnes in #9379 - Determine common mime types by extension by @t0mdavid-m in #9390
- Fix bold font in header showing less weight by @sfc-gh-pchiu in #9395
- Update page script hash on script start if necessary by @kmcgrady in #9408
- Update overflowing pages to be more deterministic by @kmcgrady in #9394
- Fix accidentally watching parent folder for changes by @lukasmasuch in #9453
- Fix: Disable form submission & instructions by @mayagbarnes in #9406
- Do not clear nodes for fragment-finished-via-rerun messages by @raethlein in #9389
- Clear queue also for fragment-runs to prevent vanishing elements by @raethlein in #9381
- Migrate Active Script hash to ScriptRunContext by @kmcgrady in #9441
- Fix dataframe maximum update depth error by @lukasmasuch in #9490
- Add warning for nested paths in url path by @kmcgrady in #9499
- [fix] Remove unneeded margin on map components by @sfc-gh-bnisco in #9506
- Redirect pages with removed trailing slashes by @kmcgrady in #9500
- Fix
st.json
to keep container bounds by @lukasmasuch in #9521 - [Fix]
st.multiselect
placeholder by @mayagbarnes in #9523 - [Fix] Embedded app spacing by @mayagbarnes in #9524
- [fix] DeckGl zoom button borders and styling by @sfc-gh-bnisco in #9536
- Allow array parameters in CLI by @kmcgrady in #9539
Other Changes
- Allow tenacity version 9.x by @lukasmasuch in #9348
- [Fix] Logo maintains aspect ratio on width resize by @mayagbarnes in #9368
- [Fix] Logo blink on MPA v1 page change by @mayagbarnes in #9361
- Update watchdog so Streamlit can use version 5.X by @RubenVanEldik in #9354
- Fix: Material icon color in buttons by @mayagbarnes in #9393
- Adding more specific exceptions by @sfc-gh-nbellante in #9318
- Add missing
in
operator to docstring example by @pratapvardhan in #9413 - Update vega frontend dependencies to support new features by @lukasmasuch in #9443
- Remove fullscreen button for
st.bokeh_chart
by @lukasmasuch in #9528
New Contributors
- @t0mdavid-m made their first contribution in #9390
- @pratapvardhan made their first contribution in #9413
Full Changelog: 1.38.0...1.39.0