Changelog

This page lists highlights, bug fixes, and known issues for official Streamlit releases. If you're looking for information about nightly releases, beta features, or experimental features, see Try pre-release features.

star

Tip

To upgrade to the latest version of Streamlit, run:

$ pip install --upgrade streamlit

Release date: Jan 27, 2022

Notable Changes

  • ๐ŸŒŸ Favicon defaults to a PNG to allow for transparency (#4272).
  • ๐Ÿšฆ Select Slider Widget now has the disabled parameter that removes interactivity (completing all of our widgets) (#4314).

Other Changes

  • ๐Ÿ”ค Improvements to our markdown library to provide better support for HTML (specifically nested HTML) (#4221).
  • ๐Ÿ“– Expanders maintain their expanded state better when multiple expanders are present (#4290).
  • ๐Ÿ—ณ Improved file uploader and camera input to call its on_change handler only when necessary (#4270).

Release date: Jan 13, 2022

Highlights

  • ๐Ÿ“ธ Introducing st.camera_input for uploading images straight from your camera.

Notable Changes

  • ๐Ÿšฆ Widgets now have the disabled parameter that removes interactivity.
  • ๐Ÿšฎ Clear st.experimental_memo and st.experimental_singleton programmatically by using the clear() method on a cached function.
  • ๐Ÿ“จ Developers can now configure the maximum size of a message to accommodate larger messages within the Streamlit application. See server.maxMessageSize.
  • ๐Ÿ We formally added support for Python 3.10.

Other Changes

  • ๐Ÿ˜ตโ€๐Ÿ’ซ Calling str or repr on threading.current_thread() does not cause a RecursionError (#4172).
  • ๐Ÿ“น Gracefully stop screencast recording when user removes permission to record (#4180).
  • ๐ŸŒ‡ Better scale images by using a higher-quality image bilinear resampling algorithm (#4159).

Release date: Dec 16, 2021

Notable Changes

  • ๐Ÿ’ฏ Support for NumPy values in st.metric.
  • ๐ŸŒ Support for Mesh Layers in PyDeck.
  • ๐Ÿ“Š Updated Plotly chart version to support the latest features.
  • ๐Ÿ€ st.spinner element has visual animated spinner.
  • ๐Ÿฐ st.caption supports HTML in text with unsafe_allow_html parameter.

Other Changes

  • ๐Ÿชฒ Bug fix: Allow st.session_state to be used to set number_input values with no warning (#4047).
  • ๐Ÿชฒ Bug fix: Fix footer alignment in wide mode (#4035).
  • ๐Ÿž Bug fix: Better support for Graphviz and Bokeh charts in containers (columns, expanders, etc.) (#4039).
  • ๐Ÿž Bug fix: Support inline data values in Vega-Lite (#4070).
  • โœ๏ธ Types: Updated type annotations for experimental memo and singleton decorators.
  • โœ๏ธ Types: Improved type annotations for st.selectbox, st.select_slider, st.radio, st.number_input, and st.multiselect.

Release date: Nov 11, 2021

Notable Changes

  • โœ๏ธย st.text_inputย and st.text_area now have aย placeholderย parameter to display text when the field is empty.
  • ๐Ÿ“ Viewers can now resize the input box in st.text_area.
  • ๐Ÿ“ Streamlit can auto-reload when files in sub-directories change.
  • ๐ŸŒˆ We've upgraded Bokeh support to 2.4.1! We recommend updating your Bokeh library to 2.4.1 to maintain functionality. Going forward, we'll let you know if there's a mismatch in your Bokeh version via an error prompt.
  • ๐Ÿ”’ Developers can access secrets via attribute notation (e.g. st.secrets.key vs st.secrets["key"]) just like session state.
  • โœ๏ธ Publish type annotations according to PEP 561. Users now get type annotations for Streamlit when running mypy (#4025).

Other Changes

  • ๐Ÿ‘€ Visual fixes (#3863, #3995, #3926, #3975).
  • ๐Ÿ” Fixes to the hamburger menu (#3968).
  • ๐Ÿ–จ๏ธ Ability to print session state (#3970).

Release date: Oct 21, 2021

Highlights

  • ๐Ÿง  Memory improvements: Streamlit apps allocate way less memory over time now.

Notable Changes

  • โ™ป๏ธ Apps automatically rerun now when the content of secrets.toml changes (before this you had to refresh the page manually).

Other Changes

  • ๐Ÿ”— Redirected some links to our brand-new docs site, e.g. in exceptions.
  • ๐Ÿชฒ Bug fix: Allow initialization of range slider with session state (#3586).
  • ๐Ÿž Bug fix: Refresh chart when using add_rows with datetime index (#3653).
  • โœ๏ธ Added some more type annotation in our codebase (#3908).

Release date: Oct 5, 2021

Highlights

  • ๐ŸŽˆAnnouncing Streamlit 1.0! To read more about check out our 1.0 blog post.

Other Changes

  • ๐Ÿž Fixed an issue where using df.dtypes to show datatypes for a DF fails while using Arrow (#3709), Image captions stay within image width and are readable (#3530).

Release date: Sep 22, 2021

Highlights

  • ๐Ÿ’ฐ Introducing st.experimental_memo and experimental_singleton, a new primitive for caching! See our blog post.
  • ๐Ÿ” Streamlit allows developers to configure their hamburger menu to be more user-centric.

Notable Changes

  • ๐Ÿ’… We updated our UI to a more polished look with a new font.
  • ๐ŸŽจ We now support theme.base in the theme object when it's sent to custom components.
  • ๐Ÿง  We've modified session state to reset widgets if any of their arguments changed even if they provide a key.
    • Some widget behavior may have changed, but we believe this change makes the most sense. We have added a section to our documentation describing how they behave.

Other Changes

  • ๐Ÿž Bug fixes: Support svgs from a URL (#3809) and that do not start with <svg> tag (#3789).

Release date: Sep 2, 2021

Highlights

  • โฌ‡๏ธ Introducing st.download_button, a new button widget for easily downloading files.

Notable Changes

  • ๐Ÿ›‘ We made changes to improve the redacted exception experience on Streamlit Cloud. When client.showErrorDetails=true exceptions display the Error Type and the Traceback, but redact the actual error text to prevent data leaks.

Release date: Aug 19, 2021

Highlights

  • ๐Ÿ”ข Introducing st.metric, an API for displaying KPIs. Check out the demo app showcasing the functionality.

Other Changes

  • ๐Ÿž Bug Fixes: File uploader retains state upon expander closing (#3557), setIn Error with st.empty (#3659), Missing IFrame embeds in docs (#3706), Fix error writing certain PNG files (#3597).

Release date: Aug 5, 2021

Highlights

  • ๐ŸŽ“ Our layout primitives are graduating from beta! You can now use st.columns, st.container and st.expander without the beta_ prefix.

Notable Changes

  • ๐Ÿ“ฑ When using st.columns, columns will stack vertically when viewport size <640px so that column layout on smaller viewports is consistent and cleaner. (#3594).

Other Changes

  • ๐Ÿž Bug fixes: Fixed st.date_input crashes if its empty (#3194), Opening files with utf-8(#3022), st.select_slider resets its state upon interaction (#3600).

Release date: Jul 22, 2021

Highlights

  • ๐Ÿน Streamlit now uses Apache Arrow for serializing data frames when they are sent from Streamlit server to the front end. See our blog post.
    • (Users who wish to continue using the legacy data frame serialization can do so by setting the dataFrameSerialization config option to "legacy" in their config.toml).

Other Changes

  • ๐Ÿž Bug fixes: Unresponsive pydeck example (#3395), JSON parse error message (#2324), Tooltips rendering (#3300), Colorpicker not working on Streamlit Sharing (#2689).

Release date: Jul 1, 2021

Highlights

  • ๐Ÿง  Introducing st.session_state and widget callbacks to allow you to add statefulness to your apps. Check out the blog post

Notable Changes

  • ๐Ÿช„ st.text_input now has an autocomplete parameter to allow password managers to be used

Other Changes

  • Using st.set_page_config to assign the page title no longer appends โ€œStreamlitโ€ to that title (#3467)
  • NumberInput: disable plus/minus buttons when the widget is already at its max (or min) value (#3493)

Release date: Jun 17, 2021

Highlights

  • ๐Ÿ›ฃ๏ธ Updates to Streamlit docs to include step-by-step guides which demonstrate how to connect Streamlit apps to various databases & APIs

Notable Changes

  • ๐Ÿ“„ st.form now has a clear_on_submit parameter which "resets" all the form's widgets when the form is submitted.

Other Changes

Release date: May 13, 2021

Notable Changes

  • โ™ป๏ธ Improvements to memory management by forcing garbage collection between script runs.

Release date: Apr 29, 2021

Highlights

  • ๐Ÿ“ Introducing st.form and st.form_submit_button to allow you to batch input widgets. Check out our blog post
  • ๐Ÿ”ค Introducing st.caption so you can add explainer text anywhere in you apps.
  • ๐ŸŽจ Updates to Theming, including ability to build a theme that inherits from any of our default themes.
  • ๐Ÿš€ Improvements to deployment experience to Streamlit sharing from the app menu.

Other changes

  • Support for binary files in Custom Components (#3144)

Release date: Apr 8, 2021

Highlights

  • ๐Ÿ” Streamlit now support Secrets management for apps deployed to Streamlit Sharing!
  • โš“๏ธ Titles and headers now come with automatically generated anchor links. Just hover over any title and click the ๐Ÿ”— to get the link!

Other changes

  • Added allow-downloads capability to custom components (#3040)
  • Fixed markdown tables in dark theme (#3020)
  • Improved color picker widget in the Custom Theme dialog (#2970)

Release date: Mar 18, 2021

Highlights

  • ๐ŸŒˆ Introducing support for custom themes. Check out our blog post
  • ๐ŸŒš This release also introduces dark mode!
  • ๐Ÿ› ๏ธ Support for tooltips on all input widgets

Other changes

  • Fixed bugs regarding file encodings (#1936, #2606) and caching functions (#2728)

Release date: Mar 4, 2021

Features

  • If you're in the Streamlit for Teams beta, we made a few updates to how secrets work. Check the beta docs for more info!
  • Dataframes now displays timezones for all DateTime and Time columns, and shows the time with the timezone applied, rather than in UTC

Notable Bug Fixes

  • Various improvement to column alignment in st.beta_columns
  • Removed the long-deprecated format param from st.image, and replaced with output_format.

Release date: Feb 23, 2021

Features

  • Added a new config option client.showErrorDetails allowing the developer to control the granularity of error messages. This is useful for when you deploy an app, and want to conceal from your users potentially-sensitive information contained in tracebacks.

Notable bug fixes

  • Fixed bug where st.image wasn't rendering certain kinds of SVGs correctly.
  • Fixed regression where the current value of an st.slider was only shown on hover.

Release date: February 4, 2021

Notable Changes

  • ๐ŸŽจ st.color_picker is now out of beta. This means the old beta_color_picker function, which was marked as deprecated for the past 3 months, has now been replaced with color_picker.
  • ๐Ÿ Display a warning when a Streamlit script is run directly as python script.py.
  • st.image's use_column_width now defaults to an auto option which will resize the image to the column width if the image exceeds the column width.
  • โœ‚๏ธ Fixed bugs (2437 and 2247) with content getting cut off within a st.beta_expander
  • ๐Ÿ“œ Fixed a bug in st.dataframe where the scrollbar overlapped with the contents in the last column.
  • ๐Ÿ’พ Fixed a bug for st.file_uploader where file data returned was not the most recently uploaded file.
  • โž• Fixed bugs (2086 and 2556) where some LaTeX commands were not rendering correctly.

Release date: January 21, 2021

Notable Changes

  • ๐Ÿ•ณ st.empty previously would clear the component at the end of the script. It has now been updated to clear the component instantly.
  • ๐Ÿ›น Previously in wide mode, we had thin margins around the webpage. This has now been increased to provide a better visual experience.

Release date: January 6, 2021

Notable Changes

  • ๐Ÿ’พ st.file_uploader. has been stabilized and the deprecation warning and associated configuration option (deprecation.showfileUploaderEncoding) has been removed.
  • ๐Ÿ“Š st.bokeh_chart is no longer duplicated when the page loads.
  • ๐ŸŽˆ Fixed page icon to support emojis with variants (i.e. ๐Ÿคฆโ€โ™€๏ธ vs ๐Ÿคฆ๐Ÿผโ€โ™€๏ธ) or dashes (i.e ๐ŸŒ™ - crescent-moon).

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.

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.

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.

Release date: October 28, 2020

Notable Changes

  • ๐Ÿงช st.set_page_config and st.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.

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.

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 use st.pydeck_chart instead.
  • ๐Ÿšจ Breaking Change: Following the deprecation of width and height for st.altair_chart, st.graphviz_chart, st.plotly_chart, and st.vega_lite_chart in January 2020, we have now removed the args completely. Please set the width and height in the respective charting library.

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 set deprecation.showPyplotGlobalUse to False
  • ๐ŸŽš st.multiselect and st.select are now lightning fast when working with large datasets. Thanks masa3141!

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

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.

Release date: July 23, 2020

Highlights:

  • ๐Ÿ“Š Default matplotlib to display charts with a tight layout. To disable this, set bbox_inches to None, inches as a string, or a Bbox
  • ๐Ÿ—ƒ Deprecation warning for automatic encoding on st.file_uploader
  • ๐Ÿ™ˆ If gatherUserStats is False, do not even load the Segment library. Thanks @tanmaylaud!

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 in st.slider, you can also pass in two-element lists to get a datetime range slider.

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, set server.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 or st.pyplot were sometimes missing.

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 the code_location argument in the docs.
  • ๐Ÿ“ฆ Improved @st.cache support for Keras models and Tensorflow saved_models.

Release date: May 18, 2020

Highlights:

  • โ†•๏ธ Ability to set the height of an st.text_area with the height argument (expressed in pixels). See docs for more.
  • ๐Ÿ”ก Ability to set the maximimum number of characters allowed in st.text_area or st.text_input. Check out the max_chars argument in the docs.
  • ๐Ÿ—บ๏ธ Better DeckGL support for the H3 geospatial indexing system. So now you can use things like H3HexagonLayer in st.pydeck_chart.
  • ๐Ÿ“ฆ Improved @st.cache support for PyTorch TensorBase and Model.

Release date: May 05, 2020

Highlights:

  • ๐ŸŽจ New color-picker widget! Use it with st.beta_color_picker()
  • ๐Ÿงช Introducing st.beta_* and st.experimental_* function prefixes, for faster Streamlit feature releases. See docs for more info.
  • ๐Ÿ“ฆ Improved @st.cache support for SQL Alchemy objects, CompiledFFI, PyTorch Tensors, and builtins.mappingproxy.

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 calling st.pyplot() rather than st.pyplot(fig)).

Release date: March 26, 2020

Highlights:

  • โฒ๏ธ Ability to set expiration options for @st.cache'ed functions by setting the max_entries and ttl 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 via server.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.

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.

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!

Release date: January 29, 2020

Highlights:

  • โŒจ๏ธ Support for password fields! Just pass type="password" to st.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 hack Gist, you should re-download it! Depending on which hack you're using, here are some links to save you some time:

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 to st.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 and height arguments have been deprecated from most chart commands, and use_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).

Release date: December 20, 2019

Highlights:

  • ๐Ÿ“ค Preview release of the file uploader widget. To try it out just call st.file_uploader!

    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!

  • ๐Ÿ‘‹ Support for emoji codes in st.write and st.markdown! Try it out with st.write("Hello :wave:").

Breaking changes:

  • ๐Ÿงน st.pyplot now clears figures by default, since that's what you want 99% of the time. This allows you to create two or more Matplotlib charts without having to call pyplot.clf every time. If you want to turn this behavior off, use st.pyplot(clear_figure=False)
  • ๐Ÿ“ฃ st.cache no longer checks for input mutations. This is the first change of our ongoing effort to simplify the caching system and prepare Streamlit for the launch of other caching primitives like Session State!

Release date: November 30, 2019

Highlights:

  • ๐Ÿ• You can now tweak the behavior of the file watcher with the config option server.fileWatcherType. Use it to switch between:
    • auto (default) : Streamlit will attempt to use the watchdog module, and falls back to polling if watchdog is not available.
    • watchdog : Force Streamlit to use the watchdog module.
    • poll : Force Streamlit to always use polling.
    • none : Streamlit will not watch files.

Notable bug fixes:

  • Fix the "keyPrefix" option in static report sharing #724
  • Add support for getColorX and getTargetColorX to DeckGL Chart #718
  • Fixing Tornado on Windows + Python 3.8 #682
  • Fall back on webbrowser if xdg-open is not installed on Linux #701
  • Fixing number input spin buttons for Firefox #683
  • Fixing CTRL+ENTER on Windows #699
  • Do not automatically create credential file when in headless mode #467

Release date: November 10, 2019

Highlights:

  • ๐Ÿ‘ฉโ€๐ŸŽ“ SymPy support and ability to draw mathematical expressions using LaTeX! See st.latex, st.markdown, and st.write.
  • ๐ŸŒ„ You can now set config options using environment variables. For example, export STREAMLIT_SERVER_PORT=9876.
  • ๐Ÿฑ Ability to call streamlit run directly with Github and Gist URLs. No need to grab the "raw" URL first!
  • ๐Ÿ“ƒ Cleaner exception stack traces. We now remove all Streamlit-specific code from stack traces originating from the user's app.

Release date: October 23, 2019

Highlights:

  • ๐Ÿ’ฏ New input widget for entering numbers with the keyboard: st.number_input()
  • ๐Ÿ“บ Audio/video improvements: ability to load from a URL, to embed YouTube videos, and to set the start position.
  • ๐Ÿค You can now (once again) share static snapshots of your apps to S3! See the S3 section of streamlit config show to set it up. Then share from top-right menu.
  • โš™๏ธ Use server.baseUrlPath config option to set Streamlit's URL to something like http://domain.com/customPath.

Notable bug fixes:

Release date: October 12, 2019

Highlights:

  • ๐Ÿ”ง Ability to set config options as command line flags or in a local config file.
  • โ†•๏ธ You can now maximize charts and images!
  • โšก Streamlit is now much faster when writing data in quick succession to your app.
  • โœณ๏ธ Ability to blacklist folder globs from "run on save" and @st.cache hashing.
  • ๐ŸŽ›๏ธ Improved handling of widget state when Python file is modified.
  • ๐Ÿ™ˆ Improved HTML support in st.write and st.markdown. HTML is still unsafe, though!

Notable bug fixes:

  • Fixes @st.cache bug related to having your Python environment on current working directory. Issue #242
  • Fixes loading of root url / on Windows. Issue #244

Release date: October 1, 2019

Highlights:

  • ๐ŸŒ„ New hello.py showing off 4 glorious Streamlit apps. Try it out!
  • ๐Ÿ”„ Streamlit now automatically selects an unused port when 8501 is already in use.
  • ๐ŸŽ Sidebar support is now out of beta! Just start any command with st.sidebar. instead of st.
  • โšก Performance improvements: we added a cache to our websocket layer so we no longer re-send data to the browser when it hasn't changed between runs
  • ๐Ÿ“ˆ Our "native" charts st.line_chart, st.area_chart and st.bar_chart now use Altair behind the scenes
  • ๐Ÿ”ซ Improved widgets: custom st.slider labels; default values in multiselect
  • ๐Ÿ•ต๏ธโ€โ™€๏ธ The filesystem watcher now ignores hidden folders and virtual environments
  • ๐Ÿ’… Plus lots of polish around caching and widget state management

Breaking change:

  • ๐Ÿ›ก๏ธ We have temporarily disabled support for sharing static "snapshots" of Streamlit apps. Now that we're no longer in a limited-access beta, we need to make sure sharing is well thought through and abides by laws like the DMCA. But we're working on a solution!

Release date: September 19, 2019

Highlights:

  • โœจ Magic commands! Use st.write without typing st.write. See https://docs.streamlit.io/en/latest/api.html#magic-commands
  • ๐ŸŽ›๏ธ New st.multiselect widget.
  • ๐Ÿ Fixed numerous install issues so now you can use pip install streamlit even in Conda! We've therefore deactivated our Conda repo.
  • ๐Ÿž Multiple bug fixes and additional polish in preparation for our launch!

Breaking change:

Release date: August 28, 2019

Highlights:

  • ๐Ÿ˜ฑ Experimental support for sidebar! Let us know if you want to be a beta tester.
  • ๐ŸŽ Completely redesigned st.cache! Much more performant, has a cleaner API, support for caching functions called by @st.cached functions, user-friendly error messages, and much more!
  • ๐Ÿ–ผ๏ธ Lightning fast st.image, ability to choose between JPEG and PNG compression, and between RGB and BGR (for OpenCV).
  • ๐Ÿ’ก Smarter API for st.slider, st.selectbox, and st.radio.
  • ๐Ÿค– Automatically fixes the Matplotlib backend -- no need to edit .matplotlibrc

Release date: July 28, 2019

Highlights:

  • โšก Lightning-fast reconnect when you do a ctrl-c/rerun on your Streamlit code
  • ๐Ÿ“ฃ Useful error messages when the connection fails
  • ๐Ÿ’Ž Fixed multiple bugs and improved polish of our newly-released interactive widgets

Release date: July 9, 2019

Highlights:

  • โšก Support for interactive widgets! ๐ŸŽˆ๐ŸŽ‰

Release date: July 1, 2019

Highlights:

  • ๐Ÿ’พ Ability to save Vega-Lite and Altair charts to SVG or PNG
  • ๐Ÿ‡ We now cache JS files in your browser for faster loading
  • โ›” Improvements to error-handling inside Streamlit apps

Release date: June 24, 2019

Highlights:

  • ๐Ÿ“ˆ Greatly improved our support for named datasets in Vega-Lite and Altair
  • ๐Ÿ™„ Added ability to ignore certain folders when watching for file changes. See the server.folderWatchBlacklist config option.
  • โ˜” More robust against syntax errors on the user's script and imported modules

Release date: June 10, 2019

Highlights:

  • Streamlit is more than 10x faster. Just save and watch your analyses update instantly.
  • We changed how you run Streamlit apps: $ streamlit run your_script.py [script args]
  • Unlike the previous versions of Streamlit, streamlit run [script] [script args] creates a server (now you don't need to worry if the proxy is up). To kill the server, all you need to do is hit Ctrl+c.

Why is this so much faster?

Now, Streamlit keeps a single Python session running until you kill the server. This means that Streamlit can re-run your code without kicking off a new process; imported libraries are cached to memory. An added bonus is that st.cache now caches to memory instead of to disk.

What happens if I run Streamlit the old way?

If you run $ python your_script.py the script will execute from top to bottom, but won't produce a Streamlit app.

What are the limitations of the new architecture?

  • To switch Streamlit apps, first you have to kill the Streamlit server with Ctrl-c. Then, you can use streamlit run to generate the next app.
  • Streamlit only works when used inside Python files, not interactively from the Python REPL.

What else do I need to know?

  • The strings we print to the command line when liveSave is on have been cleaned up. You may need to adjust any RegEx that depends on those.

  • A number of config options have been renamed:

    Old configNew config
    proxy.isRemoteserver.headless
    proxy.liveSaveserver.liveSave
    proxy.runOnSaveserver.runOnSave
    proxy.watchFileSystemserver.runOnSave
    proxy.enableCORSserver.enableCORS
    proxy.portserver.port
    browser.proxyAddressbrowser.serverAddress
    browser.proxyPortbrowser.serverPort
    client.waitForProxySecsn/a
    client.throttleSecsn/a
    client.tryToOutliveProxyn/a
    client.proxyAddressn/a
    client.proxyPortn/a
    proxy.autoCloseDelaySecsn/a
    proxy.reportExpirationSecsn/a

What if something breaks?

If the new Streamlit isn't working, please let us know by Slack or email. You can downgrade at any time with these commands:

$ pip install --upgrade streamlit==0.37
$ conda install streamlit=0.37

What's next?

Thank you for staying with us on this journey! This version of Streamlit lays the foundation for interactive widgets, a new feature of Streamlit we're really excited to share with you in the next few months.

Release date: May 03, 2019

Highlights

  • ๐Ÿšฃโ€โ™€๏ธ st.progress() now also accepts floats from 0.0โ€“1.0
  • ๐Ÿคฏ Improved rendering of long headers in DataFrames
  • ๐Ÿ” Shared apps now default to HTTPS

Release date: April 26, 2019

Highlights

  • ๐Ÿ“ท Bokeh support! Check out docs for st.bokeh_chart
  • โšก๏ธ Improved the size and load time of saved apps
  • โšพ๏ธ Implemented better error-catching throughout the codebase

Was this page helpful?

editSuggest edits
forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.