What's Changed
New Features 🎉
- [feature] Add
wraptost.pillsandst.segmented_controlby @lukasmasuch in #16369 - [feature] Add
on_change="ignore"mode to st.slider by @lukasmasuch in #14828 - [feature] Auto no-wrap for direct column widgets by @lukasmasuch in #16578
- [feature] Add
type="step"tost.expanderandst.statusby @lukasmasuch in #16558 - [feature] Make st.rerun() work in widget callbacks by @sfc-gh-lwilby-1 in #16158
- [feature] Add
on_change="ignore"mode to st.text_input by @lukasmasuch in #16605 - [feature] Configurable cache background-refresh TTL multiplier by @lukasmasuch in #16599
- [feature] Add select_all and first-row Enter to st.multiselect by @lukasmasuch in #16673
- [feature] Add wrap parameter to text commands by @lukasmasuch in #16617
- [feature] Add icon parameter to title, header, subheader by @lukasmasuch in #16418
- [feature] Add event-scoped fragment reruns via st.rerun(scope=) by @sfc-gh-lwilby-1 in #16161
Bug Fixes 🐛
- [fix] Skip syntax highlighting for very long code blocks (#11996) by @sfc-gh-dbyttow in #16567
- [fix] Keep menu and JSON overlays clickable in
st.dialogby @mayagbarnes in #16583 - [fix] Clamp date/datetime input default bounds at date.min/max by @mayagbarnes in #16582
- [fix] Match skills-nudge button labels to the card's text size by @sfc-gh-nbellante in #16482
- [fix] Stop Cmd/Ctrl+C from opening clear-cache dialog by @lukasmasuch in #16615
- [fix] Prevent markdown lists from overflowing narrow containers by @mayagbarnes in #16632
- [fix] Echo guest-to-host messages to in-iframe hosts by @lukasmasuch in #16647
- [fix] Restore Ctrl/Cmd+A in st.multiselect filter by @lukasmasuch in #16650
- [fix] Correct public widget overload typings by @lukasmasuch in #16633
- [fix] Error message bullets and uppercase-hex object reprs by @mayagbarnes in #16683
- [fix] Show the correct year in the date picker header by @mayagbarnes in #16706
- [fix] Harden AppTest for keys, disabled widgets, and navigation by @lukasmasuch in #16711
- [fix] Log all user-facing warnings to the console by @lukasmasuch in #16717
- [fix] Prevent upload hang when middleware reads the body first by @mayagbarnes in #16709
- [fix] Keep a time given before a date in st.datetime_input by @mayagbarnes in #16664
Other Changes
- [chore] Release v1.62.0 by @github-actions[bot] in #16579
- [docs] Recommend st.table for key-value lists by @lukasmasuch in #16576
- [docs] Clarify UploadedFile public API by @lukasmasuch in #16604
- [fix] Keep spinner moving and expose its label by @mayagbarnes in #16620
- [refactor] Add typed API exceptions for telemetry by @lukasmasuch in #16637
- [refactor] Add missing-required parameter error by @lukasmasuch in #16508
- [docs] Recommend icons for navigation pages by @lukasmasuch in #16658
- [refactor] Adopt shared parameter exception types by @lukasmasuch in #16668
- [refactor] Finish public API exception cleanup by @lukasmasuch in #16656
- [refactor] Adopt specific Streamlit API errors by @lukasmasuch in #16690
- [refactor] Split range errors into min/max vs interval by @lukasmasuch in #16701
- [refactor] Improve
st.contextandst.usertyping by @lukasmasuch in #16710 - [refactor] Migrate leftover st.* exception types by @lukasmasuch in #16707
- [docs] Document that st.rerun() works in widget callbacks by @sfc-gh-lwilby-1 in #16751
- [docs] Update agent skill for keyed fragment reruns by @sfc-gh-lwilby-1 in #16750
Full Changelog: 1.62.0...1.63.0