Skip to content

Releases: canvasxyz/canvas

v0.10.5

22 Aug 21:27
Compare
Choose a tag to compare

Changed

  • Fix session expiration check when minExpiration is not provided
  • Rename libp2p/browser -> libp2p/browser-webrtc, libp2p/browser-lite -> libp2p/browser; use libp2p/browser by default

v0.10.4

22 Aug 21:25
Compare
Choose a tag to compare

Added

  • Added @canvas-js/modeldb-sqlite-wasm package implementing ModelDB on OPFS SQLite

Changed

  • Added exports for SIWESessionData, Eip712SessionData
  • Upgrade libp2p dependencies
  • Fix sync bugs: End it-pushables after streams close; add clear() to DelayableController
  • Create discovery package for manual direct libp2p peer fetching

v0.10.3

22 Aug 21:23
Compare
Choose a tag to compare

Changed

  • Fixed a race condition with async inserts into GossipLog

v0.10.2

22 Aug 21:20
Compare
Choose a tag to compare

Changed

  • Export SignedMessage type from GossipLog

v0.10.1

22 Aug 21:20
Compare
Choose a tag to compare

Changed

  • Added JS-like number type to ModelDB
  • Added listSessions(), getSession() to AbstractSessionSigner

v0.10.0

22 Aug 21:19
Compare
Choose a tag to compare

Changed

  • Rewrites networking, Merkle sync is now non-blocking on both browser and server
  • Adds experimental WebRTC gossiplog module
  • Better support for concurrent mergeable values. Adds tracking of unique branches in GossipLog
  • Handle undefined in range expressions and action arguments (undefined will be dropped in objects, or replaced with null in arrays)
  • Renamed export() to getMessages() in GossipLog
  • Fixes issues with experimental wallets

v0.8.29

21 May 16:50
Compare
Choose a tag to compare

Changed

  • Fix an issue where the connected peer list could fail to update under heavy load

v0.8.28

15 May 23:49
Compare
Choose a tag to compare

Changed

  • Bug fixes and stability improvements
    • Clean up GossipLog instances when closing Canvas core
    • Throw errors when writing to a GossipLog that has been closed
    • Improve handling of actions with missing sessions
    • Patch autoDialPeerRetryThresholdMs in the libp2p connection manager, because it isn't passed to the dialer component. (Default to 1000ms in the browser)
    • Upgrade to libp2p 1.5.1

v0.8.27

05 May 21:02
Compare
Choose a tag to compare

Changed

  • Adds isUniversalReplication?: boolean option to the discovery service. By default, replication servers will not auto-start topics that are only signaled by other replication servers.
  • Adds bannedTopics?: () => string[] option to the discovery service. Banned topics will not be signaled over active discovery, and replication servers will refuse to replicate them.
  • Adds @canvas-js/probe-server, which uses a headless Chromium browser to verify that replication servers are online.
  • Better metrics and monitoring.

v0.9.1

01 May 16:25
Compare
Choose a tag to compare

Changed

  • Minor bugfixes and improvements
    • Signer methods are now Awaitable<T> instead of Promise<T>
    • Cosmos signers now accept a bech32Prefix
    • Updated dependencies