Skip to content

Update docs for Streamlit 1.62.0 release - #1509

Open
lukasmasuch wants to merge 16 commits into
mainfrom
docs/streamlit-1.62-release
Open

Update docs for Streamlit 1.62.0 release#1509
lukasmasuch wants to merge 16 commits into
mainfrom
docs/streamlit-1.62-release

Conversation

@lukasmasuch

Copy link
Copy Markdown
Collaborator

Summary

  • Add 1.62.0 release notes covering streamlit.typing, wrap control, text input types, date/datetime input rebuilds, and breaking changes (st.cache removal and st.pyplot figure requirement).
  • Generate API docstrings for Streamlit 1.62.0, including DataEditorState, and update generate.py now that st.cache is gone.
  • Document the st.cache removal in the caching guide, and add two Community Cloud example apps for the new wrap=False examples.

Test plan

  • Spot-check the 1.62.0 section on /develop/quick-reference/release-notes and /develop/quick-reference/release-notes/2026.
  • Confirm API pages pick up new parameters (wrap, validate, st.text_input types) and DataEditorState on st.data_editor.
  • Confirm the caching migration section no longer says st.cache will remain.
  • Deploy the new example apps (table below), then confirm the Cloud embeds on st.columns and st.container load.
App Deploy link GitHub file Subdomain
st.columns wrap=False thumbnail row Deploy layout.columns_wrap_false.py doc-columns-wrap-false
Horizontal st.container toolbar (wrap=False) Deploy layout.container6.py doc-container6

Made with Cursor

lukasmasuch and others added 4 commits August 21, 2026 14:37
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@lukasmasuch
lukasmasuch requested a review from a team as a code owner August 21, 2026 12:38
Copilot AI lite review requested due to automatic review settings August 21, 2026 12:38
@netlify

netlify Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploy Preview for streamlit-docs ready!

Name Link
🔨 Latest commit ef11acb
🔍 Latest deploy log https://app.netlify.com/projects/streamlit-docs/deploys/6a89701c3abc7f0008dcd7f5
😎 Deploy Preview https://deploy-preview-1509--streamlit-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

lukasmasuch and others added 2 commits August 21, 2026 14:40
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Streamlit 1.62.0 documentation, API generation, caching guidance, and layout examples.

Changes:

  • Adds 1.62.0 release notes and migration guidance.
  • Updates API generation and documents DataEditorState.
  • Adds wrap=False layout examples.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Summary
python/generate.py Critical issue: unconditional DataEditorState import breaks historical API regeneration; load it only when available.
python/api-examples-source/layout.container6.py Adds a horizontal no-wrap container example.
python/api-examples-source/layout.columns_wrap_false.py Adds a no-wrap columns example.
content/develop/quick-references/release-notes/2026.md Adds Streamlit 1.62.0 release notes.
content/develop/quick-references/release-notes/_index.md Updates the latest release summary.
content/develop/concepts/connections/security-reminders.md Removes obsolete caching guidance.
content/develop/concepts/architecture/caching.md Documents migration after st.cache removal.
content/develop/api-reference/data/data_editor.md Documents DataEditorState.
Suppressed comments (2)

content/develop/api-reference/data/data_editor.md:16

  • This new ## heading makes the existing ### Configuring columns heading a child of Data editor state, so the column-configuration section is nested incorrectly in the page outline. Please make Configuring columns a peer ## section, as in dataframe.md (which places its state and configuration sections at the same level).
## Data editor state

python/generate.py:552

  • Historical regeneration also runs against pre-1.62 releases, where streamlit.cache is still present. With this guard removed, the legacy st.cache function is sent through member._decorator, but it is not one of the cache API objects that exposes that attribute, so generation fails before writing that version's existing st.cache entry. Keep a version-safe exclusion so 1.62 can omit the removed attribute while older versions still generate.
            # Replace the member with its decorator object

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread python/generate.py
lukasmasuch and others added 9 commits August 21, 2026 14:47
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
add_rows is gone from Streamlit, so drop the deprecated API docs and update demos to redraw charts in place. Keep grouping headings only when a page documents multiple state types.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread python/streamlit.json

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: What is the purpose of this file?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This contains all the API docstrings of all the Streamlit versions supported in docs. Its used to generate the static pages of our API docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants