Skip to content

Commit f7196eb

Browse files
authored
Add 1.16.0 release notes to changelog (#554)
* Add 1.16.0 release notes to changelog * Add the exception layout bug fix PR to changelog * Include PR numbers only in Other Changes * Update What's new tiles with latest features * Update blog posts on homepage * Bump version to 1.16.0 in cheat sheet and configuration * Bump version to 1.16.0 in embedded apps
1 parent 777f458 commit f7196eb

File tree

12 files changed

+306
-223
lines changed

12 files changed

+306
-223
lines changed

content/library/advanced-features/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ streamlit config show
6767
The command above will print something like this:
6868

6969
```toml
70-
# Streamlit version: 1.15.0
70+
# Streamlit version: 1.16.0
7171

7272
[global]
7373

content/library/api-cheat-sheet.md

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

1010
<Masonry>
1111

content/library/changelog.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,29 @@ pip install --upgrade streamlit
1717

1818
</Tip>
1919

20+
## **Version 1.16.0**
21+
22+
_Release date: December 14, 2022_
23+
24+
**Highlights**
25+
26+
- 👩‍🎨 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.
27+
- 🎨 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).
28+
29+
**Notable Changes**
30+
31+
- 🔁 Functions cached with `st.experimental_memo` or `st.experimental_singleton` can contain Streamlit media elements and forms.
32+
- ⛄ All Streamlit commands that accept pandas DataFrames as input also support Snowpark and PySpark DataFrames.
33+
- 🏷 [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.
34+
35+
**Other Changes**
36+
37+
- 🗺️ `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)).
38+
- 🐞 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)).
39+
- 🪲 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)).
40+
- 🐝 Bug fix: prevent `st.camera_input` from jittering when resizing the browser window ([#5661](https://github.com/streamlit/streamlit/pull/5711)).
41+
- 🐜 Bug fix: update exception layout to avoid overflow of stack traces ([#5700](https://github.com/streamlit/streamlit/pull/5700)).
42+
2043
## **Version 1.15.0**
2144

2245
_Release date: November 17, 2022_

pages/index.js

Lines changed: 44 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -149,69 +149,62 @@ export default function Home({ window, menu, gdpr_data }) {
149149
<H2 className="no-b-m">What's new</H2>
150150

151151
<TileContainer>
152-
<RefCard
153-
size="third"
154-
href="/library/api-reference/media/st.audio"
155-
>
156-
<i className="material-icons-sharp">music_note</i>
157-
<h4>NumPy support for st.audio</h4>
152+
<RefCard size="third" href="/library/api-reference/charts">
153+
<i className="material-icons-sharp">palette</i>
154+
<h4>Streamlit theme for Plotly & Altair</h4>
158155
<p>
159-
<code>st.audio</code> can now properly play audio data from
160-
NumPy arrays with the <code>sample_rate</code> parameter.
161-
Click to see a demo. 🎶
156+
1.16.0 includes a new default theme for Altair and Plotly
157+
charts in Streamlit apps through the{" "}
158+
<code>theme="streamlit"</code>
159+
keyword argument in st.altair_chart, st.vega_lite_chart, and
160+
st.plotly_chart.
162161
</p>
163162
</RefCard>
164163
<RefCard
165164
size="third"
166-
href="https://markdown-labels.streamlit.app/"
165+
href="/library/api-reference/text/st.markdown"
167166
>
168-
<i className="material-icons-sharp">label</i>
169-
<h4>Markdown in widget labels</h4>
167+
<i className="material-icons-sharp">brush</i>
168+
<h4>Colored text support in Markdown</h4>
170169
<p>
171-
Widget labels can contain inline Markdown. Click to check out
172-
the demo app and see how it works.
170+
Streamlit now supports colored text in all commands that
171+
accept Markdown, including <code>st.markdown</code>,{" "}
172+
<code>st.header</code>, and more! Click to read the
173+
documentation.
173174
</p>
174175
</RefCard>
175176
<RefCard
176177
size="third"
177-
href="/library/api-reference/performance/st.experimental_memo#replay-input-widgets-in-cache-decorated-functions"
178+
href="/library/api-reference/data/st.dataframe"
178179
>
179-
<i className="material-icons-sharp">replay</i>
180-
<h4>Replay cached widgets</h4>
180+
<i className="material-icons-sharp">ac_unit</i>
181+
<h4>Snowpark and PySpark support</h4>
181182
<p>
182-
Functions cached with the memo and singleton cache primitives
183-
can contain input widgets. To enable widget replay, set the
184-
keyword-only
185-
<code>experimental_allow_widgets</code> parameter to{" "}
186-
<code>True</code>. This allows caching checkboxes, sliders,
187-
radio buttons, and more!
183+
All Streamlit commands that accept pandas DataFrames as input
184+
also support Snowpark and PySpark DataFrames.
188185
</p>
189186
</RefCard>
190187
<RefCard
191188
size="third"
192-
href="/library/api-reference/widgets/st.multiselect"
189+
href="/library/api-reference/media/st.audio"
193190
>
194-
<i className="material-icons-sharp">
195-
production_quantity_limits
196-
</i>
197-
<h4>Limit st.multiselect options</h4>
191+
<i className="material-icons-sharp">music_note</i>
192+
<h4>NumPy support for st.audio</h4>
198193
<p>
199-
🤏 <code>st.multiselect</code> has a keyword-only{" "}
200-
<code>max_selections</code> parameter to limit the number of
201-
options that can be selected at a time.
194+
<code>st.audio</code> can now properly play audio data from
195+
NumPy arrays with the <code>sample_rate</code> parameter.
196+
Click to see a demo. 🎶
202197
</p>
203198
</RefCard>
204199
<RefCard
205200
size="third"
206-
href="/library/api-reference/widgets/st.button"
201+
href="https://markdown-labels.streamlit.app/"
207202
>
208-
<i className="material-icons-sharp">palette</i>
209-
<h4>Primary and secondary buttons</h4>
203+
<i className="material-icons-sharp">label</i>
204+
<h4>Markdown in widget labels</h4>
210205
<p>
211-
<code>st.button</code> and <code>st.form_submit_button</code>{" "}
212-
support designating buttons as "primary" (for additional
213-
emphasis) or "secondary" (for normal buttons) with the{" "}
214-
<code>type</code> keyword-only parameter.
206+
Widget labels can contain inline Markdown. Click to check out
207+
the demo app and see how it works.
215208
</p>
216209
</RefCard>
217210
<RefCard
@@ -221,8 +214,10 @@ export default function Home({ window, menu, gdpr_data }) {
221214
<i className="material-icons-sharp">visibility_off</i>
222215
<h4>Widget label visibility</h4>
223216
<p>
224-
Widgets can customize how to hide their labels with the
225-
label_visibility parameter. Click to see an example!
217+
All widgets and commands that support the <code>label</code>
218+
parameter can customize how to hide their labels with the
219+
<code>label_visibility</code> parameter. Click to see an
220+
example!
226221
</p>
227222
</RefCard>
228223
{/* <Tile
@@ -245,27 +240,27 @@ export default function Home({ window, menu, gdpr_data }) {
245240
<H2 className="no-b-m">Latest blog posts</H2>
246241

247242
<NewsContainer>
243+
<NewsEntry
244+
date="2022-12-15T16:05:00.000Z"
245+
title="How to quickly deploy and share your machine learning model for drug discovery"
246+
text="Share your ML model in 3 simple steps"
247+
link="https://blog.streamlit.io/how-to-quickly-deploy-and-share-your-machine-learning-model-for-drug-discovery/"
248+
image="/blog-1.svg"
249+
target="_blank"
250+
/>
248251
<NewsEntry
249252
date="2022-12-08T16:05:00.000Z"
250253
title="Find the top songs from your high school years with a Streamlit app"
251254
text="Use the Spotify API to generate 1,000+ playlists!"
252255
link="https://blog.streamlit.io/find-the-top-songs-from-your-high-school-years-with-a-streamlit-app/"
253-
image="/blog-1.svg"
256+
image="/blog-2.svg"
254257
target="_blank"
255258
/>
256259
<NewsEntry
257260
date="2022-12-06T16:05:00.000Z"
258261
title="Streamlit-Authenticator, Part 1: Adding an authentication component to your app"
259262
text="How to securely authenticate users into your Streamlit app"
260263
link="https://blog.streamlit.io/streamlit-authenticator-part-1-adding-an-authentication-component-to-your-app/"
261-
image="/blog-2.svg"
262-
target="_blank"
263-
/>
264-
<NewsEntry
265-
date="2022-11-18T16:05:00.000Z"
266-
title="Streamlit Quests: Getting started with Streamlit"
267-
text="The guided path for learning Streamlit"
268-
link="https://blog.streamlit.io/streamlit-quests-getting-started-with-streamlit/"
269264
image="/blog-3.svg"
270265
target="_blank"
271266
/>

0 commit comments

Comments
 (0)