Skip to content

Releases

Weekly 2026-11-16

Weekly 2026-11-16 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 14:27

Weekly build of 3c6a654. Version 0.3.1-weekly.20261116.

Weekly

Weekly Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 14:28

RChat 0.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 00:23

RChat 0.3.0 adds P2P contacts, DMs and servers, desktop and mobile apps, and many new chat, moderation and notification features.

New

Messages

  • Mentions: type @name to ping someone. @everyone, @here and role mentions ping groups. Mentions, replies to you and reactions to your messages show a red badge and a toast, and still count after you were offline.
  • Mentions inbox: every ping in one list, with Unread and All tabs, Mark as read and Jump to message.
  • Reactions and emoji picker: react with any emoji. Your own reactions show in blue. The picker searches by name and keeps your frequent emoji and skin tone.
  • Replies: reply to a message and choose whether to ping its author.
  • Editing: edit your own messages, which then show "(edited)". Type s/old/new to fix your last message, or press Up in an empty box to edit it.
  • Forwarding: forward a message to another channel or DM.
  • Pins: pin messages and open them from the channel header.
  • Message links: copy a link to any message and jump to it.
  • Message selection: select messages with Shift and Ctrl clicks, or all at once, then delete, copy, pin, forward or export them together.
  • Polls: single, multiple and ranked choice, rating scales and yes/no. Anonymous or public, with deadlines and live results.
  • Formatting: a formatting toolbar, spoilers, code highlighting, and timestamps with the full date on hover.
  • Typing indicators and join and leave notices (server admins pick the channel or turn them off).
  • Link previews now load their images through your server, not your browser.

Servers and channels

  • Channel categories: group channels and drag channels and categories into order.
  • Channel topics and slow mode.
  • Restricted channels: let only some roles or members see a channel or send in it.
  • Server passwords: a permanent password, temporary passwords or tickets with a use limit. You can also close a server to new members. A server with a password stays hidden from people who are not members.
  • Timeouts: moderators can time out a member for a set time. A timed out member can't send, edit, react or talk in voice in that server.
  • Audit log: a log of server actions, filtered by action type.
  • Webhooks: incoming webhooks post into a channel. Outgoing webhooks send server events to a URL and are off until the site admin turns them on (OUTGOING_WEBHOOKS).
  • Previews: open a public server and read it before you join.

People and DMs

  • Friends: send, accept and deny friend requests and see who is online.
  • Blocking: a blocked person can't DM, call or ping you, and their messages are hidden.
  • Close DMs: hide a DM until the next message.
  • Privacy settings: limit who can DM you or send you friend requests.
  • Home page: friends, unread conversations and your recent places in one view.

Notifications and settings

  • Notification levels: all messages, only mentions or nothing, per server or channel. Mute for a time. Desktop alerts.
  • Mark as read: for a channel, a server, all DMs or everything.
  • Sync config: export your settings and layout as text, a file, an expiring share link or a QR code, and import them on another device.
  • Command palette: press Ctrl+K to go anywhere, run any action, search a local index or try the API with forms.
  • Personal profanity filter: mask profanity in what you see, without changing what is stored or sent.

P2P

  • Contacts: add contacts with a code or QR code and verify them.
  • Direct messages and files: send messages and files of any size straight to a contact, with no server in between.
  • Calls with contacts: voice and video calls straight to a P2P contact.
  • Servers: servers that live on the members' devices, with up to 8 co-owners, ranked roles, channel access, slow mode, kicks and bans, invite codes, threads, pins, search and voice with camera and screen share. The owner can hand a server to another member once every co-owner approves.
  • Devices: use one identity on several devices and move it to a new one. Mark another device lost or stolen, or sign the others out with your recovery key.
  • Account badge: optionally show your instance account name to P2P contacts and server members.
  • Relays: a built-in STUN and TURN relay (RELAY_ENABLED, off by default), a bundled public STUN list (PUBLIC_STUN), and your own relays. You are asked before the app uses someone else's unknown relay.

