Skip to content

Releases: BubbleBuffer/opencode-go-stats

v1.3.2

Choose a tag to compare

@BubbleBuffer BubbleBuffer released this 27 Jun 22:09

Full Changelog: v1.3.1...v1.3.2

v1.3.1

Choose a tag to compare

@BubbleBuffer BubbleBuffer released this 27 Jun 21:55

Full Changelog: v1.3.0...v1.3.1

v1.3.0

Choose a tag to compare

@BubbleBuffer BubbleBuffer released this 24 Jun 13:38

Full Changelog: v1.2.3...v1.3.0

v1.2.3 - Fix SPA navigation detection

Choose a tag to compare

@BubbleBuffer BubbleBuffer released this 03 Jun 21:32

Fixed

  • Broaden @match/content script pattern from opencode.ai/workspace/*/usage to opencode.ai/* so the extension/userscript injects on all pages of the site
  • Existing watchNavigation() function now correctly detects SPA route changes to the usage page via history.pushState/replaceState and popstate monitoring

v1.2.2 - Cache-first rendering

Choose a tag to compare

@BubbleBuffer BubbleBuffer released this 03 Jun 18:35

Performance

  • Cache-first rendering: Tables and charts now render instantly from localStorage cache on page load. The network fetch runs silently in the background, updating the UI only when new data arrives.
  • Silent chart updates: Background data refreshes update the chart in place, so it doesn't flicker weirdly should the cache get updated.

Changes

  • renderCharts now accepts a getter (() => UsageRecord[]) instead of a static array, so refreshes always see the latest data.
  • renderCharts returns { refreshData: () => void } for efficient in-place data updates.
  • Extension entry point no longer blocks on network before first render.

Full Changelog: v1.2.1...v1.2.2

v1.2.1 - Fix cache staleness bug

Choose a tag to compare

@BubbleBuffer BubbleBuffer released this 03 Jun 16:13

Changes

  • Fix cache staleness: The complete flag in runPipeline() was preventing any new records from being fetched from the API once the cache was fully populated. Users had to completely wipe localStorage to see new usage data on subsequent visits.
  • The pipeline now always calls fetchAllPages(), which already has an efficient early-stop when no new records appear on page 0 (one lightweight network roundtrip)
  • Hide the filter container UI element on the usage page
  • Updated pipeline test to verify fetching occurs even with a complete cache

v1.2.0 - Firefox CSP fix + CI

Choose a tag to compare

@BubbleBuffer BubbleBuffer released this 03 Jun 07:15

Changes

  • Bundle Chart.js instead of loading from CDN — fixes Firefox content security policy blocking the extension entirely
  • Add data_collection_permissions to browser_specific_settings for Firefox manifest compliance (required by Mozilla)
  • Output all build artifacts to dist/ instead of polluting the repo root
  • Add GitHub Actions CI (lint, typecheck, test on push/PR)
  • Update README for new project structure

Assets

  • extension.zip — browser extension (Chrome/Firefox/Edge)
  • opencode-stats.user.js — userscript
  • pull-stats.js — console script