Skip to content

Releases: euxx/github-copilot-usage

v0.4.2

16 Mar 06:17

Choose a tag to compare

What's Changed

  • Overage percentage in status bar: when quota is exceeded and overage is active, the status bar now shows the actual usage percentage (e.g. 111%) instead of 100%, making overage visible at a glance without opening the tooltip.

Full Changelog: v0.4.1...v0.4.2

v0.4.1

16 Mar 05:07

Choose a tag to compare

What's Changed

  • Automatic offline recovery: when a network error or timeout occurs, a 10-second polling loop retries the API automatically. Once connectivity is restored, the normal refresh schedule resumes — no manual intervention required.

Full Changelog: v0.4.0...v0.4.1

v0.4.0

15 Mar 05:21

Choose a tag to compare

What's Changed

Added

  • Offline graceful degradation: when the network is unavailable, the last known usage data is preserved in the status bar instead of showing an error icon
  • Stale data indicator: a $(warning) suffix is appended to the status bar text after 1 hour offline (e.g. 25% ⚠), signalling that cached data may be outdated
  • Rate-limit resilience: when rate-limited by the API, last known data is likewise preserved with a tooltip notice instead of showing a red error icon
  • $(alert) icon when offline or rate-limited with no cached data available (consistent with VS Code's own offline status bar behaviour)

Changed

  • Tooltip notices ("Offline · data may be outdated", "Rate limit · data may be outdated") are now plain text, positioned as the last line of the tooltip
  • Unlimited plan tooltip now includes a link to Premium request analytics
  • README: updated status bar states table with the new states and Unicode icon representations

Full Changelog: v0.3.3...v0.4.0

v0.3.3

14 Mar 14:36

Choose a tag to compare

What's Changed

Changed

  • Standardized icon spec
  • Synced config and docs from template

Full Changelog: v0.3.2...v0.3.3

v0.3.2

13 Mar 16:25

Choose a tag to compare

What's Changed

  • Update icon image to a clearer version
  • Fix: threshold.warning/threshold.critical values now coerced to numbers — non-numeric config strings (e.g. "off") no longer produce NaN and silently break status bar coloring
  • Fix: rate-limit handler no longer lets updateStatusBar errors escape as unhandled promise rejections
  • Tests: add unit tests for formatTimestamp, getConfig, and buildTooltip

Full Changelog: v0.3.1...v0.3.2

v0.3.1

12 Mar 02:44

Choose a tag to compare

What's Changed

  • Packaging: exclude dev files (tests, configs, dotfiles) from the published extension

Full Changelog: v0.3.0...v0.3.1

v0.3.0

11 Mar 09:19

Choose a tag to compare

What's Changed

  • ⏱️ Show last-updated timestamp in tooltip (Updated at HH:mm:ss, or full date across days)
  • 📊 Add link icon in tooltip to open Premium request analytics on GitHub

Full Changelog: v0.2.0...v0.3.0

v0.2.0

10 Mar 08:05

Choose a tag to compare

What's Changed

  • ⚙️ Reorganize threshold settings under threshold.* namespace (threshold.enabled, threshold.warning, threshold.critical)
  • 🔅 Add threshold.enabled toggle to disable status bar coloring
  • 💫 Show loading spinner only on manual refresh (auto-refresh updates silently)

Full Changelog: v0.1.0...v0.2.0

v0.1.0

10 Mar 06:07

Choose a tag to compare

  • 📊 Show GitHub Copilot Premium requests usage in the VS Code status bar
  • 🔄 Auto-refresh with configurable interval (default: 5 minutes)
  • 🟡 Warning threshold indicator (default: 75%)
  • 🔴 Critical threshold indicator (default: 90%)
  • 🔐 GitHub OAuth authentication via VS Code built-in auth provider
  • ⚡ Manual refresh command: "Copilot Usage: Refresh Now"