2023 release notes
This page contains release notes for Streamlit versions released in 2023. For the latest version of Streamlit, see Release notes.
Version 1.29.0
Release date: November 30, 2023
Highlights
- ๐ฒ
st.containerandst.formnow have aborderparameter to show or hide a border. - ๐ Streamlit supports Python 3.12!
Notable Changes
- โ
st.dataframe,st.data_editor, andst.tablesupportdatetime.timedeltavalues (#7689, #4489). - ๐ Streamlit apps preload skeleton elements for a smoother appearance when initializing (#7598).
- ๐ Reduced the overhead of running
AppTest-simulated apps, especially for fast-running apps (#7691). - ๐ String representations of
AppTestdata are improved for a better testing and debugging experience (#7658). - ๐ข Apps can be configured to identify
Enumclasses as the same if they have matching member names (#7408, #4909). Thanks, Asaurus1! - โ The "Made with Streamlit" footer no longer appears at the bottom of apps (#7583).
- ๐งน Unused config options have been deprecated (#7584).
- ๐ณ๏ธ Query parameters can be empty (#7601, #7416).
- ๐ Visual tweaks (#7592, #7630).
Other Changes
- ๐ฆ Bug fix: Convert floats to bytes instead of hashing to avoid hashing instability (#7754). Thanks, BlackHC!
- ๐ฆ Bug fix: Corrected broken URLs and typos in error messages (#7746, #7764, #7770). Thanks, ObservedObserver!
- ๐ Bug fix:
st.connectioncorrectly caches results when using two connections of the same type (#7730, #7709). - ๐ธ๏ธ Bug fix: Using context managers with multithreading now displays content in the expected order (#7715, #7668). Thanks, eric-skydio!
- ๐ฆ Bug fix: Added https fallback when obtaining the host machine's address (#7712, #7703). Thanks, LarsHill!
- ๐ก๏ธ Bug fix: Added security patch for
pyarrowvulnerability. Custom components usingpyarrowtable deserialization should requirepyarrow>=14.0.1(#7695, #7700). - ๐ฆ Bug fix: Improved typing for
st.connection(#7671). Thanks, thezanke! - ๐ชฐ Bug fix: Retries of
SnowflakeConnectionmethods are narrowed to only occur with transient errors to avoid unnecessary repeated errors (#7645, #7637). - ๐๏ธ Removed the v0 testing framework which was undocumented (#7657).
- ๐ชณ Bug fix: The navigation expander arrow no longer disappears (#7634, #7547).
- โ๏ธ Improved the error message for
SnowflakeConnectionwhen a configuration is not found (#7652). - ๐ท๏ธ Bug fix:
st.rerunno longer causes aRecursionErrorwhen used withst.chat_input(#7643, #7629). - ๐ Bug fix:
st.file_uploaderno longer causes an extra rerun and therefore doesn't conflict withst.chat_input(#7641, #7556). - ๐ Bug fix:
AppTestno longer raises an error when encounteringst.container(#7644, #7636). - ๐ชฒ Bug fix: Graphviz charts scale correctly when exiting fullscreen view (#7398, #7527).
- ๐ฅ Bug fix: "Record a screencast" is hidden when known to be unsupported in a browser (#7604).
- ๐ Bug fix: Increased the top padding of embedded apps to better display the dataframe toolbar (#7681, #7609, #7607).
- ๐ Bug fix:
st.rerunusesNoReturnfor improved type checking (#7422) Thanks, kongzii.
Version 1.28.0
Release date: October 26, 2023
Release videos
Highlights
- ๐งช Introducing a new testing framework for Streamlit apps! Check out our documentation to learn how to build automated tests for your apps.
- ๐ป Announcing the general availability of
st.connection, a command to conveniently manage connections in Streamlit apps. Check out the docs to learn more. - โ๏ธ
SnowparkConnectionhas been upgraded to the new and improvedSnowflakeConnectionโ the same, great functionality plus more! Check out our built-in connections. - ๐ ๏ธ
st.dataframeandst.data_editorhave a new toolbar! Users can search and download data in addition to enjoying improved UI for row additions and deletions. See our updated guide on Dataframes.
Notable Changes
- ๐ When using a spinner with cached functions, the spinner will be overlaid instead of pushing content down (#7488).
- ๐
st.data_editornow supports datetime index editing (#7483). - ๐ข Improved support for
decimal.Decimalinst.dataframeandst.data_editor(#7475). - ๐ฅธ Global kwargs were added for
hashlib(#7527, #7526). Thanks, DueViktor! - ๐
st.components.v1.iframenow permits writing to clipboard (#7487). Thanks, dilipthakkar! - ๐
SafeSessionStatedisconnect was replaced with script runner yield points for improved efficiency and clarity (#7373). - ๐ค The Langchain callback handler will show the full input string inside the body of a
st.statuswhen the input string is too long to show as a label (#7478). Thanks, pokidyshev! - ๐
st.graphviz_chartnow supports using different Graphviz layout engines (#7505, #4089). - ๐ฆ Assorted visual tweaks (#7486, #7592).
- ๐
plotly.jswas upgraded to version 2.26.1 (#7449, #7476, #7045). - ๐ฝ Legacy serialization for DataFrames was removed. All DataFrames will be serialized by Apache Arrow (#7429).
- ๐ผ๏ธ Compatibility for Pillow 10.x was added (#7442).
- ๐ฌ Migrated
_stcore/allowed-message-originsendpoint to_stcore/host-config(#7342). - ๐ฌ Added
post_parent_messageplatform command to send custom messages from a Streamlit app to its parent window (#7522).
Other Changes
- โจ๏ธ Improved string dtype handling for DataFrames (#7479).
- โ๏ธ
st.writewill avoid usingunsafe_allow_html=Trueif possible (#7432). - ๐ Bug fix: Implementation of
st.expanderwas simplified for improved behavior and consistency (#7247, #2839, #4111, #4651, #5604). - ๐ชฒ Bug fix: Multipage links in the sidebar are now aligned with other sidebar elements (#7531).
- ๐ Bug fix:
st.chat_inputwon't incorrectly prompt forlabelparameter in IDEs (#7560). - ๐ Bug fix: Scroll bars correctly overlay
st.dataframeandst.data_editorwithout adding empty space (#7090, #6888). - ๐ Bug fix:
st.chat_messagebehaves correctly with the removal of AutoSizer (#7504, #7473). - ๐ท๏ธ Bug fix: Anchor links are reliably produced for non-English headers (#7454, #5291).
- โ๏ธ Bug fix:
st.connections.SnowparkConnectionmore accurately detects when it's running within Streamlit in Snowflake (#7502). - ๐ชณ Bug fix: A user-friendly warning is shown when exceeding the size limitations of a pandas
Stylerobject (#7497, #5953). - ๐ชฐ Bug fix:
st.data_editorautomatically converts non-string column names to strings (#7485, #6950). - ๐ฆ Bug fix:
st.data_editorcorrectly identifies non-range indices as a required column (#7481, #6995). - ๐ฆ Bug fix:
st.file_uploaderdisplays compound file extensions likecsv.gzcorrectly (#7362). Thanks, mo42! - ๐ฆ Bug fix: Column Configuration no longer uses deprecated type checks (#7496, #7477, #7550). Thanks, c-bik!
- ๐ฆ Bug fix: Additional toolbar items no longer stack vertically (#7470, #7471).
- ๐ธ๏ธ Bug fix: Column Configuration no longer causes a type warning in Mypy (#7457). Thanks, kopp!
- ๐ Bug fix: Bokeh Sliders no longer cause JavaScript errors (#7441, #7171).
- ๐ฆ Bug fix: Caching now recognizes DataFrames with the same values but different column names as different (#7331, #7086).
Version 1.27.0
Release date: September 21, 2023
Highlights
- โจ Introducing
st.scatter_chartโ a new, simple chart element to build scatter charts Streamlit-y fast and easy! See our documentation. - ๐ Introducing
st.link_button! Want to open an external link in a new tab with a bit more pizazz than a plain-text link? Check out our documentation to see how. - ๐ Announcing the general availability of
st.rerun, a command to interrupt your script and trigger an immediate rerun.
Notable Changes
- ๐ป You can initialize widgets with an empty state by setting
Noneas an initial value forst.number_input,st.selectbox,st.date_input,st.time_input,st.radio,st.text_input, andst.text_area! - ๐ค
st.download_buttonnow usestarget="_self"instead of opening a new tab (#7151, #7132). - ๐ง Removed unmaintained
pymplerdependency (#7193, #7131). Thanks, rudyardrichter!
Other Changes
- ๐ Bug fix:
st.multiselectnow shows a correct message when no result matches a user's search (#7205, #7116). - ๐ชฒ Bug fix:
st.experimental_usernow defaults totest@example.com(#7219, #7215). - ๐ Bug fix:
st.sliderlabels don't overlap when small ranges are selected (#7221, #3385). - ๐ Bug fix: Type-checking correctly identifies all string types to avoid hashing errors (#7255, #6455).
- ๐ Bug fix: JSON is parsed with JSON5 to avoid errors from null values when using
st.pydeck_chart(#7256, #5799). - ๐ท๏ธ Bug fix: Identical widgets on different pages are correctly interpreted by Streamlit as distinct (#7264, #6146).
- ๐ฆ Bug fix: Visual tweaks to widgets for responsive behavior (#7145).
- ๐ชณ Bug fix: SVGs are accurately displayed (#7183, #3882).
- ๐ชฐ Bug fix:
st.videocorrectly updates with changes tostart_time(#7257, #7126). - ๐ฆ Bug fix: Additional error handling was added to
st.session_state(#7280, #7206). - ๐ฆ Bug fix:
st.mapcorrectly refreshes with new data (#7307, #7294). - ๐ฆ Bug fix: The decorative app header line is no longer covered by the sidebar (#7297, #6264).
- ๐ฆ Bug fix:
st.codeno longer triggers aCachedStFunctionWarning(#7306, #7055). - ๐ธ๏ธ Bug fix:
st.download_buttonno longer resets with differentdata(#7316, #7308). - ๐ Bug fix: Widgets consistently recognize user interaction while a page is still running, with or without
fastRerunenabled (#7283, #6643). - ๐ฆ Bug fix:
st.tabswas improved to better handle and render conditionally appearing tabs (#7287, #7310, #5454, #7040).
Version 1.26.0
Release date: August 24, 2023
Highlights
- ๐ค Introducing
st.statusto display output from long-running processes and external API calls (#7140). Works great withst.chat_message! See our documentation for how to use this feature. - ๐ฅ Introducing
st.toggleโ an alternative tost.checkboxwhen you need an on/off switch.
Notable Changes
- ๐จ Simple chart elements have a
colorparameter to set the color of your data points or series (#7022). - ๐ Markdown supports rainbow and gray colors (#7106, #7179).
- ๐
st.headerandst.subheaderhave optional, colored dividers (#7133). - ๐ Deploying to Community Cloud is even easierโlocally running apps have a deploy button in their toolbars (#7085, #6935).
- ๐๏ธ
st.download_buttonhas a new parametertypefor theming (#7056, #7038). - ๐ค
st.chat_messagehas ai and human presets for messages (#7094). - ๐
st.radiooptions support markdown and have captions (#7018, #7105, #6085). - ๐งผ Assorted visual tweaks (#7050, #894).
- ๐๏ธ Replaced deprecated
imghdrdependency withpillow(#7081, #7027). - ๐ข
st.number_input's step buttons (+/-) are ignored during tabbing navigation (#7154). Thanks @denck007!
Other Changes
- ๐ Bug fix: Toast messages are no longer blocked by
st.chat_input(#7204, #7115). - ๐ธ๏ธ Bug fix: Widget IDs are now stable to prevent inconsistent statefulness (#7003).
- ๐ฆ Bug fix: Browser autofill is correctly recognized within forms now (#7150, #7101, #7084).
- ๐ชฑ Bug fix:
st.file_uploaderno longer causes session state to reset when a websocket connection is dropped and reconnected (#7149, #7025). - ๐๏ธ Bug fix: Pydeck JSON data is cached for improved performance (#7113, #5532).
- ๐ฆ Bug fix:
st.chat_inputno longer submits prematurely while typing with an input method editor (#6993). - ๐ Bug fix: Label backgrounds for
st.tabsare now transparent (#7070, #5707). - ๐ Bug fix: Page width is no longer ignored when using the
helpparameter inst.button(#7033, #6161). - ๐ Bug fix: Tweaked Altair color specification for improved visibility in dark mode (#7061, #3343).
- ๐ชฒ Bug fix:
st.chat_messagecan correctly use local images as avatars (#7130). - ๐ Bug fix: Specified that MD5 is not used for security (#7122, #7120).
- ๐ช Bug fix: Async function docstrings are ignored by Streamlit magic (#7143, #7137).
Version 1.25.0
Release date: July 20, 2023
Highlights
- ๐ Introducing
st.toastโ a command to briefly show toast messages to users in the bottom-right corner of apps. See our documentation on how to use this feature.
Notable Changes
- ๐บ๏ธ
st.mapnow has parameters forlatitude,longitude,color, andsizeto customize data points (#6896). - ๐ฉ
st.multiselectsupports setting placeholders and specifying the maximum number of selections via theplaceholderandmax_selectionskeyword-only arguments, respectively (#6901, #4750). Thanks, @fhiroki! - ๐
Customize the date format for
st.date_inputwith theformatparameter (#6974, #5234). - โฉ๏ธ Forms can now be submitted with Enter/Return while inside
st.text_input,st.number_input, orst.text_area(#6911, #3790). - ๐ข The app menu icon in the upper-right corner of apps has been changed from "โฐ" to "โฎ" (#6947).
Other Changes
- โ๏ธ Minimum required versions increased for multiple Python dependencies, including
numpy>=1.19.3andpandas>=1.3.0(#6802). - ๐ก๏ธ
protobufjswas bumped from 7.2.1 to 7.2.4 (#6959). - โจ Visual design tweaks to Streamlit's input widgets (#6944).
- ๐ฆ Bug Fix:
st.slidernow accepts general number types likenumpy.int64instead of justintandfloat(#6816, #6815). Thanks, @milliams! - ๐ Bug Fix: Data labels for
st.sliderandst.select_sliderno longer overflow when insidest.expander(#6828, #6297). - ๐ Bug Fix: Elements no longer re-render from scratch with each rerun (#6923, #6920).
- ๐ Bug Fix:
st.data_editorhashes styler objects correctly for stability across reruns (#6815, #6898). - ๐ Bug Fix: Fixed the padding for embedded apps using
st.chat_inputto prevent messages being cutoff (#6979).
Version 1.24.0
Release date: June 27, 2023
Highlights
- ๐ฌ Introducing
st.chat_messageandst.chat_inputโ two new chat elements that let you build conversational apps. Learn how to use these features in your LLM-powered chat apps in our tutorial. - ๐พ Streamlit's caching decorators now allow you to customize Streamlit's hashing of input parameters with the keyword-only argument
hash_funcs.
Notable Changes
- ๐ We've deprecated support for Python 3.7 in the core library and Streamlit Community Cloud (#6868).
- ๐
st.cache_dataandst.cache_resourcecan hash timezone-awaredatetimeobjects (#6812, #6690, #5110).
Other Changes
- โจ Visual design tweaks to Streamlit's input widgets (#6817).
- ๐ Bug fix:
st.writepretty-prints dataclasses usingst.help(#6750). - ๐ชฒ Bug fix:
st.button's height is consistent with that of other widgets (#6738). - ๐ Bug fix: Upgraded the
react-rangefrontend dependency to fix the memory usage of sliders (#6764, #5436). Thanks @wolfd! - ๐ Bug fix: Pydantic validators no longer result in exceptions on app reruns (#6664, #3218).
- ๐ Bug fix:
streamlit config showhonors newlines (#6758, #2868). - ๐ชฐ Bug fix: Fixed a race condition to ensure Streamlit reruns the latest code when the file changes (#6884).
- ๐ฆ Bug fix: Apps no longer rerun when users click anchor links (#6834, #6500).
- ๐ธ๏ธ Bug fix: Added robust out-of-bounds checks for
min_valueandmax_valueinst.number_input(#6847, #6797).
Version 1.23.0
Release date: June 1, 2023
Highlights
- โ๏ธ Announcing the general availability of st.data_editor, a widget that allows you to edit DataFrames and many other data structures in a table-like UI. Breaking change: the data editor's representation used in
st.session_statewas altered. Find out more about the new format in Access edited data. - โ๏ธ Introducing the Column configuration API with a suite of methods to configure the display and editing behavior of
st.dataframeandst.data_editorcolumns (e.g. their title, visibility, type, or format). Keep an eye out for a detailed blog post and in-depth documentation upcoming in the next two weeks. - ๐ Learn to use
st.experimental_connectionto create and manage data connections in your apps with the new Connecting to data docs and video tutorial.
Notable Changes
- ๐ Streamlit now supports Protobuf 4 and Altair 5 (#6215, #6618, #5626, #6622).
- โ๏ธ st.dataframe and st.data_editor can hide index columns with
hide_index, specify the display order of columns withcolumn_order, and disable editing for individual columns with thedisabledparameter. - โฑ๏ธ The
ttlparameter in st.cache_data and st.cache_resource accepts formatted strings, so you can simply sayttl="30d",ttl="1h30m"and any other combination ofw,d,h,m,ssupported by Pandas's Timedelta constructor (#6560). - ๐
st.file_uploadernow interprets thetypeparameter more accurately. For example, "jpg" or ".jpg" now accept both "jpg" and "jpeg" extensions. This functionality has also been extended to "mpeg/mpg", "tiff/tif", "html/htm", and "mpeg4/mp4". - ๐คซ The new
global.disableWidgetStateDuplicationWarningconfiguration option allows the silencing of warnings triggered by setting widget default values and keyed session state values concurrently (#3605, #6640). Thanks, @antonAce!
Other Changes
- ๐โโ๏ธImproved startup time by lazy loading some dependencies (#6531).
- ๐ Removed
st.beta_*andst.experimental_showdue to deprecation and low-use (#6558) - ๐ Further improvements to st.dataframe and st.data_editor:
- Improved editing on mobile devices for the data editor (#6548).
- All editable columns have an icon in their column header and support tooltips (#6550, #6561).
- Enable editing for columns containing datetime, date, or time values (#6025).
- New input validation options for columns in the data editor, such as
max_charsandvalidatefor text columns, andmin_value,max_valueandstepfor number columns (#6563). - Improved type parsing capabilities in the data editor (#6551).
- Unified missing values to
Nonein returned data structures (#6544). - A warning is shown in cells when integers exceed the maximum safe value of
(2^53) -1(#6311, #6549). - Prevented editing the sessions state by showing a warning (#6634).
- Fixed issues with list columns sometimes breaking the frontend (#6644).
- Fixed a display issue with index columns using category dtype (#6680, #6598).
- Fixed an issue that prevented a rerun when adding empty rows (#6598).
- Unified the behavior between
st.data_editorandst.dataframerelated to auto-hiding the index column(s) based on the input data (#6659, #6598)
- ๐ก๏ธ Streamlit's Security Policy can be found in its GitHub repository (#6666).
- ๐ค Documented the integer size limit for
st.number_inputandst.slider(#6724). - ๐ The majority of Streamlit's Python dependencies have set a maximum allowable version, with the standard upper limit set to the next major version, but not inclusive of it (#6691).
- ๐ UI design improvements to in-app modals (#6688).
- ๐ Bug fix:
st.date_input's date selector is equally visible in dark mode (#6072, #6630). - ๐ Bug fix: the sidebar navigation expansion indicator in multipage apps is restored (#6731).
- ๐ Bug fix: The docstring and exception message for
st.set_page_confighave been updated to clarify that this command can be invoked once for each page within a multipage app, rather than once per entire app (#6594). - ๐ Bug fix:
st.jsonno longer collapses multiple spaces in both keys and values with single space when rendered (#6657, #6663).
Version 1.22.0
Release date: April 27, 2023
Highlights
- ๐ Introducing
st.experimental_connection: Easily connect your app to data sources and APIs using our new connection feature. Find more details in the API reference, and stay tuned for an upcoming blog post and in-depth documentation! In the meantime, explore our updated MySQL and Snowflake connection tutorials for examples of this feature.
Notable Changes
- ๐ผ Streamlit now supports Pandas 2.0 (#6413, #6378, #6507). Thanks, connortann!
- ๐ Customize the visibility of items in the toolbar, options menu, and the settings dialog using the
client.toolbarModeconfig option (#6174). - ๐ชต Streamlit logs now reside in the "streamlit" namespace instead of the root logger, enabling app developers to better manage log handling (#3978, #6377).
Other Changes
- ๐ CLI parameters can no longer be used to set sensitive configuration values (#6376).
- ๐ค Improved the debugging experience by reducing log noise (#6391).
- ๐ Bug fix:
@st.cache_datadecorated functions support UUID objects as parameters (#6440, #6459). - ๐ Bug fix: Tabbing through buttons and other elements now displays a red border only when focused, not when clicked (#6373).
- ๐ชฒ Bug fix:
st.multiselect's clear icon is larger and includes a hover effect (#6471). - ๐ Bug fix: Custom theme font settings no longer apply to code blocks (#6484, #6535).
- ยฉ๏ธ Bug fix:
st.code's copy-to-clipboard button appears when you hover on code blocks (#6490, #6498).
Version 1.21.0
Release date: April 6, 2023
Highlights
- ๐ Introducing
st.dividerโ a command that displays a horizontal line in your app. Learn how to use this command in its API reference. - ๐ Streamlit now supports the use of a global
secrets.tomlfile, in addition to a project-level file, to easily store and securely access your secrets. Learn more in Secrets management. - ๐ st.help has been revamped to show more information about object methods, attributes, classes, and more, which is great for debugging (#5857, #6382)!
Notable Changes
- ๐ช st.time_input supports adding a stepping interval with the keyword-only
stepparameter (#6071). - โ Most text elements can include tooltips with the
helpparameter (#6043). - โ๏ธ st.pyplot has a
use_container_widthparameter to set the chart to the container width (now all chart elements support this parameter) (#6067). - ๐ฉโ๐ป st.code supports optionally displaying line numbers to the code block's left with the boolean
line_numbersparameter (#5756, #6042). - โ Anchors in header elements can be turned off by setting
anchor=False(#6158).
Other Changes
- ๐ผ st.table and st.dataframe support
pandas.Period, and number and boolean types in categorical columns (#2547, #5429, #5329, #6248). - ๐ธ๏ธ Added
.webpto the list of allowed static file extensions (#6331) - ๐ Bug fix: stop script execution on websocket close to immediately clear session information (#6166, #6204).
- ๐ Bug fixes: updated allowed/disallowed label markdown behavior such that unsupported elements are unwrapped and only their children (text contents) render (#5872, #6036, #6054, #6163).
- ๐ชฒ Bug fixes: don't push browser history states on rerun, use HTTPS to load external resources in
streamlit hello, and make the browser back button work for multipage apps (#5292, #6266, #6232). Thanks, whitphx! - ๐ Bug fix: avoid showing emoji on non-UTF-8 terminals. (#2284, #6088). Thanks, kcarnold!
- ๐ Bug fix: override default use of File System Access API for
react-dropzoneso thatst.file_uploader's File Selection Dialog only shows file types corresponding to those included in thetypeparameter (#6176, #6315). - ๐พ Bug fix: make the
.clear()method on cache-decorated functions work (#6310, #6321). - ๐ Bug fix:
st.experimental_get_query_paramsdoesn't need reruns to work (#6347, #6348). Thanks, PaleNeutron! - ๐ Bug fix:
CachedStFunctionWarningmentionsexperimental_allow_widgetsinstead of the deprecatedsuppress_st_warning(#6216, #6217).
Version 1.20.0
Release date: March 09, 2023
Notable Changes
- ๐ Added support for configuring SSL to serve apps directly over HTTPS (#5969).
- ๐ผ๏ธ Granular control over app embedding behavior with the
/?embedand/?embed_optionsquery parameters. Learn how to use this feature in our docs (#6011, #6019). - โก Enabled the
runner.fastRerunsconfiguration option by default to make apps much more responsive to user interaction (#6200).
Other Changes
- ๐ Cleaned up the hamburger menu by removing the least used options (#6080).
- ๐จ๏ธ Design changes to ensure apps being printed or saved as a PDF look good (#6180).
- ๐ Bug fix: improved
dtypeschecking inst.experimental_data_editor(#6185, #6188). - ๐ Bug fix: properly position
st.metric'shelptooltip when not inside columns (#6168). - ๐ชฒ Bug fix: regression in retrieving messages from the server's
ForwardMsgCache(#6210). - ๐ Bug fix:
st.cache_datadocstring for theshow_spinnerparam now listsstras a supported type (#6207, #6213). - โฑ๏ธ Made ping and websocket timeouts far more forgiving (#6212).
- ๐บ๏ธ
st.mapandst.pydeck_chartdocs state that Streamlit's Mapbox token will not work indefinitely (#6143).
Version 1.19.0
Release date: February 23, 2023
Highlights
- โ๏ธ Introducing
st.experimental_data_editor, a widget that allows you to edit DataFrames and many other data structures in a table-like UI. Read more in our documentation and blog post.
Other Changes
- โจ Streamlit's GitHub README got a new look (#6016).
- ๐ Improved readability of styled dataframe cells in dark mode (#6060, #6098).
- ๐ Bug fix: make apps work again in the latest versions of Safari, and in Chrome with third-party cookies blocked (#6092, #6094, #6087, #6100).
- ๐ Bug fix: refer to new cache primitives in the "Clear cache" dialog and error messages (#6082, #6128).
- ๐ Bug fix: properly cache class member functions and instance methods (#6109, #6114).
- ๐ Bug fix: regression in
st.metrictooltip position (#6093, #6129). - ๐ชฒ Bug fix: allow fullscreen button to show for dataframes, charts, etc, in expander (#6083, #6148).
Version 1.18.0
Release date: February 09, 2023
Highlights
- ๐ Introducing
@st.cache_dataand@st.cache_resourceโ two new caching commands to replacest.cache! Check out our blog post and documentation for more information.
Notable Changes
- ๐ช
st.columnssupports up to one level of column nesting (i.e., columns inside columns) in the main area of the app. - โณ
st.progresssupports adding a message to display above the progress bar with thetextkeyword parameter. - โ๏ธ
st.buttonhas an optionaluse_container_widthparameter to allow you to stretch buttons across the full container width. - ๐ We formally added support for Python 3.11.
- ๐จ๏ธ Save your app as a PDF via the "Print" option in your app's hamburger menu.
- ๐๏ธ Apps can serve small, static media files via the
enableStaticServingconfig option. See our documentation on how to use this feature and our demo app for an example.
Other Changes
- ๐ All Streamlit endpoints (including
/healthz) have been renamed to have a consistent pattern and avoid any clashes with reserved endpoints of GCP (notably Cloud Run and App Engine) (#5534). - โก Improved caching performance when multiple sessions access an uncomputed cached value simultaneously (#6017).
- ๐ง Streamlit only displays deprecation warnings in the browser when the
client.showErrorDetailsconfig option is set toTrue. Deprecation warnings always get logged to the console, regardless of whether they're displayed in-browser (#5945). - ๐ Refactored the
st.dataframeinternals to improve dataframe handling and conversion, such as detecting more types, converting key-value dicts to dataframes, and more (#6026, #6023). - ๐ฝ The behavior of widget labels when they are passed unsupported Markdown elements is documented (#5978).
- ๐ Bug fix: Plotly improvements โ upgraded multiple frontend dependencies, including Plotly, to the latest version to properly redraw cached charts, make Plotly mapbox animations work, and allow users to update the figure layout when using the Streamlit theme (#5885, #5967, #6055).
- ๐ถ Bug fix: allow browser tabs that transiently disconnect (due to a network blip, load balancer timeout, etc.) to avoid losing all of their state (#5856).
- ๐ฑ Bug fix: the keyboard is hidden on mobile when
st.selectboxandst.multiselecthave less than 10 options (#5979). - ๐ Bug fix: design tweaks to
st.metric,st.multiselect,st.tabs, and menu items to prevent label overflow and scrolling issues, especially with small viewport sizes (#5933, #6034). - ๐ Bug fix: switched to a functioning Twemoji URL from which page favicons are loaded in
st.set_page_config(#5943). - โ๏ธ More type hints (#5986). Thanks, harahu!
Version 1.17.0
Release date: January 12, 2023
Notable Changes
- ๐ช
@st.experimental_singletonsupports an optionalvalidateparameter that accepts a validation function for cached data and is called each time the cached value is accessed. - ๐พ
@st.experimental_memo'spersistparameter can also accept booleans.
Other Changes
- ๐ Multipage apps exclude
__init__.pyfrom the page selector (#5890). - ๐ The iframes of embedded apps have the ability to dynamically resize their height (#5894).
- ๐ Bug fix: thumb values of range sliders respect the container width (#5913).
- ๐ชฒ Bug fix: all examples in docstrings of Streamlit commands contain relevant imports to make them reproducible (#5877).
Still have questions?
Our forums are full of helpful information and Streamlit experts.