Update docs for Streamlit 1.62.0 release - #1509
Conversation
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>
✅ Deploy Preview for streamlit-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
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=Falselayout 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 columnsheading a child ofData editor state, so the column-configuration section is nested incorrectly in the page outline. Please makeConfiguring columnsa peer##section, as indataframe.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.cacheis still present. With this guard removed, the legacyst.cachefunction is sent throughmember._decorator, but it is not one of the cache API objects that exposes that attribute, so generation fails before writing that version's existingst.cacheentry. 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.
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>
This reverts commit b4c823e.
There was a problem hiding this comment.
question: What is the purpose of this file?
There was a problem hiding this comment.
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>
Summary
streamlit.typing, wrap control, text input types, date/datetime input rebuilds, and breaking changes (st.cacheremoval andst.pyplotfigure requirement).DataEditorState, and updategenerate.pynow thatst.cacheis gone.st.cacheremoval in the caching guide, and add two Community Cloud example apps for the newwrap=Falseexamples.Test plan
/develop/quick-reference/release-notesand/develop/quick-reference/release-notes/2026.wrap,validate,st.text_inputtypes) andDataEditorStateonst.data_editor.st.cachewill remain.st.columnsandst.containerload.st.columnswrap=Falsethumbnail rowdoc-columns-wrap-falsest.containertoolbar (wrap=False)doc-container6Made with Cursor