1.36.0
版本发布时间: 2024-06-21 02:02:27
streamlit/streamlit最新发布版本:1.39.0(2024-10-02 01:36:45)
What's Changed
Breaking Changes 🛠
- Remove legacy caching logic by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8737
- Deprecate the
experimental_allow_widgets
caching parameter by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8817
New Features 🎉
- Allow passing on_change_callback for CustomComponents by @raethlein in https://github.com/streamlit/streamlit/pull/8633
- Use raw number for number column overlay and copy by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8708
- Introduce st.navigation and st.Page by @kmcgrady in https://github.com/streamlit/streamlit/pull/8744
- Make st.write call st.json to display Streamlit secrets object by @snehankekre in https://github.com/streamlit/streamlit/pull/8659
- Streamlit Charts: Customizable Axis Labels by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8846
- Add vertical alignment parameter to
st.columns
by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8568 - Add
icon
parameter to st.expander by @snehankekre in https://github.com/streamlit/streamlit/pull/8716 - Use the default widget height for non-stacked checkbox & toggle widgets by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8835
- Horizontal
st.bar_chart
by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8877
Bug Fixes 🐛
- Remove non-existent kwargs in ast.Call() call by @JelleZijlstra in https://github.com/streamlit/streamlit/pull/8711
- Don't instantiate the LocalSourcesWatcher if file watching is disabled by @vdonato in https://github.com/streamlit/streamlit/pull/8741
- Make the session state writes disallowed message more generic by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8720
- Ensure SessionInfo is set before performing an action by @kmcgrady in https://github.com/streamlit/streamlit/pull/8779
- Unify the minimum height of most element by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8797
- Don't allow writing widgets outside the fragment by @raethlein in https://github.com/streamlit/streamlit/pull/8756
- Fix element replay regression for plotly charts by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8770
- Improve exception text when selectbox index larger than options by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8775
- Prevent images in markdown to go beyond the container width by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8794
- Ensure current page script hash and active script hash is correct at script start by @kmcgrady in https://github.com/streamlit/streamlit/pull/8830
- Revert "Handle Altair resolve_scale (#8497)" by @kmcgrady in https://github.com/streamlit/streamlit/pull/8845
- Update custom-components import paths and tests by @raethlein in https://github.com/streamlit/streamlit/pull/8666
- Raise exception if st.Page is given an invalid path by @vdonato in https://github.com/streamlit/streamlit/pull/8878
Other Changes
- Explicitly export experimental_dialog by @raethlein in https://github.com/streamlit/streamlit/pull/8728
- Remove default value for title of dialog_decorator by @raethlein in https://github.com/streamlit/streamlit/pull/8729
- Docstrings for 1.35.0 (and type consistency for charts) by @sfc-gh-dmatthews in https://github.com/streamlit/streamlit/pull/8740
- Migrate streamlit hello to MPAv2 by @kmcgrady in https://github.com/streamlit/streamlit/pull/8806
- Fix
use_container_width
docstring when default isTrue
by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8809 - Allow protobuf v5 as dependency by @LukasMasuch in https://github.com/streamlit/streamlit/pull/8627
- Fix: Remove title appending · Streamlit by @mayagbarnes in https://github.com/streamlit/streamlit/pull/8900
New Contributors
- @JelleZijlstra made their first contribution in https://github.com/streamlit/streamlit/pull/8711
Full Changelog: https://github.com/streamlit/streamlit/compare/1.35.0...1.36.0