Skip to content

Suppress the Use Elevation deprecation warnings in upgrade code - #99

Merged
jgindin merged 1 commit into
mainfrom
suppress-use-elevation
Nov 27, 2026
Merged

jgindin merged 1 commit into
mainfrom
suppress-use-elevation

Conversation

@jgindin

@jgindin jgindin commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Suppresses the six deprecation warnings for the old Use Elevation keys in the two upgrade methods that still need them.

  • The keys are deprecated so no new code uses them. AppUpgrader.upgradeElevationPref moves and then removes the old preferences, and PersonalPrefsManager.onHandleUpgrade sets the old one when upgrading from v66 or earlier, so both have to name the keys.
  • Neither method has any other deprecation warning that this could hide.

🤖 Generated with Claude Code

@jgindin
jgindin force-pushed the suppress-use-elevation branch from bf88760 to 1d8c46b Compare November 26, 2026 20:51
…e Elevation keys.

The keys are deprecated so no new code uses them, but the upgrade steps that set, move and remove the old preference have to name them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jgindin
jgindin force-pushed the suppress-use-elevation branch from 1d8c46b to b559425 Compare November 27, 2026 19:22
@jgindin
jgindin merged commit fefc094 into main Nov 27, 2026
4 checks passed
@jgindin
jgindin deleted the suppress-use-elevation branch November 27, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant