# Version 1.3.0

**URL:** <https://discuss.streamlit.io/t/version-1-3-0/20130>\
**Category:** Official Announcements\
**Tags:** release-notes\
**Created:** [December 16, 2021, 8:25pm UTC](https://discuss.streamlit.io/t/version-1-3-0/20130 "2021-12-16T20:25:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmcgrady](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/kmcgrady/32/47736_2.png) [@kmcgrady](https://discuss.streamlit.io/u/kmcgrady)\
**Post date:** [December 16, 2021, 8:25pm UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/1 "2021-12-16T20:25:03Z")

</div>

_Release date: Dec 16, 2021_

**Notable Changes**

- 💯 Support for NumPy values in `st.metric` .
- **🌐** Support for Mesh Layers in PyDeck.
- 📊 Updated Plotly chart version to support the latest features.
- 🏀 `st.spinner` element has visual animated spinner.
- 🍰 `st.caption` supports HTML in text with `unsafe_allow_html` parameter.

**Other Changes**

- 🪲 Bug fix: Allow `st.session_state` to be used to set number\_input values with no warning ([#4047](https://github.com/streamlit/streamlit/pull/4047)).
- 🪲 Bug fix: Fix footer alignment in wide mode ([#4035](https://github.com/streamlit/streamlit/pull/4035)).
- 🪲 Bug fix: Better support for Graphviz and Bokeh charts in containers (columns, expanders, etc.) ([#4039](https://github.com/streamlit/streamlit/pull/4039)).
- 🪲 Bug fix: Support inline data values in Vega-Lite ([#4070](https://github.com/streamlit/streamlit/pull/4070)).
- ✍ Types: Updated type annotations for experimental memo and singleton decorators.
- ✍ Types: Improved type annotations for `st.selectbox` , `st.select_slider` , `st.radio` , `st.number_input` , and `st.multiselect` .

---

<div class="post-metadata">

**Author:** ![ryanlampkin](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/ryanlampkin/32/67699_2.png) [@ryanlampkin](https://discuss.streamlit.io/u/ryanlampkin)\
**Post date:** [December 21, 2021, 12:45am UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/2 "2021-12-21T00:45:00Z")

</div>

10x improvement on spinner here. Thanks.

Have a great holiday break, Streamlit Team!

---

<div class="post-metadata">

**Author:** ![Kareem\_Rasheed\_babat](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/kareem_rasheed_babat/32/44649_2.png) [@Kareem\_Rasheed\_babat](https://discuss.streamlit.io/u/Kareem_Rasheed_babat)\
**Post date:** [December 25, 2021, 5:40pm UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/3 "2021-12-25T17:40:27Z")

</div>

Great updates

---

<div class="post-metadata">

**Author:** ![godot63](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/godot63/32/31190_2.png) [@godot63](https://discuss.streamlit.io/u/godot63)\
**Post date:** [December 27, 2021, 8:47am UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/4 "2021-12-27T08:47:29Z")

</div>

fantastic news for the end of the year. However, I found the follwing behaviour and I wonder if it is a feature or a bug: I want to display a login button on the top-right. I have achieved this until now, by generating 2 columns and placed the button in the second column. Since version 1.3.0, if there is no content in column 0, the button will be placed in column 0 instead of column 1. The system also seems to react differently if the layout is set to wide, if I dont define the layout setting, it works as before. Placing an empty string in the first column is an easy enough workaround, just wanted to know it this behaviour is intended. Also: is there a better way for placing the login button to the upper-right? for example right-align widgets without any columns at all?

```auto
import streamlit as st

st.set_page_config(layout="wide")
cols = st.columns([9,1])

#if uncommented, it works
#with cols[0]:
# st.write('')

with cols[1]:
    if st.button('Login'):
        pass
```

---

<div class="post-metadata">

**Author:** ![kmcgrady](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/kmcgrady/32/47736_2.png) [@kmcgrady](https://discuss.streamlit.io/u/kmcgrady)\
**Post date:** [December 27, 2021, 6:29pm UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/5 "2021-12-27T18:29:00Z")

</div>

Hi @godot63 Thank you for bringing this up! I have confirmed it’s an issue. We have created an issue in out GitHub [1.3.0 bug - Empty columns are not respected in layouts · Issue #4216 · streamlit/streamlit · GitHub](https://github.com/streamlit/streamlit/issues/4216).

I have a solution for this but am working to get testing done and ensure it’s the correct change. With that, we can issue a patch release. Likely giving the timing, the patch will not be ready until the new year, but I will do my best to see if I can get it in sooner.

Thanks again for your help!

---

<div class="post-metadata">

**Author:** ![godot63](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/godot63/32/31190_2.png) [@godot63](https://discuss.streamlit.io/u/godot63)\
**Post date:** [December 27, 2021, 8:19pm UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/6 "2021-12-27T20:19:50Z")

</div>

Hi Ken,

Thanks for getting back to me so soon. No rush on my side, as I mentioned, I have a workaround.

Cheers

Lukas

![~WRD1508.jpg](https://global.discourse-cdn.com/streamlit/original/2X/5/52d5f1c08649212fe6768d2cacdcf8df711810d9.jpeg)

---

<div class="post-metadata">

**Author:** ![kmcgrady](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/kmcgrady/32/47736_2.png) [@kmcgrady](https://discuss.streamlit.io/u/kmcgrady)\
**Post date:** [December 28, 2021, 4:58pm UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/7 "2021-12-28T16:58:09Z")

</div>

Hi @godot63! We got a release out with 1.3.1. These contain a fix for your issue with columns not providing spacing. Hope it works for you 😊

---

<div class="post-metadata">

**Author:** ![godot63](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/godot63/32/31190_2.png) [@godot63](https://discuss.streamlit.io/u/godot63)\
**Post date:** [December 30, 2021, 3:19pm UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/8 "2021-12-30T15:19:21Z")

</div>

hi @kmcgrady: fantastic! Thanks for the fast fix. You guys are amazing. I hope I have not kept you from rest and rejuvenating these days.  
cheers and happy new year.  
Lukas

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [December 30, 2022, 3:20pm UTC](https://discuss.streamlit.io/t/version-1-3-0/20130/9 "2022-12-30T15:20:09Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
