What's Changed
New Features 🎉
- Recognise spark connect datatype. by @OSalama in #9954
- Improve dataframe cell error handling by @lukasmasuch in #9899
- Update chat input send button hover UI by @sfc-gh-pchiu in #10048
- Set
use_container_width=True
by default for charts by @jrieke in #10064 - Update chat input widget border radius by @sfc-gh-pchiu in #10047
- Add row hover color to dataframe component by @lukasmasuch in #10104
- Add
height
parameter tost.code
by @jrieke in #10080 - Allow reordering dataframe columns from UI by @lukasmasuch in #10099
- Auth feature by @kajarenc in #8786
- Allow markdown in
caption
ofst.image
by @jrieke in #10075 - Show elapsed time on
st.spinner
by @jrieke in #10072 - Allow reusing existing event loop for server by @DeltaGa in #10164
- Add support for using categorical index with
st.data_editor
by @lukasmasuch in #10195 - Allow markdown in
st.table
by @jrieke in #10088 - Preserve scroll position for
st.selectbox
andst.multiselect
by @jrieke in #10073 - Add dataframe column menu with sorting actions by @lukasmasuch in #10197
- Allow pinning dataframe columns from UI by @lukasmasuch in #10206
Bug Fixes 🐛
- Preserve target='_blank' for html elements by @raethlein in #9994
- Make st.write use st.html when repr_html is present. by @sfc-gh-tteixeira in #9910
- Fix #10005 by @kajarenc in #10006
- Do not include source map files in release builds by @kmcgrady in #10011
- Initialize mimetypes on server initialization by @kmcgrady in #10010
- Schedule trigger events at the end of the event loop by @raethlein in #10018
- Fix visualization of disabled feedback by @raethlein in #10030
- Prevent tooltips from overflowing on the left or right side by @raethlein in #9983
- Use configured column order for pinned columns by @lukasmasuch in #10034
- Fix handling of empty hierarchical column headers by @lukasmasuch in #10035
- Fix issue with dataframe width getting ignored by @lukasmasuch in #10036
- preserve white space sequences and segment breaks in
st.text
by @sfc-gh-pchiu in #10062 - Make
st.table
rounded by @jrieke in #9823 - Ensure that error is only logged once with rich installed by @lukasmasuch in #10097
- Prevent showing 0 for small numbers in dataframe by @lukasmasuch in #10060
- Refine
st.date_input
to ensure consistent and accurate return types by @pranaybattu in #9620 - Make st.expander summary respect isStale. by @sfc-gh-tteixeira in #10085
- In st.multiselect, make mouse cursor only be a pointer when hovering the X by @sfc-gh-tteixeira in #10087
- Remove shortcut to data checking and substitute with a rough hash by @kmcgrady in #10125
- Deactivate translation for material icons by @lukasmasuch in #10174
- Make widget dropdowns look more consistent + convert
BaseColorPicker
to functional component by @jrieke in #10083 - Add retry to watcher.util.path_modification_time to try and fix race condition. by @sfc-gh-tteixeira in #10148
- Make MPAv2 work with pure Python and with ProcessPoolExecutor by @sfc-gh-tteixeira in #10163
- Fix the chat input border radius by @lukasmasuch in #10225
- Use
attribute
word instead ofkey
in case of AttributeError in st.query_params by @kajarenc in #10237 - Force react-syntax-highlighter to cjs build by @kmcgrady in #10244
- Apply top margin in top-aligned columns to first element instead of last by @lukasmasuch in #10268
Other Changes
- Release/1.41.0 by @mayagbarnes in #9996
- Fix: Round corners of
st.image
by @mayagbarnes in #9999 - Release/1.41.1 by @kmcgrady in #10021
- Only show log but don't raise an error when fragment id is not found by @raethlein in #10130
- Update emojis used for validation by @lukasmasuch in #10149
- Print st.logo only on first page on the top by @raethlein in #10171
- Remove usage of private snowflake-connector APIs by @raethlein in #10122
- Add support for handling raw arrow data by @lukasmasuch in #10191
- Add type annotations so st.altair_chart supports all Altair chart types. by @sfc-gh-tteixeira in #10202
- Update material symbols font and test by @kajarenc in #10247
- Remove reading user info from
X-Streamlit-User
header by @kajarenc in #10260 - Update file uploader to uses new
accept
value by @sfc-gh-pchiu in #10288
New Contributors
- @EclidFundgue made their first contribution in #9930
- @OSalama made their first contribution in #9954
- @SiddhantSadangi made their first contribution in #10051
- @syasini made their first contribution in #10056
- @pranaybattu made their first contribution in #9620
- @DeltaGa made their first contribution in #10164
Full Changelog: 1.41.1...1.42.0