Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukasmasuch
Copy link
Collaborator

Describe your changes

This removes support for passing in arbitrary keyword arguments to st.write, which has been deprecated for a long time and hasn't been doing anything anyway.

GitHub Issue Link (if applicable)

Testing Plan

  • Just removing something, no new tests needed.

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 lukasmasuch added security-assessment-completed Security assessment has been completed for PR change:other PR contains other type of change change:breaking PR contains breaking change that affects backwards compatibility impact:users PR changes affect end users labels Aug 29, 2025
@snyk-io
Copy link
Contributor

snyk-io bot commented Aug 29, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-12375/streamlit-1.49.0-py3-none-any.whl
🕹️ Preview app pr-12375.streamlit.app (☁️ Deploy here if not accessible)

@lukasmasuch lukasmasuch requested a review from Copilot August 29, 2025 17:38
Copy link
Contributor

Copilot AI left a 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 pull request removes deprecated **kwargs support from the st.write function, completing a long-planned cleanup of the API. The change eliminates unused functionality that has been deprecated and no longer serves any purpose.

Key changes:

  • Removes **kwargs parameter from the st.write function signature
  • Removes the deprecated documentation for **kwargs
  • Removes the warning logic that was triggered when kwargs were passed

@lukasmasuch lukasmasuch merged commit 8db7f41 into develop Sep 3, 2025
36 of 37 checks passed
@lukasmasuch lukasmasuch deleted the remove-kwargs-support-from-write branch September 3, 2025 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:breaking PR contains breaking change that affects backwards compatibility change:other PR contains other type of change impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

st.write should show an in-app deprecation warning when using kwargs

3 participants