Skip to content

Grablytic v0.0.4

Choose a tag to compare

@OnlyXianzo OnlyXianzo released this 17 Sep 07:44
· 315 commits to main since this release

Grablytic v0.0.4 (Build 4) — huge improvement release

Tap a finished download to play it, resume interrupted downloads, library grids, a log viewer that survives 5MB logs, hardened links/downloads/installer, and 118 commits of engine + Android hardening since v0.0.2.

Full changelog below (also in docs/CHANGELOG.md).


v0.0.4 — 2026-09-17 (118 commits since v0.0.2)

Diff vs v0.0.2: 152 files changed, 14221 insertions(+), 1494 deletions(-).

Lines of code by area (+added / -removed)

  • Python engine: +6836 / -436
  • Android native: +1413 / -374
  • Flutter UI: +5081 / -565
  • Packaging & install: +378 / -55
  • CI & workflows: +368 / -21
  • Docs & store: +49 / -34
  • Other: +96 / -9

Every change (grouped, newest last)

Security & Trust Boundaries

  • 3a1877f68 sec(engine): confine clear_download_archive to data_dir [T0-1]
  • def504b7d sec(install): fail closed when no checksum digest is published [T0-4]
  • 400251213 sec(bootstrap): verify existing binaries against manifest before trusting [T0-5]
  • 0581fb4ea sec(format): allowlist explicit format IDs before selector interpolation [T0-3]
  • 5f0980a2a sec(paths): confine IPC binary paths, kill PATH/sys.path injection [T0-2]
  • 3d5a2d9a4 sec(potoken): honest JS trust boundary, no remote solver without runtime [T0-6]
  • 327ab328b fix(logging): close sanitize gaps — userinfo creds, cycles, map proxies [T3-15]
  • bc4c8f0ca fix(install): close shell injection via eval and python interpolation
  • f17914cf8 fix(engine-logs): sanitize request params and redact engine-origin entries
  • 6ec6e27b6 fix(engine): gate SSRF targets and validate proxy at every sink
  • 7a0babc76 fix(flutter): enforce trust boundary on engine paths, exports, and proxy
  • 9bf556258 fix(resume): enforce trust boundary on resume candidate parsing and deletion
  • 23a0462cb fix(engine): sanitize yt-dlp option builder sinks and config schema
  • 2f230c988 fix(core): add library directives to command_template and trust_boundary
  • b01cd426c fix(engine): close SSRF bypasses in url_guard non-decimal IP forms and DNS names
  • 8667ea679 fix(ci): publish SHA256SUMS and prefer it in install.sh with API-digest fallback

Resume & Artifact Hygiene

  • 987404fba fix(engine): strip only trailing .part when resolving resume .info.json [TEARDOWN-3]
  • 137675085 feat: FTL Robo gate, resume strike loop, cosign releases
  • c0cd45f21 fix(network): gate unattended auto-resume on Wi-Fi Only setting
  • 779c6e628 fix(resume): harden resume discovery, strike tracking containment, and sidecar cleanup
  • f1cb876d3 fix(engine): default writeinfojson on so interrupted downloads leave a resume sidecar

Android Native & OS Integration

  • a5d0580b8 feat(android): queue-active WakeLock + WifiLock for downloads [T2-1, needs SDK compile]
  • af0c5d017 feat(android): FIFO share queue replaces single-slot var [T2-6 native half, needs SDK compile]
  • ee8d432f2 fix(android): release event callbacks on terminal and replay missed terminals
  • 3a9b92da9 fix(history): sweep all non-terminal statuses and page restore backlog
  • ccdb49b0b fix(android): make terminal delivery survive activity death
  • 5f381f82e fix(android): sweep all active download states on boot with schema guards
  • eae2aaec1 fix(android): real worker channel, loud missing runtime, atomic extract
  • 1d1541a21 fix(android): atomic package extraction, recovery, and two-tier CRC32 stamping
  • 2ead2e9ae fix(android): periodic wakelock renewal and onTimeout SQLite sweep
  • ae3b88b19 fix(android): decouple terminal event path and prevent destroyed activity leak
  • c7d724625 ci(nightly): generate detailed changelog with commit history and fix android compile references
  • 28461f7dd fix(android): cancel active downloads on foreground-service timeout
  • 949f40724 fix(android): serialize Kotlin SQLite access with busy-timeout and retry

