-
Notifications
You must be signed in to change notification settings - Fork 647
Release 1.53.0 #1404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 1.53.0 #1404
Conversation
|
@kmcgrady I had to do a little bugfix on the codeblocks that I need reviewed. That non-Python blocks weren't coming through correctly, so I centralized the language dict and syntax highlighting imports to share between the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR prepares documentation for the Streamlit 1.53.0 release and includes a JavaScript bugfix for code block rendering. The release includes major features like ASGI/Starlette support, caller's rights connections for Snowflake, and OIDC token access.
Changes:
- Updated Streamlit version from 1.52.0 to 1.53.0 across all requirements.txt files
- Added custom RST directive for filename display in code blocks with proper syntax highlighting
- Renamed custom component v2 TypeScript types for better semantic clarity (Component → FrontendRenderer, ComponentState → FrontendState, etc.)
Reviewed changes
Copilot reviewed 52 out of 53 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| python/directives/stcode.py | New custom RST directive to encode filenames in CSS classes for code blocks |
| lib/languageDisplayNames.js | Centralized language mapping for syntax highlighting across components |
| components/blocks/code.js | Refactored to use centralized language mappings and support filename display |
| components/blocks/autofunction.js | Enhanced to support multiple languages and filename display with async Prism imports |
| python/generate.py | Updated to register new directive and renamed CCV2 types |
| python/custom_components.json | Renamed custom component v2 types (Component → FrontendRenderer, etc.) |
| content/develop/api-reference/ | Updated documentation pages for renamed custom component types |
| content/develop/quick-references/release-notes/ | Added 1.53.0 release notes |
| content/menu.md | Updated menu with renamed component types and new 2026 release notes section |
| public/_redirects | Added redirects for renamed custom component URLs |
| python/api-examples-source/components.tailwind.py | Moved isolate_styles to component definition |
| Multiple requirements.txt files | Updated Streamlit version requirement to 1.53.0 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
sfc-gh-kmcgrady
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment to update
|
|
||
| ## **Version 1.53.0** | ||
|
|
||
| _Release date: January 14, 2025_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be 2026.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😅

📚 Context
Docs for release 1.53.0 + JS bugfix for codeblocks
🧠 Description of Changes
JavaScript/Codeblocks
With the recent changes to codeblocks to allow language and filename headers, non-Python codeblocks were not displaying correctly. The correct syntax highlighting is now used. Additionally, a custom RST directive was added so that a filename could be passed to the frontend via a class. This allows setting a filename in the docstring for prettier and more consistent display of codeblocks.
Docs
generate.pywith new CCV2 classes/functionsContribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.