Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/library/advanced-features/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,10 @@ showPyplotGlobalUse = true
# font =
```


<Collapse title="View entire file" expanded={false} >

This is the entire `config.toml` file with all the options for version 1.25.0:

```toml
[global]

Expand Down
4 changes: 2 additions & 2 deletions content/library/api-cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: /library/cheatsheet

# Cheat Sheet

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

<Masonry>

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

```python
# Show a spinner during a process
# Show a spinner during a process
>>> with st.spinner(text='In progress'):
>>> time.sleep(3)
>>> st.success('Done')
Expand Down
2 changes: 1 addition & 1 deletion content/library/api/control-flow/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: st.form creates a form that batches elements together with a “Sub

<Tip>

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).
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).

</Tip>

Expand Down
33 changes: 30 additions & 3 deletions content/library/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,33 @@ pip install --upgrade streamlit

</Tip>

## **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](/library/api-reference/status/st.toast) on how to use this feature.

**Notable Changes**

- 🗺️ [`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)).
- 🚩 [`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)!
- 📅 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)).
- ↩️ [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)).
- 🍢 The app menu icon in the upper-right corner of apps has been changed from "**☰**" to "**⋮**" ([#6947](https://github.com/streamlit/streamlit/pull/6947)).

**Other Changes**

- ⛓️ 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)).
- 🛡️ `protobufjs` was bumped from 7.2.1 to 7.2.4 ([#6959](https://github.com/streamlit/streamlit/pull/6959)).
- ✨ Visual design tweaks to Streamlit's input widgets ([#6944](https://github.com/streamlit/streamlit/pull/6944)).
- 🦋 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)!
- 🐜 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)).
- 🐛 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)).
- 🐞 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)).
- 🐝 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)).

## **Version 1.24.0**

_Release date: June 27, 2023_
Expand Down Expand Up @@ -176,7 +203,7 @@ _Release date: February 23, 2023_
- ✨ Streamlit's GitHub README got a new look ([#6016](https://github.com/streamlit/streamlit/pull/6016)).
- 🌚 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)).
- 🐛 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)).
- 🐞 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)).
- 🐞 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)).
- 🐝 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)).
- 🐜 Bug fix: regression in `st.metric` tooltip position ([#6093](https://github.com/streamlit/streamlit/issues/6093), [#6129](https://github.com/streamlit/streamlit/pull/6129)).
- 🪲 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)).
Expand All @@ -195,7 +222,7 @@ _Release date: February 09, 2023_
- ⏳ `st.progress` supports adding a message to display above the progress bar with the `text` keyword parameter.
- ↔️ `st.button` has an optional `use_container_width` parameter 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.
- 🖨️ 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 `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.

**Other Changes**
Expand Down Expand Up @@ -628,7 +655,7 @@ _Release date: Jul 1, 2021_

**Other Changes**

- 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))
- 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))
- NumberInput: disable plus/minus buttons when the widget is already at its max (or min) value ([#3493](https://github.com/streamlit/streamlit/pull/3493))

## Version 0.83.0
Expand Down
70 changes: 34 additions & 36 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,23 @@ export default function Home({ window, menu, gdpr_data }) {
<TileContainer>
<RefCard
size="third"
href="/knowledge-base/tutorials/build-conversational-apps"
href="/library/api-reference/status/st.toast"
>
<i className="material-icons-sharp">chat</i>
<h4>Chat elements</h4>
<i className="material-icons-sharp">notifications_active</i>
<h4>Toast notifications</h4>
<p>
Introducing <code>st.chat_message</code> and{" "}
<code>st.chat_input</code> — 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.
Introducing <code>st.toast</code> — a command to briefly show
toast messages to users in the bottom-right corner of apps.
</p>
</RefCard>
<RefCard size="third" href="/library/api-reference/charts/st.map">
<i className="material-icons-sharp">place</i>
<h4>Maps just got easier!</h4>
<p>
<code>st.map</code> now has parameters for{" "}
<code>latitude</code>, <code>longitude</code>,
<code>color</code>, and <code>size</code> to customize points
drawn on a map.
</p>
</RefCard>
<RefCard
Expand All @@ -165,6 +173,19 @@ export default function Home({ window, menu, gdpr_data }) {
<code>hash_funcs</code>. Click to read the docs.
</p>
</RefCard>
<RefCard
size="third"
href="/knowledge-base/tutorials/build-conversational-apps"
>
<i className="material-icons-sharp">chat</i>
<h4>Chat elements</h4>
<p>
Introducing <code>st.chat_message</code> and{" "}
<code>st.chat_input</code> — 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.
</p>
</RefCard>
<RefCard
size="third"
href="https://blog.streamlit.io/introducing-column-config/"
Expand All @@ -180,37 +201,13 @@ export default function Home({ window, menu, gdpr_data }) {
</RefCard>
<RefCard
size="third"
href="/library/advanced-features/connecting-to-data"
>
<i className="material-icons-sharp">electrical_services</i>
<h4>st.experimental_connection</h4>
<p>
Introducing <code>st.experimental_connection</code> to let you
easily connect your app to data sources and APIs.
</p>
</RefCard>
<RefCard
size="third"
href="/library/api-reference/utilities/st.help"
>
<i className="material-icons-sharp">help</i>
<h4>Supercharged st.help!</h4>
<p>
<code>st.help</code> has been revamped to show more
information about object methods, attributes, classes, and
more, which is great for debugging!
</p>
</RefCard>
<RefCard
size="third"
href="/library/advanced-features/dataframes"
href="/library/api-reference/widgets/st.date_input"
>
<i className="material-icons-sharp">edit_note</i>
<h4>Editable dataframes!</h4>
<i className="material-icons-sharp">calendar_month</i>
<h4>Customize date formats </h4>
<p>
Announcing the general availability of{" "}
<code>st.data_editor</code>, a widget that allows you to edit
dataframes and many other data structures in a table-like UI.
<code>st.date_input</code>'s date format can be customized
with the <code>format</code> parameter.
</p>
</RefCard>
{/* <Tile
Expand All @@ -228,6 +225,7 @@ export default function Home({ window, menu, gdpr_data }) {
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."
link="/library/advanced-features/experimental-cache-primitives#clear-memo-and-singleton-caches-procedurally"
/> */}
{/* Preserve above comment for syntax reference */}
</TileContainer>

<H2 className="no-b-m">Latest blog posts</H2>
Expand Down
2 changes: 1 addition & 1 deletion python/api-examples-source/hello/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ numpy==1.22.0
scipy
altair==4.2.0
pydeck==0.7.1
streamlit==1.24.0
streamlit==1.25.0
2 changes: 1 addition & 1 deletion python/api-examples-source/mpa-hello/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ scipy
altair==4.2.0
pydeck==0.7.1
opencv-python-headless==4.6.0.66
streamlit==1.24.0
streamlit==1.25.0
2 changes: 1 addition & 1 deletion python/api-examples-source/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ altair==4.2.0
pydeck==0.8.0
Faker==19.1.0
openai==0.27.8
streamlit-nightly==1.24.2.dev20230712
streamlit==1.25.0
2 changes: 1 addition & 1 deletion python/api-examples-source/theming/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
streamlit==1.24.0
streamlit==1.25.0
vega_datasets
altair==4.2.0
plotly==5.1.0
Loading