Switchbordswitchbord
v0.16.50

v0.16.50

Restores the inbox thread view by moving Vercel Analytics behind a client boundary.

Inbox no longer goes blank

  • Restores the inbox thread view: v0.16.49 silently broke every authenticated page render with an opaque "Server Components" digest because Vercel Analytics was mounted from the App Router server layout with a beforeSend function prop, which Next.js cannot serialize across the RSC boundary. Operators saw inbound bubbles only — outbound messages, the composer, and most controls disappeared until the page was reloaded into the same crash.
  • The fix mounts Vercel Analytics through a dedicated client wrapper, so the redaction closure stays inside the browser bundle while the server layout itself stays serializable.

Tighter analytics URL scrubbing under test

  • The URL redaction that strips Supabase auth ?code=, ?token_hash=, ?access_token=, ?refresh_token=, ?invite_token=, ?reset_token=, ?key=, ?secret= query parameters, drops Supabase implicit-flow tokens from the URL fragment, and replaces opaque /invite/ segments with /invite/[token] is now a pure helper with unit tests covering the full matrix, including the malformed-URL fallback that drops the event rather than forwarding it.