github ancsemi/Haven v3.15.5

latest releases: v4.32.0-beta.2, v4.31.1, v4.32.0-beta.1...
6 months ago

[3.15.5] - 2026-05-09

Long-standing screen-share reliability fixes. The flow had multiple silent-failure paths that left receivers with audio but no video (or no tile at all).

Fixed

  • Screen share goes live but never appears for some viewers. _renegotiate called RTCPeerConnection.createOffer() without checking signalingState, so any renegotiation that fired while a previous offer/answer was still pending threw and the catch silently swallowed it. The peer ended up with audio (already on the stable m-section) but no screen video, with no retry. The renegotiate now waits up to ~5s for the connection to reach a stable state before issuing the offer.
  • Late-joiner renegotiate skipped adding screen tracks if the sharer also had a webcam on. The sharer's renegotiate-screen handler used a generic "any video sender exists" check to decide whether to add the screen tracks, which was true the moment a webcam track was attached. Result: late joiners got the webcam but never the screen. Now matches by track identity so screen tracks are added if and only if they aren't already on the connection.
  • screen-share-started was emitted after the renegotiation completed. That meant receivers' ontrack for the new screen video could fire before screenSharers.has(sharerId) was true, so the screen-vs-webcam classifier fell through to a default route that misbehaves when stale webcam state is present. The notification is now emitted before the per-peer renegotiation loop starts.
  • No recovery when the renegotiation offer was dropped or stalled. Added a request-screen-renegotiate server event the receiver fires (a) ~3s after screen-share-started if no video receiver appeared on the peer connection, and (b) once during the existing video tile retry loop if videoWidth stays at 0. The server forwards a renegotiate-screen to the sharer, which re-issues an offer for that specific peer.

[3.15.4] - 2026-05-09

Deeper voice presence fix on top of 3.15.3 (#5347).

Fixed

  • Left sidebar and right voice panel could disagree (#5347 follow-up). The two panels were driven by two unrelated client stores. When one event arrived stale or out of order the two views diverged and stayed diverged until a full reload. The right-panel handler now updates the sidebar stores as well.
  • Reconnect after socket drop stopped using voice-rejoin (#5347 follow-up). _softLeave cleared inVoice/currentChannel so the reconnect handler fell back to a delayed setTimeout(1500) auto-rejoin emitting plain voice-join. That path did not broadcast voice-user-left to the rest of the room, so peers held on to dead RTCPeerConnections and audio never re-established. _softLeave now stashes the channel intent in _softLeftChannel, reconnect picks it up immediately, and voice-join's stale-entry branch now mirrors voice-rejoin and broadcasts voice-user-left so peers tear down dead connections cleanly.
  • Connection-time voice snapshot racing voice-rejoin's broadcast. The snapshot now only sends the count update to the connecting socket and lets pruneStaleVoiceUsers handle per-ghost broadcasts on its own.

[3.15.3] - 2026-05-08

Fixed

  • Voice list shows users who already left (#5347 follow-up). The connection-time voice snapshot and get-voice-counts both iterated the voice room map without pruning ghost entries from sockets that had disconnected in ways the cleanup missed. Both paths now prune first, broadcast fresh roster and voice-user-left so peer clients tear down dead RTCPeerConnections.

[3.15.2] - 2026-05-08

Fixed

  • Thread panel hidden behind message bar (#5354). Thread dock z-index raised above the composer bar.
  • Persona autocomplete shown in DMs and threads (#5353). The :: autocomplete no longer appears where personas aren't supported.
  • Persona tooltip shows raw i18n key (#5353). Fixed missing locale key on the "Sent via ..." badge tooltip.
  • Double close button in media gallery (#5352). Auto-inject control group skipped for the gallery modal which already has its own close button.
  • Media gallery shown in DMs (#5352). Gallery toolbar button hidden in DM channels.
  • OpenSSL not recognized when starting Haven on Windows (#5351). Fixed a cmd.exe delayed-expansion bug in the startup bat.

Don't miss a new Haven release

NewReleases is sending notifications on new releases.