Core Engine & yt-dlp

  • 1175d5571 fix(downloader): register in _active_downloads before t.start() [T1-1]
  • 16fb0e222 fix(downloader): close pump-queue cancel-loss window [T1-2]
  • d735d7f40 fix(downloader): add graceful shutdown handling and lazy cleanup thread [T1-6]
  • 42683fcdb fix(downloader): bind safe_url before try so early failures report real error [T1-9]
  • de6817829 test(ipc): lock in error-ID threading for unparseable input [T1-8]
  • 1ea67d16c fix(downloader): reject same-URL admission under a different ID [T1-5]
  • 9a904cbfa fix(cancel): honest intermediate cancelling state + wedge watchdog [T1-3 engine half]
  • fa5e98d24 fix(downloader): cap YDLogger.errors tail at 200 [T3-9]
  • 6f4ab9a8b fix(opts): bound all numeric IPC params, reject zero throttle [T3-10]
  • ad50d1eaa fix(downloader): scan progress queue via public API only [T3-8]
  • 42d90f4c1 fix(errors): precise classification + scrubbed messages [T3-14 engine half]
  • 0ed1823e6 fix(downloader): classify single-item logger errors, not blanket POSTPROCESS [AARAV-1]
  • 3a3ff0480 feat(dart): FIFO share queue drains cold starts, chains sheets [T2-6 dart half]
  • b804052e6 fix(engine): guard sleep_interval with _clamped_int [TEARDOWN-4]
  • a36c23f25 fix(download): collapse setMaxConcurrent/syncConcurrency duplicate [TEARDOWN-5]
  • a2e6c0883 fix: close BRUTAL-1/2a/2b/2c/5/6 backlog items (engine + IPC)
  • cdd9ad4c6 perf(engine): throttle progress at source, bound queues, batch file writes
  • b61f3d20f fix(engine): resolve desktop search/query TypeError by binding search_query
  • 157d649d6 fix(engine): bound progress queues and harden poll loop against silent drops
  • 56002ec1c fix(engine): make queued promotion pollable and slot close idempotent
  • e3f5ec07d fix(flutter): dispose every engine transport and forward bridge errors
  • f6cd2fe68 fix(settings): manage aria2c speed controller lifecycle in State
  • f6cccb147 fix(flutter): absorb stream errors in log ingester and detect transport death in desktop engine
  • 1fabe9dc2 fix(engine): unify IPC envelope contracts for queue_status and forward nodejs_path
  • b58fbdff1 fix(engine): enforce admission queue depth limit and input bounds
  • 7b421fc50 fix(engine): resolve concurrency slot leaks, queue stalls, and dropped cancel events
  • ea0391b89 fix(engine): configure JS runtime, extractor args, and cancel error guard
  • 68a68a208 test(engine): remove unused local variables and imports to satisfy ruff correctness gate
  • 9e31ef26e fix(engine): write partial downloads directly to output dir and serialize ffmpeg
  • 6d458486b fix(backlog): remaining log issues 3-8 — concurrency guard, player, links, storage, onboarding, grids
  • 8ade7996d fix(engine): thread desktop IPC dispatch so slow extractions stop blocking cancel
  • c55f8e337 fix(engine): gate PO-token spawn behind solver flag, stop per-download phantom deno eval
  • f5c848eab fix(engine): bound the FFmpeg serialization gate with a 600s timeout

UI & Client State

  • df178bc8f docs(readme): real device screenshots gallery (11 captures, corrected names)
  • 2feacf55a fix(app): gallery visibility, thumbnail toggle, GitHub open, onboarding reform, list jank
  • 73e437830 chore(flathub): 0.0.2 release entry + screenshots in metainfo
  • b500b5500 fix(flutter): bound log pipeline costs and coalesce live rebuilds
  • 5863761a9 fix(logs): cap log viewer at file tail so multi-MB logs cannot hang the phone

