Repository navigation
What's Changed
New Features 🎉
- [feature] Update default light and dark named theme colors by @mayagbarnes in #17450
- [feature] Add
requiredparameter tost.date_inputby @lukasmasuch in #17165 - [feature] Allow a pixel width on st.dialog by @lukasmasuch in #17412
- [feature] Update default theme surfaces and sidebar fallback by @mayagbarnes in #17467
- [feature] Use theme primary for st.map default markers by @mayagbarnes in #17493
- [feature] Add required parameter to st.time_input by @lukasmasuch in #17420
- [feature] Add per-function max_size to st.cache_data by @sfc-gh-lwilby-1 in #17552
- [feature] Add
requiredparameter tost.datetime_inputby @sfc-gh-lmasuch in #17565 - [feature] Add
requiredparameter tost.text_areaby @sfc-gh-lmasuch in #17590 - [feature] Add on_select selections to st.echarts_chart by @lukasmasuch in #16786
- [feature] Add server.maxCacheDataSize cache budget by @sfc-gh-lwilby-1 in #17553
- [feature] Opaque default theme chrome and borders on by default by @mayagbarnes in #17495
- [feature] Send Vega-Lite selections when gestures end by @sfc-gh-lwilby-1 in #17666
- [feature] Expose the agent API to drive apps over HTTP by @lukasmasuch in #17731
- [feature] Add a server default TTL for st.connection by @sfc-gh-gwatters in #17248
- [feature] Add
requiredparameter tost.selectboxby @lukasmasuch in #17676 - [feature] Send st.echarts_chart dataframes as Arrow by @lukasmasuch in #17678
- [feature] Show data table for st.echarts_chart by @lukasmasuch in #17708
- [feature] Add
iconparameter tost.selectboxby @lukasmasuch in #17850 - [feature] Add help to st.Page for nav tooltips by @lukasmasuch in #17807
- [feature] MCP endpoint for agent-accessible apps by @lukasmasuch in #17510
- [feature] Add
st.gridfor responsive grid layouts by @lukasmasuch in #17800
Bug Fixes 🐛
- [fix] Add AppTest file uploads for chat input by @lukasmasuch in #17464
- [fix] Make unknown container methods type errors by @lukasmasuch in #17475
- [fix] Add AppTest support for st.data_editor by @lukasmasuch in #17476
- [fix] Top nav section dropdown keyboard and ARIA by @mayagbarnes in #17423
- [fix] Align st.components types with runtime by @lukasmasuch in #17501
- [fix] Let the default time slider reach time.max by @lukasmasuch in #17504
- [fix] Let page scroll pass over ECharts inside dataZoom by @lukasmasuch in #17507
- [fix] Prevent resuming a session after logout by @lukasmasuch in #17310
- [fix] Skip overflowed top-nav links in tab order by @mayagbarnes in #17482
- [fix] Preserve queued trigger values during reruns by @sfc-gh-lwilby-1 in #17471
- [fix] Schedule file-change notifications on event loop by @sfc-gh-lwilby-1 in #17551
- [fix] Restore in-place updates for st.toast by @sfc-gh-lmasuch in #17580
- [fix] Help tooltip sticking after closing a dialog by @sfc-gh-lmasuch in #17581
- [fix] Keep chat_input audio waveform mounted across layouts by @sfc-gh-lmasuch in #17579
- [fix] Clarify how fragments claim outside containers by @sfc-gh-lwilby-1 in #17577
- [fix] Let AppTest seed st.user and st.context by @sfc-gh-lmasuch in #17611
- [fix] Prevent st.audio_input error after sidebar recording by @sfc-gh-gwatters in #17583
- [fix] Bind caller's rights connections to their session by @sfc-gh-gwatters in #17584
- [fix] Add persist_state and bind support to st.feedback by @sfc-gh-lmasuch in #17621
- [fix] Name both pages in duplicate page URL errors by @sfc-gh-lmasuch in #17646
- [fix] Stretch dataframes fall back to their default height by @sfc-gh-lmasuch in #17662
- [fix] Stop warning on unset sidebar textColor by @mayagbarnes in #17669
- [fix] Stop theme injection for plotly theme=None by @mayagbarnes in #17671
- [fix] Arrow value display in dataframes and tables by @lukasmasuch in #17684
- [fix] Clarify parallel fragment outside-write errors by @sfc-gh-lwilby-1 in #17688
- [fix] Reset pydeck camera when views change by @lukasmasuch in #17701
- [fix] Treat timedeltas as NumberColumn durations by @lukasmasuch in #16722
- [fix] Show element toolbar above selected segmented control by @lukasmasuch in #17734
- [fix] Theme ECharts dark-mode defaults and candlestick colors by @lukasmasuch in #17750
- [fix] Render dollar amounts in Markdown as plain text by @lukasmasuch in #17753
- [fix] Format ECharts tooltips without JavaScript by @lukasmasuch in #17755
- [fix] Vega-Lite v5 schema warning in metric and dataframe statistics charts by @lukasmasuch in #17778
- [fix] Log ECharts errors and recover after a failed option by @lukasmasuch in #17780
- [fix] Restore Vega-Lite interval brush on remount by @sfc-gh-lwilby-1 in #17744
- [fix] Show midnight times as dates in st.echarts_chart by @lukasmasuch in #17781
- [fix] Large-data rendering defaults for ECharts and Vega by @lukasmasuch in #17788
- [fix] Raise default muted text contrast to meet WCAG AA by @mayagbarnes in #17766
- [fix] Redraw same-shape Vega data; swap Altair data in place by @lukasmasuch in #17793
- [fix] Replace inplace= calls deprecated in pandas 3.1 by @lukasmasuch in #17795
- [fix] Keep skills install from failing on output errors by @lukasmasuch in #17802
- [fix] Expand fixed-height dataframe in fullscreen by @mayagbarnes in #17791
- [fix] Keep displaced keyed elements mounted during reruns by @lukasmasuch in #17804
- [fix] Stop rewriting mixin module on every DeltaGenerator by @sfc-gh-lwilby-1 in #17823
- [fix] Keep required st.text_area's empty edit and error across remounts by @mayagbarnes in #17737
- [fix] Skip reruns when widget values don't change by @lukasmasuch in #17822
- [fix] Range date_input losing the first picked date by @lukasmasuch in #17833
- [fix] Keep printed layouts, charts, and metrics from overlapping by @raethlein in #17727
- [fix] Pass protocol and port for callers-rights Snowflake by @raethlein in #17820
- [fix] Hide overlapping ECharts axis labels by default by @lukasmasuch in #17858
- [fix] Make meta-skill discovery reliable across setups by @lukasmasuch in #17803
- [fix] Extra space below dataframes and chart data views by @lukasmasuch in #17864
- [fix] Make callers-rights database and schema optional by @raethlein in #17848
- [fix] Agent snapshot fidelity for charts, captions, and pages by @lukasmasuch in #17871
- [fix] Clearer agent API errors and protocol notes by @lukasmasuch in #17872
- [fix] Agent API dialog dismiss, empty prompts, unknown paths by @lukasmasuch in #17870
- [fix] Handle script_finished for the run it names by @sfc-gh-lwilby-1 in #17686
- [fix] Keep stretch dataframes inside their parent on resize by @lukasmasuch in #17879
- [fix] Let the page scroll over ECharts treemaps and roam charts by @lukasmasuch in #17882
- [fix] Name the offending value in ECharts serialization errors by @lukasmasuch in #17881
- [fix] Better ECharts layout for titles, treemaps, and markLines by @lukasmasuch in #17885
- [fix] Label ECharts tooltip fields for dataframe sources by @lukasmasuch in #17883
Other Changes
- [docs] Fit the skill theme reference under the read limit by @sfc-gh-nbellante in #17473
- [chore] Release v1.66.0 by @github-actions[bot] in #17480
- [docs] Document AppTest limits in the testing skill by @lukasmasuch in #17496
- [other] Type literal st.columns counts (1-6) as tuples by @lukasmasuch in #17498
- [other] Type st.columns width tuples of length 1-6 by @lukasmasuch in #17506
- [docs] Clarify persist_state guidance for hidden widgets by @sfc-gh-lwilby-1 in #17483
- [chore] Allow Pillow 13 by @lukasmasuch in #17589
- [docs] Document mocking app code with AppTest by @sfc-gh-lmasuch in #17605
- [docs] Fix stale docstrings and toolbarMode help text by @sfc-gh-lmasuch in #17613
- [chore] Release v1.66.1 by @github-actions[bot] in #17606
- [docs] Point the skill quick reference to the references by @sfc-gh-nbellante in #17675
- [chore] Update emojis/material icons by @github-actions[bot] in #17681
- [docs] Clarify dynamic container execution guidance by @sfc-gh-lwilby-1 in #17724
- [docs] Restore the .st-key- CSS example in the app skill by @sfc-gh-nbellante in #17674
- [docs] Steer chart guidance toward Vega and ECharts by @lukasmasuch in #17769
- [docs] Steer ECharts chart data to dataset.source by @lukasmasuch in #17810
- [feature] Start loading the Material icon font at app startup by @lukasmasuch in #17849
- [perf] Lazy-load the chart "Show data" grid by @lukasmasuch in #17846
- [perf] Lazy-load Vega in st.metric and dataframe statistics by @lukasmasuch in #17853
- Update watchdog requirement from <7,>=2.1.5 to >=2.1.5,<8 in /lib by @dependabot[bot] in #17873
- [docs] Clarify agent API tool text from live evaluations by @lukasmasuch in #17880
Full Changelog: 1.66.1...1.67.0