Skip to content

Add 1.16.0 release notes to changelog #554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Dec 16, 2022
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
2 changes: 1 addition & 1 deletion content/library/advanced-features/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ streamlit config show
The command above will print something like this:

```toml
# Streamlit version: 1.15.0
# Streamlit version: 1.16.0

[global]

Expand Down
2 changes: 1 addition & 1 deletion 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.15.0](https://pypi.org/project/streamlit/1.15.0/).
This is a summary of the docs, as of [Streamlit v1.16.0](https://pypi.org/project/streamlit/1.15.0/).

<Masonry>

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

</Tip>

## **Version 1.16.0**

_Release date: December 14, 2022_

**Highlights**

- 👩‍🎨 Introducing a new Streamlit theme for Altair, Plotly, and Vega-Lite charts! Check out our [blog post](https://blog.streamlit.io/p/f33f5232-ace6-40cf-bf4f-bad405b9d8bc/) for more information.
- 🎨 Streamlit now supports colored text in all commands that accept Markdown, including `st.markdown`, `st.header`, and more. Learn more in our [documentation](/library/api-reference/text/st.markdown).

**Notable Changes**

- 🔁 Functions cached with `st.experimental_memo` or `st.experimental_singleton` can contain Streamlit media elements and forms.
- ⛄ All Streamlit commands that accept pandas DataFrames as input also support Snowpark and PySpark DataFrames.
- 🏷 [st.checkbox](/library/api-reference/widgets/st.checkbox) and [st.metric](/library/api-reference/data/st.metric) can customize how to hide their labels with the `label_visibility` parameter.

**Other Changes**

- 🗺️ `st.map` improvements: support for upper case columns and better exception messages ([#5679](https://github.com/streamlit/streamlit/pull/5679), [#5792](https://github.com/streamlit/streamlit/pull/5792)).
- 🐞 Bug fix: `st.plotly_chart` respects the figure’s height attribute and the `use_container_width` parameter ([#5779](https://github.com/streamlit/streamlit/pull/5779)).
- 🪲 Bug fix: all commands with the `icon` parameter such as [st.error](/library/api-reference/status/st.error), [st.warning](/library/api-reference/status/st.warning), etc, can contain emojis with variant selectors ([#5583](https://github.com/streamlit/streamlit/pull/5583)).
- 🐝 Bug fix: prevent `st.camera_input` from jittering when resizing the browser window ([#5661](https://github.com/streamlit/streamlit/pull/5711)).
- 🐜 Bug fix: update exception layout to avoid overflow of stack traces ([#5700](https://github.com/streamlit/streamlit/pull/5700)).

## **Version 1.15.0**

_Release date: November 17, 2022_
Expand Down
93 changes: 44 additions & 49 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,69 +149,62 @@ export default function Home({ window, menu, gdpr_data }) {
<H2 className="no-b-m">What's new</H2>

<TileContainer>
<RefCard
size="third"
href="/library/api-reference/media/st.audio"
>
<i className="material-icons-sharp">music_note</i>
<h4>NumPy support for st.audio</h4>
<RefCard size="third" href="/library/api-reference/charts">
<i className="material-icons-sharp">palette</i>
<h4>Streamlit theme for Plotly & Altair</h4>
<p>
<code>st.audio</code> can now properly play audio data from
NumPy arrays with the <code>sample_rate</code> parameter.
Click to see a demo. 🎶
1.16.0 includes a new default theme for Altair and Plotly
charts in Streamlit apps through the{" "}
<code>theme="streamlit"</code>
keyword argument in st.altair_chart, st.vega_lite_chart, and
st.plotly_chart.
</p>
</RefCard>
<RefCard
size="third"
href="https://markdown-labels.streamlit.app/"
href="/library/api-reference/text/st.markdown"
>
<i className="material-icons-sharp">label</i>
<h4>Markdown in widget labels</h4>
<i className="material-icons-sharp">brush</i>
<h4>Colored text support in Markdown</h4>
<p>
Widget labels can contain inline Markdown. Click to check out
the demo app and see how it works.
Streamlit now supports colored text in all commands that
accept Markdown, including <code>st.markdown</code>,{" "}
<code>st.header</code>, and more! Click to read the
documentation.
</p>
</RefCard>
<RefCard
size="third"
href="/library/api-reference/performance/st.experimental_memo#replay-input-widgets-in-cache-decorated-functions"
href="/library/api-reference/data/st.dataframe"
>
<i className="material-icons-sharp">replay</i>
<h4>Replay cached widgets</h4>
<i className="material-icons-sharp">ac_unit</i>
<h4>Snowpark and PySpark support</h4>
<p>
Functions cached with the memo and singleton cache primitives
can contain input widgets. To enable widget replay, set the
keyword-only
<code>experimental_allow_widgets</code> parameter to{" "}
<code>True</code>. This allows caching checkboxes, sliders,
radio buttons, and more!
All Streamlit commands that accept pandas DataFrames as input
also support Snowpark and PySpark DataFrames.
</p>
</RefCard>
<RefCard
size="third"
href="/library/api-reference/widgets/st.multiselect"
href="/library/api-reference/media/st.audio"
>
<i className="material-icons-sharp">
production_quantity_limits
</i>
<h4>Limit st.multiselect options</h4>
<i className="material-icons-sharp">music_note</i>
<h4>NumPy support for st.audio</h4>
<p>
🤏 <code>st.multiselect</code> has a keyword-only{" "}
<code>max_selections</code> parameter to limit the number of
options that can be selected at a time.
<code>st.audio</code> can now properly play audio data from
NumPy arrays with the <code>sample_rate</code> parameter.
Click to see a demo. 🎶
</p>
</RefCard>
<RefCard
size="third"
href="/library/api-reference/widgets/st.button"
href="https://markdown-labels.streamlit.app/"
>
<i className="material-icons-sharp">palette</i>
<h4>Primary and secondary buttons</h4>
<i className="material-icons-sharp">label</i>
<h4>Markdown in widget labels</h4>
<p>
<code>st.button</code> and <code>st.form_submit_button</code>{" "}
support designating buttons as "primary" (for additional
emphasis) or "secondary" (for normal buttons) with the{" "}
<code>type</code> keyword-only parameter.
Widget labels can contain inline Markdown. Click to check out
the demo app and see how it works.
</p>
</RefCard>
<RefCard
Expand All @@ -221,8 +214,10 @@ export default function Home({ window, menu, gdpr_data }) {
<i className="material-icons-sharp">visibility_off</i>
<h4>Widget label visibility</h4>
<p>
Widgets can customize how to hide their labels with the
label_visibility parameter. Click to see an example!
All widgets and commands that support the <code>label</code>
parameter can customize how to hide their labels with the
<code>label_visibility</code> parameter. Click to see an
example!
</p>
</RefCard>
{/* <Tile
Expand All @@ -245,27 +240,27 @@ export default function Home({ window, menu, gdpr_data }) {
<H2 className="no-b-m">Latest blog posts</H2>

<NewsContainer>
<NewsEntry
date="2022-12-15T16:05:00.000Z"
title="How to quickly deploy and share your machine learning model for drug discovery"
text="Share your ML model in 3 simple steps"
link="https://blog.streamlit.io/how-to-quickly-deploy-and-share-your-machine-learning-model-for-drug-discovery/"
image="/blog-1.svg"
target="_blank"
/>
<NewsEntry
date="2022-12-08T16:05:00.000Z"
title="Find the top songs from your high school years with a Streamlit app"
text="Use the Spotify API to generate 1,000+ playlists!"
link="https://blog.streamlit.io/find-the-top-songs-from-your-high-school-years-with-a-streamlit-app/"
image="/blog-1.svg"
image="/blog-2.svg"
target="_blank"
/>
<NewsEntry
date="2022-12-06T16:05:00.000Z"
title="Streamlit-Authenticator, Part 1: Adding an authentication component to your app"
text="How to securely authenticate users into your Streamlit app"
link="https://blog.streamlit.io/streamlit-authenticator-part-1-adding-an-authentication-component-to-your-app/"
image="/blog-2.svg"
target="_blank"
/>
<NewsEntry
date="2022-11-18T16:05:00.000Z"
title="Streamlit Quests: Getting started with Streamlit"
text="The guided path for learning Streamlit"
link="https://blog.streamlit.io/streamlit-quests-getting-started-with-streamlit/"
image="/blog-3.svg"
target="_blank"
/>
Expand Down
Loading