Releases: canvasxyz/canvas
Releases · canvasxyz/canvas
v0.12.0
What's Changed
- Add typings to model operations inside actions, update Canvas type to be generic over ModelSchema by @raykyri in #369
- Add experimental Durable Objects backend for ModelDB and GossipLog @raykyri in #350
- Add
getMany
function to ModelDB by @rjwebb in #349
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
- Adds a WebSocket API for GossipLog (@joeltg in #339). This includes a new Express-like API for connecting Canvas runtime and GossipLog instances to peers and servers, that uses hub-and spoke sync over browser-to-server WebSockets. Networking has also been rewritten to be more robust for libp2p mesh topologies.
- Adds ModelDB API support for conditions when calling
count
(@rjwebb in #341) - Adds ModelDB API for clearing tables (@raykyri in #342)
- Adds support for snapshotting the ModelDB state of an application (@raykyri in #343)
Full Changelog: v0.10.10...v0.11.0
v0.10.10
v0.10.9
v0.10.8
v0.10.7
v0.10.6
Changed
- Updates to GossipSub configuration based on network testing
- Upgrade libp2p dependencies
- Fixes to sync: prevent syncs from terminating early after 3 seconds
- Fix bug in getSession()
- Simplify integration with libp2p by moving libp2p creation to GossipLog
v0.10.5
v0.10.4
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