Apps and releases

  • Desktop app for Windows, macOS and Linux, with system notifications, an unread badge, a tray, deep links, start on login and updates.
  • Android and iOS apps with system notifications, the share sheet and deep links.
  • Releases: stable releases from version tags, and weekly builds every Monday. Each release has installers, server binaries, package manager files and Docker images on GHCR (latest for stable, weekly for weekly builds).
  • License: RChat is now MIT licensed.

Changed

  • Presence is site-wide: you are online everywhere, not only in the server you have open.
  • Docker image: runs as user 10001 instead of root. Its base images and build tools are pinned.
  • Older releases refuse a newer database: from 0.3.0 on, a release does not start on a database that a newer release upgraded.
  • P2P files in channels and DMs: any size, streamed in chunks and checked against their hash. The site admin can turn them off (P2P_ATTACHMENTS). With uploads off too, messages are text only.
  • Security: login tokens and guest grants are stored hashed. Signed in sessions keep working.
  • Pins and deletes: the role permission is now called "Manage messages" and covers pinning others' messages.
  • Access checks: servers, channels and messages you can't see answer "not found", the same as ones that don't exist.
  • Limits: new settings for upload storage per account (UPLOAD_BUDGET_MIB), upload memory (UPLOAD_BUFFER_MIB) and realtime connections per account and address (WS_*). The defaults are in .env.local.example.
  • Secrets: PASSWORD_PEPPER and RELAY_SECRET can be set, or read from a file with NAME_FILE=/path, to keep them out of the database. Changing PASSWORD_PEPPER ends every temporary server password and ticket.
  • Repository layout: the client is in apps/web, the server in apps/server and the WASM crate in crates/wasm. The just src recipes and root bun run scripts keep their names.

Fixed

  • Scrolling: the message list keeps following new messages at the bottom. Growing content and layout shifts no longer pull you away, and the unread line shows in the right place.
  • Many fixes from QA across calls, P2P, lists, notifications and the mobile layout.

Upgrading

  • Database: migrations from 0.2.x run automatically at startup on SQLite and Postgres. Nobody is logged out.

  • Stop every older copy before you upgrade. With several processes on one database, upgrade them all together.

  • Don't run an older release on an upgraded database. 0.3.0 and later refuse to start on it, but 0.2.x doesn't refuse, so never go back to 0.2.x.

  • Docker volumes made before 0.3.0 belong to root. Give them to user 10001 once:

    docker run --rm -u 0 -v rchat-data:/data --entrypoint chown ghcr.io/robbyv2/rchat:latest -R 10001:10001 /data
  • Building the image yourself (docker compose up) needs BuildKit. On Ubuntu, install the docker-buildx and docker-compose-v2 packages.

0.2.2

Choose a tag to compare

@RobbyV2 RobbyV2 released this 27 Oct 23:55

A security fix for self-hosted deployments.

Fixed

  • Next.js no longer listens publicly. RChat runs Next.js behind its Rust server. Until now, both used the same HOST setting, so HOST=0.0.0.0 (needed to make the site public) also opened Next.js's own port (3001 by default) to the internet. Requests there skipped the Rust server and its request guard, so scanners probing for the React Server Components bug ("React2Shell", CVE-2025-55182) could reach Next.js directly. Your logs would show "Failed to find Server Action".

    RChat itself isn't affected by that bug, since it has no server actions and its React is patched. But Next.js should only be reachable through the Rust server.

    • New FRONTEND_HOST setting. It controls where Next.js listens and defaults to 127.0.0.1. It is used by just src dev, just src prod, just src start-prod and the container entrypoint. HOST now only controls the Rust server.
    • Frontend-only modes (just src frontend, frontend-prod) still listen on HOST, since Next.js is meant to be reached directly there.
    • Dev mode ignored the setting and always listened on every interface. It now passes the address with next dev -H.

If you self-host

Update and restart. Until you can, block port 3001 (or your PORT) in your firewall. You can check what's exposed with ss -ltnp | grep 3001: it should show 127.0.0.1:3001.

0.2.1

Choose a tag to compare

@RobbyV2 RobbyV2 released this 27 Oct 23:24

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.

0.1.0

Choose a tag to compare

@RobbyV2 RobbyV2 released this 12 Jul 20:22
Logos for PWA