Skip to content
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

chore: document deprecated systemPreferences APIs #39343

Merged
merged 4 commits into from Aug 14, 2023

Conversation

dsanders11
Copy link
Member

@dsanders11 dsanders11 commented Aug 3, 2023

Description of Change

These have been marked as deprecated in the docs for a long time, but were never called out in docs/breaking-changes.md or given warn on usage (except alternate-selected-control-text). Let's do a proper deprecation and remove them next version.

Checklist

Release Notes

Notes: The systemPreferences.getAppLevelAppearance and systemPreferences.setAppLevelAppearance APIs have been deprecated, as well as the alternate-selected-control-text value for systemPreferences.getColor.

@dsanders11 dsanders11 added semver/minor backwards-compatible functionality target/26-x-y PR should also be added to the "26-x-y" branch. labels Aug 3, 2023
@dsanders11 dsanders11 requested a review from a team as a code owner August 3, 2023 03:27
@electron-cation electron-cation bot added api-review/requested 🗳 new-pr 🌱 PR opened in the last 24 hours labels Aug 3, 2023
Copy link
Contributor

@itsananderson itsananderson left a comment

Choose a reason for hiding this comment

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

API LGTM

Copy link
Contributor

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

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

API LGTM

Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

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

API LGTM

@codebytere codebytere force-pushed the properly-deprecate-system-prefs branch from 79d71b5 to 6b1117e Compare August 10, 2023 09:49
@dsanders11 dsanders11 force-pushed the properly-deprecate-system-prefs branch from c8ee63f to bf62cc8 Compare August 11, 2023 21:37
@codebytere
Copy link
Member

codebytere commented Aug 14, 2023

Failures are known and unrelated from #39260

@codebytere codebytere merged commit 1b3e4da into main Aug 14, 2023
15 of 16 checks passed
@codebytere codebytere deleted the properly-deprecate-system-prefs branch August 14, 2023 09:34
@release-clerk
Copy link

release-clerk bot commented Aug 14, 2023

Release Notes Persisted

The systemPreferences.getAppLevelAppearance and systemPreferences.setAppLevelAppearance APIs have been deprecated, as well as the alternate-selected-control-text value for systemPreferences.getColor.

@trop
Copy link
Contributor

trop bot commented Aug 14, 2023

I was unable to backport this PR to "26-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/26-x-y and removed target/26-x-y PR should also be added to the "26-x-y" branch. labels Aug 14, 2023
dsanders11 added a commit to dsanders11/electron that referenced this pull request Aug 14, 2023
* chore: document deprecated systemPreferences APIs

* chore: forgot systemPreferences.appLevelAppearance

* test: expect deprecation messages
@trop
Copy link
Contributor

trop bot commented Aug 14, 2023

@dsanders11 has manually backported this PR to "26-x-y", please check out #39492

@trop trop bot added in-flight/26-x-y merged/26-x-y PR was merged to the "26-x-y" branch. and removed needs-manual-bp/26-x-y in-flight/26-x-y labels Aug 14, 2023
VerteDinde pushed a commit that referenced this pull request Aug 14, 2023
chore: document deprecated systemPreferences APIs (#39343)

* chore: document deprecated systemPreferences APIs

* chore: forgot systemPreferences.appLevelAppearance

* test: expect deprecation messages
win32ss pushed a commit to win32ss/supermium-electron that referenced this pull request Sep 24, 2023
* chore: document deprecated systemPreferences APIs

* chore: forgot systemPreferences.appLevelAppearance

* test: expect deprecation messages
MrHuangJser pushed a commit to MrHuangJser/electron that referenced this pull request Dec 11, 2023
* chore: document deprecated systemPreferences APIs

* chore: forgot systemPreferences.appLevelAppearance

* test: expect deprecation messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-review/approved ✅ merged/26-x-y PR was merged to the "26-x-y" branch. semver/minor backwards-compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants