What's Changed
New Features 🎉
st.chat_input
with file uploader by @kajarenc in #9491- Add
theme.roundness
theming option by @lukasmasuch in #10246 - Add
theme.borderColor
andtheme.showBorderAroundInputs
config options by @lukasmasuch in #10259 - Add
theme.linkColor
theming config option by @lukasmasuch in #10271 - Add theming options to configure custom fonts by @lukasmasuch in #10345
- Add
theme.baseFontSize
theming config option by @lukasmasuch in #10375 - Allow configuring the row height for
st.dataframe
andst.data_editor
by @lukasmasuch in #9549 - Always scroll to bottom when adding new rows in data editor by @lukasmasuch in #10405
- Add .xml to the list of allowed static file extensions by @kajarenc in #10337
- Add pre-defined formats to
st.column_config
by @lukasmasuch in #10179 - Allow static serving for common font files by @lukasmasuch in #10335
- add transparent file upload drop target to chat input by @sfc-gh-pchiu in #10395
- Update Bokeh error message to redirect to streamlit-bokeh custom component by @kmcgrady in #10374
- Extend st.navigation functionality to support various page input types by @ashm-dev in #10358
- Add json column for
st.dataframe
by @lukasmasuch in #10172 - Add autosize option to dataframe column menu by @lukasmasuch in #10476
- Download button: Allow to not trigger rerun by @kajarenc in #10296
- Change dataframe column format from UI by @lukasmasuch in #10420
- Allow small text in Markdown by @jrieke in #10487
- Allow hiding dataframe columns from UI by @lukasmasuch in #10264
- Set
use_container_width=True
by default forst.dataframe
andst.data_editor
by @lukasmasuch in #10434 - Support polars dataframe/series hashing by @kajarenc in #10408
- Add timezone and timezone_offset to the st.context by @kajarenc in #10336
Bug Fixes 🐛
- Use compact file uploader based on element width by @lukasmasuch in #10272
- Fix issue with active pills & segmented control label font-size by @lukasmasuch in #10349
- Fix the usage of dataframe column menu in dialog by @lukasmasuch in #10359
- Apply default rounding to graphviz charts by @lukasmasuch in #10224
- [fix] chat input multi-line shrinks after drag and drop by @sfc-gh-pchiu in #10364
- Fix:
st.logo
unmounts with use ofst.fragment
by @mayagbarnes in #10377 - Prevent showing tooltips on trailing dataframe row by @lukasmasuch in #10398
- Revamp disabled state for chat input by @sfc-gh-pchiu in #10441
- [Fix] Reuse event loop logic by @mayagbarnes in #10455
- [Fix]:
st.altair_chart
selection interval showingtrue
tooltip by @mayagbarnes in #10456 - Time formatting logic update: seconds/minutes/hours display by @ashm-dev in #10410
- Fix regression with column order not getting updated by @lukasmasuch in #10445
- [fix] Tabs content flickering by @sfc-gh-bnisco in #10533
Other Changes
- Hide the top colored line for custom themes by @lukasmasuch in #10323
- Remove
rich
from required dependencies by @lukasmasuch in #10320 - Release/1.42.0 by @kajarenc in #10338
- Raise an exception when provider name contains underscore by @kajarenc in #10360
- Fix typo in set_page_config doc string by @RyPeck in #10372
- Release/1.42.1 by @mayagbarnes in #10421
- Release/1.42.2 by @mayagbarnes in #10472
- Fix deprecation with
fillna
pandas method by @lukasmasuch in #10484
New Contributors
- @tutu-sol made their first contribution in #10354
- @RyPeck made their first contribution in #10372
- @ashm-dev made their first contribution in #10358
- @Harikrishnan2004 made their first contribution in #10463
Full Changelog: 1.42.2...1.43.0