Releases: canvasxyz/canvas
Releases · canvasxyz/canvas
v0.8.26
v0.8.25
v0.8.22
v0.8.21
v0.8.20
Added
- You can now subscribe to peer presence for other applications sharing the same discovery topic. Use
trackAllPeers
when configuring your application to getpresence:join
andpresence:leave
events for other application topics. - Added
presenceTimeout
configuration option, for applications that want to keep offline presence peers around for longer, instead of flushing them from the cache as soon as they go offline.
Changed
- Improved handling of presence cache and presence:leave events.
- Fixed an issue with the
useCanvas
hook where multiple libp2p instances would be created in development, if React Strict Mode was turned on.
v0.8.19
v0.8.18
v0.8.17
Changed
- Improved performance for realtime presence when new clients join the network. New clients should now see the existing set of online peers much faster.
- We accomplish this by caching recent peers and passing them over the passive discovery service to newly joined clients. We also have peers send a discovery heartbeat when new peers join the network, throttled to not more than once every 15 seconds.
- The presence list now includes a
lastSeen
parameter. This will be empty if the peer was retrieved from another node's cache.
v0.8.16
Added
- Add realtime presence to
@canvas-js/discovery
. You can now listen topresence:join
andpresence:leave
events to see when peers have joined the discovery topic, even if you're not directly connected to them.
Changed
- Improved handling of signers inside React hooks. Signers now have a key that can be used to trigger
useEffect()
updates. - Fixed an issue with verifying certain AT Protocol transcripts in
@canvas-js/chain-atproto
.