1.34.0
版本发布时间: 2024-05-03 01:44:20
streamlit/streamlit最新发布版本:1.39.0(2024-10-02 01:36:45)
What's Changed
New Features 🎉
- Add st.experimental_dialog by @raethlein in https://github.com/streamlit/streamlit/pull/8040
- from_dict for query params by @Asaurus1 in https://github.com/streamlit/streamlit/pull/8470
- Improve period type support in
st.dataframe
andst.data_editor
by @LukasMasuch in https://github.com/streamlit/streamlit/pull/7987 - Add ability to clear cache for specific function arguments by passing args to
<cached_func>.clear()
by @OscarSaharoy in https://github.com/streamlit/streamlit/pull/8297 - Add support for autoplaying
st.audio
andst.video
media by @snehankekre in https://github.com/streamlit/streamlit/pull/8481 - Support background colors for text by @snehankekre in https://github.com/streamlit/streamlit/pull/8435
- Non-emoji icons by @kajarenc in https://github.com/streamlit/streamlit/pull/8307
- Add support for Modin and Snowpark Pandas by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8506
- Enable the usage of the pydeck-carto package with st.pydeck_chart by @vdonato in https://github.com/streamlit/streamlit/pull/8422
Bug Fixes 🐛
- Offset dates in vega if no timezone information is attached. by @kmcgrady in https://github.com/streamlit/streamlit/pull/8278
- Fix issues with fragments writing to containers and the sidebar by @vdonato in https://github.com/streamlit/streamlit/pull/8408
- Produce python error for slider min=max by @AnOctopus in https://github.com/streamlit/streamlit/pull/8413
- Make check for component ready dynamic by @kmcgrady in https://github.com/streamlit/streamlit/pull/8434
- Update Auto Theme after print dialog if necessary by @kmcgrady in https://github.com/streamlit/streamlit/pull/8469
- Reset widget state on page change by @AnOctopus in https://github.com/streamlit/streamlit/pull/8425
- Switch back to using undeprecated pillow constant by @vdonato in https://github.com/streamlit/streamlit/pull/8492
- Fix double script/callback run when replacing a file by @vdonato in https://github.com/streamlit/streamlit/pull/8493
- Handle Altair vconcat with use_container_width by @kmcgrady in https://github.com/streamlit/streamlit/pull/8498
- Fix empty state for
st.status
by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8369 - Fix
st.multiselect
usage with empty sets or tuples by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8471 - Handle Altair resolve_scale by @kmcgrady in https://github.com/streamlit/streamlit/pull/8497
- Adjust default date for st.date_input if today's date is out of bounds by @vdonato in https://github.com/streamlit/streamlit/pull/8519
- Handle setting session state keys to None for supported widgets by @vdonato in https://github.com/streamlit/streamlit/pull/8529
- Fix empty generator usage with
st.write_stream
by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8560
Other Changes
- Update modal styles by @raethlein in https://github.com/streamlit/streamlit/pull/8274
- Move toasts to top right and make them prettier by @sfc-gh-tteixeira in https://github.com/streamlit/streamlit/pull/8433
- Fix escaping in docstrings by @vdonato in https://github.com/streamlit/streamlit/pull/8510
- Fix blank space print by @raethlein in https://github.com/streamlit/streamlit/pull/8502
- Remove snowflake extras python restriction by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8538
New Contributors
- @Lundez made their first contribution in https://github.com/streamlit/streamlit/pull/8520
- @OscarSaharoy made their first contribution in https://github.com/streamlit/streamlit/pull/8297
Full Changelog: https://github.com/streamlit/streamlit/compare/1.33.0...1.34.0