github ancsemi/Haven v3.16.13

6 months ago

This release rolls up everything since v3.16.10 (v3.16.11 and v3.16.12 were committed but never tagged, so their changes are included here too).

v3.16.13 — added

  • Channel and sub-channel composers are now drag-resizable (#5327). Grab the handle at the top of the message-input area and drag up to expand the textarea up to 60% of the viewport. The dragged height is sticky across keystrokes and sends until you drag it back down.
  • Sub-channels inherit parent channel role access on creation (#5328). New sub-channels automatically copy the parent's role_channel_access rows and grant membership to current holders of any role marked grant_on_promote. Existing sub-channels are untouched, and per-sub access can still be customised afterwards.

v3.16.13 — fixed

  • Voice chat: "I lose myself in the right panel after a while and have to manually leave + rejoin, which kicks everyone." Two converging issues addressed:
    • Transient socket blips no longer instantly tear down the voice session. The disconnect handler used to call _softLeave() on every dropped frame, killing the mic and every RTCPeerConnection. Socket.io reconnects within a few hundred ms on most blips (Electron renderer suspending, brief Wi-Fi hiccup), so the teardown is now deferred by 2 s and cancelled if the socket reconnects in time. voice-rejoin rebinds our voice slot to the new socketId without rebuilding mic or peers.
    • When the panel still loses us, we no longer just patch the UI silently. The voice-users-update handler now also emits voice-rejoin (throttled to once per 3 s) whenever it has to inject self into the roster, so the server cleans up any stale entry of us and re-broadcasts the fresh roster to peers automatically — no manual leave+rejoin needed.

v3.16.12 — fixed

  • Voice chat: missing-self in the right panel after a server restart / reconnect race. When the server briefly didn't have us in the voice roster at the moment a voice-users-update was rendered, the right panel could show every other participant but omit ourselves. _renderVoiceUsers() now belt-and-suspenders injects the local user when we're in voice on the channel being rendered, tracked via a new _lastVoiceUsersChannel so the injection is correctly scoped. The voice-count-update handler does the same for the sidebar badge.
  • Voice chat: stale roster after a server reboot. request-voice-users server-side now prunes stale voice entries before responding and re-broadcasts a fresh roster if any ghosts were removed.
  • "Start Voice did nothing, I clicked it 15 times and got 15 toasts at once." _fetchIceServers() now aborts after 4 s and falls back to default STUN-only config; _joinVoice() ignores re-entrant presses while a join is in-flight; and voice.join() no longer buffers a voice-join emit while the socket is disconnected.

v3.16.11 — fixed

  • Removed servers no longer reappear after a restart. ServerManager.add() now honors the local "removed" set on bootstrap and sync paths — only an explicit click on Add Server in the modal can resurrect a previously-removed entry.
  • Transient server restarts no longer log users out. The socket connect_error handler now requires three consecutive auth errors before clearing the token and bouncing to the login page, instead of nuking the session on the first error.

Other

  • UI polish on the create-channel modal (checkbox hints moved to tooltips, shorter labels).

Don't miss a new Haven release

NewReleases is sending notifications on new releases.