2020 release notes
This page contains release notes for Streamlit versions released in 2020. For the latest version of Streamlit, see Release notes.
Version 0.73.0
Release date: December 17, 2020
Notable Changes
- π Streamlit can now be installed on Python 3.9. Streamlit components are not yet compatible with Python 3.9 and must use version 3.8 or earlier.
- 𧱠Streamlit Components now allows same origin, enabling features provided by the browser such as a webcam component.
- π Fix Streamlit sharing deploy experience for users running on Git versions 2.7.0 or earlier.
- π§° Handle unexpected closing of uploaded files for
st.file_uploader
.
Version 0.72.0
Release date: December 2, 2020
Notable Changes
- π Establish a framework for theming and migrate existing components.
- π± Improve the sidebar experience for mobile devices.
- π§° Update
st.file_uploader
to reduce reruns.
Version 0.71.0
Release date: November 11, 2020
Notable Changes
- π Updated
st.file_uploader
to automatically reset buffer on app reruns. - π Optimize the default rendering of charts and reduce issues with the initial render.
Version 0.70.0
Release date: October 28, 2020
Notable Changes
- π§ͺ
st.set_page_config
andst.color_picker
have now been moved into the Streamlit namespace. These will be removed from beta January 28th, 2021. Learn more about our beta process here. - π Improve display of bar charts for discrete values.
Version 0.69.0
Release date: October 15, 2020
Highlights:
- π Introducing Streamlit sharing, the best way to deploy, manage, and share your public Streamlit appsβfor free. Read more about it on our blog post or sign up here!
- Added
st.experimental_rerun
to programatically re-run your app. Thanks SimonBiggs!
Notable Changes
- πΉ Better support across browsers for start and stop times for st.video.
- πΌ Bug fix for intermittently failing media files
- π¦ Bug fix for custom components compatibility with Safari. Make sure to upgrade to the latest streamlit-component-lib.
Version 0.68.0
Release date: October 8, 2020
Highlights:
- β Introducing new layout options for Streamlit! Move aside, vertical layout. Make a little space for... horizontal layout! Check out our blog post.
- πΎ File uploader redesigned with new functionality for multiple files uploads and better support for working with uploaded files. This may cause breaking changes. Please see the new api in our documentation
Notable Changes
- π
st.balloon
has gotten a facelift with nicer balloons and smoother animations. - π¨ Breaking Change: Following the deprecation of
st.deck_gl_chart
in January 2020, we have now removed the API completely. Please usest.pydeck_chart
instead. - π¨ Breaking Change: Following the deprecation of
width
andheight
forst.altair_chart
,st.graphviz_chart
,st.plotly_chart
, andst.vega_lite_chart
in January 2020, we have now removed the args completely. Please set the width and height in the respective charting library.
Version 0.67.0
Release date: September 16, 2020
Highlights:
- π¦· Streamlit Components can now return bytes to your Streamlit App. To create a component that returns bytes, make sure to upgrade to the latest streamlit-component-lib.
Notable Changes
- π Deprecation warning: Beginning December 1st, 2020
st.pyplot()
will require a figure to be provided. To disable the deprecation warning, please setdeprecation.showPyplotGlobalUse
toFalse
- π
st.multiselect
andst.select
are now lightning fast when working with large datasets. Thanks masa3141!
Version 0.66.0
Release date: September 1, 2020
Highlights:
- βοΈ
st.write
is now available for use in the sidebar! - π A slider for distinct or non-numerical values is now available with
st.select_slider
. - β Streamlit Components can now return dataframes to your Streamlit App. Check out our SelectableDataTable example.
- π¦ The Streamlit Components library used in our Streamlit Component template is now available as a npm package (streamlit-component-lib) to simplify future upgrades to the latest version. Existing components do not need to migrate.
Notable Changes
- πΌ Support StringDtype from pandas version 1.0.0
- 𧦠Support for running Streamlit on Unix sockets
Version 0.65.0
Release date: August 12, 2020
Highlights:
- βοΈ Ability to set page title, favicon, sidebar state, and wide mode via st.beta_set_page_config(). See our documentation for details.
- π Add stateful behaviors through the use of query parameters with st.experimental_set_query_params and st.experimental_get_query_params. Thanks @zhaoooyue!
- πΌ Improved pandas dataframe support for st.radio, st.selectbox, and st.multiselect.
- π Break out of your Streamlit app with st.stop.
- πΌ Inline SVG support for st.image.
Callouts:
- π¨Deprecation Warning: The st.image parameter format has been renamed to output_format.
Version 0.64.0
Release date: July 23, 2020
Highlights:
- π Default matplotlib to display charts with a tight layout. To disable this,
set
bbox_inches
toNone
, inches as a string, or aBbox
- π Deprecation warning for automatic encoding on
st.file_uploader
- π If
gatherUserStats
isFalse
, do not even load the Segment library. Thanks @tanmaylaud!
Version 0.63.0
Release date: July 13, 2020
Highlights:
- 𧩠Support for Streamlit Components!!! See documentation for more info.
- π Support for datetimes in
st.slider
. And, of course, just like any other value you use inst.slider
, you can also pass in two-element lists to get a datetime range slider.
Version 0.62.0
Release date: June 21, 2020
Highlights:
- π¨ Ability to turn websocket compression on/off via the config option
server.enableWebsocketCompression
. This is useful if your server strips HTTP headers and you do not have access to change that behavior. - ποΈ Out-of-the-box support for CSRF protection using the
Cookie-to-header token
technique. This means that if you're serving your Streamlit app from multiple replicas you'll need
to configure them to to use the same cookie secret with the
server.cookieSecret
config option. To turn XSRF protection off, setserver.enableXsrfProtection=false
.
Notable bug fixes:
- πΌοΈ Added a grace period to the image cache expiration logic in order to fix multiple related bugs
where images sent with
st.image
orst.pyplot
were sometimes missing.
Version 0.61.0
Release date: June 2, 2020
Highlights:
- π
Support for date ranges in
st.date_picker
. See docs for more info, but the TLDR is: just pass a list/tuple as the default date and it will be interpreted as a range. - π£οΈ You can now choose whether
st.echo
prints the code above or below the output of the echoed block. To learn more, refer to thecode_location
argument in the docs. - π¦ Improved
@st.cache
support for Keras models and Tensorflowsaved_models
.
Version 0.60.0
Release date: May 18, 2020
Highlights:
- βοΈ Ability to set the height of an
st.text_area
with theheight
argument (expressed in pixels). See docs for more. - π‘ Ability to set the maximimum number of characters allowed in
st.text_area
orst.text_input
. Check out themax_chars
argument in the docs. - πΊοΈ Better DeckGL support for the H3 geospatial indexing
system. So now you can use things like
H3HexagonLayer
inst.pydeck_chart
. - π¦ Improved
@st.cache
support for PyTorch TensorBase and Model.
Version 0.59.0
Release date: May 05, 2020
Highlights:
- π¨ New color-picker widget! Use it with
st.beta_color_picker()
- π§ͺ Introducing
st.beta_*
andst.experimental_*
function prefixes, for faster Streamlit feature releases. See docs for more info. - π¦ Improved
@st.cache
support for SQL Alchemy objects, CompiledFFI, PyTorch Tensors, andbuiltins.mappingproxy
.
Version 0.58.0
Release date: April 22, 2020
Highlights:
- πΌ Made
st.selectbox
filtering case-insensitive. - γ¬ Better support for Tensorflow sessions in
@st.cache
. - π Changed behavior of
st.pyplot
to auto-clear the figure only when using the global Matplotlib figure (i.e. only when callingst.pyplot()
rather thanst.pyplot(fig)
).
Version 0.57.0
Release date: March 26, 2020
Highlights:
- β²οΈ Ability to set expiration options for
@st.cache
'ed functions by setting themax_entries
andttl
arguments. See docs. - π Improved the machinery behind
st.file_uploader
, so it's much more performant now! Also increased the default upload limit to 200MB (configurable viaserver.max_upload_size
). - π The
server.address
config option now binds the server to that address for added security. - π Even more details added to error messages for
@st.cache
for easier debugging.
Version 0.56.0
Release date: February 15, 2020
Highlights:
- π Improved error messages for st.cache. The errors now also point to the new caching docs we just released. Read more here!
Breaking changes:
- π As announced last month, Streamlit no longer supports Python 2. To use Streamlit you'll need Python 3.5 or above.
Version 0.55.0
Release date: February 4, 2020
Highlights:
- πΊ Ability to record screencasts directly from Streamlit! This allows you to easily record and share explanations about your models, analyses, data, etc. Just click β° then "Record a screencast". Give it a try!
Version 0.54.0
Release date: January 29, 2020
Highlights:
- β¨οΈ Support for password fields! Just pass
type="password"
tost.text_input()
.
Notable fixes:
- β³οΈ Numerous st.cache improvements, including better support for complex objects.
- π£οΈ Fixed cross-talk in sidebar between multiple users.
Breaking changes:
- If you're using the SessionState
hackGist, you should re-download it! Depending on which hack you're using, here are some links to save you some time:
Version 0.53.0
Release date: January 14, 2020
Highlights:
-
πΊοΈ Support for all DeckGL features! Just use Pydeck instead of
st.deck_gl_chart
. To do that, simply pass a PyDeck object tost.pydeck_chart
,st.write
, or magic.Note that as a preview release things may change in the near future. Looking forward to hearing input from the community before we stabilize the API!
The goals is for this to replace
st.deck_gl_chart
, since it is does everything the old API did and much more! -
π Better handling of Streamlit upgrades while developing. We now auto-reload the browser tab if the app it is displaying uses a newer version of Streamlit than the one the tab is running.
-
π New favicon, with our new logo!
Notable fixes:
- Magic now works correctly in Python 3.8. It no longer causes docstrings to render in your app.
Breaking changes:
-
Updated how we calculate the default width and height of all chart types. We now leave chart sizing up to your charting library itself, so please refer to the library's documentation.
As a result, the
width
andheight
arguments have been deprecated from most chart commands, anduse_container_width
has been introduced everywhere to allow you to make charts fill as much horizontal space as possible (this used to be the default).
Still have questions?
Our forums are full of helpful information and Streamlit experts.