Releases: dmotz/trystero
Releases Β· dmotz/trystero
0.18.0
New features
- π¦ Nostr strategy - A new connection strategy is now available using Nostr, a decentralized network protocol with many public relays.
- Unified relay API - The BitTorrent, Nostr, and MQTT strategies now take
relayUrls
andrelayRedundancy
options, so there is shared terminology across strategies and a smaller configuration API. These strategies also expose agetRelaySockets()
function that returns a map of URLs to WebSockets. - Bug fix: Action sender functions can now send empty strings
- Torrent tracker failures are now logged with their URLs
Breaking changes
- π BitTorrent strategy
trackerUrls
has been renamedrelayUrls
trackerRedundancy
has been renamedrelayRedundancy
getTrackers()
has been renamedgetRelaySockets()
- π‘ MQTT strategy
brokerUrls
has been renamedrelayUrls
brokerRedundancy
has been renamedrelayRedundancy
0.17.0
New features
- π‘ MQTT strategy - A new connection strategy is now available using MQTT, an open protocol for IoT device communication. Thanks to @freehuntx for suggesting the approach.
0.16.0
0.15.2
0.15.1
0.15.0
0.14.0
- The Firebase strategy now requires passing the full
databaseURL
as theappId
tojoinRoom()
(either with or without thehttps://
prefix), e.g.'trystero-demo.firebaseio.com
, not just'trystero-demo'
. This allows support for other regions which use different url structures. Thanks to @matthewjumpsoffbuildings for diagnosing and proposing a fix.
0.13.0
New features
getTrackers()
(π BitTorrent only) Returns an object of BitTorrent tracker URL keys mapped to their WebSocket connections. This can be useful for determining the state of the user's connection to the trackers and handling any connection failures. (Thanks to @jeremyckahn for implementing)
0.12.0
Breaking changes
getPeers()
now returns a map of peer IDs to underlyingRTCPeerConnection
objects, previously returned an array of IDs (credit to @jeremyckahn for implementing)