Skip to content

v3.12.0

Choose a tag to compare

@karpikpl karpikpl released this 04 Dec 01:44
· 1 commit to main since this release
40f5915

🚀 Copilot Metrics Viewer 3.12.0

This is a major feature release with expanded billing insights, team analytics, CSV exports, enterprise support, security improvements, and a Nuxt 4 upgrade.

⚠️ Breaking changes and upgrade notes

  • AI chat: Replace NUXT_AI_TOKEN with NUXT_AI_API_KEY; configure NUXT_AI_BASE_URL and NUXT_AI_MODEL as needed. Per-user token entry has been removed. #505
  • Admin routes: When authentication is enabled, admin routes require a valid session; an Authorization header alone no longer bypasses the check. Configured admin allowlists apply to all admin routes. PAT/no-auth deployments are unchanged. #498
  • User metrics API: /api/user-metrics now returns at most 500 rows per request. API consumers that need more must paginate. The response remains an array. #431
  • Nuxt and Vuetify: Upgraded to Nuxt 4.7.1. Custom extensions using Vuetify auto-imported composables should use prefixed names such as useVLayout and useVTheme. #513 #531

✨ Features and improvements

  • Billing: Added data-source labels and a month view driven by the date picker, per-user search, enterprise monthly quota, clearer unavailable-spender guidance, and consistent credit definitions. #415 #437 #492 #493 #425
    Team analytics: Enhanced AI contribution metrics and comparisons, and restored pull request metrics in team-scoped views. Thanks to @yoelcommit for the original work in #481, continued in #491. #450
  • CSV exports: Export the permitted seat page and dashboard tables, respecting access permissions and active filters. #483 #495
  • Storage: Added authoritative roster snapshots and usage coverage for more reliable stored metrics. #480
  • Enterprise support: Improved enterprise scope selection and GitHub App installation handling. #468
  • Usability: Added accepted-lines tooltips, tab-specific loading states, accessibility labels, and non-color activity cues. #438 #457 #427
  • Observability and security: Added structured logs with request IDs and an opt-in security audit log. #440 #441

🛠️ Fixes

  • Billing accuracy: Rank top spenders across all users, handle fully discounted plans and unmatched EMU usernames, preserve CSV token breakdowns, keep replacements transactional, fix sync with the new user_id column, and avoid PostgreSQL parameter limits and roster truncation. #428 #429 #439 #473 #478 #489 #503 #497
  • Billing display: Correct token-user empty-state guidance, sort stored billing totals before pagination, validate billing dates, and highlight usage windows in red. #426 #485 #502 #518 #522
  • Metrics and navigation: Correct synthetic chat model buckets, restore anonymous scope-wide totals without exposing user detail, group C# and C++ aliases, fix team-route tab selection, and make derived user-metrics columns sortable. #424 #475 #482 #488 #516
  • Other fixes: Isolate seat errors, correct the history label, avoid a date-range hydration mismatch, fall back to api.github.com for an empty API base URL, and improve sign-in button spacing. #502 #519 #515 #499

🧪 Testing and CI

  • Replaced hollow tests with assertions, improved mock fidelity, and added a four-scope mock route matrix. #442 #476 #484
  • Stabilized billing and team comparison browser tests and isolated billing roster requests from dashboard loads. #520 #521 #529
  • Switched browser tests to the prebuilt Playwright image, enabled required checks for merge queue groups, and protected shared preview environments during cleanup. #530 #474 #451 #504

📦 Dependencies and security

  • Upgraded Nuxt and related tooling, and updated PostgreSQL, ESLint, Chart.js, Unstorage, Nuxt Fonts, and Nuxt Schema. #513 #524 #525 #526 #523 #527 #517
  • Remediated vulnerable dependencies, including tar and minimatch, and configured Dependabot. #471 #494 #506 #528
  • Applied grouped dependency updates, including brace-expansion. #443 #445 #446 #454 #455 #458
  • Bumped the application version to 3.12.0. #507

📚 Documentation

  • Fixed broken links in the contribution guide. #467

👋 New contributors

Full Changelog: v3.11.3...v3.12.0