Skip to content

docs: deprecate clipboard API access from renderer processes#48877

Merged
jkleinsc merged 1 commit intomainfrom
deprecate-clipboard-renderer
Nov 12, 2025
Merged

docs: deprecate clipboard API access from renderer processes#48877
jkleinsc merged 1 commit intomainfrom
deprecate-clipboard-renderer

Conversation

@jkleinsc
Copy link
Copy Markdown
Member

Description of Change

As documented in the Clipboard Module Rearchitecture RFC, direct access to the clipboard API from the renderer will be removed. This PR adds a deprecation message in preparation for the changes coming as part of the Clipboard Module Rearchitecture.

Checklist

Release Notes

Notes: Deprecated clipboard API access from renderer processes

@jkleinsc jkleinsc requested a review from a team as a code owner November 10, 2025 21:15
@electron-cation electron-cation bot added documentation 📓 semver/patch backwards-compatible bug fixes new-pr 🌱 PR opened recently labels Nov 10, 2025
@jkleinsc jkleinsc added semver/none target/40-x-y PR should also be added to the "40-x-y" branch. and removed semver/patch backwards-compatible bug fixes labels Nov 10, 2025
@electron-cation
Copy link
Copy Markdown

electron-cation bot commented Nov 11, 2025

🪦 Deprecation Checklist

🔥 New deprecations in this PR


@electron/wg-releases: Please confirm these deprecation changes conform to our deprecation policies listed in docs/breaking-changes.md, then check the applicable items in the checklist and remove any non-applicable items.

Copy link
Copy Markdown
Member

@dsanders11 dsanders11 left a comment

Choose a reason for hiding this comment

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

It looks like we don't have any direct tests of using the clipboard API in the renderer, so I'm OK with skipping the final item in the deprecation review checklist regarding confirming deprecation messages in tests.

Note to future us, we'll need to update the paste execCommand test in spec/chromium-spec.ts since it makes use of the clipboard API from the renderer for those tests.

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Nov 11, 2025
@jkleinsc jkleinsc merged commit 27727db into main Nov 12, 2025
72 checks passed
@github-project-automation github-project-automation bot moved this from ✅ Reviewed to 🗑 Complete in Deprecation Board Nov 12, 2025
@release-clerk
Copy link
Copy Markdown

release-clerk bot commented Nov 12, 2025

Release Notes Persisted

Deprecated clipboard API access from renderer processes

@jkleinsc jkleinsc deleted the deprecate-clipboard-renderer branch November 12, 2025 15:16
@trop
Copy link
Copy Markdown
Contributor

trop bot commented Nov 12, 2025

I have automatically backported this PR to "40-x-y", please check out #48923

@trop trop bot added in-flight/40-x-y merged/40-x-y PR was merged to the "40-x-y" branch. and removed target/40-x-y PR should also be added to the "40-x-y" branch. in-flight/40-x-y labels Nov 12, 2025
nilayarya pushed a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🗑 Complete

Development

Successfully merging this pull request may close these issues.

4 participants