Skip to content

Commit 3ec4248

Browse files
OpenSource03claude
andcommitted
fix: default allowPrereleaseUpdates to false
Pre-release updates were opted-in by default during beta. Now that stable releases are available, default to false so users only receive stable updates unless they explicitly enable pre-release in settings. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a83c2aa commit 3ec4248

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

electron/src/lib/app-settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface NotificationSettings {
3333
}
3434

3535
export interface AppSettings {
36-
/** Include pre-release versions when checking for updates (default: true) */
36+
/** Include pre-release versions when checking for updates (default: false) */
3737
allowPrereleaseUpdates: boolean;
3838
/** Number of recent chats to show per project in the sidebar (default: 10) */
3939
defaultChatLimit: number;
@@ -73,7 +73,7 @@ const NOTIFICATION_DEFAULTS: NotificationSettings = {
7373
};
7474

7575
const DEFAULTS: AppSettings = {
76-
allowPrereleaseUpdates: true,
76+
allowPrereleaseUpdates: false,
7777
defaultChatLimit: 10,
7878
preferredEditor: "auto",
7979
voiceDictation: "native",

electron/src/lib/updater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function initAutoUpdater(
7979

8080
autoUpdater.autoDownload = false;
8181
autoUpdater.autoInstallOnAppQuit = true;
82-
// Read persisted preference (defaults to true — all GitHub releases are pre-release/beta)
82+
// Read persisted preference (defaults to false)
8383
autoUpdater.allowPrerelease = getAppSetting("allowPrereleaseUpdates");
8484

8585
// React to setting changes at runtime (e.g. user toggles in Settings UI)

src/components/settings/GeneralSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const GeneralSettings = memo(function GeneralSettings({
1717
onUpdateAppSettings,
1818
}: GeneralSettingsProps) {
1919
// Local optimistic state — synced from props once loaded
20-
const [allowPrerelease, setAllowPrerelease] = useState(true);
20+
const [allowPrerelease, setAllowPrerelease] = useState(false);
2121
const [chatLimit, setChatLimit] = useState(10);
2222
const [preferredEditor, setPreferredEditor] = useState<PreferredEditor>("auto");
2323
const [voiceDictation, setVoiceDictation] = useState<VoiceDictationMode>("native");

0 commit comments

Comments
 (0)