Skip to content

Commit 21f83ae

Browse files
Release Notes 1.25.0 (#762)
* Update changelog.md Added 1.25.0 release notes to changelog. * Update what's new Update "What's new" cards on the homepage to show new features for Streamlit 1.25.0 * Update streamlit==1.25.0 for embedded apps Update requirements.txt for embedded apps to reflect Streamlit version 1.25.0 * Add back comment for future syntax reference * Use notifications icon instead of breakfast.. * Pull in embedded apps from develop * Capitalize meaningful link in st.form tip * Mention date input in What's new tile * Use relative internal links in changelog for performance reasons * Replace curly double quotes from Notion with straight quotes * Bump versio from 1.24.0 to 1.25.0 in cheat sheet and configuration --------- Co-authored-by: snehankekre <[email protected]>
1 parent 818892c commit 21f83ae

File tree

10 files changed

+98020
-97994
lines changed

10 files changed

+98020
-97994
lines changed

content/library/advanced-features/configuration.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,10 @@ showPyplotGlobalUse = true
446446
# font =
447447
```
448448

449-
450449
<Collapse title="View entire file" expanded={false} >
451450

451+
This is the entire `config.toml` file with all the options for version 1.25.0:
452+
452453
```toml
453454
[global]
454455

content/library/api-cheat-sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ slug: /library/cheatsheet
55

66
# Cheat Sheet
77

8-
This is a summary of the docs, as of [Streamlit v1.24.0](https://pypi.org/project/streamlit/1.22.0/).
8+
This is a summary of the docs, as of [Streamlit v1.25.0](https://pypi.org/project/streamlit/1.25.0/).
99

1010
<Masonry>
1111

@@ -384,7 +384,7 @@ conn = st.experimental_connection('snowpark')
384384
#### Display progress and status
385385

386386
```python
387-
# Show a spinner during a process
387+
# Show a spinner during a process
388388
>>> with st.spinner(text='In progress'):
389389
>>> time.sleep(3)
390390
>>> st.success('Done')

content/library/api/control-flow/form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: st.form creates a form that batches elements together with a “Sub
66

77
<Tip>
88

9-
This page only contains information on the `st.forms` API. For a deeper dive into creating and using forms within Streamlit apps, read our guide on [using forms](/library/advanced-features/forms).
9+
This page only contains information on the `st.forms` API. For a deeper dive into creating and using forms within Streamlit apps, read our guide on [Using forms](/library/advanced-features/forms).
1010

1111
</Tip>
1212

content/library/changelog.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,33 @@ pip install --upgrade streamlit
1717

1818
</Tip>
1919

20+
## **Version 1.25.0**
21+
22+
_Release date: July 20, 2023_
23+
24+
**Highlights**
25+
26+
- 🍞 Introducing `st.toast` — a command to briefly show toast messages to users in the bottom-right corner of apps. See [our documentation](/library/api-reference/status/st.toast) on how to use this feature.
27+
28+
**Notable Changes**
29+
30+
- 🗺️ [`st.map`](/library/api-reference/charts/st.map) now has parameters for `latitude`, `longitude`, `color`, and `size` to customize data points ([#6896](https://github.com/streamlit/streamlit/pull/6896)).
31+
- 🚩 [`st.multiselect`](/library/api-reference/widgets/st.multiselect) supports setting placeholders and specifying the maximum number of selections via the `placeholder` and `max_selections` keyword-only arguments, respectively ([#6901](https://github.com/streamlit/streamlit/pull/6901), [#4750](https://github.com/streamlit/streamlit/issues/4750)). Thanks, [@fhiroki](https://github.com/fhiroki)!
32+
- 📅 Customize the date format for `st.date_input` with the `format` parameter ([#6974](https://github.com/streamlit/streamlit/pull/6974), [#5234](https://github.com/streamlit/streamlit/issues/5234)).
33+
- ↩️ [Forms](/library/api-reference/control-flow/st.form) can now be submitted with Enter/Return while inside [`st.text_input`](/library/api-reference/widgets/st.text_input), [`st.number_input`](/library/api-reference/widgets/st.number_input), or [`st.text_area`](/library/api-reference/widgets/st.text_area) ([#6911](https://github.com/streamlit/streamlit/pull/6911), [#3790](https://github.com/streamlit/streamlit/issues/3790)).
34+
- 🍢 The app menu icon in the upper-right corner of apps has been changed from "****" to "****" ([#6947](https://github.com/streamlit/streamlit/pull/6947)).
35+
36+
**Other Changes**
37+
38+
- ⛓️ Minimum required versions increased for multiple Python dependencies, including `numpy>=1.19.3` and `pandas>=1.3.0` ([#6802](https://github.com/streamlit/streamlit/pull/6802)).
39+
- 🛡️ `protobufjs` was bumped from 7.2.1 to 7.2.4 ([#6959](https://github.com/streamlit/streamlit/pull/6959)).
40+
- ✨ Visual design tweaks to Streamlit's input widgets ([#6944](https://github.com/streamlit/streamlit/pull/6944)).
41+
- 🦋 Bug Fix: `st.slider` now accepts general number types like `numpy.int64` instead of just `int` and `float` ([#6816](https://github.com/streamlit/streamlit/pull/6816), [#6815](https://github.com/streamlit/streamlit/issues/6815)). Thanks, [@milliams](https://github.com/milliams)!
42+
- 🐜 Bug Fix: Data labels for `st.slider` and `st.select_slider` no longer overflow when inside `st.expander` ([#6828](https://github.com/streamlit/streamlit/pull/6828), [#6297](https://github.com/streamlit/streamlit/issues/6297)).
43+
- 🐛 Bug Fix: Elements no longer re-render from scratch with each rerun ([#6923](https://github.com/streamlit/streamlit/pull/6923), [#6920](https://github.com/streamlit/streamlit/issues/6920)).
44+
- 🐞 Bug Fix: `st.data_editor` hashes styler objects correctly for stability across reruns ([#6815](https://github.com/streamlit/streamlit/pull/6915), [#6898](https://github.com/streamlit/streamlit/issues/6898)).
45+
- 🐝 Bug Fix: Fixed the padding for embedded apps using `st.chat_input` to prevent messages being cutoff ([#6979](https://github.com/streamlit/streamlit/pull/6979)).
46+
2047
## **Version 1.24.0**
2148

2249
_Release date: June 27, 2023_
@@ -176,7 +203,7 @@ _Release date: February 23, 2023_
176203
- ✨ Streamlit's GitHub README got a new look ([#6016](https://github.com/streamlit/streamlit/pull/6016)).
177204
- 🌚 Improved readability of styled dataframe cells in dark mode ([#6060](https://github.com/streamlit/streamlit/issues/6060), [#6098](https://github.com/streamlit/streamlit/pull/6098)).
178205
- 🐛 Bug fix: make apps work again in the latest versions of Safari, and in Chrome with third-party cookies blocked ([#6092](https://github.com/streamlit/streamlit/issues/6092), [#6094](https://github.com/streamlit/streamlit/pull/6094), [#6087](https://github.com/streamlit/streamlit/issues/6087), [#6100](https://github.com/streamlit/streamlit/pull/6100)).
179-
- 🐞 Bug fix: refer to new cache primitives in the Clear cache" dialog and error messages ([#6082](https://github.com/streamlit/streamlit/pull/6082), [#6128](https://github.com/streamlit/streamlit/pull/6128)).
206+
- 🐞 Bug fix: refer to new cache primitives in the "Clear cache" dialog and error messages ([#6082](https://github.com/streamlit/streamlit/pull/6082), [#6128](https://github.com/streamlit/streamlit/pull/6128)).
180207
- 🐝 Bug fix: properly cache class member functions and instance methods ([#6109](https://github.com/streamlit/streamlit/issues/6109), [#6114](https://github.com/streamlit/streamlit/pull/6114)).
181208
- 🐜 Bug fix: regression in `st.metric` tooltip position ([#6093](https://github.com/streamlit/streamlit/issues/6093), [#6129](https://github.com/streamlit/streamlit/pull/6129)).
182209
- 🪲 Bug fix: allow fullscreen button to show for dataframes, charts, etc, in expander ([#6083](https://github.com/streamlit/streamlit/pull/6083), [#6148](https://github.com/streamlit/streamlit/pull/6148)).
@@ -195,7 +222,7 @@ _Release date: February 09, 2023_
195222
- ⏳ `st.progress` supports adding a message to display above the progress bar with the `text` keyword parameter.
196223
- ↔️ `st.button` has an optional `use_container_width` parameter to allow you to stretch buttons across the full container width.
197224
- 🐍 We formally added support for Python 3.11.
198-
- 🖨️ Save your app as a PDF via the Print" option in your app's hamburger menu.
225+
- 🖨️ Save your app as a PDF via the "Print" option in your app's hamburger menu.
199226
- 🛎️ Apps can serve small, static media files via the `enableStaticServing` config option. See our [documentation](/library/advanced-features/static-file-serving) on how to use this feature and our demo [app](https://static-file-serving.streamlit.app/) for an example.
200227

201228
**Other Changes**
@@ -628,7 +655,7 @@ _Release date: Jul 1, 2021_
628655

629656
**Other Changes**
630657

631-
- Using st.set_page_config to assign the page title no longer appends Streamlit" to that title ([#3467](https://github.com/streamlit/streamlit/pull/3467))
658+
- Using st.set_page_config to assign the page title no longer appends "Streamlit" to that title ([#3467](https://github.com/streamlit/streamlit/pull/3467))
632659
- NumberInput: disable plus/minus buttons when the widget is already at its max (or min) value ([#3493](https://github.com/streamlit/streamlit/pull/3493))
633660

634661
## Version 0.83.0

pages/index.js

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,23 @@ export default function Home({ window, menu, gdpr_data }) {
139139
<TileContainer>
140140
<RefCard
141141
size="third"
142-
href="/knowledge-base/tutorials/build-conversational-apps"
142+
href="/library/api-reference/status/st.toast"
143143
>
144-
<i className="material-icons-sharp">chat</i>
145-
<h4>Chat elements</h4>
144+
<i className="material-icons-sharp">notifications_active</i>
145+
<h4>Toast notifications</h4>
146146
<p>
147-
Introducing <code>st.chat_message</code> and{" "}
148-
<code>st.chat_input</code> — two new chat elements that let
149-
you build conversational apps. Learn how to use these features
150-
in your LLM-powered chat apps in our tutorial.
147+
Introducing <code>st.toast</code> — a command to briefly show
148+
toast messages to users in the bottom-right corner of apps.
149+
</p>
150+
</RefCard>
151+
<RefCard size="third" href="/library/api-reference/charts/st.map">
152+
<i className="material-icons-sharp">place</i>
153+
<h4>Maps just got easier!</h4>
154+
<p>
155+
<code>st.map</code> now has parameters for{" "}
156+
<code>latitude</code>, <code>longitude</code>,
157+
<code>color</code>, and <code>size</code> to customize points
158+
drawn on a map.
151159
</p>
152160
</RefCard>
153161
<RefCard
@@ -165,6 +173,19 @@ export default function Home({ window, menu, gdpr_data }) {
165173
<code>hash_funcs</code>. Click to read the docs.
166174
</p>
167175
</RefCard>
176+
<RefCard
177+
size="third"
178+
href="/knowledge-base/tutorials/build-conversational-apps"
179+
>
180+
<i className="material-icons-sharp">chat</i>
181+
<h4>Chat elements</h4>
182+
<p>
183+
Introducing <code>st.chat_message</code> and{" "}
184+
<code>st.chat_input</code> — two new chat elements that let
185+
you build conversational apps. Learn how to use these features
186+
in your LLM-powered chat apps in our tutorial.
187+
</p>
188+
</RefCard>
168189
<RefCard
169190
size="third"
170191
href="https://blog.streamlit.io/introducing-column-config/"
@@ -180,37 +201,13 @@ export default function Home({ window, menu, gdpr_data }) {
180201
</RefCard>
181202
<RefCard
182203
size="third"
183-
href="/library/advanced-features/connecting-to-data"
184-
>
185-
<i className="material-icons-sharp">electrical_services</i>
186-
<h4>st.experimental_connection</h4>
187-
<p>
188-
Introducing <code>st.experimental_connection</code> to let you
189-
easily connect your app to data sources and APIs.
190-
</p>
191-
</RefCard>
192-
<RefCard
193-
size="third"
194-
href="/library/api-reference/utilities/st.help"
195-
>
196-
<i className="material-icons-sharp">help</i>
197-
<h4>Supercharged st.help!</h4>
198-
<p>
199-
<code>st.help</code> has been revamped to show more
200-
information about object methods, attributes, classes, and
201-
more, which is great for debugging!
202-
</p>
203-
</RefCard>
204-
<RefCard
205-
size="third"
206-
href="/library/advanced-features/dataframes"
204+
href="/library/api-reference/widgets/st.date_input"
207205
>
208-
<i className="material-icons-sharp">edit_note</i>
209-
<h4>Editable dataframes!</h4>
206+
<i className="material-icons-sharp">calendar_month</i>
207+
<h4>Customize date formats </h4>
210208
<p>
211-
Announcing the general availability of{" "}
212-
<code>st.data_editor</code>, a widget that allows you to edit
213-
dataframes and many other data structures in a table-like UI.
209+
<code>st.date_input</code>'s date format can be customized
210+
with the <code>format</code> parameter.
214211
</p>
215212
</RefCard>
216213
{/* <Tile
@@ -228,6 +225,7 @@ export default function Home({ window, menu, gdpr_data }) {
228225
text="Do you need more control over cache invalidation? Any function annotated with @st.cache_data or @st.cache_resource gets its own clear() function automatically."
229226
link="/library/advanced-features/experimental-cache-primitives#clear-memo-and-singleton-caches-procedurally"
230227
/> */}
228+
{/* Preserve above comment for syntax reference */}
231229
</TileContainer>
232230

233231
<H2 className="no-b-m">Latest blog posts</H2>

python/api-examples-source/hello/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ numpy==1.22.0
88
scipy
99
altair==4.2.0
1010
pydeck==0.7.1
11-
streamlit==1.24.0
11+
streamlit==1.25.0

python/api-examples-source/mpa-hello/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ scipy
99
altair==4.2.0
1010
pydeck==0.7.1
1111
opencv-python-headless==4.6.0.66
12-
streamlit==1.24.0
12+
streamlit==1.25.0

python/api-examples-source/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ altair==4.2.0
1010
pydeck==0.8.0
1111
Faker==19.1.0
1212
openai==0.27.8
13-
streamlit-nightly==1.24.2.dev20230712
13+
streamlit==1.25.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
streamlit==1.24.0
1+
streamlit==1.25.0
22
vega_datasets
33
altair==4.2.0
44
plotly==5.1.0

0 commit comments

Comments
 (0)