What's Changed
Breaking Changes 🛠
- [fix] Add at.bottom and keep icons in AppTest pills options by @lukasmasuch in #18069
New Features 🎉
- [feature] Add server.xsrfCookiePartitioned config option by @sfc-gh-gwatters in #17886
- [feature] Auto-update global meta-skill on Streamlit start by @lukasmasuch in #18019
- [feature] Add divider parameter to st.columns by @mayagbarnes in #18094
- [feature] Add gap parameter to st.divider by @mayagbarnes in #18107
- [feature] Add pixel size and icon_size to st.logo by @mayagbarnes in #18108
- [feature] Align datetime_input step with time_input by @mayagbarnes in #17962
- [feature] Add container env fallback to snowflake connection by @sfc-gh-gwatters in #18118
Bug Fixes 🐛
- [fix] Convert NumPy and pandas scalars in ECharts options by @lukasmasuch in #17889
- [fix] Let grid.cell() fill content-height grid rows by @lukasmasuch in #17891
- [fix] Prevent duplicate background cache refreshes by @sfc-gh-lwilby-1 in #17878
- [fix] Drop deltas without a delta path instead of crashing by @sfc-gh-lwilby-1 in #17899
- [fix] Remove stale fragment elements after back-to-back reruns by @sfc-gh-lwilby-1 in #17718
- [fix] Named tooltip placeholders on pie and funnel charts by @lukasmasuch in #17906
- [fix] ECharts visualMap colors and margins under Streamlit theme by @lukasmasuch in #17907
- [fix] Round ECharts bar corners to match baseRadius by @lukasmasuch in #17915
- [fix] Low contrast of open tertiary popover/menu triggers by @lukasmasuch in #17916
- [fix] Hash PIL image mode, size, and palette in cache keys by @lukasmasuch in #17921
- [fix] Stop WebSocket origin checks from stalling the server by @lukasmasuch in #17923
- [fix] Keep previous content mounted under standalone skeletons by @lukasmasuch in #17924
- [fix] Make with st.skeleton() fill its slot and label spinners by @lukasmasuch in #17920
- [fix] Hide chevron for menu-style icon param with empty label by @lukasmasuch in #17954
- [fix] Reject reversed date_input query ranges by @mayagbarnes in #17960
- [fix] Reopen a fragment dialog after a main-script dismiss by @lukasmasuch in #17967
- [fix] Handle unsupported images consistently in
st.imageby @lukasmasuch in #17868 - [fix] Explicitly style disabled text-input placeholders by @mayagbarnes in #17963
- [fix] Transform printed dataframe into table and split tables across pages by @raethlein in #17854
- [fix] Stop ECharts markers replaying entry animations on rerun by @lukasmasuch in #17980
- [fix] Skip duplicate-state warning for callback resets by @lukasmasuch in #17983
- [fix] Evict changed modules in sessions opened after the change by @lukasmasuch in #17981
- [fix] Keep bound query params in st.switch_page by @lukasmasuch in #17982
- [fix] Theme ECharts marks, heatmap gaps, area fills, and fonts by @lukasmasuch in #17986
- [fix] Shrink stacked chart card in print by @raethlein in #17984
- [fix] Stop runOnSave reruns from evicting modules mid-import by @lukasmasuch in #17985
- [fix] Accept mixed int and float arguments in st.slider by @lukasmasuch in #17990
- [fix] Name menu-style icon triggers "More options" for screen readers by @lukasmasuch in #17991
- [fix] Use theme primary for omitted pydeck layer colors by @mayagbarnes in #17972
- [fix] Reload directory secrets when mounted files rotate by @sfc-gh-gwatters in #17944
- [fix] Serve static assets when the static dir starts with // by @sfc-gh-gwatters in #17767
- [fix] Rerun only the changed fragment or dialog in AppTest by @lukasmasuch in #17997
- [fix] Match ECharts tooltip radius and opacity to Vega by @lukasmasuch in #17998
- [fix] Drop .00 on whole amounts in metrics, sliders, charts by @lukasmasuch in #17999
- [fix] Stale ECharts brush indices and multi-dataset Show data by @lukasmasuch in #18002
- [fix] Accept string query param values in agent API by @lukasmasuch in #18010
- [fix] Add AppTest support for st.echarts_chart by @lukasmasuch in #18012
- [fix] Number formats in ECharts axis and series labels by @lukasmasuch in #18016
- [fix] Let pixel-height dataframes grow their container on resize by @lukasmasuch in #18022
- [fix] Hide clicked widgets that a rerun replaces by @lukasmasuch in #18072
- [fix] Skip file watchers when watching is off by @raethlein in #18087
- [fix] Equal space above and below st.divider by @mayagbarnes in #18093
- [fix] Derive chart text and line colors from textColor by @mayagbarnes in #18143
- [fix] Log expected Arrow fallback without a full traceback by @sfc-gh-lwilby-1 in #18157
- [fix] Reject unparsable input in data editor number cells by @sfc-gh-lwilby-1 in #18160
- [fix] Fix st.query_params.from_dict on errors and bound params by @mayagbarnes in #18164
Other Changes
- [docs] Add border caution note to st.grid by @lukasmasuch in #17890
- [chore] Release v1.67.0 by @github-actions[bot] in #17903
- [docs] Layout guidance for stretch and bento in the app skill by @lukasmasuch in #17687
- [docs] Promote layout-first loading with skeletons in the embedded skill by @lukasmasuch in #17946
- [docs] Refresh outdated model names in the bundled skill by @sfc-gh-nbellante in #17959
- [docs] Refresh the skill's dashboard templates by @lukasmasuch in #17966
- [docs] Document skeletons for a fragment's own reruns by @lukasmasuch in #17955
- [docs] Add a BI dashboard template to the skill by @lukasmasuch in #17958
- [docs] Document server.trustedUserHeaders config option by @lukasmasuch in #17994
- [docs] State the bundled ECharts version in docs and skill by @lukasmasuch in #18000
- [docs] Add app modernization guidance to embedded skill by @lukasmasuch in #18003
- [docs] Recommend st.echarts_chart as the default chart command by @lukasmasuch in #18006
- [docs] Add compute and act app templates to the skill by @lukasmasuch in #18008
- [refactor] Merge skill dashboard templates, add smoke tests by @lukasmasuch in #18015
- [docs] Add a chat and agent app template to the skill by @lukasmasuch in #18064
- [docs] Have the skill read the matching reference first by @sfc-gh-lwilby-1 in #18106
- [refactor] Share the file watcher's module path scan across sessions by @sfc-gh-lwilby-1 in #18162
New Contributors
- @sfc-gh-lmasuch with @code-coverage-agent[bot] made their first contribution in #17922
Full Changelog: 1.67.0...1.68.0