Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: streamlit/streamlit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.52.1
Choose a base ref
...
head repository: streamlit/streamlit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.52.2
Choose a head ref
  • 10 commits
  • 50 files changed
  • 6 contributors

Commits on Dec 15, 2025

  1. Up version to 1.52.2

    sfc-gh-bnisco committed Dec 15, 2025
    Configuration menu
    Copy the full SHA
    b88d5b8 View commit details
    Browse the repository at this point in the history
  2. Fix auth-related issues caused by dependency updates (#13333)

    ## Describe your changes
    
    Authlib (1.6.6) & tornado (6.5.3) got updated, causing some issues with
    our CI.
    
    The authlib session aspect likely also breaks existing usage and
    requires a patch.
    
    
    Closes #13335
    
    ---
    
    **Contribution License Agreement**
    
    By submitting this pull request you agree that all contributions to this
    project are made under the Apache 2.0 license.
    
    ---------
    
    Co-authored-by: Laura Wilby <[email protected]>
    lukasmasuch and sfc-gh-lwilby committed Dec 15, 2025
    Configuration menu
    Copy the full SHA
    a60c9b6 View commit details
    Browse the repository at this point in the history
  3. [Fix] Theme hashing (#13173)

    Our current theme hashing only handles top level `[theme]` properties in calculating the theme hash to determine whether theme has been updated. This was sufficient prior to custom theming, but now section theme changes are silently ignored and a re-run does not trigger the expected update.
    
    This PR implements comprehensive theme hashing that includes all theme
    properties - including new subsections (`light`, `dark`, etc.) so
    changes now properly trigger theme reprocessing.
    mayagbarnes committed Dec 15, 2025
    Configuration menu
    Copy the full SHA
    d75ed7a View commit details
    Browse the repository at this point in the history
  4. [Fix] Theme preference persistence across reloads (#13306)

    This PR fixes the interaction issue with theme caching and support of light/dark custom themes - the user-selected theme (Light or Dark) from the Settings menu does not persist between page reloads.
    mayagbarnes committed Dec 15, 2025
    Configuration menu
    Copy the full SHA
    d11c31c View commit details
    Browse the repository at this point in the history
  5. [fix] Ensure key down targeting works for elements in Shadow DOM (#13264

    )
    
    ## Describe your changes
    
    - Improves the handling of keyboard shortcuts to prevent accidental
    triggering of global single-key shortcuts (like "c", "r", and "a") when
    the user is typing in editable elements, including those inside Shadow
    DOM.
    - Ensures that shortcuts are suppressed in appropriate contexts across
    both app-level and widget-level handlers.
    
    ## GitHub Issue Link (if applicable)
    
    ## Testing Plan
    
    - Adds unit tests
    
    ---
    
    **Contribution License Agreement**
    
    By submitting this pull request you agree that all contributions to this
    project are made under the Apache 2.0 license.
    sfc-gh-bnisco committed Dec 15, 2025
    Configuration menu
    Copy the full SHA
    6b4a4b5 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2025

  1. [fix] Ensure crossOrigin attribute is properly set for CCv2 styleshee…

    …ts (#13376)
    
    ## Describe your changes
    
    Added support for the `crossOrigin` attribute on CSS link elements to
    CCv2 instances. This ensures that CSS resources loaded from different
    origins follow the same cross-origin policy as other resources in the
    application. The implementation:
    
    1. Uses the existing `useCrossOriginAttribute` hook to determine the
    appropriate crossOrigin value
    2. Applies the crossOrigin attribute to link elements when loading CSS
    from relative paths
    3. Maintains consistent behavior with other media elements in the
    application
    
    ## Testing Plan
    
    - Adds unit tests
    
    ---
    
    **Contribution License Agreement**
    
    By submitting this pull request you agree that all contributions to this
    project are made under the Apache 2.0 license.
    sfc-gh-bnisco committed Dec 16, 2025
    Configuration menu
    Copy the full SHA
    6a48913 View commit details
    Browse the repository at this point in the history
  2. Fix data editor regression when starting from empty column (#13309)

    Fixes a regression where starting with an empty column in data editor
    leads to the value being returned as list.
    
    - Closes #13305
    
    - Added unit and e2e tests.
    
    ---
    
    **Contribution License Agreement**
    
    By submitting this pull request you agree that all contributions to this
    project are made under the Apache 2.0 license.
    lukasmasuch committed Dec 16, 2025
    Configuration menu
    Copy the full SHA
    b8d159e View commit details
    Browse the repository at this point in the history
  3. [fix] tooltip text leaking with newlines in help (#13365)

    ## Describe your changes
    
    Fixes tooltip rendering when help text contains newlines (`\n\n`).
    Previously, the `:help[]` text directive would break, causing help text
    to render in the markdown/caption content instead of inside the tooltip.
    
    **Solution:**
    - Pass help text via react context instead of in the directive.
    - Preserves inline tooltip rendering which is necessary for text
    alignment to work correctly
    
    ## GitHub Issue Link (if applicable)
    
    Fixes #13339
    
    ## Testing Plan
    
    - [x] E2E Tests
    
    **E2E tests:**
    - `e2e_playwright/st_markdown.py` - Test app with tooltips containing
    newlines
    - `e2e_playwright/st_markdown_test.py` - Parameterized tests covering:
      - `st.markdown` with newlines in default alignment
      - `st.caption` with newlines
    - `st.markdown` with center alignment + newlines (verifies design
    decision)
      - Negative assertions to ensure text doesn't leak into element content
    
    ---
    
    **Contribution License Agreement**
    
    By submitting this pull request you agree that all contributions to this
    project are made under the Apache 2.0 license.
    sfc-gh-lwilby committed Dec 16, 2025
    Configuration menu
    Copy the full SHA
    2bfe6f9 View commit details
    Browse the repository at this point in the history
  4. Fix the spinner time text alignment (#13388)

    ## Describe your changes
    
    Fixes the misaligned spinner label and timer text if `show_time=True`:
    
    <img width="454" height="106" alt="image"
    src="https://github.com/user-attachments/assets/e6345d8e-75e0-4579-8d2d-3f081267771b"
    />
    
    ## GitHub Issue Link (if applicable)
    
    - Closes #13387
    
    ## Testing Plan
    
    - Testing the visual aspect here is really tricky since a snapshot would
    be quite indeterministic :(
    
    ---
    
    **Contribution License Agreement**
    
    By submitting this pull request you agree that all contributions to this
    project are made under the Apache 2.0 license.
    lukasmasuch authored and sfc-gh-lmasuch committed Dec 16, 2025
    Configuration menu
    Copy the full SHA
    a511a9b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6168bd1 View commit details
    Browse the repository at this point in the history
Loading