Skip to content

Commit

Permalink
Version 0.55.1 (just pointing to new docs) (streamlit#1089)
Browse files Browse the repository at this point in the history
* Fix links in docs.

* Point Streamlit caching error messages to the right URLs

* Improve docs (streamlit#1075)

* Improve docs.

* Apostrophes

* Lint

* Update version to 0.55.1

* Fix update_version.py to point to correct md file

* Somehow the changelog for 0.55 got lost. Fixed.

* Somehow the changelog for 0.55 got lost. Fixed.

* Remove old advanced caching section from advanced_concepts.md
  • Loading branch information
tvst authored Feb 12, 2020
1 parent 31b2506 commit 9cd4931
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 18 deletions.
8 changes: 0 additions & 8 deletions docs/advanced_concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,3 @@ chart.add_rows(data2)

Coming soon! Ping us in the [community forum](https://discuss.streamlit.io/) if
you just can't wait and have to have this info immediately.

## Advanced caching

Coming soon! Ping us in the [community forum](https://discuss.streamlit.io/) if
you just can't wait and have to have this info immediately.

Meanwhile, for an intro to caching in Streamlit, see the [data explorer
tutorial](tutorial/create_a_data_explorer_app.md).
3 changes: 3 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ reads the output from the local cache and passes it on to the caller.
The main limitation is that Streamlit’s cache feature doesn’t know about
changes that take place outside the body of the annotated function.

For more information about the Streamlit cache, its configuration parameters,
and its limitations, see [Caching](caching.md).

```eval_rst
.. autofunction:: streamlit.cache
```
4 changes: 2 additions & 2 deletions docs/troubleshooting/sanity-checks.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $ pip install --upgrade streamlit
$ streamlit version
```

...and then verify that the version number printed is `0.55.0`.
...and then verify that the version number printed is `0.55.1`.

**Try reproducing the issue now.** If not fixed, keep reading on.

Expand All @@ -43,7 +43,7 @@ st.write(st.__version__)

...then call `streamlit run` on your script and make sure it says the same
version as above. If not the same version, check out [these
instructions](clean-install.html) for some sure-fire ways to set up your
instructions](clean-install.md) for some sure-fire ways to set up your
environment.

## Check #4: Is your browser caching your app too aggressively?
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/run_streamlit_remotely.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Ignore the URLs that print on your terminal. Instead, since you're using
port-forwarding you should open your browser at <http://localhost:8501>.

If you see the Streamlit Hello page, everything is working! Otherwise, check
out the [Troubleshooting page](../troubleshooting).
out the [Troubleshooting page](../troubleshooting/index.md).

## Run your own code remotely

Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "streamlit-browser",
"version": "0.55.0",
"version": "0.55.1",
"private": true,
"homepage": ".",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion lib/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def readme():

setuptools.setup(
name="streamlit",
version="0.55.0", # PEP-440
version="0.55.1", # PEP-440
description="Frontend library for machine learning engineers",
long_description=readme(),
url="https://streamlit.io",
Expand Down
2 changes: 1 addition & 1 deletion lib/streamlit/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def _get_mutated_output_error_message():
By default, Streamlit’s cache is immutable. You received this warning
because Streamlit thinks you modified a cached object.
[Click here to see how to fix this issue.](https://docs.streamlit.io/advanced_concepts.html#advanced-caching)
[Click here to see how to fix this issue.](https://docs.streamlit.io/advanced_caching.html)
"""
).strip("\n")

Expand Down
6 changes: 3 additions & 3 deletions lib/streamlit/hashing.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ def my_func(...):
...
```
Please see the `hash_funcs` [documentation]
(https://streamlit.io/docs/advanced_concepts.html#advanced-caching)
for more details.
Please see the [`hash_funcs`
documentation](https://streamlit.io/docs/advanced_caching.html) for
more details.
"""
% {"bad_type": str(bad_type).split("'")[1]}
).strip("\n")
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
# there.
PYTHON = {
"lib/setup.py": r"(?P<pre>.*version=\").*(?P<post>\", # PEP-440$)",
"docs/troubleshooting/common-issues.md": r"(?P<pre>.*number printed is `).*(?P<post>`.$)",
"docs/troubleshooting/sanity-checks.md": r"(?P<pre>.*number printed is `).*(?P<post>`.$)",
}

NODE = {"frontend/package.json": r'(?P<pre>^ "version": ").*(?P<post>",$)'}
Expand Down

0 comments on commit 9cd4931

Please sign in to comment.