Repository navigation
Sunfire v5.0.0
5.0.0 — 2026-10-08
Added
- Suwayomi-Server v2.4.2366 compatibility:
aboutServer.platformin the
About screen,Category.isDefaultCategoryforward-compat field. - Tracking edit dialog offers server-published score strings verbatim.
- Reader is fullscreen on phone and tablet (no sidebar rail / bottom bar).
- Auto-scroll range extended to 10–2000 px/s with Warp/Light presets.
- Updates tab mirrors the server when connected.
Fixed
- Browse grid taps now open extension results (local IDs were swallowed).
- Updates header no longer leaks raw sync payloads.
- Cross-series chapters filtered at fetch and repaired at startup.
- Mangago grids deduplicated; ReadComicsOnline chapters scoped to series.
- Extension auto-install deferred until onboarding completes.
- First-run metadata parse hardened for trailing-comma headers.
Security & Privacy
- Credential fallback visibility — Settings → Server shows an orange
banner when credentials are stored in plaintext because the OS keystore is
unavailable; secure write success cleans up the plaintext copy automatically. - Log sanitization — MClient request/response logs strip query, fragment,
and userinfo from URLs viasanitizeUrlForLog. - RFC 6761 + punycode SSRF guard — request_guard blocks
.test,.example,
.invalid,.onion,.lan,.corp,.intranet,.home,.localdomain,
and any punycode (xn--) labels that could decode to reserved suffixes. - Secure storage error handling — narrow catches, throw on total failure
instead of silently losing credentials.
Sync & Download Hardening
- Per-dispatch transport verdict —
WithClassificationmutation helpers
return atomically captured transport-failure verdict, eliminating cross-
request races that misclassified GraphQL rejections as transient. - Attempt persistence chain —
_attemptsSaveChainserializes
_dispatchAttemptswrites; poison records never regain budget on restart. - Server-switch quarantine — clears
_wsUpdatePullTimer,_progressLocks,
_lastDirectPage,_cycleGate; discarded count surfaced to user. - Category assign coalescing — per-manga lock serializes rapid UI toggles;
older pending assigns deleted before new one saved. - Multi-deep sync queue — counter-based
_queuedCountprevents dropped
cycles under burst contention (pull-to-refresh + WS + chapter read). - Retry reloads attempts —
_loadDispatchAttemptscalled after persist so
manual retry state survives restart. - Batch counter invariant —
_batchMembers+_batchAccountedsets
enforcesucceeded + failed + pending == totalat all times. - Atomic queue+paused write — single JSON with embedded
pausedfield
eliminates race window on process death. - Cancel-then-dismiss accounting fix — stores
_statusBeforeCancelso
dismissing a cancelled task decrements the correct counter bucket. - Charger gate logic —
_waitingForChargeronly true when charger is the
sole blocker (!chargingOk && networkAllowed). - Retry adds to denominator — re-enqueued failed task joins batch members
and increments total. - Batch state validation — corrupt/missing
members/accountedresets
counters instead of silently making batch uncountable. - Legacy paused flag removed — new format embeds flag in queue JSON; old
separate key no longer overwrites correct state on upgrade.
Database & Backup
- Synthetic ID collision fix — global mutex
_mintLockserializes
_mintUniqueSyntheticServerIdacross concurrentsaveMangas/saveChapters
calls; prevents silent replace underunique: true, replace: true. - Bulk-stamp evidence gating —
getRecentChapterscounts per-manga window
before dropping bulk-import rows; evidence threshold matches flood cap. - Removed dangerous
clearAll()— no longer exposed; sign-out uses
targeted deletes. - Zip bomb protection —
.tachibklimited to 64 MB compressed + 128 MB
uncompressed + 1000 entries; nested archives rejected. - Required ID validation —
_toIntthrows for non-integeridfields in
backup JSON instead of silently collapsing to 0. - Honest import scope — UI explicitly states "Library and categories only:
reading progress, bookmarks, history, tracker bindings not imported". - All 6 backup flags in dialog — categories, chapters, history, tracking,
client data, manga (previously only 2).
Tracker UI Overhaul
- TrackingSettingsScreen — Metron connection card with status dot, rate
limit progress bars with health warnings (burst + daily), server tracker
cards with authorization badge and login button. - TrackingBottomSheet — Metron 3-state card (Linked/Connected/Not
Configured) with rich metadata chips (Publisher, Issues in Series, Locked
indicator, Series ID); server tracker 4 states (Tracking Active, Authorized
Not Linked, Session Expired, Not Authorized) with color-coded borders and
status dots; bound tracker status chips (Status, Chapters, Score, Private);
search results with cover images and publisher info; Metron session dedup.
Reader & Manga Detail
- Bookmark snapshot — captures
_chapterbeforeawaitso concurrent
chapter loads cannot persist/sync the wrong chapter. - Auto-scroll short-chapter fix —
maxScrollExtent <= 50treated as
"at bottom" instead of hanging; immediate auto-advance works correctly. - Next/previous chapter debounce — 700 ms guards (
_lastNextChapterNavAt,
_lastPrevChapterNavAt) prevent accidental double-advance from tap-zone
and auto-scroll racing. - Position-based prev-chapters-read — sorts by reading order then ID; fixes
prologue/extras withchapterNumber=0being skipped. - Scrobble session dedup —
_scrobbledThisSessionper (series, issue)
prevents duplicate Metron entries from rapid re-taps. - Incognito guards — tracking sheet and reader paths check incognito
before any scrobble/sync.
Navigation & Browse
- Route typo fix —
/mnga/$id→/manga/$id(dead-end search results). - Reader deep link —
/reader/:idhandler added. - Fullscreen back handling —
PopScopeallows system-back on reader
routes instead of hijacking to Library. - Non-English extension badges —
isEngate removed; update badges show
for all languages. - Full filter reset — clears GroupFilter/CheckBox state + clears
_serverFilterChanges; stale filters no longer persist. - Onboarding repo choice respect — explicit empty choice installs nothing;
hardcoded catalogs no longer bulk-install over user choice.
Other Fixes
- Image cache — true LRU (re-insert on hit), disk prune (800 files/dir,
10-min throttle), dual-key invalidation after extension cover resolution. - Global search route —
/mngatypo fixed. - Extension details screen — removed dead
_isSourceEnabledtoggle. - Settings persistence —
default_catgory_idtypo fixed,syncDeviceId
setter notifies listeners. - RepoManager version compare — prerelease identifiers compared
numerically (e.g.,1.0.0-beta.2<1.0.0-beta.10).
✅ Android Update Notice
This release was signed with a release keystore (CN=Sunfire).
Users on this version can update normally (same signing key).