Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 27 May 13:27

What's Changed

Added

  • Token-based billing (UBB) support: auto-detects GitHub's new credit-based billing mode via token_based_billing. Tooltip title switches between Copilot Premium Requests (legacy) and Copilot Credits (UBB); overage line labels its unit accordingly (Overage: 5 requests vs Additional credits: 5).
  • individual_max (Max) and individual_edu (Student) plans in the plan-name map.
  • Per-snapshot quota_reset_at (Unix seconds) with top priority under UBB; falls back to quota_reset_date_utcquota_reset_datelimited_user_reset_date.
  • Precise used calculation via quota_remaining when present, with Intl.NumberFormat({ maximumFractionDigits: 2 }) formatting to preserve fractional precision (e.g. 195.9 instead of 196), matching upstream's quotaCreditsFormatter.
  • Pooled entitlement exhaustion: enterprise unlimited plans signaling has_quota=false (without overage) display 100% red instead of . Tooltip shows "Quota: Unlimited · pool exhausted" with reset date.

Changed

  • entitlement parse handles string values ('300') emitted under UBB; entitlement: '0' (not unlimited) correctly routes to no-data state, matching upstream parseQuotas behavior.

Full Changelog: v0.4.4...v0.5.0