Skip to content

0.2.1

Choose a tag to compare

@RobbyV2 RobbyV2 released this 27 Oct 23:24
· 372 commits to main since this release

RChat 0.2.1. There was no separate 0.2.0 release, so these notes also cover everything since 0.1.0.

Update note: voice calls changed how connections are negotiated. Reload any tab that has been open since before this release, so everyone in a call is on the new client.

New in 0.2.1

Voice, video and screen sharing

  • Call stage: redesigned in a Discord style, with speaking rings, tinted tiles, focus mode with a filmstrip, and a round control bar with mute, deafen, camera, screen share and hang up.
  • Voice Connected panel: a new panel above your user panel, with quick controls.
  • Incoming calls: shown on a ringing card with Accept and Decline. Call history now appears as compact rows.
  • Screen sharing:
    • share alongside your camera; you appear as two tiles
    • LIVE badges on your tile and in the voice channel list
    • viewers' stages focus the share automatically
    • text-friendly quality
    • a "You're sharing your screen" bar with Stop
  • Share audio: tab or system audio is included where the browser can exclude the call's own sound. When it can't, you're told.
  • Fixed: switching voice channels could get stuck on "Connecting…". This bug was already in 0.2.0 and failed about 70% of the time. After the fix there were 0 failures in hundreds of automated runs, including lost signals, reloads and network failures.
  • Fixed: call audio stopped when you opened a text channel during a call.
  • Fixed: a deafened user's mic could come back on after switching channels or accepting a call.

Profiles and servers

  • About me: a profile description of up to 190 characters, shown on profile cards.
  • Profile cards: show when someone joined RChat and when they joined the current server.
  • Server banner colors: a custom banner and name color for the header at the top of the channel list. The settings gear always stays visible.
  • Self DM: your DM with yourself is pinned automatically.
  • Message hover toolbar: now a proper padded toolbar, readable over code blocks.

Security and permissions

  • Grants stay within your own permissions: nobody can grant permissions they don't have, through admin grants, admin transfer, or creating, editing, assigning or deleting roles.
  • Stronger members are protected: you can only take roles away from, or edit roles held by, members you're allowed to moderate.
  • Restricted channel media: files from restricted channels can only be downloaded by people who can see that channel.
  • Read markers: only accepted for conversations you can see.
  • Frontend proxy: refuses React Server Action probes (the "React2Shell" CVE-2025-55182 scans) and stray protocol upgrades before they reach Next.js. Upgrades it can't answer now time out instead of hanging.

API

  • OpenAPI: every public endpoint now has a summary, a description, parameter docs, error responses and tags, and every schema field is documented. A test fails the build if anything is undocumented.

Highlights of 0.2.0 (since 0.1.0)

  • Invite links:
    • pasting one shows a join card
    • opening one shows a full invite page
    • an optional password can be included in the link
  • Mini profiles: shown with roles, admin controls and a quick DM box.
  • Moderation: server bans with a kick and ban hierarchy.
  • Passwords: server password changes can keep or remove members, and account passwords can be changed between text and words.
  • Organising: drag to reorder servers and DMs, pinned DMs, and server folders.
  • Privacy and filtering: appear offline, streamer mode, and per-target profanity filter controls.
  • Scale:
    • lazy-loaded lists everywhere and indexed message search
    • horizontal scaling with service roles, a shared Redis-protocol bus and Postgres
    • Compose, Kubernetes and nginx references
    • a scale audit of every hot path
  • Instances: identity and discovery, with signed identity proofs, as groundwork for a multi-instance client.
  • Fixes: many found in QA.

Upgrading

  • Database: migrations from 0.1.x and 0.2.0 run automatically at startup on SQLite and Postgres. Nobody is logged out.
  • Deployment: if you deploy with the Kubernetes or Compose references, see the README's Scaling section for new environment variables, e.g. PUBLIC_URL, ALLOWED_HOSTS, TRUSTED_PROXIES, PROFANITY_TARGETS.
  • Browsers: Safari 16.4 or newer is required.