Skip to content

v1.3.5

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Jun 14:52

Changed

  • Captures moved off chrome.storage entirely, into IndexedDB. v1.3.2 → v1.3.4 chased the symptom — first hopping from .local to .session, then adding FIFO eviction when .session filled up too. Both storage namespaces share a 10 MB cap across every key, which is structurally the wrong fit: multiple active tabs contend for one tiny pool, captures vanish under pressure, and rules/scenarios/preferences sit in the same namespace fighting for the same bytes. IndexedDB's per-origin quota is browser-managed (hundreds of MB to GB, scaled to free disk), survives SW sleep, and supports tabId-indexed reads so the SW no longer loads the entire captures array on every write. The 500-per-tab cap stays as a sanity bound; the eviction-on-quota loop and the per-write withWriteLock(captures) serialization are both gone — IndexedDB handles transactional ordering itself. On boot the SW also purges the legacy moxy:captures blob from BOTH chrome.storage.local and chrome.storage.session so existing users immediately reclaim quota in those namespaces for the keys that still live there (rules, scenarios, global enabled, preserve-log).