Skip to content

v0.3.0 — Chrome Web Store extension

Choose a tag to compare

@11sid11 11sid11 released this 30 Jun 19:24
e758db1

v0.3.0 — Chrome Web Store extension

First release that ships Batchd as a Chrome Web Store extension alongside the existing Tampermonkey userscript, from a single src/ tree (per ADR 0004).

Added

  • Chrome Web Store extension (MV3) — one-click install for users who prefer not to set up Tampermonkey. Same behavior as the userscript; same floating panel, same selectors, same pacing. Thin storage adapter seam (src/storage.gm.js for Tampermonkey, src/storage.chrome.js for Chrome).
  • Detect-and-yield coexistence guard — if a user has both installed, the first to mount wins; the second bails with a one-time console message.
  • 22 new tests — storage adapters (chrome + GM), yield guard, build-strip regression.

Changed

  • scripts/build.js now emits two artifacts: dist/batchd.user.js (Tampermonkey) and dist/extension/ (Chrome MV3). Both share the eight shared logic modules; only the storage adapter and entry point differ.
  • src/batchd.user.js no longer contains the inline gmStorage factory — it imports from src/storage.gm.js.
  • Build regex bug fix — the ==UserScript== strip regex was missing the m flag, leaking a stale @version 0.2.0 into the TM bundle.

Install

  • Tampermonkey: dist/batchd.user.js — existing installs auto-update via @updateURL.
  • Chrome Web Store: download batchd-0.3.0.zip below, or install directly from the Chrome Web Store listing (link added post-approval).

Full diff: v0.2.2...v0.3.0