Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

0.24.0 #172

dmotz announced in Announcements
Apr 27, 2026 · 0 comments
Discussion options

Improvements

  • 🔌 Added a self-hosted WebSocket relay package (@trystero-p2p/ws-relay). See the docs for how to run the server and connect from browsers
  • Peers will usually connect faster now due to a more proactive announce cycle (thanks @rogersanick)

Fixes

  • Stream events will now fire correctly on cross-room peers that have shared connections

⚠️ Breaking changes

  • As part of the ws-relay addition, relay-specific options have been consolidated under the relayConfig field of the config object passed to joinRoom(). For example:
    joinRoom(
     {
     appId: 'my-app', 
     password: 'foobar', 
     relayConfig: {redundancy: 5}
     }, 
     'room-id'
    )

Some fields have been renamed, so check the docs. This cleans up the shape of the config object and keeps types simpler as different strategies use different types of configs.


This discussion was created from the release 0.24.0.
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /