Built with harnsy — the Buggregator team runs its AI agents in harnsy.
If you use SSO: read this first
- Limit who may sign in. Until now, after the provider's login every account got in. With
AUTH_PROVIDER=googleon a server reachable from the internet, that meant any Google account could read your events. Setauth.allowed_emails/auth.allowed_domains(envAUTH_ALLOWED_EMAILS,AUTH_ALLOWED_DOMAINS, comma lists; Helm:auth.allowedEmails,auth.allowedDomains). Forgooglea domain is the Workspace domain; for other providers, the domain of the email, which the provider must confirm. Without a list nothing changes, and the server warns at start. (#495) - Everyone signs in once more after the upgrade. Sign-ins now have server-side sessions so that Logout really works; tokens from older versions have none.
Security
- SSO checks the OAuth
state. A forged sign-in link could log a visitor into someone else's account (login CSRF). The callback now refuses a missing or different state. (#495)
Added
- Feed filters for a shared dev server. Filter the feed by machine, environment, user, Monolog channel, level, release and tags, so each developer sees their own events. (#486)
- Logs page. Full-text search over Monolog records (any 3+ characters, like grep), level and channel filters, and a per-minute chart. (#491)
- Request view with an N+1 hint. One request on one time scale, with the logs, mails and HTTP dumps that carry its trace id. When the same database query runs 5 or more times in one request, the trace says so. (#492)
- Queue jobs. Jobs your queue worker ran, from Sentry queue tracing (sentry-laravel), with their attempts, failures and durations. (#493)
- SSO users, real logout, settings that follow you, audit log. Logout now ends the session at once. Your UI settings are kept on the server. The audit log records sign-ins, refused sign-ins, logouts, settings changes, clears and deletes; limit who may read it with
auth.admin_emails(envAUTH_ADMIN_EMAILS, Helmauth.adminEmails). Links to an event survive the sign-in. (#497, #498) - Every version of an email is kept. Until now only the plain text and HTML of a caught email were kept, and other versions were dropped. Now Apple Watch, AMP, calendar, delivery reports and other versions are stored and shown as tabs, and a calendar invite shows as a card: what, when, where, organizer and guests. (#500)
- Monolog context in the feed. Small
contextandextratravel with the record, for the new «Show log context in the list» setting. (#488) - Profiler Compare works. The Compare button in the Profiler had no server side and opened an empty page; it now compares two profiles. Top functions sort both ways. (#494, #487)
Fixed
ray()->pause()pauses. The script now waits until you press Continue or Stop. (#490)- Open tabs no longer reconnect every 35 seconds and reload the whole event list. Thanks to @FluffyDiscord for the report about the UI slowing down. (#489, buggregator/frontend#242)
- SSO with GitHub, Keycloak and Microsoft Entra: GitHub gets its own default scopes, so users with a hidden email can sign in; the profile shows the full name; Entra users get in with an allow-list. (#496)
Upgrade
Click Update to 2.14.0 in Settings › About & updates, replace the binary, docker pull ghcr.io/buggregator/server:2.14.0, or for Kubernetes helm upgrade buggregator oci://ghcr.io/buggregator/helm-chart/buggregator --version 3.3.0 --reset-then-reuse-values. Four database migrations run at start (feed filters, log search, users and audit log, queue jobs); events you already have are indexed for filters and search in the background after start (a big database can take a minute or two; the UI keeps working). With SSO, everyone signs in once more. Bundled UI: frontend 1.42.0 (with everything from 1.41.0).
What's Changed
- feat: feed filters by machine, environment, user, channel, level, release and tags by @butschster in #486
- feat(profiler): top functions order=asc|desc and total by @butschster in #487
- feat(monolog): carry small context and extra in the feed preview by @butschster in #488
- fix(ws): send Centrifugo pings so tabs stop reconnecting every 35 s by @butschster in #489
- fix(ray): hold ray()->pause() until Continue or Stop by @butschster in #490
- feat(logs): full-text search, per-minute histogram and trace facet by @butschster in #491
- feat(sentry): N+1 hint in the trace, trace facet for mails and HTTP dumps by @butschster in #492
- feat(sentry): queue jobs from queue.process transactions by @butschster in #493
- feat(profiler): GET /api/profiler/compare for the UI's Compare button by @butschster in #494
- fix(auth): SSO allow-list and OAuth state check by @butschster in #495
- fix(auth): GitHub scopes, name before login, Entra verified email by @butschster in #496
- feat(auth): users, real logout, per-user settings, audit log, return-to link by @butschster in #497
- fix(auth): audit limit over 500 gives 500, not 100 by @butschster in #498
- feat(smtp): alternative body parts (Apple Watch, AMP, calendar…) and invite details by @butschster in #500
- chore: bump frontend version to 1.42.0 by @butschster in #499
Full Changelog: v2.13.0...v2.14.0