CI/CD, Build & Install

  • ccba7992e fix(ci): move WINGET_TOKEN gate from job-if (secrets context rejected by parser) to env-backed step
  • a237cb28d feat(ci): one-shot first WinGet submission workflow (fork + PR from verified manifests)
  • e25009825 fix(ci): quote wingetcreate run line (colon broke YAML parse)
  • ed1415370 feat(linux): universal install.sh (distro+arch auto-detect, SHA256 verify) + README one-liner
  • 932737a05 chore(release): bump to 0.0.2+3 for first Grablytic release
  • 92b884e83 fix(build): quote deb control heredoc, drop comment lines
  • 770fd444f feat(winget): 0.0.2 Grablytic manifests + first-submit plumbing
  • dbfab7e13 ci: nightly build + rolling release, all-branch verify, ruff-action [T4-5]
  • 5fd9e182e ci(build): gate all build jobs on reusable verify workflow [TEARDOWN-6]
  • b2e1fa217 ci(verify): pin ruff-action to immutable SHA [CI-FIX]
  • 49820b2f9 ci(nightly): add emulator Doze + install smoke job
  • 2b1f198e1 perf(ui): structural selectors make progress ticks rebuild one card
  • 166948ccf docs(nightly): add user-facing benefits and feature overview to nightly notes generator
  • cdbad3153 ci(nightly): remove emulator doze and ftl jobs to guarantee reliable release publishing
  • 6a8aa3bb9 ci(nightly): temporarily comment out emulator doze and ftl robo jobs

Performance & Resources

  • 11515060c perf(logs): keep DEBUG off the UI bridge to fix 10+ download hang
  • 5e1e82c5a perf(lowend): halve fragment threads, indeterminate merge bar, fix search runtime
  • 155056594 chore: remove perf proof docs from repo (kept in local worklog)

General Improvements

  • e3fa20991 fix(ci): run token check under bash on windows runner
  • 9f2d8d909 fix(ci): wait for fork propagation before cloning
  • d5031a5fe docs(readme): one-command Linux install block (apt/dnf/zypper/pacman/yay/paru)
  • 2c266d5db docs(security): v0.0.1 full-matrix VirusTotal scan record (15/15 clean)
  • 922d9c09c refactor: rename TrueStream to Grablytic
  • 71fb9ed6d fix(install): quote usage heredoc delimiter to prevent command substitution
  • 490340792 feat(brand): swap in new Grablytic play-mark artwork
  • 64718e50d fix(contact): point in-app feedback email to xianzo.help@gmail.com
  • 8419a704f docs(readme): roll install links to v0.0.2 grablytic-* assets
  • 9e750abef chore(distrib): roll AUR/Flathub/Izzy manifests to v0.0.2
  • bdf50b59a fix(main): add stdout lock to prevent interleaved JSON lines [T1-7]
  • 3e4adee24 feat(dart): honest cancelling status across provider and home card [T1-3 dart half]
  • cde767a1a fix(scheduler): gate RSS XML against entity expansion + oversize [T3-16]
  • fc4e74144 fix(desktop): terminate process before nulling handle in restart [T2-7]
  • 4a4e0ccbd fix(desktop): crash-loop breaker — count abnormal exits, backoff, refuse restart [TEARDOWN-2]
  • 1ab32eac1 fix(download): evict per-download smoother on terminal events + history removal
  • 1e6a44d8e fix(bootstrap): update_check compares archive-to-archive [T4-8]
  • 79c0687dd fix(download): accept double byte counts in progress events
  • 9020a2757 chore: ignore session scratch files (never commit agent scratch)
  • 1a72e2aae fix(thumbnails): force PNG cover art for m4a output
  • 1fa8fce16 chore: drop proof doc from PR (local worklog keeps copy)
  • b76ee3d37 chore: drop proof doc from PR (local worklog keeps copy)
  • c29fa856b chore: drop proof doc from PR (local worklog keeps copy)
  • 9d9227590 chore: drop proof doc from PR (local worklog keeps copy)
  • f9d012620 docs(readme): fix stale test counts and Arch package URLs
  • aa176d9e8 fix(fonts): bundle Instrument Sans, remove runtime webfont fetch
  • ea50f70ac fix(metered): confirm user taps on metered links when Wi-Fi Only is on
  • 5849e6224 fix(logs): fix level filtering cancellation bug and improve disk fallback parsing