Repository navigation
chore: remove dead updater service, localize update fallbacks, fix vitest config warnings - #56
Merged
Merged
Conversation
CrabNebula gets every released CHANGELOG section with Developers included (the update modal hides it); only the echophrase-releases GitHub Release strips it.
src/lib/services/updater.ts had no importers and showed raw release notes in a native dialog, bypassing the Developers filter. Drop it with its orphaned locale keys (update.versionAvailable, update.releaseNotesTitle), and route the two hardcoded English fallbacks in stores/updater.ts through the locale files.
The standalone svelte() plugin warned about the removed `hot` option and logged that no Svelte config file exists (SvelteKit 3 keeps it inline in vite.config.js). Use compilerOptions.hmr and configFile: false instead.
Lockfile-only patch bump of a transitive dependency of tauri and wry.
Also document in CLAUDE.md that lockfile changes need the regenerated attribution committed in the same PR, and the generator's side effects.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cleanup found while confirming that the update modal already hides
### Developersnotes behind the "Show developer changes" checkbox. No change to that behavior.src/lib/services/updater.tshad no importers. It showed raw release notes in a native dialog, which would have bypassed the Developers filter if anyone wired it back up. Its orphaned locale keys (update.versionAvailable,update.releaseNotesTitle) are removed from all three locales.src/lib/stores/updater.ts: the "Bug fixes and improvements." fallback now uses the existingupdate.defaultNotes, and the "release notes not included in this build" message uses a newupdate.notesNotBundledkey (en, zh-TW, zh-CN).vitest.config.jspassed the removedhotplugin option and let the standalonesvelte()plugin look for asvelte.config.jsthat SvelteKit 3 no longer uses. NowconfigFile: falseandcompilerOptions.hmr: false.CLAUDE.mdsaid the in-app notes are sent "minus### Developers". CrabNebula gets every released section with Developers included (the modal hides it); only theechophrase-releasesGitHub Release strips it.cookiecrate to 0.18.3 (GHSA-8wcq-xq25-7fhm). The threezipalerts and theglibalert are not fixed here:zip4 comes fromtauri-plugin-updater2.12 and the fix (2.14.1) needs Tauri core 2.12, andglib0.18 is pinned by Tauri's GTK3 stack on Linux.No CHANGELOG entry: nothing here is user-visible beyond two fallback strings now being translated.
Test plan
Rust CI (Linux + Windows) on the
cookielockfile bump; not built locallybun run test:chunked: 8/8 chunks pass, and neither vite-plugin-svelte warning is printed any moresvelte-check(pre-commit): 0 errors, 0 warningseslintonsrc/lib/stores/updater.tsNot done: opening the update modal in the running app (Debug panel mock update) to eyeball the checkbox and the new fallback string
Not done: native-speaker review of the zh-TW / zh-CN text for
update.notesNotBundled