Skip to content

Releases: canvasxyz/canvas

v0.8.26

20 Jan 21:06
Compare
Choose a tag to compare

Changed

  • Better logging for some errors that are part of normal expected behavior.
  • Add websocket proxy for apps running using canvas run on Fly.io, so other peers can discover them.

v0.8.25

20 Jan 21:04
Compare
Choose a tag to compare

Changed

  • Accept PrivateKeyAccount objects as signers for @canvas-js/chain-ethereum-viem.
  • Improve connection reliability for apps running without sequencing/history indexing.

v0.8.22

18 Jan 07:54
Compare
Choose a tag to compare

Changed

  • Upgrade @canvas-js/chain-ethereum-viem to Viem 2.x.x.
  • Upgrade related examples.

v0.8.21

06 Jan 03:48
Compare
Choose a tag to compare

Changed

  • Include full information for the peer that just joined in the presence:join event.

v0.8.20

06 Jan 03:47
Compare
Choose a tag to compare

Added

  • You can now subscribe to peer presence for other applications sharing the same discovery topic. Use trackAllPeers when configuring your application to get presence:join and presence: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

06 Jan 03:41
Compare
Choose a tag to compare

Changed

  • Allow @canvas-js/chain-ethereum-viem to work with other versions of Viem without overriding peer dependencies.

v0.8.18

02 Jan 01:48
Compare
Choose a tag to compare

Changed

  • Includes the full PeerId object when presence events are emitted.

v0.8.17

27 Dec 22:18
Compare
Choose a tag to compare

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

27 Dec 22:15
Compare
Choose a tag to compare

Added

  • Add realtime presence to @canvas-js/discovery. You can now listen to presence:join and presence: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.

v0.8.15

27 Dec 22:04
Compare
Choose a tag to compare

Changed

  • Upgrade minor dependencies

Added

  • Add @canvas-js/chain-ethereum-viem signer